diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-25 04:40:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 04:40:56 -0400 |
commit | c27f8f488a7b3b2e5e81d771e5730ee4716b64f5 (patch) | |
tree | 3e576a7f3c0bfc3b0e04a8f8cd06ebeff334d3d7 /vendor/github.com/openshift/api/config/v1/types_console.go | |
parent | 3ea511566ae2ff74f181a062e137015951c607fa (diff) | |
parent | 935a716418a5b7e7b33ac0c53048d57e28b910af (diff) | |
download | podman-c27f8f488a7b3b2e5e81d771e5730ee4716b64f5.tar.gz podman-c27f8f488a7b3b2e5e81d771e5730ee4716b64f5.tar.bz2 podman-c27f8f488a7b3b2e5e81d771e5730ee4716b64f5.zip |
Merge pull request #6367 from rhatdan/VENDOR
Vendor in latest containers/buildah
Diffstat (limited to 'vendor/github.com/openshift/api/config/v1/types_console.go')
-rw-r--r-- | vendor/github.com/openshift/api/config/v1/types_console.go | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/vendor/github.com/openshift/api/config/v1/types_console.go b/vendor/github.com/openshift/api/config/v1/types_console.go deleted file mode 100644 index 22b0b5160..000000000 --- a/vendor/github.com/openshift/api/config/v1/types_console.go +++ /dev/null @@ -1,62 +0,0 @@ -package v1 - -import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - -// +genclient -// +genclient:nonNamespaced -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -// Console holds cluster-wide configuration for the web console, including the -// logout URL, and reports the public URL of the console. The canonical name is -// `cluster`. -type Console struct { - metav1.TypeMeta `json:",inline"` - metav1.ObjectMeta `json:"metadata,omitempty"` - - // spec holds user settable values for configuration - // +kubebuilder:validation:Required - // +required - Spec ConsoleSpec `json:"spec"` - // status holds observed values from the cluster. They may not be overridden. - // +optional - Status ConsoleStatus `json:"status"` -} - -// ConsoleSpec is the specification of the desired behavior of the Console. -type ConsoleSpec struct { - // +optional - Authentication ConsoleAuthentication `json:"authentication"` -} - -// ConsoleStatus defines the observed status of the Console. -type ConsoleStatus struct { - // The URL for the console. This will be derived from the host for the route that - // is created for the console. - ConsoleURL string `json:"consoleURL"` -} - -// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object - -type ConsoleList struct { - metav1.TypeMeta `json:",inline"` - metav1.ListMeta `json:"metadata"` - - Items []Console `json:"items"` -} - -// ConsoleAuthentication defines a list of optional configuration for console authentication. -type ConsoleAuthentication struct { - // An optional, absolute URL to redirect web browsers to after logging out of - // the console. If not specified, it will redirect to the default login page. - // This is required when using an identity provider that supports single - // sign-on (SSO) such as: - // - OpenID (Keycloak, Azure) - // - RequestHeader (GSSAPI, SSPI, SAML) - // - OAuth (GitHub, GitLab, Google) - // Logging out of the console will destroy the user's token. The logoutRedirect - // provides the user the option to perform single logout (SLO) through the identity - // provider to destroy their single sign-on session. - // +optional - // +kubebuilder:validation:Pattern=`^$|^((https):\/\/?)[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/?))$` - LogoutRedirect string `json:"logoutRedirect,omitempty"` -} |