api: github.com/openshift/api/config/v1 Index | Files

package v1

import "github.com/openshift/api/config/v1"

+kubebuilder:validation:Optional +groupName=config.openshift.io Package v1 is the v1 version of the API.

Index

Package Files

doc.go register.go stringsource.go types.go types_apiserver.go types_authentication.go types_build.go types_cluster_operator.go types_cluster_version.go types_console.go types_dns.go types_feature.go types_image.go types_infrastructure.go types_ingress.go types_network.go types_oauth.go types_operatorhub.go types_project.go types_proxy.go types_scheduling.go types_tlssecurityprofile.go zz_generated.deepcopy.go zz_generated.swagger_doc_generated.go

Constants

const (
    // LogFormatLegacy saves event in 1-line text format.
    LogFormatLegacy LogFormatType = "legacy"
    // LogFormatJson saves event in structured json format.
    LogFormatJson LogFormatType = "json"

    // WebHookModeBatch indicates that the webhook should buffer audit events
    // internally, sending batch updates either once a certain number of
    // events have been received or a certain amount of time has passed.
    WebHookModeBatch WebHookModeType = "batch"
    // WebHookModeBlocking causes the webhook to block on every attempt to process
    // a set of events. This causes requests to the API server to wait for a
    // round trip to the external audit service before sending a response.
    WebHookModeBlocking WebHookModeType = "blocking"
)
const (
    // OAuthMetadataKey is the key for the oauth authorization server metadata
    OAuthMetadataKey = "oauthMetadata"

    // KubeConfigKey is the key for the kube config file data in a secret
    KubeConfigKey = "kubeConfig"
)
const (
    // LoginTemplateKey is the key of the login template in a secret
    LoginTemplateKey = "login.html"

    // ProviderSelectionTemplateKey is the key for the provider selection template in a secret
    ProviderSelectionTemplateKey = "providers.html"

    // ErrorsTemplateKey is the key for the errors template in a secret
    ErrorsTemplateKey = "errors.html"

    // BindPasswordKey is the key for the LDAP bind password in a secret
    BindPasswordKey = "bindPassword"

    // ClientSecretKey is the key for the oauth client secret data in a secret
    ClientSecretKey = "clientSecret"

    // HTPasswdDataKey is the key for the htpasswd file data in a secret
    HTPasswdDataKey = "htpasswd"
)
const UserIDClaim = "sub"

UserIDClaim is the claim used to provide a stable identifier for OIDC identities. Per http://openid.net/specs/openid-connect-core-1_0.html#ClaimStability

"The sub (subject) and iss (issuer) Claims, used together, are the only Claims that an RP can
 rely upon as a stable identifier for the End-User, since the sub Claim MUST be locally unique
 and never reassigned within the Issuer for a particular End-User, as described in Section 2.
 Therefore, the only guaranteed unique identifier for a given End-User is the combination of the
 iss Claim and the sub Claim."

Variables

var (
    GroupName    = "config.openshift.io"
    GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

    // Install is a function which adds this version to a scheme
    Install = schemeBuilder.AddToScheme

    // SchemeGroupVersion generated code relies on this name
    // Deprecated
    SchemeGroupVersion = GroupVersion
    // AddToScheme exists solely to keep the old generators creating valid code
    // DEPRECATED
    AddToScheme = schemeBuilder.AddToScheme
)
var FeatureSets = map[FeatureSet]*FeatureGateEnabledDisabled{
    Default: defaultFeatures,
    CustomNoUpgrade: {
        Enabled:  []string{},
        Disabled: []string{},
    },
    TechPreviewNoUpgrade: newDefaultFeatures().toFeatures(),
    LatencySensitive: newDefaultFeatures().
        with(
            "TopologyManager",
        ).
        toFeatures(),
    IPv6DualStackNoUpgrade: newDefaultFeatures().
        with(
            "IPv6DualStack",
        ).
        toFeatures(),
}

FeatureSets Contains a map of Feature names to Enabled/Disabled Feature.

NOTE: The caller needs to make sure to check for the existence of the value using golang's existence field. A possible scenario is an upgrade where new FeatureSets are added and a controller has not been upgraded with a newer version of this file. In this upgrade scenario the map could return nil.

example:

if featureSet, ok := FeatureSets["SomeNewFeature"]; ok { }

If you put an item in either of these lists, put your area and name on it so we can find owners.

var TLSProfiles = map[TLSProfileType]*TLSProfileSpec{
    TLSProfileOldType: {
        Ciphers: []string{
            "TLS_AES_128_GCM_SHA256",
            "TLS_AES_256_GCM_SHA384",
            "TLS_CHACHA20_POLY1305_SHA256",
            "ECDHE-ECDSA-AES128-GCM-SHA256",
            "ECDHE-RSA-AES128-GCM-SHA256",
            "ECDHE-ECDSA-AES256-GCM-SHA384",
            "ECDHE-RSA-AES256-GCM-SHA384",
            "ECDHE-ECDSA-CHACHA20-POLY1305",
            "ECDHE-RSA-CHACHA20-POLY1305",
            "DHE-RSA-AES128-GCM-SHA256",
            "DHE-RSA-AES256-GCM-SHA384",
            "DHE-RSA-CHACHA20-POLY1305",
            "ECDHE-ECDSA-AES128-SHA256",
            "ECDHE-RSA-AES128-SHA256",
            "ECDHE-ECDSA-AES128-SHA",
            "ECDHE-RSA-AES128-SHA",
            "ECDHE-ECDSA-AES256-SHA384",
            "ECDHE-RSA-AES256-SHA384",
            "ECDHE-ECDSA-AES256-SHA",
            "ECDHE-RSA-AES256-SHA",
            "DHE-RSA-AES128-SHA256",
            "DHE-RSA-AES256-SHA256",
            "AES128-GCM-SHA256",
            "AES256-GCM-SHA384",
            "AES128-SHA256",
            "AES256-SHA256",
            "AES128-SHA",
            "AES256-SHA",
            "DES-CBC3-SHA",
        },
        MinTLSVersion: VersionTLS10,
    },
    TLSProfileIntermediateType: {
        Ciphers: []string{
            "TLS_AES_128_GCM_SHA256",
            "TLS_AES_256_GCM_SHA384",
            "TLS_CHACHA20_POLY1305_SHA256",
            "ECDHE-ECDSA-AES128-GCM-SHA256",
            "ECDHE-RSA-AES128-GCM-SHA256",
            "ECDHE-ECDSA-AES256-GCM-SHA384",
            "ECDHE-RSA-AES256-GCM-SHA384",
            "ECDHE-ECDSA-CHACHA20-POLY1305",
            "ECDHE-RSA-CHACHA20-POLY1305",
            "DHE-RSA-AES128-GCM-SHA256",
            "DHE-RSA-AES256-GCM-SHA384",
        },
        MinTLSVersion: VersionTLS12,
    },
    TLSProfileModernType: {
        Ciphers: []string{
            "TLS_AES_128_GCM_SHA256",
            "TLS_AES_256_GCM_SHA384",
            "TLS_CHACHA20_POLY1305_SHA256",
        },
        MinTLSVersion: VersionTLS13,
    },
}

TLSProfiles Contains a map of TLSProfileType names to TLSProfileSpec.

NOTE: The caller needs to make sure to check that these constants are valid for their binary. Not all entries map to values for all binaries. In the case of ties, the kube-apiserver wins. Do not fail, just be sure to whitelist only and everything will be ok.

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

type APIServer Uses

type APIServer struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`
    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec APIServerSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status APIServerStatus `json:"status"`
}

APIServer holds configuration (like serving certificates, client CA and CORS domains) shared by all API servers in the system, among them especially kube-apiserver and openshift-apiserver. The canonical name of an instance is 'cluster'.

func (*APIServer) DeepCopy Uses

func (in *APIServer) DeepCopy() *APIServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServer.

func (*APIServer) DeepCopyInto Uses

func (in *APIServer) DeepCopyInto(out *APIServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIServer) DeepCopyObject Uses

func (in *APIServer) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (APIServer) SwaggerDoc Uses

func (APIServer) SwaggerDoc() map[string]string

type APIServerEncryption Uses

type APIServerEncryption struct {
    // type defines what encryption type should be used to encrypt resources at the datastore layer.
    // When this field is unset (i.e. when it is set to the empty string), identity is implied.
    // The behavior of unset can and will change over time.  Even if encryption is enabled by default,
    // the meaning of unset may change to a different encryption type based on changes in best practices.
    //
    // When encryption is enabled, all sensitive resources shipped with the platform are encrypted.
    // This list of sensitive resources can and will change over time.  The current authoritative list is:
    //
    //   1. secrets
    //   2. configmaps
    //   3. routes.route.openshift.io
    //   4. oauthaccesstokens.oauth.openshift.io
    //   5. oauthauthorizetokens.oauth.openshift.io
    //
    // +unionDiscriminator
    // +optional
    Type EncryptionType `json:"type,omitempty"`
}

func (*APIServerEncryption) DeepCopy Uses

func (in *APIServerEncryption) DeepCopy() *APIServerEncryption

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerEncryption.

func (*APIServerEncryption) DeepCopyInto Uses

func (in *APIServerEncryption) DeepCopyInto(out *APIServerEncryption)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (APIServerEncryption) SwaggerDoc Uses

func (APIServerEncryption) SwaggerDoc() map[string]string

type APIServerList Uses

type APIServerList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []APIServer `json:"items"`
}

func (*APIServerList) DeepCopy Uses

func (in *APIServerList) DeepCopy() *APIServerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerList.

func (*APIServerList) DeepCopyInto Uses

func (in *APIServerList) DeepCopyInto(out *APIServerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*APIServerList) DeepCopyObject Uses

func (in *APIServerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type APIServerNamedServingCert Uses

type APIServerNamedServingCert struct {
    // names is a optional list of explicit DNS names (leading wildcards allowed) that should use this certificate to
    // serve secure traffic. If no names are provided, the implicit names will be extracted from the certificates.
    // Exact names trump over wildcard names. Explicit names defined here trump over extracted implicit names.
    // +optional
    Names []string `json:"names,omitempty"`
    // servingCertificate references a kubernetes.io/tls type secret containing the TLS cert info for serving secure traffic.
    // The secret must exist in the openshift-config namespace and contain the following required fields:
    // - Secret.Data["tls.key"] - TLS private key.
    // - Secret.Data["tls.crt"] - TLS certificate.
    ServingCertificate SecretNameReference `json:"servingCertificate"`
}

APIServerNamedServingCert maps a server DNS name, as understood by a client, to a certificate.

func (*APIServerNamedServingCert) DeepCopy Uses

func (in *APIServerNamedServingCert) DeepCopy() *APIServerNamedServingCert

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerNamedServingCert.

func (*APIServerNamedServingCert) DeepCopyInto Uses

func (in *APIServerNamedServingCert) DeepCopyInto(out *APIServerNamedServingCert)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (APIServerNamedServingCert) SwaggerDoc Uses

func (APIServerNamedServingCert) SwaggerDoc() map[string]string

type APIServerServingCerts Uses

type APIServerServingCerts struct {
    // namedCertificates references secrets containing the TLS cert info for serving secure traffic to specific hostnames.
    // If no named certificates are provided, or no named certificates match the server name as understood by a client,
    // the defaultServingCertificate will be used.
    // +optional
    NamedCertificates []APIServerNamedServingCert `json:"namedCertificates,omitempty"`
}

func (*APIServerServingCerts) DeepCopy Uses

func (in *APIServerServingCerts) DeepCopy() *APIServerServingCerts

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerServingCerts.

func (*APIServerServingCerts) DeepCopyInto Uses

func (in *APIServerServingCerts) DeepCopyInto(out *APIServerServingCerts)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (APIServerServingCerts) SwaggerDoc Uses

func (APIServerServingCerts) SwaggerDoc() map[string]string

type APIServerSpec Uses

type APIServerSpec struct {
    // servingCert is the TLS cert info for serving secure traffic. If not specified, operator managed certificates
    // will be used for serving secure traffic.
    // +optional
    ServingCerts APIServerServingCerts `json:"servingCerts"`
    // clientCA references a ConfigMap containing a certificate bundle for the signers that will be recognized for
    // incoming client certificates in addition to the operator managed signers. If this is empty, then only operator managed signers are valid.
    // You usually only have to set this if you have your own PKI you wish to honor client certificates from.
    // The ConfigMap must exist in the openshift-config namespace and contain the following required fields:
    // - ConfigMap.Data["ca-bundle.crt"] - CA bundle.
    // +optional
    ClientCA ConfigMapNameReference `json:"clientCA"`
    // additionalCORSAllowedOrigins lists additional, user-defined regular expressions describing hosts for which the
    // API server allows access using the CORS headers. This may be needed to access the API and the integrated OAuth
    // server from JavaScript applications.
    // The values are regular expressions that correspond to the Golang regular expression language.
    // +optional
    AdditionalCORSAllowedOrigins []string `json:"additionalCORSAllowedOrigins,omitempty"`
    // encryption allows the configuration of encryption of resources at the datastore layer.
    // +optional
    Encryption APIServerEncryption `json:"encryption"`
    // tlsSecurityProfile specifies settings for TLS connections for externally exposed servers.
    //
    // If unset, a default (which may change between releases) is chosen. Note that only Old and
    // Intermediate profiles are currently supported, and the maximum available MinTLSVersions
    // is VersionTLS12.
    // +optional
    TLSSecurityProfile *TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"`
    // audit specifies the settings for audit configuration to be applied to all OpenShift-provided
    // API servers in the cluster.
    // +optional
    // +kubebuilder:default={profile: Default}
    Audit Audit `json:"audit"`
}

func (*APIServerSpec) DeepCopy Uses

func (in *APIServerSpec) DeepCopy() *APIServerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerSpec.

func (*APIServerSpec) DeepCopyInto Uses

func (in *APIServerSpec) DeepCopyInto(out *APIServerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (APIServerSpec) SwaggerDoc Uses

func (APIServerSpec) SwaggerDoc() map[string]string

type APIServerStatus Uses

type APIServerStatus struct {
}

func (*APIServerStatus) DeepCopy Uses

func (in *APIServerStatus) DeepCopy() *APIServerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIServerStatus.

func (*APIServerStatus) DeepCopyInto Uses

func (in *APIServerStatus) DeepCopyInto(out *APIServerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSPlatformSpec Uses

type AWSPlatformSpec struct {
    // serviceEndpoints list contains custom endpoints which will override default
    // service endpoint of AWS Services.
    // There must be only one ServiceEndpoint for a service.
    // +optional
    ServiceEndpoints []AWSServiceEndpoint `json:"serviceEndpoints,omitempty"`
}

AWSPlatformSpec holds the desired state of the Amazon Web Services infrastructure provider. This only includes fields that can be modified in the cluster.

func (*AWSPlatformSpec) DeepCopy Uses

func (in *AWSPlatformSpec) DeepCopy() *AWSPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSPlatformSpec.

func (*AWSPlatformSpec) DeepCopyInto Uses

func (in *AWSPlatformSpec) DeepCopyInto(out *AWSPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AWSPlatformSpec) SwaggerDoc Uses

func (AWSPlatformSpec) SwaggerDoc() map[string]string

type AWSPlatformStatus Uses

type AWSPlatformStatus struct {
    // region holds the default AWS region for new AWS resources created by the cluster.
    Region string `json:"region"`

    // ServiceEndpoints list contains custom endpoints which will override default
    // service endpoint of AWS Services.
    // There must be only one ServiceEndpoint for a service.
    // +optional
    ServiceEndpoints []AWSServiceEndpoint `json:"serviceEndpoints,omitempty"`
}

AWSPlatformStatus holds the current status of the Amazon Web Services infrastructure provider.

func (*AWSPlatformStatus) DeepCopy Uses

func (in *AWSPlatformStatus) DeepCopy() *AWSPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSPlatformStatus.

func (*AWSPlatformStatus) DeepCopyInto Uses

func (in *AWSPlatformStatus) DeepCopyInto(out *AWSPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AWSPlatformStatus) SwaggerDoc Uses

func (AWSPlatformStatus) SwaggerDoc() map[string]string

type AWSServiceEndpoint Uses

type AWSServiceEndpoint struct {
    // name is the name of the AWS service.
    // The list of all the service names can be found at https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html
    // This must be provided and cannot be empty.
    //
    // +kubebuilder:validation:Pattern=`^[a-z0-9-]+$`
    Name string `json:"name"`

    // url is fully qualified URI with scheme https, that overrides the default generated
    // endpoint for a client.
    // This must be provided and cannot be empty.
    //
    // +kubebuilder:validation:Pattern=`^https://`
    URL string `json:"url"`
}

AWSServiceEndpoint store the configuration of a custom url to override existing defaults of AWS Services.

func (*AWSServiceEndpoint) DeepCopy Uses

func (in *AWSServiceEndpoint) DeepCopy() *AWSServiceEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSServiceEndpoint.

func (*AWSServiceEndpoint) DeepCopyInto Uses

func (in *AWSServiceEndpoint) DeepCopyInto(out *AWSServiceEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AWSServiceEndpoint) SwaggerDoc Uses

func (AWSServiceEndpoint) SwaggerDoc() map[string]string

type AdmissionConfig Uses

type AdmissionConfig struct {
    PluginConfig map[string]AdmissionPluginConfig `json:"pluginConfig,omitempty"`

    // enabledPlugins is a list of admission plugins that must be on in addition to the default list.
    // Some admission plugins are disabled by default, but certain configurations require them.  This is fairly uncommon
    // and can result in performance penalties and unexpected behavior.
    EnabledAdmissionPlugins []string `json:"enabledPlugins,omitempty"`

    // disabledPlugins is a list of admission plugins that must be off.  Putting something in this list
    // is almost always a mistake and likely to result in cluster instability.
    DisabledAdmissionPlugins []string `json:"disabledPlugins,omitempty"`
}

func (*AdmissionConfig) DeepCopy Uses

func (in *AdmissionConfig) DeepCopy() *AdmissionConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionConfig.

func (*AdmissionConfig) DeepCopyInto Uses

func (in *AdmissionConfig) DeepCopyInto(out *AdmissionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AdmissionConfig) SwaggerDoc Uses

func (AdmissionConfig) SwaggerDoc() map[string]string

type AdmissionPluginConfig Uses

type AdmissionPluginConfig struct {
    // Location is the path to a configuration file that contains the plugin's
    // configuration
    Location string `json:"location"`

    // Configuration is an embedded configuration object to be used as the plugin's
    // configuration. If present, it will be used instead of the path to the configuration file.
    // +nullable
    // +kubebuilder:pruning:PreserveUnknownFields
    Configuration runtime.RawExtension `json:"configuration"`
}

AdmissionPluginConfig holds the necessary configuration options for admission plugins

func (*AdmissionPluginConfig) DeepCopy Uses

func (in *AdmissionPluginConfig) DeepCopy() *AdmissionPluginConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdmissionPluginConfig.

func (*AdmissionPluginConfig) DeepCopyInto Uses

func (in *AdmissionPluginConfig) DeepCopyInto(out *AdmissionPluginConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AdmissionPluginConfig) SwaggerDoc Uses

func (AdmissionPluginConfig) SwaggerDoc() map[string]string

type Audit Uses

type Audit struct {
    // profile specifies the name of the desired audit policy configuration to be deployed to
    // all OpenShift-provided API servers in the cluster.
    //
    // The following profiles are provided:
    // - Default: the existing default policy.
    // - WriteRequestBodies: like 'Default', but logs request and response HTTP payloads for
    // write requests (create, update, patch).
    // - AllRequestBodies: like 'WriteRequestBodies', but also logs request and response
    // HTTP payloads for read requests (get, list).
    //
    // If unset, the 'Default' profile is used as the default.
    // +kubebuilder:default=Default
    Profile AuditProfileType `json:"profile,omitempty"`
}

func (*Audit) DeepCopy Uses

func (in *Audit) DeepCopy() *Audit

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Audit.

func (*Audit) DeepCopyInto Uses

func (in *Audit) DeepCopyInto(out *Audit)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Audit) SwaggerDoc Uses

func (Audit) SwaggerDoc() map[string]string

type AuditConfig Uses

type AuditConfig struct {
    // If this flag is set, audit log will be printed in the logs.
    // The logs contains, method, user and a requested URL.
    Enabled bool `json:"enabled"`
    // All requests coming to the apiserver will be logged to this file.
    AuditFilePath string `json:"auditFilePath"`
    // Maximum number of days to retain old log files based on the timestamp encoded in their filename.
    MaximumFileRetentionDays int32 `json:"maximumFileRetentionDays"`
    // Maximum number of old log files to retain.
    MaximumRetainedFiles int32 `json:"maximumRetainedFiles"`
    // Maximum size in megabytes of the log file before it gets rotated. Defaults to 100MB.
    MaximumFileSizeMegabytes int32 `json:"maximumFileSizeMegabytes"`

    // PolicyFile is a path to the file that defines the audit policy configuration.
    PolicyFile string `json:"policyFile"`
    // PolicyConfiguration is an embedded policy configuration object to be used
    // as the audit policy configuration. If present, it will be used instead of
    // the path to the policy file.
    // +nullable
    // +kubebuilder:pruning:PreserveUnknownFields
    PolicyConfiguration runtime.RawExtension `json:"policyConfiguration"`

    // Format of saved audits (legacy or json).
    LogFormat LogFormatType `json:"logFormat"`

    // Path to a .kubeconfig formatted file that defines the audit webhook configuration.
    WebHookKubeConfig string `json:"webHookKubeConfig"`
    // Strategy for sending audit events (block or batch).
    WebHookMode WebHookModeType `json:"webHookMode"`
}

AuditConfig holds configuration for the audit capabilities

func (*AuditConfig) DeepCopy Uses

func (in *AuditConfig) DeepCopy() *AuditConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditConfig.

func (*AuditConfig) DeepCopyInto Uses

func (in *AuditConfig) DeepCopyInto(out *AuditConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AuditConfig) SwaggerDoc Uses

func (AuditConfig) SwaggerDoc() map[string]string

type AuditProfileType Uses

type AuditProfileType string

AuditProfileType defines the audit policy profile type. +kubebuilder:validation:Enum=Default;WriteRequestBodies;AllRequestBodies

const (
    // "Default" is the existing default audit configuration policy.
    AuditProfileDefaultType AuditProfileType = "Default"

    // "WriteRequestBodies" is similar to Default but it logs request and response
    // HTTP payloads for write requests (create, update, patch)
    WriteRequestBodiesAuditProfileType AuditProfileType = "WriteRequestBodies"

    // "AllRequestBodies" is similar to WriteRequestBodies, but also logs request
    // and response HTTP payloads for read requests (get, list).
    AllRequestBodiesAuditProfileType AuditProfileType = "AllRequestBodies"
)

type Authentication Uses

type Authentication struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec AuthenticationSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status AuthenticationStatus `json:"status"`
}

Authentication specifies cluster-wide settings for authentication (like OAuth and webhook token authenticators). The canonical name of an instance is `cluster`.

func (*Authentication) DeepCopy Uses

func (in *Authentication) DeepCopy() *Authentication

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Authentication.

func (*Authentication) DeepCopyInto Uses

func (in *Authentication) DeepCopyInto(out *Authentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Authentication) DeepCopyObject Uses

func (in *Authentication) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Authentication) SwaggerDoc Uses

func (Authentication) SwaggerDoc() map[string]string

type AuthenticationList Uses

type AuthenticationList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Authentication `json:"items"`
}

func (*AuthenticationList) DeepCopy Uses

func (in *AuthenticationList) DeepCopy() *AuthenticationList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationList.

func (*AuthenticationList) DeepCopyInto Uses

func (in *AuthenticationList) DeepCopyInto(out *AuthenticationList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AuthenticationList) DeepCopyObject Uses

func (in *AuthenticationList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AuthenticationSpec Uses

type AuthenticationSpec struct {
    // type identifies the cluster managed, user facing authentication mode in use.
    // Specifically, it manages the component that responds to login attempts.
    // The default is IntegratedOAuth.
    // +optional
    Type AuthenticationType `json:"type"`

    // oauthMetadata contains the discovery endpoint data for OAuth 2.0
    // Authorization Server Metadata for an external OAuth server.
    // This discovery document can be viewed from its served location:
    // oc get --raw '/.well-known/oauth-authorization-server'
    // For further details, see the IETF Draft:
    // https://tools.ietf.org/html/draft-ietf-oauth-discovery-04#section-2
    // If oauthMetadata.name is non-empty, this value has precedence
    // over any metadata reference stored in status.
    // The key "oauthMetadata" is used to locate the data.
    // If specified and the config map or expected key is not found, no metadata is served.
    // If the specified metadata is not valid, no metadata is served.
    // The namespace for this config map is openshift-config.
    // +optional
    OAuthMetadata ConfigMapNameReference `json:"oauthMetadata"`

    // webhookTokenAuthenticators is DEPRECATED, setting it has no effect.
    WebhookTokenAuthenticators []DeprecatedWebhookTokenAuthenticator `json:"webhookTokenAuthenticators,omitempty"`

    // webhookTokenAuthenticator configures a remote token reviewer.
    // These remote authentication webhooks can be used to verify bearer tokens
    // via the tokenreviews.authentication.k8s.io REST API. This is required to
    // honor bearer tokens that are provisioned by an external authentication service.
    // +optional
    WebhookTokenAuthenticator *WebhookTokenAuthenticator `json:"webhookTokenAuthenticator,omitempty"`

    // serviceAccountIssuer is the identifier of the bound service account token
    // issuer.
    // The default is https://kubernetes.default.svc
    // +optional
    ServiceAccountIssuer string `json:"serviceAccountIssuer"`
}

func (*AuthenticationSpec) DeepCopy Uses

func (in *AuthenticationSpec) DeepCopy() *AuthenticationSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationSpec.

func (*AuthenticationSpec) DeepCopyInto Uses

func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AuthenticationSpec) SwaggerDoc Uses

func (AuthenticationSpec) SwaggerDoc() map[string]string

type AuthenticationStatus Uses

type AuthenticationStatus struct {
    // integratedOAuthMetadata contains the discovery endpoint data for OAuth 2.0
    // Authorization Server Metadata for the in-cluster integrated OAuth server.
    // This discovery document can be viewed from its served location:
    // oc get --raw '/.well-known/oauth-authorization-server'
    // For further details, see the IETF Draft:
    // https://tools.ietf.org/html/draft-ietf-oauth-discovery-04#section-2
    // This contains the observed value based on cluster state.
    // An explicitly set value in spec.oauthMetadata has precedence over this field.
    // This field has no meaning if authentication spec.type is not set to IntegratedOAuth.
    // The key "oauthMetadata" is used to locate the data.
    // If the config map or expected key is not found, no metadata is served.
    // If the specified metadata is not valid, no metadata is served.
    // The namespace for this config map is openshift-config-managed.
    IntegratedOAuthMetadata ConfigMapNameReference `json:"integratedOAuthMetadata"`
}

func (*AuthenticationStatus) DeepCopy Uses

func (in *AuthenticationStatus) DeepCopy() *AuthenticationStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthenticationStatus.

func (*AuthenticationStatus) DeepCopyInto Uses

func (in *AuthenticationStatus) DeepCopyInto(out *AuthenticationStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AuthenticationStatus) SwaggerDoc Uses

func (AuthenticationStatus) SwaggerDoc() map[string]string

type AuthenticationType Uses

type AuthenticationType string
const (
    // None means that no cluster managed authentication system is in place.
    // Note that user login will only work if a manually configured system is in place and
    // referenced in authentication spec via oauthMetadata and webhookTokenAuthenticators.
    AuthenticationTypeNone AuthenticationType = "None"

    // IntegratedOAuth refers to the cluster managed OAuth server.
    // It is configured via the top level OAuth config.
    AuthenticationTypeIntegratedOAuth AuthenticationType = "IntegratedOAuth"
)

type AzureCloudEnvironment Uses

type AzureCloudEnvironment string

AzureCloudEnvironment is the name of the Azure cloud environment +kubebuilder:validation:Enum="";AzurePublicCloud;AzureUSGovernmentCloud;AzureChinaCloud;AzureGermanCloud

const (
    // AzurePublicCloud is the general-purpose, public Azure cloud environment.
    AzurePublicCloud AzureCloudEnvironment = "AzurePublicCloud"

    // AzureUSGovernmentCloud is the Azure cloud environment for the US government.
    AzureUSGovernmentCloud AzureCloudEnvironment = "AzureUSGovernmentCloud"

    // AzureChinaCloud is the Azure cloud environment used in China.
    AzureChinaCloud AzureCloudEnvironment = "AzureChinaCloud"

    // AzureGermanCloud is the Azure cloud environment used in Germany.
    AzureGermanCloud AzureCloudEnvironment = "AzureGermanCloud"
)

type AzurePlatformSpec Uses

type AzurePlatformSpec struct{}

AzurePlatformSpec holds the desired state of the Azure infrastructure provider. This only includes fields that can be modified in the cluster.

func (*AzurePlatformSpec) DeepCopy Uses

func (in *AzurePlatformSpec) DeepCopy() *AzurePlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzurePlatformSpec.

func (*AzurePlatformSpec) DeepCopyInto Uses

func (in *AzurePlatformSpec) DeepCopyInto(out *AzurePlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AzurePlatformSpec) SwaggerDoc Uses

func (AzurePlatformSpec) SwaggerDoc() map[string]string

type AzurePlatformStatus Uses

type AzurePlatformStatus struct {
    // resourceGroupName is the Resource Group for new Azure resources created for the cluster.
    ResourceGroupName string `json:"resourceGroupName"`

    // networkResourceGroupName is the Resource Group for network resources like the Virtual Network and Subnets used by the cluster.
    // If empty, the value is same as ResourceGroupName.
    // +optional
    NetworkResourceGroupName string `json:"networkResourceGroupName,omitempty"`

    // cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK
    // with the appropriate Azure API endpoints.
    // If empty, the value is equal to `AzurePublicCloud`.
    // +optional
    CloudName AzureCloudEnvironment `json:"cloudName,omitempty"`
}

AzurePlatformStatus holds the current status of the Azure infrastructure provider.

func (*AzurePlatformStatus) DeepCopy Uses

func (in *AzurePlatformStatus) DeepCopy() *AzurePlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzurePlatformStatus.

func (*AzurePlatformStatus) DeepCopyInto Uses

func (in *AzurePlatformStatus) DeepCopyInto(out *AzurePlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (AzurePlatformStatus) SwaggerDoc Uses

func (AzurePlatformStatus) SwaggerDoc() map[string]string

type BareMetalPlatformSpec Uses

type BareMetalPlatformSpec struct{}

BareMetalPlatformSpec holds the desired state of the BareMetal infrastructure provider. This only includes fields that can be modified in the cluster.

func (*BareMetalPlatformSpec) DeepCopy Uses

func (in *BareMetalPlatformSpec) DeepCopy() *BareMetalPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BareMetalPlatformSpec.

func (*BareMetalPlatformSpec) DeepCopyInto Uses

func (in *BareMetalPlatformSpec) DeepCopyInto(out *BareMetalPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BareMetalPlatformSpec) SwaggerDoc Uses

func (BareMetalPlatformSpec) SwaggerDoc() map[string]string

type BareMetalPlatformStatus Uses

type BareMetalPlatformStatus struct {
    // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
    // by components inside the cluster, like kubelets using the infrastructure rather
    // than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI
    // points to. It is the IP for a self-hosted load balancer in front of the API servers.
    APIServerInternalIP string `json:"apiServerInternalIP,omitempty"`

    // ingressIP is an external IP which routes to the default ingress controller.
    // The IP is a suitable target of a wildcard DNS record used to resolve default route host names.
    IngressIP string `json:"ingressIP,omitempty"`

    // nodeDNSIP is the IP address for the internal DNS used by the
    // nodes. Unlike the one managed by the DNS operator, `NodeDNSIP`
    // provides name resolution for the nodes themselves. There is no DNS-as-a-service for
    // BareMetal deployments. In order to minimize necessary changes to the
    // datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames
    // to the nodes in the cluster.
    NodeDNSIP string `json:"nodeDNSIP,omitempty"`
}

BareMetalPlatformStatus holds the current status of the BareMetal infrastructure provider. For more information about the network architecture used with the BareMetal platform type, see: https://github.com/openshift/installer/blob/master/docs/design/baremetal/networking-infrastructure.md

func (*BareMetalPlatformStatus) DeepCopy Uses

func (in *BareMetalPlatformStatus) DeepCopy() *BareMetalPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BareMetalPlatformStatus.

func (*BareMetalPlatformStatus) DeepCopyInto Uses

func (in *BareMetalPlatformStatus) DeepCopyInto(out *BareMetalPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BareMetalPlatformStatus) SwaggerDoc Uses

func (BareMetalPlatformStatus) SwaggerDoc() map[string]string

type BasicAuthIdentityProvider Uses

type BasicAuthIdentityProvider struct {
    // OAuthRemoteConnectionInfo contains information about how to connect to the external basic auth server
    OAuthRemoteConnectionInfo `json:",inline"`
}

BasicAuthPasswordIdentityProvider provides identities for users authenticating using HTTP basic auth credentials

func (*BasicAuthIdentityProvider) DeepCopy Uses

func (in *BasicAuthIdentityProvider) DeepCopy() *BasicAuthIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BasicAuthIdentityProvider.

func (*BasicAuthIdentityProvider) DeepCopyInto Uses

func (in *BasicAuthIdentityProvider) DeepCopyInto(out *BasicAuthIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BasicAuthIdentityProvider) SwaggerDoc Uses

func (BasicAuthIdentityProvider) SwaggerDoc() map[string]string

type Build Uses

type Build struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // Spec holds user-settable values for the build controller configuration
    // +kubebuilder:validation:Required
    // +required
    Spec BuildSpec `json:"spec"`
}

Build configures the behavior of OpenShift builds for the entire cluster. This includes default settings that can be overridden in BuildConfig objects, and overrides which are applied to all builds.

The canonical name is "cluster"

func (*Build) DeepCopy Uses

func (in *Build) DeepCopy() *Build

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.

func (*Build) DeepCopyInto Uses

func (in *Build) DeepCopyInto(out *Build)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Build) DeepCopyObject Uses

func (in *Build) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Build) SwaggerDoc Uses

func (Build) SwaggerDoc() map[string]string

type BuildDefaults Uses

type BuildDefaults struct {
    // DefaultProxy contains the default proxy settings for all build operations, including image pull/push
    // and source download.
    //
    // Values can be overrode by setting the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables
    // in the build config's strategy.
    // +optional
    DefaultProxy *ProxySpec `json:"defaultProxy,omitempty"`

    // GitProxy contains the proxy settings for git operations only. If set, this will override
    // any Proxy settings for all git commands, such as git clone.
    //
    // Values that are not set here will be inherited from DefaultProxy.
    // +optional
    GitProxy *ProxySpec `json:"gitProxy,omitempty"`

    // Env is a set of default environment variables that will be applied to the
    // build if the specified variables do not exist on the build
    // +optional
    Env []corev1.EnvVar `json:"env,omitempty"`

    // ImageLabels is a list of docker labels that are applied to the resulting image.
    // User can override a default label by providing a label with the same name in their
    // Build/BuildConfig.
    // +optional
    ImageLabels []ImageLabel `json:"imageLabels,omitempty"`

    // Resources defines resource requirements to execute the build.
    // +optional
    Resources corev1.ResourceRequirements `json:"resources"`
}

func (*BuildDefaults) DeepCopy Uses

func (in *BuildDefaults) DeepCopy() *BuildDefaults

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildDefaults.

func (*BuildDefaults) DeepCopyInto Uses

func (in *BuildDefaults) DeepCopyInto(out *BuildDefaults)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BuildDefaults) SwaggerDoc Uses

func (BuildDefaults) SwaggerDoc() map[string]string

type BuildList Uses

type BuildList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Build `json:"items"`
}

func (*BuildList) DeepCopy Uses

func (in *BuildList) DeepCopy() *BuildList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.

func (*BuildList) DeepCopyInto Uses

func (in *BuildList) DeepCopyInto(out *BuildList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildList) DeepCopyObject Uses

func (in *BuildList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type BuildOverrides Uses

type BuildOverrides struct {
    // ImageLabels is a list of docker labels that are applied to the resulting image.
    // If user provided a label in their Build/BuildConfig with the same name as one in this
    // list, the user's label will be overwritten.
    // +optional
    ImageLabels []ImageLabel `json:"imageLabels,omitempty"`

    // NodeSelector is a selector which must be true for the build pod to fit on a node
    // +optional
    NodeSelector map[string]string `json:"nodeSelector,omitempty"`

    // Tolerations is a list of Tolerations that will override any existing
    // tolerations set on a build pod.
    // +optional
    Tolerations []corev1.Toleration `json:"tolerations,omitempty"`

    // ForcePull overrides, if set, the equivalent value in the builds,
    // i.e. false disables force pull for all builds,
    // true enables force pull for all builds,
    // independently of what each build specifies itself
    // +optional
    ForcePull *bool `json:"forcePull,omitempty"`
}

func (*BuildOverrides) DeepCopy Uses

func (in *BuildOverrides) DeepCopy() *BuildOverrides

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOverrides.

func (*BuildOverrides) DeepCopyInto Uses

func (in *BuildOverrides) DeepCopyInto(out *BuildOverrides)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BuildOverrides) SwaggerDoc Uses

func (BuildOverrides) SwaggerDoc() map[string]string

type BuildSpec Uses

type BuildSpec struct {
    // AdditionalTrustedCA is a reference to a ConfigMap containing additional CAs that
    // should be trusted for image pushes and pulls during builds.
    // The namespace for this config map is openshift-config.
    //
    // DEPRECATED: Additional CAs for image pull and push should be set on
    // image.config.openshift.io/cluster instead.
    //
    // +optional
    AdditionalTrustedCA ConfigMapNameReference `json:"additionalTrustedCA"`
    // BuildDefaults controls the default information for Builds
    // +optional
    BuildDefaults BuildDefaults `json:"buildDefaults"`
    // BuildOverrides controls override settings for builds
    // +optional
    BuildOverrides BuildOverrides `json:"buildOverrides"`
}

func (*BuildSpec) DeepCopy Uses

func (in *BuildSpec) DeepCopy() *BuildSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.

func (*BuildSpec) DeepCopyInto Uses

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (BuildSpec) SwaggerDoc Uses

func (BuildSpec) SwaggerDoc() map[string]string

type CertInfo Uses

type CertInfo struct {
    // CertFile is a file containing a PEM-encoded certificate
    CertFile string `json:"certFile"`
    // KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile
    KeyFile string `json:"keyFile"`
}

CertInfo relates a certificate with a private key

func (*CertInfo) DeepCopy Uses

func (in *CertInfo) DeepCopy() *CertInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CertInfo.

func (*CertInfo) DeepCopyInto Uses

func (in *CertInfo) DeepCopyInto(out *CertInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CertInfo) SwaggerDoc Uses

func (CertInfo) SwaggerDoc() map[string]string

type ClientConnectionOverrides Uses

type ClientConnectionOverrides struct {
    // acceptContentTypes defines the Accept header sent by clients when connecting to a server, overriding the
    // default value of 'application/json'. This field will control all connections to the server used by a particular
    // client.
    AcceptContentTypes string `json:"acceptContentTypes"`
    // contentType is the content type used when sending data to the server from this client.
    ContentType string `json:"contentType"`

    // qps controls the number of queries per second allowed for this connection.
    QPS float32 `json:"qps"`
    // burst allows extra queries to accumulate when a client is exceeding its rate.
    Burst int32 `json:"burst"`
}

func (*ClientConnectionOverrides) DeepCopy Uses

func (in *ClientConnectionOverrides) DeepCopy() *ClientConnectionOverrides

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnectionOverrides.

func (*ClientConnectionOverrides) DeepCopyInto Uses

func (in *ClientConnectionOverrides) DeepCopyInto(out *ClientConnectionOverrides)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClientConnectionOverrides) SwaggerDoc Uses

func (ClientConnectionOverrides) SwaggerDoc() map[string]string

type ClusterID Uses

type ClusterID string

ClusterID is string RFC4122 uuid.

type ClusterNetworkEntry Uses

type ClusterNetworkEntry struct {
    // The complete block for pod IPs.
    CIDR string `json:"cidr"`

    // The size (prefix) of block to allocate to each node. If this
    // field is not used by the plugin, it can be left unset.
    // +kubebuilder:validation:Minimum=0
    // +optional
    HostPrefix uint32 `json:"hostPrefix,omitempty"`
}

ClusterNetworkEntry is a contiguous block of IP addresses from which pod IPs are allocated.

func (*ClusterNetworkEntry) DeepCopy Uses

func (in *ClusterNetworkEntry) DeepCopy() *ClusterNetworkEntry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNetworkEntry.

func (*ClusterNetworkEntry) DeepCopyInto Uses

func (in *ClusterNetworkEntry) DeepCopyInto(out *ClusterNetworkEntry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterNetworkEntry) SwaggerDoc Uses

func (ClusterNetworkEntry) SwaggerDoc() map[string]string

type ClusterOperator Uses

type ClusterOperator struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`

    // spec holds configuration that could apply to any operator.
    // +kubebuilder:validation:Required
    // +required
    Spec ClusterOperatorSpec `json:"spec"`

    // status holds the information about the state of an operator.  It is consistent with status information across
    // the Kubernetes ecosystem.
    // +optional
    Status ClusterOperatorStatus `json:"status"`
}

ClusterOperator is the Custom Resource object which holds the current state of an operator. This object is used by operators to convey their state to the rest of the cluster.

func (*ClusterOperator) DeepCopy Uses

func (in *ClusterOperator) DeepCopy() *ClusterOperator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperator.

func (*ClusterOperator) DeepCopyInto Uses

func (in *ClusterOperator) DeepCopyInto(out *ClusterOperator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterOperator) DeepCopyObject Uses

func (in *ClusterOperator) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ClusterOperator) SwaggerDoc Uses

func (ClusterOperator) SwaggerDoc() map[string]string

type ClusterOperatorList Uses

type ClusterOperatorList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []ClusterOperator `json:"items"`
}

ClusterOperatorList is a list of OperatorStatus resources. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterOperatorList) DeepCopy Uses

func (in *ClusterOperatorList) DeepCopy() *ClusterOperatorList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperatorList.

func (*ClusterOperatorList) DeepCopyInto Uses

func (in *ClusterOperatorList) DeepCopyInto(out *ClusterOperatorList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterOperatorList) DeepCopyObject Uses

func (in *ClusterOperatorList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ClusterOperatorList) SwaggerDoc Uses

func (ClusterOperatorList) SwaggerDoc() map[string]string

type ClusterOperatorSpec Uses

type ClusterOperatorSpec struct {
}

ClusterOperatorSpec is empty for now, but you could imagine holding information like "pause".

func (*ClusterOperatorSpec) DeepCopy Uses

func (in *ClusterOperatorSpec) DeepCopy() *ClusterOperatorSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperatorSpec.

func (*ClusterOperatorSpec) DeepCopyInto Uses

func (in *ClusterOperatorSpec) DeepCopyInto(out *ClusterOperatorSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterOperatorSpec) SwaggerDoc Uses

func (ClusterOperatorSpec) SwaggerDoc() map[string]string

type ClusterOperatorStatus Uses

type ClusterOperatorStatus struct {
    // conditions describes the state of the operator's managed and monitored components.
    // +patchMergeKey=type
    // +patchStrategy=merge
    // +optional
    Conditions []ClusterOperatorStatusCondition `json:"conditions,omitempty"  patchStrategy:"merge" patchMergeKey:"type"`

    // versions is a slice of operator and operand version tuples.  Operators which manage multiple operands will have multiple
    // operand entries in the array.  Available operators must report the version of the operator itself with the name "operator".
    // An operator reports a new "operator" version when it has rolled out the new version to all of its operands.
    // +optional
    Versions []OperandVersion `json:"versions,omitempty"`

    // relatedObjects is a list of objects that are "interesting" or related to this operator.  Common uses are:
    // 1. the detailed resource driving the operator
    // 2. operator namespaces
    // 3. operand namespaces
    // +optional
    RelatedObjects []ObjectReference `json:"relatedObjects,omitempty"`

    // extension contains any additional status information specific to the
    // operator which owns this status object.
    // +nullable
    // +optional
    // +kubebuilder:pruning:PreserveUnknownFields
    Extension runtime.RawExtension `json:"extension"`
}

ClusterOperatorStatus provides information about the status of the operator. +k8s:deepcopy-gen=true

func (*ClusterOperatorStatus) DeepCopy Uses

func (in *ClusterOperatorStatus) DeepCopy() *ClusterOperatorStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperatorStatus.

func (*ClusterOperatorStatus) DeepCopyInto Uses

func (in *ClusterOperatorStatus) DeepCopyInto(out *ClusterOperatorStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterOperatorStatus) SwaggerDoc Uses

func (ClusterOperatorStatus) SwaggerDoc() map[string]string

type ClusterOperatorStatusCondition Uses

type ClusterOperatorStatusCondition struct {
    // type specifies the aspect reported by this condition.
    // +kubebuilder:validation:Required
    // +required
    Type ClusterStatusConditionType `json:"type"`

    // status of the condition, one of True, False, Unknown.
    // +kubebuilder:validation:Required
    // +required
    Status ConditionStatus `json:"status"`

    // lastTransitionTime is the time of the last update to the current status property.
    // +kubebuilder:validation:Required
    // +required
    LastTransitionTime metav1.Time `json:"lastTransitionTime"`

    // reason is the CamelCase reason for the condition's current status.
    // +optional
    Reason string `json:"reason,omitempty"`

    // message provides additional information about the current condition.
    // This is only to be consumed by humans.
    // +optional
    Message string `json:"message,omitempty"`
}

ClusterOperatorStatusCondition represents the state of the operator's managed and monitored components. +k8s:deepcopy-gen=true

func (*ClusterOperatorStatusCondition) DeepCopy Uses

func (in *ClusterOperatorStatusCondition) DeepCopy() *ClusterOperatorStatusCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterOperatorStatusCondition.

func (*ClusterOperatorStatusCondition) DeepCopyInto Uses

func (in *ClusterOperatorStatusCondition) DeepCopyInto(out *ClusterOperatorStatusCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterOperatorStatusCondition) SwaggerDoc Uses

func (ClusterOperatorStatusCondition) SwaggerDoc() map[string]string

type ClusterStatusConditionType Uses

type ClusterStatusConditionType string

ClusterStatusConditionType is an aspect of operator state.

const (
    // Available indicates that the operand (eg: openshift-apiserver for the
    // openshift-apiserver-operator), is functional and available in the cluster.
    OperatorAvailable ClusterStatusConditionType = "Available"

    // Progressing indicates that the operator is actively rolling out new code,
    // propagating config changes, or otherwise moving from one steady state to
    // another.  Operators should not report progressing when they are reconciling
    // a previously known state.
    OperatorProgressing ClusterStatusConditionType = "Progressing"

    // Degraded indicates that the operator's current state does not match its
    // desired state over a period of time resulting in a lower quality of service.
    // The period of time may vary by component, but a Degraded state represents
    // persistent observation of a condition.  As a result, a component should not
    // oscillate in and out of Degraded state.  A service may be Available even
    // if its degraded.  For example, your service may desire 3 running pods, but 1
    // pod is crash-looping.  The service is Available but Degraded because it
    // may have a lower quality of service.  A component may be Progressing but
    // not Degraded because the transition from one state to another does not
    // persist over a long enough period to report Degraded.  A service should not
    // report Degraded during the course of a normal upgrade.  A service may report
    // Degraded in response to a persistent infrastructure failure that requires
    // administrator intervention.  For example, if a control plane host is unhealthy
    // and must be replaced.  An operator should report Degraded if unexpected
    // errors occur over a period, but the expectation is that all unexpected errors
    // are handled as operators mature.
    OperatorDegraded ClusterStatusConditionType = "Degraded"

    // Upgradeable indicates whether the operator is in a state that is safe to upgrade. When status is `False`
    // administrators should not upgrade their cluster and the message field should contain a human readable description
    // of what the administrator should do to allow the operator to successfully update.  A missing condition, True,
    // and Unknown are all treated by the CVO as allowing an upgrade.
    OperatorUpgradeable ClusterStatusConditionType = "Upgradeable"
)
const RetrievedUpdates ClusterStatusConditionType = "RetrievedUpdates"

RetrievedUpdates reports whether available updates have been retrieved from the upstream update server. The condition is Unknown before retrieval, False if the updates could not be retrieved or recently failed, or True if the availableUpdates field is accurate and recent.

type ClusterVersion Uses

type ClusterVersion struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec is the desired state of the cluster version - the operator will work
    // to ensure that the desired version is applied to the cluster.
    // +kubebuilder:validation:Required
    // +required
    Spec ClusterVersionSpec `json:"spec"`
    // status contains information about the available updates and any in-progress
    // updates.
    // +optional
    Status ClusterVersionStatus `json:"status"`
}

ClusterVersion is the configuration for the ClusterVersionOperator. This is where parameters related to automatic updates can be set.

func (*ClusterVersion) DeepCopy Uses

func (in *ClusterVersion) DeepCopy() *ClusterVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersion.

func (*ClusterVersion) DeepCopyInto Uses

func (in *ClusterVersion) DeepCopyInto(out *ClusterVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterVersion) DeepCopyObject Uses

func (in *ClusterVersion) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ClusterVersion) SwaggerDoc Uses

func (ClusterVersion) SwaggerDoc() map[string]string

type ClusterVersionList Uses

type ClusterVersionList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []ClusterVersion `json:"items"`
}

ClusterVersionList is a list of ClusterVersion resources. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*ClusterVersionList) DeepCopy Uses

func (in *ClusterVersionList) DeepCopy() *ClusterVersionList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionList.

func (*ClusterVersionList) DeepCopyInto Uses

func (in *ClusterVersionList) DeepCopyInto(out *ClusterVersionList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterVersionList) DeepCopyObject Uses

func (in *ClusterVersionList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (ClusterVersionList) SwaggerDoc Uses

func (ClusterVersionList) SwaggerDoc() map[string]string

type ClusterVersionSpec Uses

type ClusterVersionSpec struct {
    // clusterID uniquely identifies this cluster. This is expected to be
    // an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in
    // hexadecimal values). This is a required field.
    // +kubebuilder:validation:Required
    // +required
    ClusterID ClusterID `json:"clusterID"`

    // desiredUpdate is an optional field that indicates the desired value of
    // the cluster version. Setting this value will trigger an upgrade (if
    // the current version does not match the desired version). The set of
    // recommended update values is listed as part of available updates in
    // status, and setting values outside that range may cause the upgrade
    // to fail. You may specify the version field without setting image if
    // an update exists with that version in the availableUpdates or history.
    //
    // If an upgrade fails the operator will halt and report status
    // about the failing component. Setting the desired update value back to
    // the previous version will cause a rollback to be attempted. Not all
    // rollbacks will succeed.
    //
    // +optional
    DesiredUpdate *Update `json:"desiredUpdate,omitempty"`

    // upstream may be used to specify the preferred update server. By default
    // it will use the appropriate update server for the cluster and region.
    //
    // +optional
    Upstream URL `json:"upstream,omitempty"`
    // channel is an identifier for explicitly requesting that a non-default
    // set of updates be applied to this cluster. The default channel will be
    // contain stable updates that are appropriate for production clusters.
    //
    // +optional
    Channel string `json:"channel,omitempty"`

    // overrides is list of overides for components that are managed by
    // cluster version operator. Marking a component unmanaged will prevent
    // the operator from creating or updating the object.
    // +optional
    Overrides []ComponentOverride `json:"overrides,omitempty"`
}

ClusterVersionSpec is the desired version state of the cluster. It includes the version the cluster should be at, how the cluster is identified, and where the cluster should look for version updates. +k8s:deepcopy-gen=true

func (*ClusterVersionSpec) DeepCopy Uses

func (in *ClusterVersionSpec) DeepCopy() *ClusterVersionSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionSpec.

func (*ClusterVersionSpec) DeepCopyInto Uses

func (in *ClusterVersionSpec) DeepCopyInto(out *ClusterVersionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterVersionSpec) SwaggerDoc Uses

func (ClusterVersionSpec) SwaggerDoc() map[string]string

type ClusterVersionStatus Uses

type ClusterVersionStatus struct {
    // desired is the version that the cluster is reconciling towards.
    // If the cluster is not yet fully initialized desired will be set
    // with the information available, which may be an image or a tag.
    // +kubebuilder:validation:Required
    // +required
    Desired Release `json:"desired"`

    // history contains a list of the most recent versions applied to the cluster.
    // This value may be empty during cluster startup, and then will be updated
    // when a new update is being applied. The newest update is first in the
    // list and it is ordered by recency. Updates in the history have state
    // Completed if the rollout completed - if an update was failing or halfway
    // applied the state will be Partial. Only a limited amount of update history
    // is preserved.
    // +optional
    History []UpdateHistory `json:"history,omitempty"`

    // observedGeneration reports which version of the spec is being synced.
    // If this value is not equal to metadata.generation, then the desired
    // and conditions fields may represent a previous version.
    // +kubebuilder:validation:Required
    // +required
    ObservedGeneration int64 `json:"observedGeneration"`

    // versionHash is a fingerprint of the content that the cluster will be
    // updated with. It is used by the operator to avoid unnecessary work
    // and is for internal use only.
    // +kubebuilder:validation:Required
    // +required
    VersionHash string `json:"versionHash"`

    // conditions provides information about the cluster version. The condition
    // "Available" is set to true if the desiredUpdate has been reached. The
    // condition "Progressing" is set to true if an update is being applied.
    // The condition "Degraded" is set to true if an update is currently blocked
    // by a temporary or permanent error. Conditions are only valid for the
    // current desiredUpdate when metadata.generation is equal to
    // status.generation.
    // +optional
    Conditions []ClusterOperatorStatusCondition `json:"conditions,omitempty"`

    // availableUpdates contains the list of updates that are appropriate
    // for this cluster. This list may be empty if no updates are recommended,
    // if the update service is unavailable, or if an invalid channel has
    // been specified.
    // +nullable
    // +kubebuilder:validation:Required
    // +required
    AvailableUpdates []Release `json:"availableUpdates"`
}

ClusterVersionStatus reports the status of the cluster versioning, including any upgrades that are in progress. The current field will be set to whichever version the cluster is reconciling to, and the conditions array will report whether the update succeeded, is in progress, or is failing. +k8s:deepcopy-gen=true

func (*ClusterVersionStatus) DeepCopy Uses

func (in *ClusterVersionStatus) DeepCopy() *ClusterVersionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterVersionStatus.

func (*ClusterVersionStatus) DeepCopyInto Uses

func (in *ClusterVersionStatus) DeepCopyInto(out *ClusterVersionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ClusterVersionStatus) SwaggerDoc Uses

func (ClusterVersionStatus) SwaggerDoc() map[string]string

type ComponentOverride Uses

type ComponentOverride struct {
    // kind indentifies which object to override.
    // +kubebuilder:validation:Required
    // +required
    Kind string `json:"kind"`
    // group identifies the API group that the kind is in.
    // +kubebuilder:validation:Required
    // +required
    Group string `json:"group"`

    // namespace is the component's namespace. If the resource is cluster
    // scoped, the namespace should be empty.
    // +kubebuilder:validation:Required
    // +required
    Namespace string `json:"namespace"`
    // name is the component's name.
    // +kubebuilder:validation:Required
    // +required
    Name string `json:"name"`

    // unmanaged controls if cluster version operator should stop managing the
    // resources in this cluster.
    // Default: false
    // +kubebuilder:validation:Required
    // +required
    Unmanaged bool `json:"unmanaged"`
}

ComponentOverride allows overriding cluster version operator's behavior for a component. +k8s:deepcopy-gen=true

func (*ComponentOverride) DeepCopy Uses

func (in *ComponentOverride) DeepCopy() *ComponentOverride

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentOverride.

func (*ComponentOverride) DeepCopyInto Uses

func (in *ComponentOverride) DeepCopyInto(out *ComponentOverride)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ComponentOverride) SwaggerDoc Uses

func (ComponentOverride) SwaggerDoc() map[string]string

type ConditionStatus Uses

type ConditionStatus string
const (
    ConditionTrue    ConditionStatus = "True"
    ConditionFalse   ConditionStatus = "False"
    ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition. "ConditionFalse" means a resource is not in the condition. "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type ConfigMapFileReference Uses

type ConfigMapFileReference struct {
    Name string `json:"name"`
    // Key allows pointing to a specific key/value inside of the configmap.  This is useful for logical file references.
    Key string `json:"key,omitempty"`
}

ConfigMapFileReference references a config map in a specific namespace. The namespace must be specified at the point of use.

func (*ConfigMapFileReference) DeepCopy Uses

func (in *ConfigMapFileReference) DeepCopy() *ConfigMapFileReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapFileReference.

func (*ConfigMapFileReference) DeepCopyInto Uses

func (in *ConfigMapFileReference) DeepCopyInto(out *ConfigMapFileReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ConfigMapFileReference) SwaggerDoc Uses

func (ConfigMapFileReference) SwaggerDoc() map[string]string

type ConfigMapNameReference Uses

type ConfigMapNameReference struct {
    // name is the metadata.name of the referenced config map
    // +kubebuilder:validation:Required
    // +required
    Name string `json:"name"`
}

ConfigMapNameReference references a config map in a specific namespace. The namespace must be specified at the point of use.

func (*ConfigMapNameReference) DeepCopy Uses

func (in *ConfigMapNameReference) DeepCopy() *ConfigMapNameReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapNameReference.

func (*ConfigMapNameReference) DeepCopyInto Uses

func (in *ConfigMapNameReference) DeepCopyInto(out *ConfigMapNameReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ConfigMapNameReference) SwaggerDoc Uses

func (ConfigMapNameReference) SwaggerDoc() map[string]string

type Console Uses

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"`
}

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`.

func (*Console) DeepCopy Uses

func (in *Console) DeepCopy() *Console

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Console.

func (*Console) DeepCopyInto Uses

func (in *Console) DeepCopyInto(out *Console)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Console) DeepCopyObject Uses

func (in *Console) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Console) SwaggerDoc Uses

func (Console) SwaggerDoc() map[string]string

type ConsoleAuthentication Uses

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"`
}

ConsoleAuthentication defines a list of optional configuration for console authentication.

func (*ConsoleAuthentication) DeepCopy Uses

func (in *ConsoleAuthentication) DeepCopy() *ConsoleAuthentication

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleAuthentication.

func (*ConsoleAuthentication) DeepCopyInto Uses

func (in *ConsoleAuthentication) DeepCopyInto(out *ConsoleAuthentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ConsoleAuthentication) SwaggerDoc Uses

func (ConsoleAuthentication) SwaggerDoc() map[string]string

type ConsoleList Uses

type ConsoleList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Console `json:"items"`
}

func (*ConsoleList) DeepCopy Uses

func (in *ConsoleList) DeepCopy() *ConsoleList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleList.

func (*ConsoleList) DeepCopyInto Uses

func (in *ConsoleList) DeepCopyInto(out *ConsoleList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConsoleList) DeepCopyObject Uses

func (in *ConsoleList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ConsoleSpec Uses

type ConsoleSpec struct {
    // +optional
    Authentication ConsoleAuthentication `json:"authentication"`
}

ConsoleSpec is the specification of the desired behavior of the Console.

func (*ConsoleSpec) DeepCopy Uses

func (in *ConsoleSpec) DeepCopy() *ConsoleSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleSpec.

func (*ConsoleSpec) DeepCopyInto Uses

func (in *ConsoleSpec) DeepCopyInto(out *ConsoleSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ConsoleSpec) SwaggerDoc Uses

func (ConsoleSpec) SwaggerDoc() map[string]string

type ConsoleStatus Uses

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"`
}

ConsoleStatus defines the observed status of the Console.

func (*ConsoleStatus) DeepCopy Uses

func (in *ConsoleStatus) DeepCopy() *ConsoleStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsoleStatus.

func (*ConsoleStatus) DeepCopyInto Uses

func (in *ConsoleStatus) DeepCopyInto(out *ConsoleStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ConsoleStatus) SwaggerDoc Uses

func (ConsoleStatus) SwaggerDoc() map[string]string

type CustomFeatureGates Uses

type CustomFeatureGates struct {
    // enabled is a list of all feature gates that you want to force on
    // +optional
    Enabled []string `json:"enabled,omitempty"`
    // disabled is a list of all feature gates that you want to force off
    // +optional
    Disabled []string `json:"disabled,omitempty"`
}

func (*CustomFeatureGates) DeepCopy Uses

func (in *CustomFeatureGates) DeepCopy() *CustomFeatureGates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomFeatureGates.

func (*CustomFeatureGates) DeepCopyInto Uses

func (in *CustomFeatureGates) DeepCopyInto(out *CustomFeatureGates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CustomFeatureGates) SwaggerDoc Uses

func (CustomFeatureGates) SwaggerDoc() map[string]string

type CustomTLSProfile Uses

type CustomTLSProfile struct {
    TLSProfileSpec `json:",inline"`
}

CustomTLSProfile is a user-defined TLS security profile. Be extremely careful using a custom TLS profile as invalid configurations can be catastrophic.

func (*CustomTLSProfile) DeepCopy Uses

func (in *CustomTLSProfile) DeepCopy() *CustomTLSProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomTLSProfile.

func (*CustomTLSProfile) DeepCopyInto Uses

func (in *CustomTLSProfile) DeepCopyInto(out *CustomTLSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CustomTLSProfile) SwaggerDoc Uses

func (CustomTLSProfile) SwaggerDoc() map[string]string

type DNS Uses

type DNS struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec DNSSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status DNSStatus `json:"status"`
}

DNS holds cluster-wide information about DNS. The canonical name is `cluster`

func (*DNS) DeepCopy Uses

func (in *DNS) DeepCopy() *DNS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNS.

func (*DNS) DeepCopyInto Uses

func (in *DNS) DeepCopyInto(out *DNS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DNS) DeepCopyObject Uses

func (in *DNS) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (DNS) SwaggerDoc Uses

func (DNS) SwaggerDoc() map[string]string

type DNSList Uses

type DNSList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []DNS `json:"items"`
}

func (*DNSList) DeepCopy Uses

func (in *DNSList) DeepCopy() *DNSList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSList.

func (*DNSList) DeepCopyInto Uses

func (in *DNSList) DeepCopyInto(out *DNSList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DNSList) DeepCopyObject Uses

func (in *DNSList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type DNSSpec Uses

type DNSSpec struct {
    // baseDomain is the base domain of the cluster. All managed DNS records will
    // be sub-domains of this base.
    //
    // For example, given the base domain `openshift.example.com`, an API server
    // DNS record may be created for `cluster-api.openshift.example.com`.
    //
    // Once set, this field cannot be changed.
    BaseDomain string `json:"baseDomain"`
    // publicZone is the location where all the DNS records that are publicly accessible to
    // the internet exist.
    //
    // If this field is nil, no public records should be created.
    //
    // Once set, this field cannot be changed.
    //
    // +optional
    PublicZone *DNSZone `json:"publicZone,omitempty"`
    // privateZone is the location where all the DNS records that are only available internally
    // to the cluster exist.
    //
    // If this field is nil, no private records should be created.
    //
    // Once set, this field cannot be changed.
    //
    // +optional
    PrivateZone *DNSZone `json:"privateZone,omitempty"`
}

func (*DNSSpec) DeepCopy Uses

func (in *DNSSpec) DeepCopy() *DNSSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSSpec.

func (*DNSSpec) DeepCopyInto Uses

func (in *DNSSpec) DeepCopyInto(out *DNSSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DNSSpec) SwaggerDoc Uses

func (DNSSpec) SwaggerDoc() map[string]string

type DNSStatus Uses

type DNSStatus struct {
}

func (*DNSStatus) DeepCopy Uses

func (in *DNSStatus) DeepCopy() *DNSStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSStatus.

func (*DNSStatus) DeepCopyInto Uses

func (in *DNSStatus) DeepCopyInto(out *DNSStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DNSZone Uses

type DNSZone struct {
    // id is the identifier that can be used to find the DNS hosted zone.
    //
    // on AWS zone can be fetched using `ID` as id in [1]
    // on Azure zone can be fetched using `ID` as a pre-determined name in [2],
    // on GCP zone can be fetched using `ID` as a pre-determined name in [3].
    //
    // [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options
    // [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show
    // [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get
    // +optional
    ID  string `json:"id,omitempty"`

    // tags can be used to query the DNS hosted zone.
    //
    // on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using `Tags` as tag-filters,
    //
    // [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options
    // +optional
    Tags map[string]string `json:"tags,omitempty"`
}

DNSZone is used to define a DNS hosted zone. A zone can be identified by an ID or tags.

func (*DNSZone) DeepCopy Uses

func (in *DNSZone) DeepCopy() *DNSZone

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSZone.

func (*DNSZone) DeepCopyInto Uses

func (in *DNSZone) DeepCopyInto(out *DNSZone)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DNSZone) SwaggerDoc Uses

func (DNSZone) SwaggerDoc() map[string]string

type DelegatedAuthentication Uses

type DelegatedAuthentication struct {
    // disabled indicates that authentication should be disabled.  By default it will use delegated authentication.
    Disabled bool `json:"disabled,omitempty"`
}

DelegatedAuthentication allows authentication to be disabled.

func (*DelegatedAuthentication) DeepCopy Uses

func (in *DelegatedAuthentication) DeepCopy() *DelegatedAuthentication

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedAuthentication.

func (*DelegatedAuthentication) DeepCopyInto Uses

func (in *DelegatedAuthentication) DeepCopyInto(out *DelegatedAuthentication)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DelegatedAuthentication) SwaggerDoc Uses

func (DelegatedAuthentication) SwaggerDoc() map[string]string

type DelegatedAuthorization Uses

type DelegatedAuthorization struct {
    // disabled indicates that authorization should be disabled.  By default it will use delegated authorization.
    Disabled bool `json:"disabled,omitempty"`
}

DelegatedAuthorization allows authorization to be disabled.

func (*DelegatedAuthorization) DeepCopy Uses

func (in *DelegatedAuthorization) DeepCopy() *DelegatedAuthorization

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedAuthorization.

func (*DelegatedAuthorization) DeepCopyInto Uses

func (in *DelegatedAuthorization) DeepCopyInto(out *DelegatedAuthorization)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DelegatedAuthorization) SwaggerDoc Uses

func (DelegatedAuthorization) SwaggerDoc() map[string]string

type DeprecatedWebhookTokenAuthenticator Uses

type DeprecatedWebhookTokenAuthenticator struct {
    // kubeConfig contains kube config file data which describes how to access the remote webhook service.
    // For further details, see:
    // https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication
    // The key "kubeConfig" is used to locate the data.
    // If the secret or expected key is not found, the webhook is not honored.
    // If the specified kube config data is not valid, the webhook is not honored.
    // The namespace for this secret is determined by the point of use.
    KubeConfig SecretNameReference `json:"kubeConfig"`
}

deprecatedWebhookTokenAuthenticator holds the necessary configuration options for a remote token authenticator. It's the same as WebhookTokenAuthenticator but it's missing the 'required' validation on KubeConfig field.

func (*DeprecatedWebhookTokenAuthenticator) DeepCopy Uses

func (in *DeprecatedWebhookTokenAuthenticator) DeepCopy() *DeprecatedWebhookTokenAuthenticator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeprecatedWebhookTokenAuthenticator.

func (*DeprecatedWebhookTokenAuthenticator) DeepCopyInto Uses

func (in *DeprecatedWebhookTokenAuthenticator) DeepCopyInto(out *DeprecatedWebhookTokenAuthenticator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (DeprecatedWebhookTokenAuthenticator) SwaggerDoc Uses

func (DeprecatedWebhookTokenAuthenticator) SwaggerDoc() map[string]string

type EncryptionType Uses

type EncryptionType string

+kubebuilder:validation:Enum="";identity;aescbc

const (
    // identity refers to a type where no encryption is performed at the datastore layer.
    // Resources are written as-is without encryption.
    EncryptionTypeIdentity EncryptionType = "identity"

    // aescbc refers to a type where AES-CBC with PKCS#7 padding and a 32-byte key
    // is used to perform encryption at the datastore layer.
    EncryptionTypeAESCBC EncryptionType = "aescbc"
)

type EtcdConnectionInfo Uses

type EtcdConnectionInfo struct {
    // URLs are the URLs for etcd
    URLs []string `json:"urls,omitempty"`
    // CA is a file containing trusted roots for the etcd server certificates
    CA  string `json:"ca"`
    // CertInfo is the TLS client cert information for securing communication to etcd
    // this is anonymous so that we can inline it for serialization
    CertInfo `json:",inline"`
}

EtcdConnectionInfo holds information necessary for connecting to an etcd server

func (*EtcdConnectionInfo) DeepCopy Uses

func (in *EtcdConnectionInfo) DeepCopy() *EtcdConnectionInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdConnectionInfo.

func (*EtcdConnectionInfo) DeepCopyInto Uses

func (in *EtcdConnectionInfo) DeepCopyInto(out *EtcdConnectionInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (EtcdConnectionInfo) SwaggerDoc Uses

func (EtcdConnectionInfo) SwaggerDoc() map[string]string

type EtcdStorageConfig Uses

type EtcdStorageConfig struct {
    EtcdConnectionInfo `json:",inline"`

    // StoragePrefix is the path within etcd that the OpenShift resources will
    // be rooted under. This value, if changed, will mean existing objects in etcd will
    // no longer be located.
    StoragePrefix string `json:"storagePrefix"`
}

func (*EtcdStorageConfig) DeepCopy Uses

func (in *EtcdStorageConfig) DeepCopy() *EtcdStorageConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EtcdStorageConfig.

func (*EtcdStorageConfig) DeepCopyInto Uses

func (in *EtcdStorageConfig) DeepCopyInto(out *EtcdStorageConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (EtcdStorageConfig) SwaggerDoc Uses

func (EtcdStorageConfig) SwaggerDoc() map[string]string

type ExternalIPConfig Uses

type ExternalIPConfig struct {
    // policy is a set of restrictions applied to the ExternalIP field.
    // If nil or empty, then ExternalIP is not allowed to be set.
    // +optional
    Policy *ExternalIPPolicy `json:"policy,omitempty"`

    // autoAssignCIDRs is a list of CIDRs from which to automatically assign
    // Service.ExternalIP. These are assigned when the service is of type
    // LoadBalancer. In general, this is only useful for bare-metal clusters.
    // In Openshift 3.x, this was misleadingly called "IngressIPs".
    // Automatically assigned External IPs are not affected by any
    // ExternalIPPolicy rules.
    // Currently, only one entry may be provided.
    // +optional
    AutoAssignCIDRs []string `json:"autoAssignCIDRs,omitempty"`
}

ExternalIPConfig specifies some IP blocks relevant for the ExternalIP field of a Service resource.

func (*ExternalIPConfig) DeepCopy Uses

func (in *ExternalIPConfig) DeepCopy() *ExternalIPConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalIPConfig.

func (*ExternalIPConfig) DeepCopyInto Uses

func (in *ExternalIPConfig) DeepCopyInto(out *ExternalIPConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ExternalIPConfig) SwaggerDoc Uses

func (ExternalIPConfig) SwaggerDoc() map[string]string

type ExternalIPPolicy Uses

type ExternalIPPolicy struct {
    // allowedCIDRs is the list of allowed CIDRs.
    AllowedCIDRs []string `json:"allowedCIDRs,omitempty"`

    // rejectedCIDRs is the list of disallowed CIDRs. These take precedence
    // over allowedCIDRs.
    // +optional
    RejectedCIDRs []string `json:"rejectedCIDRs,omitempty"`
}

ExternalIPPolicy configures exactly which IPs are allowed for the ExternalIP field in a Service. If the zero struct is supplied, then none are permitted. The policy controller always allows automatically assigned external IPs.

func (*ExternalIPPolicy) DeepCopy Uses

func (in *ExternalIPPolicy) DeepCopy() *ExternalIPPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalIPPolicy.

func (*ExternalIPPolicy) DeepCopyInto Uses

func (in *ExternalIPPolicy) DeepCopyInto(out *ExternalIPPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ExternalIPPolicy) SwaggerDoc Uses

func (ExternalIPPolicy) SwaggerDoc() map[string]string

type FeatureGate Uses

type FeatureGate struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec FeatureGateSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status FeatureGateStatus `json:"status"`
}

Feature holds cluster-wide information about feature gates. The canonical name is `cluster`

func (*FeatureGate) DeepCopy Uses

func (in *FeatureGate) DeepCopy() *FeatureGate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGate.

func (*FeatureGate) DeepCopyInto Uses

func (in *FeatureGate) DeepCopyInto(out *FeatureGate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureGate) DeepCopyObject Uses

func (in *FeatureGate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (FeatureGate) SwaggerDoc Uses

func (FeatureGate) SwaggerDoc() map[string]string

type FeatureGateEnabledDisabled Uses

type FeatureGateEnabledDisabled struct {
    Enabled  []string
    Disabled []string
}

func (*FeatureGateEnabledDisabled) DeepCopy Uses

func (in *FeatureGateEnabledDisabled) DeepCopy() *FeatureGateEnabledDisabled

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGateEnabledDisabled.

func (*FeatureGateEnabledDisabled) DeepCopyInto Uses

func (in *FeatureGateEnabledDisabled) DeepCopyInto(out *FeatureGateEnabledDisabled)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureGateList Uses

type FeatureGateList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []FeatureGate `json:"items"`
}

func (*FeatureGateList) DeepCopy Uses

func (in *FeatureGateList) DeepCopy() *FeatureGateList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGateList.

func (*FeatureGateList) DeepCopyInto Uses

func (in *FeatureGateList) DeepCopyInto(out *FeatureGateList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*FeatureGateList) DeepCopyObject Uses

func (in *FeatureGateList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type FeatureGateSelection Uses

type FeatureGateSelection struct {
    // featureSet changes the list of features in the cluster.  The default is empty.  Be very careful adjusting this setting.
    // Turning on or off features may cause irreversible changes in your cluster which cannot be undone.
    // +unionDiscriminator
    // +optional
    FeatureSet FeatureSet `json:"featureSet,omitempty"`

    // customNoUpgrade allows the enabling or disabling of any feature. Turning this feature set on IS NOT SUPPORTED, CANNOT BE UNDONE, and PREVENTS UPGRADES.
    // Because of its nature, this setting cannot be validated.  If you have any typos or accidentally apply invalid combinations
    // your cluster may fail in an unrecoverable way.  featureSet must equal "CustomNoUpgrade" must be set to use this field.
    // +optional
    // +nullable
    CustomNoUpgrade *CustomFeatureGates `json:"customNoUpgrade,omitempty"`
}

+union

func (*FeatureGateSelection) DeepCopy Uses

func (in *FeatureGateSelection) DeepCopy() *FeatureGateSelection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGateSelection.

func (*FeatureGateSelection) DeepCopyInto Uses

func (in *FeatureGateSelection) DeepCopyInto(out *FeatureGateSelection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (FeatureGateSelection) SwaggerDoc Uses

func (FeatureGateSelection) SwaggerDoc() map[string]string

type FeatureGateSpec Uses

type FeatureGateSpec struct {
    FeatureGateSelection `json:",inline"`
}

func (*FeatureGateSpec) DeepCopy Uses

func (in *FeatureGateSpec) DeepCopy() *FeatureGateSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGateSpec.

func (*FeatureGateSpec) DeepCopyInto Uses

func (in *FeatureGateSpec) DeepCopyInto(out *FeatureGateSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureGateStatus Uses

type FeatureGateStatus struct {
}

func (*FeatureGateStatus) DeepCopy Uses

func (in *FeatureGateStatus) DeepCopy() *FeatureGateStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureGateStatus.

func (*FeatureGateStatus) DeepCopyInto Uses

func (in *FeatureGateStatus) DeepCopyInto(out *FeatureGateStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type FeatureSet Uses

type FeatureSet string
var (
    // Default feature set that allows upgrades.
    Default FeatureSet = ""

    // TechPreviewNoUpgrade turns on tech preview features that are not part of the normal supported platform. Turning
    // this feature set on CANNOT BE UNDONE and PREVENTS UPGRADES.
    TechPreviewNoUpgrade FeatureSet = "TechPreviewNoUpgrade"

    // CustomNoUpgrade allows the enabling or disabling of any feature. Turning this feature set on IS NOT SUPPORTED, CANNOT BE UNDONE, and PREVENTS UPGRADES.
    // Because of its nature, this setting cannot be validated.  If you have any typos or accidentally apply invalid combinations
    // your cluster may fail in an unrecoverable way.
    CustomNoUpgrade FeatureSet = "CustomNoUpgrade"

    // TopologyManager enables ToplogyManager support. Upgrades are enabled with this feature.
    LatencySensitive FeatureSet = "LatencySensitive"

    // IPv6DualStackNoUpgrade enables dual-stack. Turning this feature set on IS NOT SUPPORTED, CANNOT BE UNDONE, and PREVENTS UPGRADES.
    IPv6DualStackNoUpgrade FeatureSet = "IPv6DualStackNoUpgrade"
)

type GCPPlatformSpec Uses

type GCPPlatformSpec struct{}

GCPPlatformSpec holds the desired state of the Google Cloud Platform infrastructure provider. This only includes fields that can be modified in the cluster.

func (*GCPPlatformSpec) DeepCopy Uses

func (in *GCPPlatformSpec) DeepCopy() *GCPPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPPlatformSpec.

func (*GCPPlatformSpec) DeepCopyInto Uses

func (in *GCPPlatformSpec) DeepCopyInto(out *GCPPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GCPPlatformSpec) SwaggerDoc Uses

func (GCPPlatformSpec) SwaggerDoc() map[string]string

type GCPPlatformStatus Uses

type GCPPlatformStatus struct {
    // resourceGroupName is the Project ID for new GCP resources created for the cluster.
    ProjectID string `json:"projectID"`

    // region holds the region for new GCP resources created for the cluster.
    Region string `json:"region"`
}

GCPPlatformStatus holds the current status of the Google Cloud Platform infrastructure provider.

func (*GCPPlatformStatus) DeepCopy Uses

func (in *GCPPlatformStatus) DeepCopy() *GCPPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCPPlatformStatus.

func (*GCPPlatformStatus) DeepCopyInto Uses

func (in *GCPPlatformStatus) DeepCopyInto(out *GCPPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GCPPlatformStatus) SwaggerDoc Uses

func (GCPPlatformStatus) SwaggerDoc() map[string]string

type GenericAPIServerConfig Uses

type GenericAPIServerConfig struct {
    // servingInfo describes how to start serving
    ServingInfo HTTPServingInfo `json:"servingInfo"`

    // corsAllowedOrigins
    CORSAllowedOrigins []string `json:"corsAllowedOrigins"`

    // auditConfig describes how to configure audit information
    AuditConfig AuditConfig `json:"auditConfig"`

    // storageConfig contains information about how to use
    StorageConfig EtcdStorageConfig `json:"storageConfig"`

    // admissionConfig holds information about how to configure admission.
    AdmissionConfig AdmissionConfig `json:"admission"`

    KubeClientConfig KubeClientConfig `json:"kubeClientConfig"`
}

GenericAPIServerConfig is an inline-able struct for aggregated apiservers that need to store data in etcd

func (*GenericAPIServerConfig) DeepCopy Uses

func (in *GenericAPIServerConfig) DeepCopy() *GenericAPIServerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericAPIServerConfig.

func (*GenericAPIServerConfig) DeepCopyInto Uses

func (in *GenericAPIServerConfig) DeepCopyInto(out *GenericAPIServerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GenericAPIServerConfig) SwaggerDoc Uses

func (GenericAPIServerConfig) SwaggerDoc() map[string]string

type GenericControllerConfig Uses

type GenericControllerConfig struct {
    // ServingInfo is the HTTP serving information for the controller's endpoints
    ServingInfo HTTPServingInfo `json:"servingInfo"`

    // leaderElection provides information to elect a leader. Only override this if you have a specific need
    LeaderElection LeaderElection `json:"leaderElection"`

    // authentication allows configuration of authentication for the endpoints
    Authentication DelegatedAuthentication `json:"authentication"`
    // authorization allows configuration of authentication for the endpoints
    Authorization DelegatedAuthorization `json:"authorization"`
}

GenericControllerConfig provides information to configure a controller

func (*GenericControllerConfig) DeepCopy Uses

func (in *GenericControllerConfig) DeepCopy() *GenericControllerConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControllerConfig.

func (*GenericControllerConfig) DeepCopyInto Uses

func (in *GenericControllerConfig) DeepCopyInto(out *GenericControllerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GenericControllerConfig) SwaggerDoc Uses

func (GenericControllerConfig) SwaggerDoc() map[string]string

type GitHubIdentityProvider Uses

type GitHubIdentityProvider struct {
    // clientID is the oauth client ID
    ClientID string `json:"clientID"`

    // clientSecret is a required reference to the secret by name containing the oauth client secret.
    // The key "clientSecret" is used to locate the data.
    // If the secret or expected key is not found, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    ClientSecret SecretNameReference `json:"clientSecret"`

    // organizations optionally restricts which organizations are allowed to log in
    // +optional
    Organizations []string `json:"organizations,omitempty"`

    // teams optionally restricts which teams are allowed to log in. Format is <org>/<team>.
    // +optional
    Teams []string `json:"teams,omitempty"`

    // hostname is the optional domain (e.g. "mycompany.com") for use with a hosted instance of
    // GitHub Enterprise.
    // It must match the GitHub Enterprise settings value configured at /setup/settings#hostname.
    // +optional
    Hostname string `json:"hostname"`

    // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // The key "ca.crt" is used to locate the data.
    // If specified and the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // If empty, the default system roots are used.
    // This can only be configured when hostname is set to a non-empty value.
    // The namespace for this config map is openshift-config.
    // +optional
    CA  ConfigMapNameReference `json:"ca"`
}

GitHubIdentityProvider provides identities for users authenticating using GitHub credentials

func (*GitHubIdentityProvider) DeepCopy Uses

func (in *GitHubIdentityProvider) DeepCopy() *GitHubIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubIdentityProvider.

func (*GitHubIdentityProvider) DeepCopyInto Uses

func (in *GitHubIdentityProvider) DeepCopyInto(out *GitHubIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GitHubIdentityProvider) SwaggerDoc Uses

func (GitHubIdentityProvider) SwaggerDoc() map[string]string

type GitLabIdentityProvider Uses

type GitLabIdentityProvider struct {
    // clientID is the oauth client ID
    ClientID string `json:"clientID"`

    // clientSecret is a required reference to the secret by name containing the oauth client secret.
    // The key "clientSecret" is used to locate the data.
    // If the secret or expected key is not found, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    ClientSecret SecretNameReference `json:"clientSecret"`

    // url is the oauth server base URL
    URL string `json:"url"`

    // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // The key "ca.crt" is used to locate the data.
    // If specified and the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // If empty, the default system roots are used.
    // The namespace for this config map is openshift-config.
    // +optional
    CA  ConfigMapNameReference `json:"ca"`
}

GitLabIdentityProvider provides identities for users authenticating using GitLab credentials

func (*GitLabIdentityProvider) DeepCopy Uses

func (in *GitLabIdentityProvider) DeepCopy() *GitLabIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabIdentityProvider.

func (*GitLabIdentityProvider) DeepCopyInto Uses

func (in *GitLabIdentityProvider) DeepCopyInto(out *GitLabIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GitLabIdentityProvider) SwaggerDoc Uses

func (GitLabIdentityProvider) SwaggerDoc() map[string]string

type GoogleIdentityProvider Uses

type GoogleIdentityProvider struct {
    // clientID is the oauth client ID
    ClientID string `json:"clientID"`

    // clientSecret is a required reference to the secret by name containing the oauth client secret.
    // The key "clientSecret" is used to locate the data.
    // If the secret or expected key is not found, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    ClientSecret SecretNameReference `json:"clientSecret"`

    // hostedDomain is the optional Google App domain (e.g. "mycompany.com") to restrict logins to
    // +optional
    HostedDomain string `json:"hostedDomain"`
}

GoogleIdentityProvider provides identities for users authenticating using Google credentials

func (*GoogleIdentityProvider) DeepCopy Uses

func (in *GoogleIdentityProvider) DeepCopy() *GoogleIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GoogleIdentityProvider.

func (*GoogleIdentityProvider) DeepCopyInto Uses

func (in *GoogleIdentityProvider) DeepCopyInto(out *GoogleIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (GoogleIdentityProvider) SwaggerDoc Uses

func (GoogleIdentityProvider) SwaggerDoc() map[string]string

type HTPasswdIdentityProvider Uses

type HTPasswdIdentityProvider struct {
    // fileData is a required reference to a secret by name containing the data to use as the htpasswd file.
    // The key "htpasswd" is used to locate the data.
    // If the secret or expected key is not found, the identity provider is not honored.
    // If the specified htpasswd data is not valid, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    FileData SecretNameReference `json:"fileData"`
}

HTPasswdPasswordIdentityProvider provides identities for users authenticating using htpasswd credentials

func (*HTPasswdIdentityProvider) DeepCopy Uses

func (in *HTPasswdIdentityProvider) DeepCopy() *HTPasswdIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTPasswdIdentityProvider.

func (*HTPasswdIdentityProvider) DeepCopyInto Uses

func (in *HTPasswdIdentityProvider) DeepCopyInto(out *HTPasswdIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (HTPasswdIdentityProvider) SwaggerDoc Uses

func (HTPasswdIdentityProvider) SwaggerDoc() map[string]string

type HTTPServingInfo Uses

type HTTPServingInfo struct {
    // ServingInfo is the HTTP serving information
    ServingInfo `json:",inline"`
    // MaxRequestsInFlight is the number of concurrent requests allowed to the server. If zero, no limit.
    MaxRequestsInFlight int64 `json:"maxRequestsInFlight"`
    // RequestTimeoutSeconds is the number of seconds before requests are timed out. The default is 60 minutes, if
    // -1 there is no limit on requests.
    RequestTimeoutSeconds int64 `json:"requestTimeoutSeconds"`
}

HTTPServingInfo holds configuration for serving HTTP

func (*HTTPServingInfo) DeepCopy Uses

func (in *HTTPServingInfo) DeepCopy() *HTTPServingInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPServingInfo.

func (*HTTPServingInfo) DeepCopyInto Uses

func (in *HTTPServingInfo) DeepCopyInto(out *HTTPServingInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (HTTPServingInfo) SwaggerDoc Uses

func (HTTPServingInfo) SwaggerDoc() map[string]string

type HubSource Uses

type HubSource struct {
    // name is the name of one of the default hub sources
    // +kubebuilder:validation:MaxLength=253
    // +kubebuilder:validation:MinLength=1
    // +kubebuilder:Required
    Name string `json:"name"`
    // disabled is used to disable a default hub source on cluster
    // +kubebuilder:Required
    Disabled bool `json:"disabled"`
}

HubSource is used to specify the hub source and its configuration

func (*HubSource) DeepCopy Uses

func (in *HubSource) DeepCopy() *HubSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSource.

func (*HubSource) DeepCopyInto Uses

func (in *HubSource) DeepCopyInto(out *HubSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (HubSource) SwaggerDoc Uses

func (HubSource) SwaggerDoc() map[string]string

type HubSourceStatus Uses

type HubSourceStatus struct {
    HubSource `json:",omitempty"`
    // status indicates success or failure in applying the configuration
    Status string `json:"status,omitempty"`
    // message provides more information regarding failures
    Message string `json:"message,omitempty"`
}

HubSourceStatus is used to reflect the current state of applying the configuration to a default source

func (*HubSourceStatus) DeepCopy Uses

func (in *HubSourceStatus) DeepCopy() *HubSourceStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HubSourceStatus.

func (*HubSourceStatus) DeepCopyInto Uses

func (in *HubSourceStatus) DeepCopyInto(out *HubSourceStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (HubSourceStatus) SwaggerDoc Uses

func (HubSourceStatus) SwaggerDoc() map[string]string

type IBMCloudPlatformSpec Uses

type IBMCloudPlatformSpec struct{}

IBMCloudPlatformSpec holds the desired state of the IBMCloud infrastructure provider. This only includes fields that can be modified in the cluster.

func (*IBMCloudPlatformSpec) DeepCopy Uses

func (in *IBMCloudPlatformSpec) DeepCopy() *IBMCloudPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMCloudPlatformSpec.

func (*IBMCloudPlatformSpec) DeepCopyInto Uses

func (in *IBMCloudPlatformSpec) DeepCopyInto(out *IBMCloudPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IBMCloudPlatformSpec) SwaggerDoc Uses

func (IBMCloudPlatformSpec) SwaggerDoc() map[string]string

type IBMCloudPlatformStatus Uses

type IBMCloudPlatformStatus struct {
    // Location is where the cluster has been deployed
    Location string `json:"location,omitempty"`

    // ResourceGroupName is the Resource Group for new IBMCloud resources created for the cluster.
    ResourceGroupName string `json:"resourceGroupName,omitempty"`

    // ProviderType indicates the type of cluster that was created
    ProviderType IBMCloudProviderType `json:"providerType,omitempty"`
}

IBMCloudPlatformStatus holds the current status of the IBMCloud infrastructure provider.

func (*IBMCloudPlatformStatus) DeepCopy Uses

func (in *IBMCloudPlatformStatus) DeepCopy() *IBMCloudPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IBMCloudPlatformStatus.

func (*IBMCloudPlatformStatus) DeepCopyInto Uses

func (in *IBMCloudPlatformStatus) DeepCopyInto(out *IBMCloudPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IBMCloudPlatformStatus) SwaggerDoc Uses

func (IBMCloudPlatformStatus) SwaggerDoc() map[string]string

type IBMCloudProviderType Uses

type IBMCloudProviderType string

IBMCloudProviderType is a specific supported IBM Cloud provider cluster type

const (
    // Classic  means that the IBM Cloud cluster is using classic infrastructure
    IBMCloudProviderTypeClassic IBMCloudProviderType = "Classic"

    // VPC means that the IBM Cloud cluster is using VPC infrastructure
    IBMCloudProviderTypeVPC IBMCloudProviderType = "VPC"
)

type IdentityProvider Uses

type IdentityProvider struct {
    // name is used to qualify the identities returned by this provider.
    // - It MUST be unique and not shared by any other identity provider used
    // - It MUST be a valid path segment: name cannot equal "." or ".." or contain "/" or "%" or ":"
    //   Ref: https://godoc.org/github.com/openshift/origin/pkg/user/apis/user/validation#ValidateIdentityProviderName
    Name string `json:"name"`

    // mappingMethod determines how identities from this provider are mapped to users
    // Defaults to "claim"
    // +optional
    MappingMethod MappingMethodType `json:"mappingMethod,omitempty"`

    IdentityProviderConfig `json:",inline"`
}

IdentityProvider provides identities for users authenticating using credentials

func (*IdentityProvider) DeepCopy Uses

func (in *IdentityProvider) DeepCopy() *IdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProvider.

func (*IdentityProvider) DeepCopyInto Uses

func (in *IdentityProvider) DeepCopyInto(out *IdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IdentityProvider) SwaggerDoc Uses

func (IdentityProvider) SwaggerDoc() map[string]string

type IdentityProviderConfig Uses

type IdentityProviderConfig struct {
    // type identifies the identity provider type for this entry.
    Type IdentityProviderType `json:"type"`

    // basicAuth contains configuration options for the BasicAuth IdP
    // +optional
    BasicAuth *BasicAuthIdentityProvider `json:"basicAuth,omitempty"`

    // github enables user authentication using GitHub credentials
    // +optional
    GitHub *GitHubIdentityProvider `json:"github,omitempty"`

    // gitlab enables user authentication using GitLab credentials
    // +optional
    GitLab *GitLabIdentityProvider `json:"gitlab,omitempty"`

    // google enables user authentication using Google credentials
    // +optional
    Google *GoogleIdentityProvider `json:"google,omitempty"`

    // htpasswd enables user authentication using an HTPasswd file to validate credentials
    // +optional
    HTPasswd *HTPasswdIdentityProvider `json:"htpasswd,omitempty"`

    // keystone enables user authentication using keystone password credentials
    // +optional
    Keystone *KeystoneIdentityProvider `json:"keystone,omitempty"`

    // ldap enables user authentication using LDAP credentials
    // +optional
    LDAP *LDAPIdentityProvider `json:"ldap,omitempty"`

    // openID enables user authentication using OpenID credentials
    // +optional
    OpenID *OpenIDIdentityProvider `json:"openID,omitempty"`

    // requestHeader enables user authentication using request header credentials
    // +optional
    RequestHeader *RequestHeaderIdentityProvider `json:"requestHeader,omitempty"`
}

IdentityProviderConfig contains configuration for using a specific identity provider

func (*IdentityProviderConfig) DeepCopy Uses

func (in *IdentityProviderConfig) DeepCopy() *IdentityProviderConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityProviderConfig.

func (*IdentityProviderConfig) DeepCopyInto Uses

func (in *IdentityProviderConfig) DeepCopyInto(out *IdentityProviderConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IdentityProviderConfig) SwaggerDoc Uses

func (IdentityProviderConfig) SwaggerDoc() map[string]string

type IdentityProviderType Uses

type IdentityProviderType string
const (
    // IdentityProviderTypeBasicAuth provides identities for users authenticating with HTTP Basic Auth
    IdentityProviderTypeBasicAuth IdentityProviderType = "BasicAuth"

    // IdentityProviderTypeGitHub provides identities for users authenticating using GitHub credentials
    IdentityProviderTypeGitHub IdentityProviderType = "GitHub"

    // IdentityProviderTypeGitLab provides identities for users authenticating using GitLab credentials
    IdentityProviderTypeGitLab IdentityProviderType = "GitLab"

    // IdentityProviderTypeGoogle provides identities for users authenticating using Google credentials
    IdentityProviderTypeGoogle IdentityProviderType = "Google"

    // IdentityProviderTypeHTPasswd provides identities from an HTPasswd file
    IdentityProviderTypeHTPasswd IdentityProviderType = "HTPasswd"

    // IdentityProviderTypeKeystone provides identitities for users authenticating using keystone password credentials
    IdentityProviderTypeKeystone IdentityProviderType = "Keystone"

    // IdentityProviderTypeLDAP provides identities for users authenticating using LDAP credentials
    IdentityProviderTypeLDAP IdentityProviderType = "LDAP"

    // IdentityProviderTypeOpenID provides identities for users authenticating using OpenID credentials
    IdentityProviderTypeOpenID IdentityProviderType = "OpenID"

    // IdentityProviderTypeRequestHeader provides identities for users authenticating using request header credentials
    IdentityProviderTypeRequestHeader IdentityProviderType = "RequestHeader"
)

type Image Uses

type Image struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec ImageSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status ImageStatus `json:"status"`
}

Image governs policies related to imagestream imports and runtime configuration for external registries. It allows cluster admins to configure which registries OpenShift is allowed to import images from, extra CA trust bundles for external registries, and policies to block or allow registry hostnames. When exposing OpenShift's image registry to the public, this also lets cluster admins specify the external hostname.

func (*Image) DeepCopy Uses

func (in *Image) DeepCopy() *Image

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.

func (*Image) DeepCopyInto Uses

func (in *Image) DeepCopyInto(out *Image)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Image) DeepCopyObject Uses

func (in *Image) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Image) SwaggerDoc Uses

func (Image) SwaggerDoc() map[string]string

type ImageLabel Uses

type ImageLabel struct {
    // Name defines the name of the label. It must have non-zero length.
    Name string `json:"name"`

    // Value defines the literal value of the label.
    // +optional
    Value string `json:"value,omitempty"`
}

func (*ImageLabel) DeepCopy Uses

func (in *ImageLabel) DeepCopy() *ImageLabel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageLabel.

func (*ImageLabel) DeepCopyInto Uses

func (in *ImageLabel) DeepCopyInto(out *ImageLabel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ImageLabel) SwaggerDoc Uses

func (ImageLabel) SwaggerDoc() map[string]string

type ImageList Uses

type ImageList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Image `json:"items"`
}

func (*ImageList) DeepCopy Uses

func (in *ImageList) DeepCopy() *ImageList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.

func (*ImageList) DeepCopyInto Uses

func (in *ImageList) DeepCopyInto(out *ImageList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageList) DeepCopyObject Uses

func (in *ImageList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ImageSpec Uses

type ImageSpec struct {
    // allowedRegistriesForImport limits the container image registries that normal users may import
    // images from. Set this list to the registries that you trust to contain valid Docker
    // images and that you want applications to be able to import from. Users with
    // permission to create Images or ImageStreamMappings via the API are not affected by
    // this policy - typically only administrators or system integrations will have those
    // permissions.
    // +optional
    AllowedRegistriesForImport []RegistryLocation `json:"allowedRegistriesForImport,omitempty"`

    // externalRegistryHostnames provides the hostnames for the default external image
    // registry. The external hostname should be set only when the image registry
    // is exposed externally. The first value is used in 'publicDockerImageRepository'
    // field in ImageStreams. The value must be in "hostname[:port]" format.
    // +optional
    ExternalRegistryHostnames []string `json:"externalRegistryHostnames,omitempty"`

    // additionalTrustedCA is a reference to a ConfigMap containing additional CAs that
    // should be trusted during imagestream import, pod image pull, build image pull, and
    // imageregistry pullthrough.
    // The namespace for this config map is openshift-config.
    // +optional
    AdditionalTrustedCA ConfigMapNameReference `json:"additionalTrustedCA"`

    // registrySources contains configuration that determines how the container runtime
    // should treat individual registries when accessing images for builds+pods. (e.g.
    // whether or not to allow insecure access).  It does not contain configuration for the
    // internal cluster registry.
    // +optional
    RegistrySources RegistrySources `json:"registrySources"`
}

func (*ImageSpec) DeepCopy Uses

func (in *ImageSpec) DeepCopy() *ImageSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.

func (*ImageSpec) DeepCopyInto Uses

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ImageSpec) SwaggerDoc Uses

func (ImageSpec) SwaggerDoc() map[string]string

type ImageStatus Uses

type ImageStatus struct {

    // internalRegistryHostname sets the hostname for the default internal image
    // registry. The value must be in "hostname[:port]" format.
    // This value is set by the image registry operator which controls the internal registry
    // hostname. For backward compatibility, users can still use OPENSHIFT_DEFAULT_REGISTRY
    // environment variable but this setting overrides the environment variable.
    // +optional
    InternalRegistryHostname string `json:"internalRegistryHostname,omitempty"`

    // externalRegistryHostnames provides the hostnames for the default external image
    // registry. The external hostname should be set only when the image registry
    // is exposed externally. The first value is used in 'publicDockerImageRepository'
    // field in ImageStreams. The value must be in "hostname[:port]" format.
    // +optional
    ExternalRegistryHostnames []string `json:"externalRegistryHostnames,omitempty"`
}

func (*ImageStatus) DeepCopy Uses

func (in *ImageStatus) DeepCopy() *ImageStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.

func (*ImageStatus) DeepCopyInto Uses

func (in *ImageStatus) DeepCopyInto(out *ImageStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ImageStatus) SwaggerDoc Uses

func (ImageStatus) SwaggerDoc() map[string]string

type Infrastructure Uses

type Infrastructure struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec InfrastructureSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status InfrastructureStatus `json:"status"`
}

Infrastructure holds cluster-wide information about Infrastructure. The canonical name is `cluster`

func (*Infrastructure) DeepCopy Uses

func (in *Infrastructure) DeepCopy() *Infrastructure

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Infrastructure.

func (*Infrastructure) DeepCopyInto Uses

func (in *Infrastructure) DeepCopyInto(out *Infrastructure)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Infrastructure) DeepCopyObject Uses

func (in *Infrastructure) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Infrastructure) SwaggerDoc Uses

func (Infrastructure) SwaggerDoc() map[string]string

type InfrastructureList Uses

type InfrastructureList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Infrastructure `json:"items"`
}

InfrastructureList is

func (*InfrastructureList) DeepCopy Uses

func (in *InfrastructureList) DeepCopy() *InfrastructureList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureList.

func (*InfrastructureList) DeepCopyInto Uses

func (in *InfrastructureList) DeepCopyInto(out *InfrastructureList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InfrastructureList) DeepCopyObject Uses

func (in *InfrastructureList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (InfrastructureList) SwaggerDoc Uses

func (InfrastructureList) SwaggerDoc() map[string]string

type InfrastructureSpec Uses

type InfrastructureSpec struct {
    // cloudConfig is a reference to a ConfigMap containing the cloud provider configuration file.
    // This configuration file is used to configure the Kubernetes cloud provider integration
    // when using the built-in cloud provider integration or the external cloud controller manager.
    // The namespace for this config map is openshift-config.
    //
    // cloudConfig should only be consumed by the kube_cloud_config controller.
    // The controller is responsible for using the user configuration in the spec
    // for various platforms and combining that with the user provided ConfigMap in this field
    // to create a stitched kube cloud config.
    // The controller generates a ConfigMap `kube-cloud-config` in `openshift-config-managed` namespace
    // with the kube cloud config is stored in `cloud.conf` key.
    // All the clients are expected to use the generated ConfigMap only.
    //
    // +optional
    CloudConfig ConfigMapFileReference `json:"cloudConfig"`

    // platformSpec holds desired information specific to the underlying
    // infrastructure provider.
    PlatformSpec PlatformSpec `json:"platformSpec,omitempty"`
}

InfrastructureSpec contains settings that apply to the cluster infrastructure.

func (*InfrastructureSpec) DeepCopy Uses

func (in *InfrastructureSpec) DeepCopy() *InfrastructureSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureSpec.

func (*InfrastructureSpec) DeepCopyInto Uses

func (in *InfrastructureSpec) DeepCopyInto(out *InfrastructureSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (InfrastructureSpec) SwaggerDoc Uses

func (InfrastructureSpec) SwaggerDoc() map[string]string

type InfrastructureStatus Uses

type InfrastructureStatus struct {
    // infrastructureName uniquely identifies a cluster with a human friendly name.
    // Once set it should not be changed. Must be of max length 27 and must have only
    // alphanumeric or hyphen characters.
    InfrastructureName string `json:"infrastructureName"`

    // platform is the underlying infrastructure provider for the cluster.
    //
    // Deprecated: Use platformStatus.type instead.
    Platform PlatformType `json:"platform,omitempty"`

    // platformStatus holds status information specific to the underlying
    // infrastructure provider.
    // +optional
    PlatformStatus *PlatformStatus `json:"platformStatus,omitempty"`

    // etcdDiscoveryDomain is the domain used to fetch the SRV records for discovering
    // etcd servers and clients.
    // For more info: https://github.com/etcd-io/etcd/blob/329be66e8b3f9e2e6af83c123ff89297e49ebd15/Documentation/op-guide/clustering.md#dns-discovery
    EtcdDiscoveryDomain string `json:"etcdDiscoveryDomain"`

    // apiServerURL is a valid URI with scheme 'https', address and
    // optionally a port (defaulting to 443).  apiServerURL can be used by components like the web console
    // to tell users where to find the Kubernetes API.
    APIServerURL string `json:"apiServerURL"`

    // apiServerInternalURL is a valid URI with scheme 'https',
    // address and optionally a port (defaulting to 443).  apiServerInternalURL can be used by components
    // like kubelets, to contact the Kubernetes API server using the
    // infrastructure provider rather than Kubernetes networking.
    APIServerInternalURL string `json:"apiServerInternalURI"`
}

InfrastructureStatus describes the infrastructure the cluster is leveraging.

func (*InfrastructureStatus) DeepCopy Uses

func (in *InfrastructureStatus) DeepCopy() *InfrastructureStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureStatus.

func (*InfrastructureStatus) DeepCopyInto Uses

func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (InfrastructureStatus) SwaggerDoc Uses

func (InfrastructureStatus) SwaggerDoc() map[string]string

type Ingress Uses

type Ingress struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec IngressSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status IngressStatus `json:"status"`
}

Ingress holds cluster-wide information about ingress, including the default ingress domain used for routes. The canonical name is `cluster`.

func (*Ingress) DeepCopy Uses

func (in *Ingress) DeepCopy() *Ingress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.

func (*Ingress) DeepCopyInto Uses

func (in *Ingress) DeepCopyInto(out *Ingress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Ingress) DeepCopyObject Uses

func (in *Ingress) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Ingress) SwaggerDoc Uses

func (Ingress) SwaggerDoc() map[string]string

type IngressList Uses

type IngressList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Ingress `json:"items"`
}

func (*IngressList) DeepCopy Uses

func (in *IngressList) DeepCopy() *IngressList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.

func (*IngressList) DeepCopyInto Uses

func (in *IngressList) DeepCopyInto(out *IngressList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*IngressList) DeepCopyObject Uses

func (in *IngressList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type IngressSpec Uses

type IngressSpec struct {
    // domain is used to generate a default host name for a route when the
    // route's host name is empty. The generated host name will follow this
    // pattern: "<route-name>.<route-namespace>.<domain>".
    //
    // It is also used as the default wildcard domain suffix for ingress. The
    // default ingresscontroller domain will follow this pattern: "*.<domain>".
    //
    // Once set, changing domain is not currently supported.
    Domain string `json:"domain"`
}

func (*IngressSpec) DeepCopy Uses

func (in *IngressSpec) DeepCopy() *IngressSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.

func (*IngressSpec) DeepCopyInto Uses

func (in *IngressSpec) DeepCopyInto(out *IngressSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IngressSpec) SwaggerDoc Uses

func (IngressSpec) SwaggerDoc() map[string]string

type IngressStatus Uses

type IngressStatus struct {
}

func (*IngressStatus) DeepCopy Uses

func (in *IngressStatus) DeepCopy() *IngressStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.

func (*IngressStatus) DeepCopyInto Uses

func (in *IngressStatus) DeepCopyInto(out *IngressStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IntermediateTLSProfile Uses

type IntermediateTLSProfile struct{}

IntermediateTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29

func (*IntermediateTLSProfile) DeepCopy Uses

func (in *IntermediateTLSProfile) DeepCopy() *IntermediateTLSProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntermediateTLSProfile.

func (*IntermediateTLSProfile) DeepCopyInto Uses

func (in *IntermediateTLSProfile) DeepCopyInto(out *IntermediateTLSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (IntermediateTLSProfile) SwaggerDoc Uses

func (IntermediateTLSProfile) SwaggerDoc() map[string]string

type KeystoneIdentityProvider Uses

type KeystoneIdentityProvider struct {
    // OAuthRemoteConnectionInfo contains information about how to connect to the keystone server
    OAuthRemoteConnectionInfo `json:",inline"`

    // domainName is required for keystone v3
    DomainName string `json:"domainName"`
}

KeystonePasswordIdentityProvider provides identities for users authenticating using keystone password credentials

func (*KeystoneIdentityProvider) DeepCopy Uses

func (in *KeystoneIdentityProvider) DeepCopy() *KeystoneIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeystoneIdentityProvider.

func (*KeystoneIdentityProvider) DeepCopyInto Uses

func (in *KeystoneIdentityProvider) DeepCopyInto(out *KeystoneIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (KeystoneIdentityProvider) SwaggerDoc Uses

func (KeystoneIdentityProvider) SwaggerDoc() map[string]string

type KubeClientConfig Uses

type KubeClientConfig struct {
    // kubeConfig is a .kubeconfig filename for going to the owning kube-apiserver.  Empty uses an in-cluster-config
    KubeConfig string `json:"kubeConfig"`

    // connectionOverrides specifies client overrides for system components to loop back to this master.
    ConnectionOverrides ClientConnectionOverrides `json:"connectionOverrides"`
}

func (*KubeClientConfig) DeepCopy Uses

func (in *KubeClientConfig) DeepCopy() *KubeClientConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeClientConfig.

func (*KubeClientConfig) DeepCopyInto Uses

func (in *KubeClientConfig) DeepCopyInto(out *KubeClientConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (KubeClientConfig) SwaggerDoc Uses

func (KubeClientConfig) SwaggerDoc() map[string]string

type LDAPAttributeMapping Uses

type LDAPAttributeMapping struct {
    // id is the list of attributes whose values should be used as the user ID. Required.
    // First non-empty attribute is used. At least one attribute is required. If none of the listed
    // attribute have a value, authentication fails.
    // LDAP standard identity attribute is "dn"
    ID  []string `json:"id"`

    // preferredUsername is the list of attributes whose values should be used as the preferred username.
    // LDAP standard login attribute is "uid"
    // +optional
    PreferredUsername []string `json:"preferredUsername,omitempty"`

    // name is the list of attributes whose values should be used as the display name. Optional.
    // If unspecified, no display name is set for the identity
    // LDAP standard display name attribute is "cn"
    // +optional
    Name []string `json:"name,omitempty"`

    // email is the list of attributes whose values should be used as the email address. Optional.
    // If unspecified, no email is set for the identity
    // +optional
    Email []string `json:"email,omitempty"`
}

LDAPAttributeMapping maps LDAP attributes to OpenShift identity fields

func (*LDAPAttributeMapping) DeepCopy Uses

func (in *LDAPAttributeMapping) DeepCopy() *LDAPAttributeMapping

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPAttributeMapping.

func (*LDAPAttributeMapping) DeepCopyInto Uses

func (in *LDAPAttributeMapping) DeepCopyInto(out *LDAPAttributeMapping)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (LDAPAttributeMapping) SwaggerDoc Uses

func (LDAPAttributeMapping) SwaggerDoc() map[string]string

type LDAPIdentityProvider Uses

type LDAPIdentityProvider struct {
    // url is an RFC 2255 URL which specifies the LDAP search parameters to use.
    // The syntax of the URL is:
    // ldap://host:port/basedn?attribute?scope?filter
    URL string `json:"url"`

    // bindDN is an optional DN to bind with during the search phase.
    // +optional
    BindDN string `json:"bindDN"`

    // bindPassword is an optional reference to a secret by name
    // containing a password to bind with during the search phase.
    // The key "bindPassword" is used to locate the data.
    // If specified and the secret or expected key is not found, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    // +optional
    BindPassword SecretNameReference `json:"bindPassword"`

    // insecure, if true, indicates the connection should not use TLS
    // WARNING: Should not be set to `true` with the URL scheme "ldaps://" as "ldaps://" URLs always
    //          attempt to connect using TLS, even when `insecure` is set to `true`
    // When `true`, "ldap://" URLS connect insecurely. When `false`, "ldap://" URLs are upgraded to
    // a TLS connection using StartTLS as specified in https://tools.ietf.org/html/rfc2830.
    Insecure bool `json:"insecure"`

    // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // The key "ca.crt" is used to locate the data.
    // If specified and the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // If empty, the default system roots are used.
    // The namespace for this config map is openshift-config.
    // +optional
    CA  ConfigMapNameReference `json:"ca"`

    // attributes maps LDAP attributes to identities
    Attributes LDAPAttributeMapping `json:"attributes"`
}

LDAPPasswordIdentityProvider provides identities for users authenticating using LDAP credentials

func (*LDAPIdentityProvider) DeepCopy Uses

func (in *LDAPIdentityProvider) DeepCopy() *LDAPIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LDAPIdentityProvider.

func (*LDAPIdentityProvider) DeepCopyInto Uses

func (in *LDAPIdentityProvider) DeepCopyInto(out *LDAPIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (LDAPIdentityProvider) SwaggerDoc Uses

func (LDAPIdentityProvider) SwaggerDoc() map[string]string

type LeaderElection Uses

type LeaderElection struct {
    // disable allows leader election to be suspended while allowing a fully defaulted "normal" startup case.
    Disable bool `json:"disable,omitempty"`
    // namespace indicates which namespace the resource is in
    Namespace string `json:"namespace,omitempty"`
    // name indicates what name to use for the resource
    Name string `json:"name,omitempty"`

    // leaseDuration is the duration that non-leader candidates will wait
    // after observing a leadership renewal until attempting to acquire
    // leadership of a led but unrenewed leader slot. This is effectively the
    // maximum duration that a leader can be stopped before it is replaced
    // by another candidate. This is only applicable if leader election is
    // enabled.
    // +nullable
    LeaseDuration metav1.Duration `json:"leaseDuration"`
    // renewDeadline is the interval between attempts by the acting master to
    // renew a leadership slot before it stops leading. This must be less
    // than or equal to the lease duration. This is only applicable if leader
    // election is enabled.
    // +nullable
    RenewDeadline metav1.Duration `json:"renewDeadline"`
    // retryPeriod is the duration the clients should wait between attempting
    // acquisition and renewal of a leadership. This is only applicable if
    // leader election is enabled.
    // +nullable
    RetryPeriod metav1.Duration `json:"retryPeriod"`
}

LeaderElection provides information to elect a leader

func (*LeaderElection) DeepCopy Uses

func (in *LeaderElection) DeepCopy() *LeaderElection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderElection.

func (*LeaderElection) DeepCopyInto Uses

func (in *LeaderElection) DeepCopyInto(out *LeaderElection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (LeaderElection) SwaggerDoc Uses

func (LeaderElection) SwaggerDoc() map[string]string

type LogFormatType Uses

type LogFormatType string

type MappingMethodType Uses

type MappingMethodType string

MappingMethodType specifies how new identities should be mapped to users when they log in

const (
    // MappingMethodClaim provisions a user with the identity’s preferred user name. Fails if a user
    // with that user name is already mapped to another identity.
    // Default.
    MappingMethodClaim MappingMethodType = "claim"

    // MappingMethodLookup looks up existing users already mapped to an identity but does not
    // automatically provision users or identities. Requires identities and users be set up
    // manually or using an external process.
    MappingMethodLookup MappingMethodType = "lookup"

    // MappingMethodAdd provisions a user with the identity’s preferred user name. If a user with
    // that user name already exists, the identity is mapped to the existing user, adding to any
    // existing identity mappings for the user.
    MappingMethodAdd MappingMethodType = "add"
)

type ModernTLSProfile Uses

type ModernTLSProfile struct{}

ModernTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility

func (*ModernTLSProfile) DeepCopy Uses

func (in *ModernTLSProfile) DeepCopy() *ModernTLSProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModernTLSProfile.

func (*ModernTLSProfile) DeepCopyInto Uses

func (in *ModernTLSProfile) DeepCopyInto(out *ModernTLSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ModernTLSProfile) SwaggerDoc Uses

func (ModernTLSProfile) SwaggerDoc() map[string]string

type NamedCertificate Uses

type NamedCertificate struct {
    // Names is a list of DNS names this certificate should be used to secure
    // A name can be a normal DNS name, or can contain leading wildcard segments.
    Names []string `json:"names,omitempty"`
    // CertInfo is the TLS cert info for serving secure traffic
    CertInfo `json:",inline"`
}

NamedCertificate specifies a certificate/key, and the names it should be served for

func (*NamedCertificate) DeepCopy Uses

func (in *NamedCertificate) DeepCopy() *NamedCertificate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedCertificate.

func (*NamedCertificate) DeepCopyInto Uses

func (in *NamedCertificate) DeepCopyInto(out *NamedCertificate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (NamedCertificate) SwaggerDoc Uses

func (NamedCertificate) SwaggerDoc() map[string]string

type Network Uses

type Network struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration.
    // As a general rule, this SHOULD NOT be read directly. Instead, you should
    // consume the NetworkStatus, as it indicates the currently deployed configuration.
    // Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.
    // +kubebuilder:validation:Required
    // +required
    Spec NetworkSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status NetworkStatus `json:"status"`
}

Network holds cluster-wide information about Network. The canonical name is `cluster`. It is used to configure the desired network configuration, such as: IP address pools for services/pod IPs, network plugin, etc. Please view network.spec for an explanation on what applies when configuring this resource.

func (*Network) DeepCopy Uses

func (in *Network) DeepCopy() *Network

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.

func (*Network) DeepCopyInto Uses

func (in *Network) DeepCopyInto(out *Network)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Network) DeepCopyObject Uses

func (in *Network) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Network) SwaggerDoc Uses

func (Network) SwaggerDoc() map[string]string

type NetworkList Uses

type NetworkList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Network `json:"items"`
}

func (*NetworkList) DeepCopy Uses

func (in *NetworkList) DeepCopy() *NetworkList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkList.

func (*NetworkList) DeepCopyInto Uses

func (in *NetworkList) DeepCopyInto(out *NetworkList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*NetworkList) DeepCopyObject Uses

func (in *NetworkList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type NetworkSpec Uses

type NetworkSpec struct {
    // IP address pool to use for pod IPs.
    // This field is immutable after installation.
    ClusterNetwork []ClusterNetworkEntry `json:"clusterNetwork"`

    // IP address pool for services.
    // Currently, we only support a single entry here.
    // This field is immutable after installation.
    ServiceNetwork []string `json:"serviceNetwork"`

    // NetworkType is the plugin that is to be deployed (e.g. OpenShiftSDN).
    // This should match a value that the cluster-network-operator understands,
    // or else no networking will be installed.
    // Currently supported values are:
    // - OpenShiftSDN
    // This field is immutable after installation.
    NetworkType string `json:"networkType"`

    // externalIP defines configuration for controllers that
    // affect Service.ExternalIP. If nil, then ExternalIP is
    // not allowed to be set.
    // +optional
    ExternalIP *ExternalIPConfig `json:"externalIP,omitempty"`

    // The port range allowed for Services of type NodePort.
    // If not specified, the default of 30000-32767 will be used.
    // Such Services without a NodePort specified will have one
    // automatically allocated from this range.
    // This parameter can be updated after the cluster is
    // installed.
    // +kubebuilder:validation:Pattern=`^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])-([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$`
    ServiceNodePortRange string `json:"serviceNodePortRange,omitempty"`
}

NetworkSpec is the desired network configuration. As a general rule, this SHOULD NOT be read directly. Instead, you should consume the NetworkStatus, as it indicates the currently deployed configuration. Currently, most spec fields are immutable after installation. Please view the individual ones for further details on each.

func (*NetworkSpec) DeepCopy Uses

func (in *NetworkSpec) DeepCopy() *NetworkSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.

func (*NetworkSpec) DeepCopyInto Uses

func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (NetworkSpec) SwaggerDoc Uses

func (NetworkSpec) SwaggerDoc() map[string]string

type NetworkStatus Uses

type NetworkStatus struct {
    // IP address pool to use for pod IPs.
    ClusterNetwork []ClusterNetworkEntry `json:"clusterNetwork,omitempty"`

    // IP address pool for services.
    // Currently, we only support a single entry here.
    ServiceNetwork []string `json:"serviceNetwork,omitempty"`

    // NetworkType is the plugin that is deployed (e.g. OpenShiftSDN).
    NetworkType string `json:"networkType,omitempty"`

    // ClusterNetworkMTU is the MTU for inter-pod networking.
    ClusterNetworkMTU int `json:"clusterNetworkMTU,omitempty"`
}

NetworkStatus is the current network configuration.

func (*NetworkStatus) DeepCopy Uses

func (in *NetworkStatus) DeepCopy() *NetworkStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkStatus.

func (*NetworkStatus) DeepCopyInto Uses

func (in *NetworkStatus) DeepCopyInto(out *NetworkStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (NetworkStatus) SwaggerDoc Uses

func (NetworkStatus) SwaggerDoc() map[string]string

type OAuth Uses

type OAuth struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`
    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec OAuthSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status OAuthStatus `json:"status"`
}

OAuth holds cluster-wide information about OAuth. The canonical name is `cluster`. It is used to configure the integrated OAuth server. This configuration is only honored when the top level Authentication config has type set to IntegratedOAuth.

func (*OAuth) DeepCopy Uses

func (in *OAuth) DeepCopy() *OAuth

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuth.

func (*OAuth) DeepCopyInto Uses

func (in *OAuth) DeepCopyInto(out *OAuth)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuth) DeepCopyObject Uses

func (in *OAuth) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (OAuth) SwaggerDoc Uses

func (OAuth) SwaggerDoc() map[string]string

type OAuthList Uses

type OAuthList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []OAuth `json:"items"`
}

func (*OAuthList) DeepCopy Uses

func (in *OAuthList) DeepCopy() *OAuthList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthList.

func (*OAuthList) DeepCopyInto Uses

func (in *OAuthList) DeepCopyInto(out *OAuthList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OAuthList) DeepCopyObject Uses

func (in *OAuthList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type OAuthRemoteConnectionInfo Uses

type OAuthRemoteConnectionInfo struct {
    // url is the remote URL to connect to
    URL string `json:"url"`

    // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // The key "ca.crt" is used to locate the data.
    // If specified and the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // If empty, the default system roots are used.
    // The namespace for this config map is openshift-config.
    // +optional
    CA  ConfigMapNameReference `json:"ca"`

    // tlsClientCert is an optional reference to a secret by name that contains the
    // PEM-encoded TLS client certificate to present when connecting to the server.
    // The key "tls.crt" is used to locate the data.
    // If specified and the secret or expected key is not found, the identity provider is not honored.
    // If the specified certificate data is not valid, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    // +optional
    TLSClientCert SecretNameReference `json:"tlsClientCert"`

    // tlsClientKey is an optional reference to a secret by name that contains the
    // PEM-encoded TLS private key for the client certificate referenced in tlsClientCert.
    // The key "tls.key" is used to locate the data.
    // If specified and the secret or expected key is not found, the identity provider is not honored.
    // If the specified certificate data is not valid, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    // +optional
    TLSClientKey SecretNameReference `json:"tlsClientKey"`
}

OAuthRemoteConnectionInfo holds information necessary for establishing a remote connection

func (*OAuthRemoteConnectionInfo) DeepCopy Uses

func (in *OAuthRemoteConnectionInfo) DeepCopy() *OAuthRemoteConnectionInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthRemoteConnectionInfo.

func (*OAuthRemoteConnectionInfo) DeepCopyInto Uses

func (in *OAuthRemoteConnectionInfo) DeepCopyInto(out *OAuthRemoteConnectionInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthRemoteConnectionInfo) SwaggerDoc Uses

func (OAuthRemoteConnectionInfo) SwaggerDoc() map[string]string

type OAuthSpec Uses

type OAuthSpec struct {
    // identityProviders is an ordered list of ways for a user to identify themselves.
    // When this list is empty, no identities are provisioned for users.
    // +optional
    IdentityProviders []IdentityProvider `json:"identityProviders,omitempty"`

    // tokenConfig contains options for authorization and access tokens
    TokenConfig TokenConfig `json:"tokenConfig"`

    // templates allow you to customize pages like the login page.
    // +optional
    Templates OAuthTemplates `json:"templates"`
}

OAuthSpec contains desired cluster auth configuration

func (*OAuthSpec) DeepCopy Uses

func (in *OAuthSpec) DeepCopy() *OAuthSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthSpec.

func (*OAuthSpec) DeepCopyInto Uses

func (in *OAuthSpec) DeepCopyInto(out *OAuthSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthSpec) SwaggerDoc Uses

func (OAuthSpec) SwaggerDoc() map[string]string

type OAuthStatus Uses

type OAuthStatus struct {
}

OAuthStatus shows current known state of OAuth server in the cluster

func (*OAuthStatus) DeepCopy Uses

func (in *OAuthStatus) DeepCopy() *OAuthStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthStatus.

func (*OAuthStatus) DeepCopyInto Uses

func (in *OAuthStatus) DeepCopyInto(out *OAuthStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthStatus) SwaggerDoc Uses

func (OAuthStatus) SwaggerDoc() map[string]string

type OAuthTemplates Uses

type OAuthTemplates struct {
    // login is the name of a secret that specifies a go template to use to render the login page.
    // The key "login.html" is used to locate the template data.
    // If specified and the secret or expected key is not found, the default login page is used.
    // If the specified template is not valid, the default login page is used.
    // If unspecified, the default login page is used.
    // The namespace for this secret is openshift-config.
    // +optional
    Login SecretNameReference `json:"login"`

    // providerSelection is the name of a secret that specifies a go template to use to render
    // the provider selection page.
    // The key "providers.html" is used to locate the template data.
    // If specified and the secret or expected key is not found, the default provider selection page is used.
    // If the specified template is not valid, the default provider selection page is used.
    // If unspecified, the default provider selection page is used.
    // The namespace for this secret is openshift-config.
    // +optional
    ProviderSelection SecretNameReference `json:"providerSelection"`

    // error is the name of a secret that specifies a go template to use to render error pages
    // during the authentication or grant flow.
    // The key "errors.html" is used to locate the template data.
    // If specified and the secret or expected key is not found, the default error page is used.
    // If the specified template is not valid, the default error page is used.
    // If unspecified, the default error page is used.
    // The namespace for this secret is openshift-config.
    // +optional
    Error SecretNameReference `json:"error"`
}

OAuthTemplates allow for customization of pages like the login page

func (*OAuthTemplates) DeepCopy Uses

func (in *OAuthTemplates) DeepCopy() *OAuthTemplates

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthTemplates.

func (*OAuthTemplates) DeepCopyInto Uses

func (in *OAuthTemplates) DeepCopyInto(out *OAuthTemplates)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OAuthTemplates) SwaggerDoc Uses

func (OAuthTemplates) SwaggerDoc() map[string]string

type ObjectReference Uses

type ObjectReference struct {
    // group of the referent.
    // +kubebuilder:validation:Required
    // +required
    Group string `json:"group"`
    // resource of the referent.
    // +kubebuilder:validation:Required
    // +required
    Resource string `json:"resource"`
    // namespace of the referent.
    // +optional
    Namespace string `json:"namespace,omitempty"`
    // name of the referent.
    // +kubebuilder:validation:Required
    // +required
    Name string `json:"name"`
}

ObjectReference contains enough information to let you inspect or modify the referred object.

func (*ObjectReference) DeepCopy Uses

func (in *ObjectReference) DeepCopy() *ObjectReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ObjectReference.

func (*ObjectReference) DeepCopyInto Uses

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ObjectReference) SwaggerDoc Uses

func (ObjectReference) SwaggerDoc() map[string]string

type OldTLSProfile Uses

type OldTLSProfile struct{}

OldTLSProfile is a TLS security profile based on: https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility

func (*OldTLSProfile) DeepCopy Uses

func (in *OldTLSProfile) DeepCopy() *OldTLSProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OldTLSProfile.

func (*OldTLSProfile) DeepCopyInto Uses

func (in *OldTLSProfile) DeepCopyInto(out *OldTLSProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OldTLSProfile) SwaggerDoc Uses

func (OldTLSProfile) SwaggerDoc() map[string]string

type OpenIDClaims Uses

type OpenIDClaims struct {
    // preferredUsername is the list of claims whose values should be used as the preferred username.
    // If unspecified, the preferred username is determined from the value of the sub claim
    // +optional
    PreferredUsername []string `json:"preferredUsername,omitempty"`

    // name is the list of claims whose values should be used as the display name. Optional.
    // If unspecified, no display name is set for the identity
    // +optional
    Name []string `json:"name,omitempty"`

    // email is the list of claims whose values should be used as the email address. Optional.
    // If unspecified, no email is set for the identity
    // +optional
    Email []string `json:"email,omitempty"`
}

OpenIDClaims contains a list of OpenID claims to use when authenticating with an OpenID identity provider

func (*OpenIDClaims) DeepCopy Uses

func (in *OpenIDClaims) DeepCopy() *OpenIDClaims

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDClaims.

func (*OpenIDClaims) DeepCopyInto Uses

func (in *OpenIDClaims) DeepCopyInto(out *OpenIDClaims)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenIDClaims) SwaggerDoc Uses

func (OpenIDClaims) SwaggerDoc() map[string]string

type OpenIDIdentityProvider Uses

type OpenIDIdentityProvider struct {
    // clientID is the oauth client ID
    ClientID string `json:"clientID"`

    // clientSecret is a required reference to the secret by name containing the oauth client secret.
    // The key "clientSecret" is used to locate the data.
    // If the secret or expected key is not found, the identity provider is not honored.
    // The namespace for this secret is openshift-config.
    ClientSecret SecretNameReference `json:"clientSecret"`

    // ca is an optional reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // The key "ca.crt" is used to locate the data.
    // If specified and the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // If empty, the default system roots are used.
    // The namespace for this config map is openshift-config.
    // +optional
    CA  ConfigMapNameReference `json:"ca"`

    // extraScopes are any scopes to request in addition to the standard "openid" scope.
    // +optional
    ExtraScopes []string `json:"extraScopes,omitempty"`

    // extraAuthorizeParameters are any custom parameters to add to the authorize request.
    // +optional
    ExtraAuthorizeParameters map[string]string `json:"extraAuthorizeParameters,omitempty"`

    // issuer is the URL that the OpenID Provider asserts as its Issuer Identifier.
    // It must use the https scheme with no query or fragment component.
    Issuer string `json:"issuer"`

    // claims mappings
    Claims OpenIDClaims `json:"claims"`
}

OpenIDIdentityProvider provides identities for users authenticating using OpenID credentials

func (*OpenIDIdentityProvider) DeepCopy Uses

func (in *OpenIDIdentityProvider) DeepCopy() *OpenIDIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenIDIdentityProvider.

func (*OpenIDIdentityProvider) DeepCopyInto Uses

func (in *OpenIDIdentityProvider) DeepCopyInto(out *OpenIDIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenIDIdentityProvider) SwaggerDoc Uses

func (OpenIDIdentityProvider) SwaggerDoc() map[string]string

type OpenStackPlatformSpec Uses

type OpenStackPlatformSpec struct{}

OpenStackPlatformSpec holds the desired state of the OpenStack infrastructure provider. This only includes fields that can be modified in the cluster.

func (*OpenStackPlatformSpec) DeepCopy Uses

func (in *OpenStackPlatformSpec) DeepCopy() *OpenStackPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlatformSpec.

func (*OpenStackPlatformSpec) DeepCopyInto Uses

func (in *OpenStackPlatformSpec) DeepCopyInto(out *OpenStackPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenStackPlatformSpec) SwaggerDoc Uses

func (OpenStackPlatformSpec) SwaggerDoc() map[string]string

type OpenStackPlatformStatus Uses

type OpenStackPlatformStatus struct {
    // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
    // by components inside the cluster, like kubelets using the infrastructure rather
    // than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI
    // points to. It is the IP for a self-hosted load balancer in front of the API servers.
    APIServerInternalIP string `json:"apiServerInternalIP,omitempty"`

    // cloudName is the name of the desired OpenStack cloud in the
    // client configuration file (`clouds.yaml`).
    CloudName string `json:"cloudName,omitempty"`

    // ingressIP is an external IP which routes to the default ingress controller.
    // The IP is a suitable target of a wildcard DNS record used to resolve default route host names.
    IngressIP string `json:"ingressIP,omitempty"`

    // nodeDNSIP is the IP address for the internal DNS used by the
    // nodes. Unlike the one managed by the DNS operator, `NodeDNSIP`
    // provides name resolution for the nodes themselves. There is no DNS-as-a-service for
    // OpenStack deployments. In order to minimize necessary changes to the
    // datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames
    // to the nodes in the cluster.
    NodeDNSIP string `json:"nodeDNSIP,omitempty"`
}

OpenStackPlatformStatus holds the current status of the OpenStack infrastructure provider.

func (*OpenStackPlatformStatus) DeepCopy Uses

func (in *OpenStackPlatformStatus) DeepCopy() *OpenStackPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackPlatformStatus.

func (*OpenStackPlatformStatus) DeepCopyInto Uses

func (in *OpenStackPlatformStatus) DeepCopyInto(out *OpenStackPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OpenStackPlatformStatus) SwaggerDoc Uses

func (OpenStackPlatformStatus) SwaggerDoc() map[string]string

type OperandVersion Uses

type OperandVersion struct {
    // name is the name of the particular operand this version is for.  It usually matches container images, not operators.
    // +kubebuilder:validation:Required
    // +required
    Name string `json:"name"`

    // version indicates which version of a particular operand is currently being managed.  It must always match the Available
    // operand.  If 1.0.0 is Available, then this must indicate 1.0.0 even if the operator is trying to rollout
    // 1.1.0
    // +kubebuilder:validation:Required
    // +required
    Version string `json:"version"`
}

func (*OperandVersion) DeepCopy Uses

func (in *OperandVersion) DeepCopy() *OperandVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperandVersion.

func (*OperandVersion) DeepCopyInto Uses

func (in *OperandVersion) DeepCopyInto(out *OperandVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OperandVersion) SwaggerDoc Uses

func (OperandVersion) SwaggerDoc() map[string]string

type OperatorHub Uses

type OperatorHub struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata"`

    Spec   OperatorHubSpec   `json:"spec"`
    Status OperatorHubStatus `json:"status"`
}

OperatorHub is the Schema for the operatorhubs API. It can be used to change the state of the default hub sources for OperatorHub on the cluster from enabled to disabled and vice versa. +kubebuilder:subresource:status +genclient +genclient:nonNamespaced

func (*OperatorHub) DeepCopy Uses

func (in *OperatorHub) DeepCopy() *OperatorHub

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorHub.

func (*OperatorHub) DeepCopyInto Uses

func (in *OperatorHub) DeepCopyInto(out *OperatorHub)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperatorHub) DeepCopyObject Uses

func (in *OperatorHub) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (OperatorHub) SwaggerDoc Uses

func (OperatorHub) SwaggerDoc() map[string]string

type OperatorHubList Uses

type OperatorHubList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []OperatorHub `json:"items"`
}

OperatorHubList contains a list of OperatorHub

func (*OperatorHubList) DeepCopy Uses

func (in *OperatorHubList) DeepCopy() *OperatorHubList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorHubList.

func (*OperatorHubList) DeepCopyInto Uses

func (in *OperatorHubList) DeepCopyInto(out *OperatorHubList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OperatorHubList) DeepCopyObject Uses

func (in *OperatorHubList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (OperatorHubList) SwaggerDoc Uses

func (OperatorHubList) SwaggerDoc() map[string]string

type OperatorHubSpec Uses

type OperatorHubSpec struct {
    // disableAllDefaultSources allows you to disable all the default hub
    // sources. If this is true, a specific entry in sources can be used to
    // enable a default source. If this is false, a specific entry in
    // sources can be used to disable or enable a default source.
    // +optional
    DisableAllDefaultSources bool `json:"disableAllDefaultSources,omitempty"`
    // sources is the list of default hub sources and their configuration.
    // If the list is empty, it implies that the default hub sources are
    // enabled on the cluster unless disableAllDefaultSources is true.
    // If disableAllDefaultSources is true and sources is not empty,
    // the configuration present in sources will take precedence. The list of
    // default hub sources and their current state will always be reflected in
    // the status block.
    // +optional
    Sources []HubSource `json:"sources,omitempty"`
}

OperatorHubSpec defines the desired state of OperatorHub

func (*OperatorHubSpec) DeepCopy Uses

func (in *OperatorHubSpec) DeepCopy() *OperatorHubSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorHubSpec.

func (*OperatorHubSpec) DeepCopyInto Uses

func (in *OperatorHubSpec) DeepCopyInto(out *OperatorHubSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OperatorHubSpec) SwaggerDoc Uses

func (OperatorHubSpec) SwaggerDoc() map[string]string

type OperatorHubStatus Uses

type OperatorHubStatus struct {
    // sources encapsulates the result of applying the configuration for each
    // hub source
    Sources []HubSourceStatus `json:"sources,omitempty"`
}

OperatorHubStatus defines the observed state of OperatorHub. The current state of the default hub sources will always be reflected here.

func (*OperatorHubStatus) DeepCopy Uses

func (in *OperatorHubStatus) DeepCopy() *OperatorHubStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorHubStatus.

func (*OperatorHubStatus) DeepCopyInto Uses

func (in *OperatorHubStatus) DeepCopyInto(out *OperatorHubStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OperatorHubStatus) SwaggerDoc Uses

func (OperatorHubStatus) SwaggerDoc() map[string]string

type OvirtPlatformSpec Uses

type OvirtPlatformSpec struct{}

OvirtPlatformSpec holds the desired state of the oVirt infrastructure provider. This only includes fields that can be modified in the cluster.

func (*OvirtPlatformSpec) DeepCopy Uses

func (in *OvirtPlatformSpec) DeepCopy() *OvirtPlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvirtPlatformSpec.

func (*OvirtPlatformSpec) DeepCopyInto Uses

func (in *OvirtPlatformSpec) DeepCopyInto(out *OvirtPlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OvirtPlatformSpec) SwaggerDoc Uses

func (OvirtPlatformSpec) SwaggerDoc() map[string]string

type OvirtPlatformStatus Uses

type OvirtPlatformStatus struct {
    // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
    // by components inside the cluster, like kubelets using the infrastructure rather
    // than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI
    // points to. It is the IP for a self-hosted load balancer in front of the API servers.
    APIServerInternalIP string `json:"apiServerInternalIP,omitempty"`

    // ingressIP is an external IP which routes to the default ingress controller.
    // The IP is a suitable target of a wildcard DNS record used to resolve default route host names.
    IngressIP string `json:"ingressIP,omitempty"`

    // deprecated: as of 4.6, this field is no longer set or honored.  It will be removed in a future release.
    NodeDNSIP string `json:"nodeDNSIP,omitempty"`
}

OvirtPlatformStatus holds the current status of the oVirt infrastructure provider.

func (*OvirtPlatformStatus) DeepCopy Uses

func (in *OvirtPlatformStatus) DeepCopy() *OvirtPlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OvirtPlatformStatus.

func (*OvirtPlatformStatus) DeepCopyInto Uses

func (in *OvirtPlatformStatus) DeepCopyInto(out *OvirtPlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (OvirtPlatformStatus) SwaggerDoc Uses

func (OvirtPlatformStatus) SwaggerDoc() map[string]string

type PlatformSpec Uses

type PlatformSpec struct {
    // type is the underlying infrastructure provider for the cluster. This
    // value controls whether infrastructure automation such as service load
    // balancers, dynamic volume provisioning, machine creation and deletion, and
    // other integrations are enabled. If None, no infrastructure automation is
    // enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt",
    // "OpenStack", "VSphere", "oVirt", and "None". Individual components may not support
    // all platforms, and must handle unrecognized platforms as None if they do
    // not support that platform.
    //
    // +unionDiscriminator
    Type PlatformType `json:"type"`

    // AWS contains settings specific to the Amazon Web Services infrastructure provider.
    // +optional
    AWS *AWSPlatformSpec `json:"aws,omitempty"`

    // Azure contains settings specific to the Azure infrastructure provider.
    // +optional
    Azure *AzurePlatformSpec `json:"azure,omitempty"`

    // GCP contains settings specific to the Google Cloud Platform infrastructure provider.
    // +optional
    GCP *GCPPlatformSpec `json:"gcp,omitempty"`

    // BareMetal contains settings specific to the BareMetal platform.
    // +optional
    BareMetal *BareMetalPlatformSpec `json:"baremetal,omitempty"`

    // OpenStack contains settings specific to the OpenStack infrastructure provider.
    // +optional
    OpenStack *OpenStackPlatformSpec `json:"openstack,omitempty"`

    // Ovirt contains settings specific to the oVirt infrastructure provider.
    // +optional
    Ovirt *OvirtPlatformSpec `json:"ovirt,omitempty"`

    // VSphere contains settings specific to the VSphere infrastructure provider.
    // +optional
    VSphere *VSpherePlatformSpec `json:"vsphere,omitempty"`

    // IBMCloud contains settings specific to the IBMCloud infrastructure provider.
    // +optional
    IBMCloud *IBMCloudPlatformSpec `json:"ibmcloud,omitempty"`
}

PlatformSpec holds the desired state specific to the underlying infrastructure provider of the current cluster. Since these are used at spec-level for the underlying cluster, it is supposed that only one of the spec structs is set.

func (*PlatformSpec) DeepCopy Uses

func (in *PlatformSpec) DeepCopy() *PlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSpec.

func (*PlatformSpec) DeepCopyInto Uses

func (in *PlatformSpec) DeepCopyInto(out *PlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (PlatformSpec) SwaggerDoc Uses

func (PlatformSpec) SwaggerDoc() map[string]string

type PlatformStatus Uses

type PlatformStatus struct {
    // type is the underlying infrastructure provider for the cluster. This
    // value controls whether infrastructure automation such as service load
    // balancers, dynamic volume provisioning, machine creation and deletion, and
    // other integrations are enabled. If None, no infrastructure automation is
    // enabled. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Libvirt",
    // "OpenStack", "VSphere", "oVirt", and "None". Individual components may not support
    // all platforms, and must handle unrecognized platforms as None if they do
    // not support that platform.
    //
    // This value will be synced with to the `status.platform` and `status.platformStatus.type`.
    // Currently this value cannot be changed once set.
    Type PlatformType `json:"type"`

    // AWS contains settings specific to the Amazon Web Services infrastructure provider.
    // +optional
    AWS *AWSPlatformStatus `json:"aws,omitempty"`

    // Azure contains settings specific to the Azure infrastructure provider.
    // +optional
    Azure *AzurePlatformStatus `json:"azure,omitempty"`

    // GCP contains settings specific to the Google Cloud Platform infrastructure provider.
    // +optional
    GCP *GCPPlatformStatus `json:"gcp,omitempty"`

    // BareMetal contains settings specific to the BareMetal platform.
    // +optional
    BareMetal *BareMetalPlatformStatus `json:"baremetal,omitempty"`

    // OpenStack contains settings specific to the OpenStack infrastructure provider.
    // +optional
    OpenStack *OpenStackPlatformStatus `json:"openstack,omitempty"`

    // Ovirt contains settings specific to the oVirt infrastructure provider.
    // +optional
    Ovirt *OvirtPlatformStatus `json:"ovirt,omitempty"`

    // VSphere contains settings specific to the VSphere infrastructure provider.
    // +optional
    VSphere *VSpherePlatformStatus `json:"vsphere,omitempty"`

    // IBMCloud contains settings specific to the IBMCloud infrastructure provider.
    // +optional
    IBMCloud *IBMCloudPlatformStatus `json:"ibmcloud,omitempty"`
}

PlatformStatus holds the current status specific to the underlying infrastructure provider of the current cluster. Since these are used at status-level for the underlying cluster, it is supposed that only one of the status structs is set.

func (*PlatformStatus) DeepCopy Uses

func (in *PlatformStatus) DeepCopy() *PlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformStatus.

func (*PlatformStatus) DeepCopyInto Uses

func (in *PlatformStatus) DeepCopyInto(out *PlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (PlatformStatus) SwaggerDoc Uses

func (PlatformStatus) SwaggerDoc() map[string]string

type PlatformType Uses

type PlatformType string

PlatformType is a specific supported infrastructure provider. +kubebuilder:validation:Enum="";AWS;Azure;BareMetal;GCP;Libvirt;OpenStack;None;VSphere;oVirt;IBMCloud

const (
    // AWSPlatformType represents Amazon Web Services infrastructure.
    AWSPlatformType PlatformType = "AWS"

    // AzurePlatformType represents Microsoft Azure infrastructure.
    AzurePlatformType PlatformType = "Azure"

    // BareMetalPlatformType represents managed bare metal infrastructure.
    BareMetalPlatformType PlatformType = "BareMetal"

    // GCPPlatformType represents Google Cloud Platform infrastructure.
    GCPPlatformType PlatformType = "GCP"

    // LibvirtPlatformType represents libvirt infrastructure.
    LibvirtPlatformType PlatformType = "Libvirt"

    // OpenStackPlatformType represents OpenStack infrastructure.
    OpenStackPlatformType PlatformType = "OpenStack"

    // NonePlatformType means there is no infrastructure provider.
    NonePlatformType PlatformType = "None"

    // VSpherePlatformType represents VMWare vSphere infrastructure.
    VSpherePlatformType PlatformType = "VSphere"

    // OvirtPlatformType represents oVirt/RHV infrastructure.
    OvirtPlatformType PlatformType = "oVirt"

    // IBMCloudPlatformType represents IBM Cloud infrastructure.
    IBMCloudPlatformType PlatformType = "IBMCloud"
)

type Project Uses

type Project struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec ProjectSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status ProjectStatus `json:"status"`
}

Project holds cluster-wide information about Project. The canonical name is `cluster`

func (*Project) DeepCopy Uses

func (in *Project) DeepCopy() *Project

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.

func (*Project) DeepCopyInto Uses

func (in *Project) DeepCopyInto(out *Project)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Project) DeepCopyObject Uses

func (in *Project) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Project) SwaggerDoc Uses

func (Project) SwaggerDoc() map[string]string

type ProjectList Uses

type ProjectList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Project `json:"items"`
}

func (*ProjectList) DeepCopy Uses

func (in *ProjectList) DeepCopy() *ProjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.

func (*ProjectList) DeepCopyInto Uses

func (in *ProjectList) DeepCopyInto(out *ProjectList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProjectList) DeepCopyObject Uses

func (in *ProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProjectSpec Uses

type ProjectSpec struct {
    // projectRequestMessage is the string presented to a user if they are unable to request a project via the projectrequest api endpoint
    // +optional
    ProjectRequestMessage string `json:"projectRequestMessage"`

    // projectRequestTemplate is the template to use for creating projects in response to projectrequest.
    // This must point to a template in 'openshift-config' namespace. It is optional.
    // If it is not specified, a default template is used.
    //
    // +optional
    ProjectRequestTemplate TemplateReference `json:"projectRequestTemplate"`
}

ProjectSpec holds the project creation configuration.

func (*ProjectSpec) DeepCopy Uses

func (in *ProjectSpec) DeepCopy() *ProjectSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.

func (*ProjectSpec) DeepCopyInto Uses

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ProjectSpec) SwaggerDoc Uses

func (ProjectSpec) SwaggerDoc() map[string]string

type ProjectStatus Uses

type ProjectStatus struct {
}

func (*ProjectStatus) DeepCopy Uses

func (in *ProjectStatus) DeepCopy() *ProjectStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.

func (*ProjectStatus) DeepCopyInto Uses

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Proxy Uses

type Proxy struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // Spec holds user-settable values for the proxy configuration
    // +kubebuilder:validation:Required
    // +required
    Spec ProxySpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status ProxyStatus `json:"status"`
}

Proxy holds cluster-wide information on how to configure default proxies for the cluster. The canonical name is `cluster`

func (*Proxy) DeepCopy Uses

func (in *Proxy) DeepCopy() *Proxy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Proxy.

func (*Proxy) DeepCopyInto Uses

func (in *Proxy) DeepCopyInto(out *Proxy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Proxy) DeepCopyObject Uses

func (in *Proxy) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Proxy) SwaggerDoc Uses

func (Proxy) SwaggerDoc() map[string]string

type ProxyList Uses

type ProxyList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Proxy `json:"items"`
}

func (*ProxyList) DeepCopy Uses

func (in *ProxyList) DeepCopy() *ProxyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyList.

func (*ProxyList) DeepCopyInto Uses

func (in *ProxyList) DeepCopyInto(out *ProxyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProxyList) DeepCopyObject Uses

func (in *ProxyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProxySpec Uses

type ProxySpec struct {
    // httpProxy is the URL of the proxy for HTTP requests.  Empty means unset and will not result in an env var.
    // +optional
    HTTPProxy string `json:"httpProxy,omitempty"`

    // httpsProxy is the URL of the proxy for HTTPS requests.  Empty means unset and will not result in an env var.
    // +optional
    HTTPSProxy string `json:"httpsProxy,omitempty"`

    // noProxy is a comma-separated list of hostnames and/or CIDRs for which the proxy should not be used.
    // Empty means unset and will not result in an env var.
    // +optional
    NoProxy string `json:"noProxy,omitempty"`

    // readinessEndpoints is a list of endpoints used to verify readiness of the proxy.
    // +optional
    ReadinessEndpoints []string `json:"readinessEndpoints,omitempty"`

    // trustedCA is a reference to a ConfigMap containing a CA certificate bundle.
    // The trustedCA field should only be consumed by a proxy validator. The
    // validator is responsible for reading the certificate bundle from the required
    // key "ca-bundle.crt", merging it with the system default trust bundle,
    // and writing the merged trust bundle to a ConfigMap named "trusted-ca-bundle"
    // in the "openshift-config-managed" namespace. Clients that expect to make
    // proxy connections must use the trusted-ca-bundle for all HTTPS requests to
    // the proxy, and may use the trusted-ca-bundle for non-proxy HTTPS requests as
    // well.
    //
    // The namespace for the ConfigMap referenced by trustedCA is
    // "openshift-config". Here is an example ConfigMap (in yaml):
    //
    // apiVersion: v1
    // kind: ConfigMap
    // metadata:
    //  name: user-ca-bundle
    //  namespace: openshift-config
    //  data:
    //    ca-bundle.crt: |
    //      -----BEGIN CERTIFICATE-----
    //      Custom CA certificate bundle.
    //      -----END CERTIFICATE-----
    //
    // +optional
    TrustedCA ConfigMapNameReference `json:"trustedCA,omitempty"`
}

ProxySpec contains cluster proxy creation configuration.

func (*ProxySpec) DeepCopy Uses

func (in *ProxySpec) DeepCopy() *ProxySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxySpec.

func (*ProxySpec) DeepCopyInto Uses

func (in *ProxySpec) DeepCopyInto(out *ProxySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ProxySpec) SwaggerDoc Uses

func (ProxySpec) SwaggerDoc() map[string]string

type ProxyStatus Uses

type ProxyStatus struct {
    // httpProxy is the URL of the proxy for HTTP requests.
    // +optional
    HTTPProxy string `json:"httpProxy,omitempty"`

    // httpsProxy is the URL of the proxy for HTTPS requests.
    // +optional
    HTTPSProxy string `json:"httpsProxy,omitempty"`

    // noProxy is a comma-separated list of hostnames and/or CIDRs for which the proxy should not be used.
    // +optional
    NoProxy string `json:"noProxy,omitempty"`
}

ProxyStatus shows current known state of the cluster proxy.

func (*ProxyStatus) DeepCopy Uses

func (in *ProxyStatus) DeepCopy() *ProxyStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyStatus.

func (*ProxyStatus) DeepCopyInto Uses

func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ProxyStatus) SwaggerDoc Uses

func (ProxyStatus) SwaggerDoc() map[string]string

type RegistryLocation Uses

type RegistryLocation struct {
    // domainName specifies a domain name for the registry
    // In case the registry use non-standard (80 or 443) port, the port should be included
    // in the domain name as well.
    DomainName string `json:"domainName"`
    // insecure indicates whether the registry is secure (https) or insecure (http)
    // By default (if not specified) the registry is assumed as secure.
    // +optional
    Insecure bool `json:"insecure,omitempty"`
}

RegistryLocation contains a location of the registry specified by the registry domain name. The domain name might include wildcards, like '*' or '??'.

func (*RegistryLocation) DeepCopy Uses

func (in *RegistryLocation) DeepCopy() *RegistryLocation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryLocation.

func (*RegistryLocation) DeepCopyInto Uses

func (in *RegistryLocation) DeepCopyInto(out *RegistryLocation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RegistryLocation) SwaggerDoc Uses

func (RegistryLocation) SwaggerDoc() map[string]string

type RegistrySources Uses

type RegistrySources struct {
    // insecureRegistries are registries which do not have a valid TLS certificates or only support HTTP connections.
    // +optional
    InsecureRegistries []string `json:"insecureRegistries,omitempty"`
    // blockedRegistries cannot be used for image pull and push actions. All other registries are permitted.
    //
    // Only one of BlockedRegistries or AllowedRegistries may be set.
    // +optional
    BlockedRegistries []string `json:"blockedRegistries,omitempty"`
    // allowedRegistries are the only registries permitted for image pull and push actions. All other registries are denied.
    //
    // Only one of BlockedRegistries or AllowedRegistries may be set.
    // +optional
    AllowedRegistries []string `json:"allowedRegistries,omitempty"`
}

RegistrySources holds cluster-wide information about how to handle the registries config.

func (*RegistrySources) DeepCopy Uses

func (in *RegistrySources) DeepCopy() *RegistrySources

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistrySources.

func (*RegistrySources) DeepCopyInto Uses

func (in *RegistrySources) DeepCopyInto(out *RegistrySources)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RegistrySources) SwaggerDoc Uses

func (RegistrySources) SwaggerDoc() map[string]string

type Release Uses

type Release struct {
    // version is a semantic versioning identifying the update version. When this
    // field is part of spec, version is optional if image is specified.
    // +required
    Version string `json:"version"`

    // image is a container image location that contains the update. When this
    // field is part of spec, image is optional if version is specified and the
    // availableUpdates field contains a matching version.
    // +required
    Image string `json:"image"`

    // url contains information about this release. This URL is set by
    // the 'url' metadata property on a release or the metadata returned by
    // the update API and should be displayed as a link in user
    // interfaces. The URL field may not be set for test or nightly
    // releases.
    // +optional
    URL URL `json:"url,omitempty"`

    // channels is the set of Cincinnati channels to which the release
    // currently belongs.
    // +optional
    Channels []string `json:"channels,omitempty"`
}

Release represents an OpenShift release image and associated metadata. +k8s:deepcopy-gen=true

func (*Release) DeepCopy Uses

func (in *Release) DeepCopy() *Release

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.

func (*Release) DeepCopyInto Uses

func (in *Release) DeepCopyInto(out *Release)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Release) SwaggerDoc Uses

func (Release) SwaggerDoc() map[string]string

type RemoteConnectionInfo Uses

type RemoteConnectionInfo struct {
    // URL is the remote URL to connect to
    URL string `json:"url"`
    // CA is the CA for verifying TLS connections
    CA  string `json:"ca"`
    // CertInfo is the TLS client cert information to present
    // this is anonymous so that we can inline it for serialization
    CertInfo `json:",inline"`
}

RemoteConnectionInfo holds information necessary for establishing a remote connection

func (*RemoteConnectionInfo) DeepCopy Uses

func (in *RemoteConnectionInfo) DeepCopy() *RemoteConnectionInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RemoteConnectionInfo.

func (*RemoteConnectionInfo) DeepCopyInto Uses

func (in *RemoteConnectionInfo) DeepCopyInto(out *RemoteConnectionInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RemoteConnectionInfo) SwaggerDoc Uses

func (RemoteConnectionInfo) SwaggerDoc() map[string]string

type RequestHeaderIdentityProvider Uses

type RequestHeaderIdentityProvider struct {
    // loginURL is a URL to redirect unauthenticated /authorize requests to
    // Unauthenticated requests from OAuth clients which expect interactive logins will be redirected here
    // ${url} is replaced with the current URL, escaped to be safe in a query parameter
    //   https://www.example.com/sso-login?then=${url}
    // ${query} is replaced with the current query string
    //   https://www.example.com/auth-proxy/oauth/authorize?${query}
    // Required when login is set to true.
    LoginURL string `json:"loginURL"`

    // challengeURL is a URL to redirect unauthenticated /authorize requests to
    // Unauthenticated requests from OAuth clients which expect WWW-Authenticate challenges will be
    // redirected here.
    // ${url} is replaced with the current URL, escaped to be safe in a query parameter
    //   https://www.example.com/sso-login?then=${url}
    // ${query} is replaced with the current query string
    //   https://www.example.com/auth-proxy/oauth/authorize?${query}
    // Required when challenge is set to true.
    ChallengeURL string `json:"challengeURL"`

    // ca is a required reference to a config map by name containing the PEM-encoded CA bundle.
    // It is used as a trust anchor to validate the TLS certificate presented by the remote server.
    // Specifically, it allows verification of incoming requests to prevent header spoofing.
    // The key "ca.crt" is used to locate the data.
    // If the config map or expected key is not found, the identity provider is not honored.
    // If the specified ca data is not valid, the identity provider is not honored.
    // The namespace for this config map is openshift-config.
    ClientCA ConfigMapNameReference `json:"ca"`

    // clientCommonNames is an optional list of common names to require a match from. If empty, any
    // client certificate validated against the clientCA bundle is considered authoritative.
    // +optional
    ClientCommonNames []string `json:"clientCommonNames,omitempty"`

    // headers is the set of headers to check for identity information
    Headers []string `json:"headers"`

    // preferredUsernameHeaders is the set of headers to check for the preferred username
    PreferredUsernameHeaders []string `json:"preferredUsernameHeaders"`

    // nameHeaders is the set of headers to check for the display name
    NameHeaders []string `json:"nameHeaders"`

    // emailHeaders is the set of headers to check for the email address
    EmailHeaders []string `json:"emailHeaders"`
}

RequestHeaderIdentityProvider provides identities for users authenticating using request header credentials

func (*RequestHeaderIdentityProvider) DeepCopy Uses

func (in *RequestHeaderIdentityProvider) DeepCopy() *RequestHeaderIdentityProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RequestHeaderIdentityProvider.

func (*RequestHeaderIdentityProvider) DeepCopyInto Uses

func (in *RequestHeaderIdentityProvider) DeepCopyInto(out *RequestHeaderIdentityProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (RequestHeaderIdentityProvider) SwaggerDoc Uses

func (RequestHeaderIdentityProvider) SwaggerDoc() map[string]string

type Scheduler Uses

type Scheduler struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    // spec holds user settable values for configuration
    // +kubebuilder:validation:Required
    // +required
    Spec SchedulerSpec `json:"spec"`
    // status holds observed values from the cluster. They may not be overridden.
    // +optional
    Status SchedulerStatus `json:"status"`
}

Scheduler holds cluster-wide config information to run the Kubernetes Scheduler and influence its placement decisions. The canonical name for this config is `cluster`.

func (*Scheduler) DeepCopy Uses

func (in *Scheduler) DeepCopy() *Scheduler

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduler.

func (*Scheduler) DeepCopyInto Uses

func (in *Scheduler) DeepCopyInto(out *Scheduler)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Scheduler) DeepCopyObject Uses

func (in *Scheduler) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (Scheduler) SwaggerDoc Uses

func (Scheduler) SwaggerDoc() map[string]string

type SchedulerList Uses

type SchedulerList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`

    Items []Scheduler `json:"items"`
}

func (*SchedulerList) DeepCopy Uses

func (in *SchedulerList) DeepCopy() *SchedulerList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerList.

func (*SchedulerList) DeepCopyInto Uses

func (in *SchedulerList) DeepCopyInto(out *SchedulerList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SchedulerList) DeepCopyObject Uses

func (in *SchedulerList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type SchedulerSpec Uses

type SchedulerSpec struct {
    // policy is a reference to a ConfigMap containing scheduler policy which has
    // user specified predicates and priorities. If this ConfigMap is not available
    // scheduler will default to use DefaultAlgorithmProvider.
    // The namespace for this configmap is openshift-config.
    // +optional
    Policy ConfigMapNameReference `json:"policy"`
    // defaultNodeSelector helps set the cluster-wide default node selector to
    // restrict pod placement to specific nodes. This is applied to the pods
    // created in all namespaces and creates an intersection with any existing
    // nodeSelectors already set on a pod, additionally constraining that pod's selector.
    // For example,
    // defaultNodeSelector: "type=user-node,region=east" would set nodeSelector
    // field in pod spec to "type=user-node,region=east" to all pods created
    // in all namespaces. Namespaces having project-wide node selectors won't be
    // impacted even if this field is set. This adds an annotation section to
    // the namespace.
    // For example, if a new namespace is created with
    // node-selector='type=user-node,region=east',
    // the annotation openshift.io/node-selector: type=user-node,region=east
    // gets added to the project. When the openshift.io/node-selector annotation
    // is set on the project the value is used in preference to the value we are setting
    // for defaultNodeSelector field.
    // For instance,
    // openshift.io/node-selector: "type=user-node,region=west" means
    // that the default of "type=user-node,region=east" set in defaultNodeSelector
    // would not be applied.
    // +optional
    DefaultNodeSelector string `json:"defaultNodeSelector,omitempty"`
    // MastersSchedulable allows masters nodes to be schedulable. When this flag is
    // turned on, all the master nodes in the cluster will be made schedulable,
    // so that workload pods can run on them. The default value for this field is false,
    // meaning none of the master nodes are schedulable.
    // Important Note: Once the workload pods start running on the master nodes,
    // extreme care must be taken to ensure that cluster-critical control plane components
    // are not impacted.
    // Please turn on this field after doing due diligence.
    // +optional
    MastersSchedulable bool `json:"mastersSchedulable"`
}

func (*SchedulerSpec) DeepCopy Uses

func (in *SchedulerSpec) DeepCopy() *SchedulerSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerSpec.

func (*SchedulerSpec) DeepCopyInto Uses

func (in *SchedulerSpec) DeepCopyInto(out *SchedulerSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SchedulerSpec) SwaggerDoc Uses

func (SchedulerSpec) SwaggerDoc() map[string]string

type SchedulerStatus Uses

type SchedulerStatus struct {
}

func (*SchedulerStatus) DeepCopy Uses

func (in *SchedulerStatus) DeepCopy() *SchedulerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulerStatus.

func (*SchedulerStatus) DeepCopyInto Uses

func (in *SchedulerStatus) DeepCopyInto(out *SchedulerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SecretNameReference Uses

type SecretNameReference struct {
    // name is the metadata.name of the referenced secret
    // +kubebuilder:validation:Required
    // +required
    Name string `json:"name"`
}

SecretNameReference references a secret in a specific namespace. The namespace must be specified at the point of use.

func (*SecretNameReference) DeepCopy Uses

func (in *SecretNameReference) DeepCopy() *SecretNameReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretNameReference.

func (*SecretNameReference) DeepCopyInto Uses

func (in *SecretNameReference) DeepCopyInto(out *SecretNameReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (SecretNameReference) SwaggerDoc Uses

func (SecretNameReference) SwaggerDoc() map[string]string

type ServingInfo Uses

type ServingInfo struct {
    // BindAddress is the ip:port to serve on
    BindAddress string `json:"bindAddress"`
    // BindNetwork is the type of network to bind to - defaults to "tcp4", accepts "tcp",
    // "tcp4", and "tcp6"
    BindNetwork string `json:"bindNetwork"`
    // CertInfo is the TLS cert info for serving secure traffic.
    // this is anonymous so that we can inline it for serialization
    CertInfo `json:",inline"`
    // ClientCA is the certificate bundle for all the signers that you'll recognize for incoming client certificates
    // +optional
    ClientCA string `json:"clientCA,omitempty"`
    // NamedCertificates is a list of certificates to use to secure requests to specific hostnames
    NamedCertificates []NamedCertificate `json:"namedCertificates,omitempty"`
    // MinTLSVersion is the minimum TLS version supported.
    // Values must match version names from https://golang.org/pkg/crypto/tls/#pkg-constants
    MinTLSVersion string `json:"minTLSVersion,omitempty"`
    // CipherSuites contains an overridden list of ciphers for the server to support.
    // Values must match cipher suite IDs from https://golang.org/pkg/crypto/tls/#pkg-constants
    CipherSuites []string `json:"cipherSuites,omitempty"`
}

ServingInfo holds information about serving web pages

func (*ServingInfo) DeepCopy Uses

func (in *ServingInfo) DeepCopy() *ServingInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingInfo.

func (*ServingInfo) DeepCopyInto Uses

func (in *ServingInfo) DeepCopyInto(out *ServingInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (ServingInfo) SwaggerDoc Uses

func (ServingInfo) SwaggerDoc() map[string]string

type StringSource Uses

type StringSource struct {
    // StringSourceSpec specifies the string value, or external location
    StringSourceSpec `json:",inline"`
}

StringSource allows specifying a string inline, or externally via env var or file. When it contains only a string value, it marshals to a simple JSON string.

func (*StringSource) DeepCopy Uses

func (in *StringSource) DeepCopy() *StringSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringSource.

func (*StringSource) DeepCopyInto Uses

func (in *StringSource) DeepCopyInto(out *StringSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StringSource) MarshalJSON Uses

func (s *StringSource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface. If the StringSource contains only a string Value (or is empty), it is marshaled as a JSON string. Otherwise, the StringSourceSpec struct is marshaled as a JSON object.

func (StringSource) SwaggerDoc Uses

func (StringSource) SwaggerDoc() map[string]string

func (*StringSource) UnmarshalJSON Uses

func (s *StringSource) UnmarshalJSON(value []byte) error

UnmarshalJSON implements the json.Unmarshaller interface. If the value is a string, it sets the Value field of the StringSource. Otherwise, it is unmarshaled into the StringSourceSpec struct

type StringSourceSpec Uses

type StringSourceSpec struct {
    // Value specifies the cleartext value, or an encrypted value if keyFile is specified.
    Value string `json:"value"`

    // Env specifies an envvar containing the cleartext value, or an encrypted value if the keyFile is specified.
    Env string `json:"env"`

    // File references a file containing the cleartext value, or an encrypted value if a keyFile is specified.
    File string `json:"file"`

    // KeyFile references a file containing the key to use to decrypt the value.
    KeyFile string `json:"keyFile"`
}

StringSourceSpec specifies a string value, or external location

func (*StringSourceSpec) DeepCopy Uses

func (in *StringSourceSpec) DeepCopy() *StringSourceSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringSourceSpec.

func (*StringSourceSpec) DeepCopyInto Uses

func (in *StringSourceSpec) DeepCopyInto(out *StringSourceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (StringSourceSpec) SwaggerDoc Uses

func (StringSourceSpec) SwaggerDoc() map[string]string

type TLSProfileSpec Uses

type TLSProfileSpec struct {
    // ciphers is used to specify the cipher algorithms that are negotiated
    // during the TLS handshake.  Operators may remove entries their operands
    // do not support.  For example, to use DES-CBC3-SHA  (yaml):
    //
    //   ciphers:
    //     - DES-CBC3-SHA
    //
    Ciphers []string `json:"ciphers"`
    // minTLSVersion is used to specify the minimal version of the TLS protocol
    // that is negotiated during the TLS handshake. For example, to use TLS
    // versions 1.1, 1.2 and 1.3 (yaml):
    //
    //   minTLSVersion: TLSv1.1
    //
    // NOTE: currently the highest minTLSVersion allowed is VersionTLS12
    //
    MinTLSVersion TLSProtocolVersion `json:"minTLSVersion"`
}

TLSProfileSpec is the desired behavior of a TLSSecurityProfile.

func (*TLSProfileSpec) DeepCopy Uses

func (in *TLSProfileSpec) DeepCopy() *TLSProfileSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSProfileSpec.

func (*TLSProfileSpec) DeepCopyInto Uses

func (in *TLSProfileSpec) DeepCopyInto(out *TLSProfileSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (TLSProfileSpec) SwaggerDoc Uses

func (TLSProfileSpec) SwaggerDoc() map[string]string

type TLSProfileType Uses

type TLSProfileType string

TLSProfileType defines a TLS security profile type. +kubebuilder:validation:Enum=Old;Intermediate;Modern;Custom

const (
    // Old is a TLS security profile based on:
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility
    TLSProfileOldType TLSProfileType = "Old"
    // Intermediate is a TLS security profile based on:
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28default.29
    TLSProfileIntermediateType TLSProfileType = "Intermediate"
    // Modern is a TLS security profile based on:
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
    TLSProfileModernType TLSProfileType = "Modern"
    // Custom is a TLS security profile that allows for user-defined parameters.
    TLSProfileCustomType TLSProfileType = "Custom"
)

type TLSProtocolVersion Uses

type TLSProtocolVersion string

TLSProtocolVersion is a way to specify the protocol version used for TLS connections. Protocol versions are based on the following most common TLS configurations:

https://ssl-config.mozilla.org/

Note that SSLv3.0 is not a supported protocol version due to well known vulnerabilities such as POODLE: https://en.wikipedia.org/wiki/POODLE +kubebuilder:validation:Enum=VersionTLS10;VersionTLS11;VersionTLS12;VersionTLS13

const (
    // VersionTLSv10 is version 1.0 of the TLS security protocol.
    VersionTLS10 TLSProtocolVersion = "VersionTLS10"
    // VersionTLSv11 is version 1.1 of the TLS security protocol.
    VersionTLS11 TLSProtocolVersion = "VersionTLS11"
    // VersionTLSv12 is version 1.2 of the TLS security protocol.
    VersionTLS12 TLSProtocolVersion = "VersionTLS12"
    // VersionTLSv13 is version 1.3 of the TLS security protocol.
    VersionTLS13 TLSProtocolVersion = "VersionTLS13"
)

type TLSSecurityProfile Uses

type TLSSecurityProfile struct {
    // type is one of Old, Intermediate, Modern or Custom. Custom provides
    // the ability to specify individual TLS security profile parameters.
    // Old, Intermediate and Modern are TLS security profiles based on:
    //
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Recommended_configurations
    //
    // The profiles are intent based, so they may change over time as new ciphers are developed and existing ciphers
    // are found to be insecure.  Depending on precisely which ciphers are available to a process, the list may be
    // reduced.
    //
    // Note that the Modern profile is currently not supported because it is not
    // yet well adopted by common software libraries.
    //
    // +unionDiscriminator
    // +optional
    Type TLSProfileType `json:"type"`
    // old is a TLS security profile based on:
    //
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Old_backward_compatibility
    //
    // and looks like this (yaml):
    //
    //   ciphers:
    //     - TLS_AES_128_GCM_SHA256
    //     - TLS_AES_256_GCM_SHA384
    //     - TLS_CHACHA20_POLY1305_SHA256
    //     - ECDHE-ECDSA-AES128-GCM-SHA256
    //     - ECDHE-RSA-AES128-GCM-SHA256
    //     - ECDHE-ECDSA-AES256-GCM-SHA384
    //     - ECDHE-RSA-AES256-GCM-SHA384
    //     - ECDHE-ECDSA-CHACHA20-POLY1305
    //     - ECDHE-RSA-CHACHA20-POLY1305
    //     - DHE-RSA-AES128-GCM-SHA256
    //     - DHE-RSA-AES256-GCM-SHA384
    //     - DHE-RSA-CHACHA20-POLY1305
    //     - ECDHE-ECDSA-AES128-SHA256
    //     - ECDHE-RSA-AES128-SHA256
    //     - ECDHE-ECDSA-AES128-SHA
    //     - ECDHE-RSA-AES128-SHA
    //     - ECDHE-ECDSA-AES256-SHA384
    //     - ECDHE-RSA-AES256-SHA384
    //     - ECDHE-ECDSA-AES256-SHA
    //     - ECDHE-RSA-AES256-SHA
    //     - DHE-RSA-AES128-SHA256
    //     - DHE-RSA-AES256-SHA256
    //     - AES128-GCM-SHA256
    //     - AES256-GCM-SHA384
    //     - AES128-SHA256
    //     - AES256-SHA256
    //     - AES128-SHA
    //     - AES256-SHA
    //     - DES-CBC3-SHA
    //   minTLSVersion: TLSv1.0
    //
    // +optional
    // +nullable
    Old *OldTLSProfile `json:"old,omitempty"`
    // intermediate is a TLS security profile based on:
    //
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Intermediate_compatibility_.28recommended.29
    //
    // and looks like this (yaml):
    //
    //   ciphers:
    //     - TLS_AES_128_GCM_SHA256
    //     - TLS_AES_256_GCM_SHA384
    //     - TLS_CHACHA20_POLY1305_SHA256
    //     - ECDHE-ECDSA-AES128-GCM-SHA256
    //     - ECDHE-RSA-AES128-GCM-SHA256
    //     - ECDHE-ECDSA-AES256-GCM-SHA384
    //     - ECDHE-RSA-AES256-GCM-SHA384
    //     - ECDHE-ECDSA-CHACHA20-POLY1305
    //     - ECDHE-RSA-CHACHA20-POLY1305
    //     - DHE-RSA-AES128-GCM-SHA256
    //     - DHE-RSA-AES256-GCM-SHA384
    //   minTLSVersion: TLSv1.2
    //
    // +optional
    // +nullable
    Intermediate *IntermediateTLSProfile `json:"intermediate,omitempty"`
    // modern is a TLS security profile based on:
    //
    // https://wiki.mozilla.org/Security/Server_Side_TLS#Modern_compatibility
    //
    // and looks like this (yaml):
    //
    //   ciphers:
    //     - TLS_AES_128_GCM_SHA256
    //     - TLS_AES_256_GCM_SHA384
    //     - TLS_CHACHA20_POLY1305_SHA256
    //   minTLSVersion: TLSv1.3
    //
    // NOTE: Currently unsupported.
    //
    // +optional
    // +nullable
    Modern *ModernTLSProfile `json:"modern,omitempty"`
    // custom is a user-defined TLS security profile. Be extremely careful using a custom
    // profile as invalid configurations can be catastrophic. An example custom profile
    // looks like this:
    //
    //   ciphers:
    //     - ECDHE-ECDSA-CHACHA20-POLY1305
    //     - ECDHE-RSA-CHACHA20-POLY1305
    //     - ECDHE-RSA-AES128-GCM-SHA256
    //     - ECDHE-ECDSA-AES128-GCM-SHA256
    //   minTLSVersion: TLSv1.1
    //
    // +optional
    // +nullable
    Custom *CustomTLSProfile `json:"custom,omitempty"`
}

TLSSecurityProfile defines the schema for a TLS security profile. This object is used by operators to apply TLS security settings to operands. +union

func (*TLSSecurityProfile) DeepCopy Uses

func (in *TLSSecurityProfile) DeepCopy() *TLSSecurityProfile

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSSecurityProfile.

func (*TLSSecurityProfile) DeepCopyInto Uses

func (in *TLSSecurityProfile) DeepCopyInto(out *TLSSecurityProfile)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (TLSSecurityProfile) SwaggerDoc Uses

func (TLSSecurityProfile) SwaggerDoc() map[string]string

type TemplateReference Uses

type TemplateReference struct {
    // name is the metadata.name of the referenced project request template
    Name string `json:"name"`
}

TemplateReference references a template in a specific namespace. The namespace must be specified at the point of use.

func (*TemplateReference) DeepCopy Uses

func (in *TemplateReference) DeepCopy() *TemplateReference

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateReference.

func (*TemplateReference) DeepCopyInto Uses

func (in *TemplateReference) DeepCopyInto(out *TemplateReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (TemplateReference) SwaggerDoc Uses

func (TemplateReference) SwaggerDoc() map[string]string

type TokenConfig Uses

type TokenConfig struct {
    // accessTokenMaxAgeSeconds defines the maximum age of access tokens
    AccessTokenMaxAgeSeconds int32 `json:"accessTokenMaxAgeSeconds,omitempty"`

    // accessTokenInactivityTimeoutSeconds - DEPRECATED: setting this field has no effect.
    // +optional
    AccessTokenInactivityTimeoutSeconds int32 `json:"accessTokenInactivityTimeoutSeconds,omitempty"`

    // accessTokenInactivityTimeout defines the token inactivity timeout
    // for tokens granted by any client.
    // The value represents the maximum amount of time that can occur between
    // consecutive uses of the token. Tokens become invalid if they are not
    // used within this temporal window. The user will need to acquire a new
    // token to regain access once a token times out. Takes valid time
    // duration string such as "5m", "1.5h" or "2h45m". The minimum allowed
    // value for duration is 300s (5 minutes). If the timeout is configured
    // per client, then that value takes precedence. If the timeout value is
    // not specified and the client does not override the value, then tokens
    // are valid until their lifetime.
    // +optional
    AccessTokenInactivityTimeout *metav1.Duration `json:"accessTokenInactivityTimeout,omitempty"`
}

TokenConfig holds the necessary configuration options for authorization and access tokens

func (*TokenConfig) DeepCopy Uses

func (in *TokenConfig) DeepCopy() *TokenConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenConfig.

func (*TokenConfig) DeepCopyInto Uses

func (in *TokenConfig) DeepCopyInto(out *TokenConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (TokenConfig) SwaggerDoc Uses

func (TokenConfig) SwaggerDoc() map[string]string

type URL Uses

type URL string

URL is a thin wrapper around string that ensures the string is a valid URL.

type Update Uses

type Update struct {
    // version is a semantic versioning identifying the update version. When this
    // field is part of spec, version is optional if image is specified.
    //
    // +optional
    Version string `json:"version"`
    // image is a container image location that contains the update. When this
    // field is part of spec, image is optional if version is specified and the
    // availableUpdates field contains a matching version.
    //
    // +optional
    Image string `json:"image"`
    // force allows an administrator to update to an image that has failed
    // verification, does not appear in the availableUpdates list, or otherwise
    // would be blocked by normal protections on update. This option should only
    // be used when the authenticity of the provided image has been verified out
    // of band because the provided image will run with full administrative access
    // to the cluster. Do not use this flag with images that comes from unknown
    // or potentially malicious sources.
    //
    // This flag does not override other forms of consistency checking that are
    // required before a new update is deployed.
    //
    // +optional
    Force bool `json:"force"`
}

Update represents an administrator update request. +k8s:deepcopy-gen=true

func (*Update) DeepCopy Uses

func (in *Update) DeepCopy() *Update

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Update.

func (*Update) DeepCopyInto Uses

func (in *Update) DeepCopyInto(out *Update)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Update) SwaggerDoc Uses

func (Update) SwaggerDoc() map[string]string

type UpdateHistory Uses

type UpdateHistory struct {
    // state reflects whether the update was fully applied. The Partial state
    // indicates the update is not fully applied, while the Completed state
    // indicates the update was successfully rolled out at least once (all
    // parts of the update successfully applied).
    // +kubebuilder:validation:Required
    // +required
    State UpdateState `json:"state"`

    // startedTime is the time at which the update was started.
    // +kubebuilder:validation:Required
    // +required
    StartedTime metav1.Time `json:"startedTime"`
    // completionTime, if set, is when the update was fully applied. The update
    // that is currently being applied will have a null completion time.
    // Completion time will always be set for entries that are not the current
    // update (usually to the started time of the next update).
    // +kubebuilder:validation:Required
    // +required
    // +nullable
    CompletionTime *metav1.Time `json:"completionTime"`

    // version is a semantic versioning identifying the update version. If the
    // requested image does not define a version, or if a failure occurs
    // retrieving the image, this value may be empty.
    //
    // +optional
    Version string `json:"version"`
    // image is a container image location that contains the update. This value
    // is always populated.
    // +kubebuilder:validation:Required
    // +required
    Image string `json:"image"`
    // verified indicates whether the provided update was properly verified
    // before it was installed. If this is false the cluster may not be trusted.
    // +kubebuilder:validation:Required
    // +required
    Verified bool `json:"verified"`
}

UpdateHistory is a single attempted update to the cluster.

func (*UpdateHistory) DeepCopy Uses

func (in *UpdateHistory) DeepCopy() *UpdateHistory

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateHistory.

func (*UpdateHistory) DeepCopyInto Uses

func (in *UpdateHistory) DeepCopyInto(out *UpdateHistory)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (UpdateHistory) SwaggerDoc Uses

func (UpdateHistory) SwaggerDoc() map[string]string

type UpdateState Uses

type UpdateState string

UpdateState is a constant representing whether an update was successfully applied to the cluster or not.

const (
    // CompletedUpdate indicates an update was successfully applied
    // to the cluster (all resource updates were successful).
    CompletedUpdate UpdateState = "Completed"
    // PartialUpdate indicates an update was never completely applied
    // or is currently being applied.
    PartialUpdate UpdateState = "Partial"
)

type VSpherePlatformSpec Uses

type VSpherePlatformSpec struct{}

VSpherePlatformSpec holds the desired state of the vSphere infrastructure provider. This only includes fields that can be modified in the cluster.

func (*VSpherePlatformSpec) DeepCopy Uses

func (in *VSpherePlatformSpec) DeepCopy() *VSpherePlatformSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSpherePlatformSpec.

func (*VSpherePlatformSpec) DeepCopyInto Uses

func (in *VSpherePlatformSpec) DeepCopyInto(out *VSpherePlatformSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (VSpherePlatformSpec) SwaggerDoc Uses

func (VSpherePlatformSpec) SwaggerDoc() map[string]string

type VSpherePlatformStatus Uses

type VSpherePlatformStatus struct {
    // apiServerInternalIP is an IP address to contact the Kubernetes API server that can be used
    // by components inside the cluster, like kubelets using the infrastructure rather
    // than Kubernetes networking. It is the IP that the Infrastructure.status.apiServerInternalURI
    // points to. It is the IP for a self-hosted load balancer in front of the API servers.
    APIServerInternalIP string `json:"apiServerInternalIP,omitempty"`

    // ingressIP is an external IP which routes to the default ingress controller.
    // The IP is a suitable target of a wildcard DNS record used to resolve default route host names.
    IngressIP string `json:"ingressIP,omitempty"`

    // nodeDNSIP is the IP address for the internal DNS used by the
    // nodes. Unlike the one managed by the DNS operator, `NodeDNSIP`
    // provides name resolution for the nodes themselves. There is no DNS-as-a-service for
    // vSphere deployments. In order to minimize necessary changes to the
    // datacenter DNS, a DNS service is hosted as a static pod to serve those hostnames
    // to the nodes in the cluster.
    NodeDNSIP string `json:"nodeDNSIP,omitempty"`
}

VSpherePlatformStatus holds the current status of the vSphere infrastructure provider.

func (*VSpherePlatformStatus) DeepCopy Uses

func (in *VSpherePlatformStatus) DeepCopy() *VSpherePlatformStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VSpherePlatformStatus.

func (*VSpherePlatformStatus) DeepCopyInto Uses

func (in *VSpherePlatformStatus) DeepCopyInto(out *VSpherePlatformStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (VSpherePlatformStatus) SwaggerDoc Uses

func (VSpherePlatformStatus) SwaggerDoc() map[string]string

type WebHookModeType Uses

type WebHookModeType string

type WebhookTokenAuthenticator Uses

type WebhookTokenAuthenticator struct {
    // kubeConfig references a secret that contains kube config file data which
    // describes how to access the remote webhook service.
    // The namespace for the referenced secret is openshift-config.
    //
    // For further details, see:
    //
    // https://kubernetes.io/docs/reference/access-authn-authz/authentication/#webhook-token-authentication
    //
    // The key "kubeConfig" is used to locate the data.
    // If the secret or expected key is not found, the webhook is not honored.
    // If the specified kube config data is not valid, the webhook is not honored.
    // +kubebuilder:validation:Required
    // +required
    KubeConfig SecretNameReference `json:"kubeConfig"`
}

webhookTokenAuthenticator holds the necessary configuration options for a remote token authenticator

func (*WebhookTokenAuthenticator) DeepCopy Uses

func (in *WebhookTokenAuthenticator) DeepCopy() *WebhookTokenAuthenticator

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookTokenAuthenticator.

func (*WebhookTokenAuthenticator) DeepCopyInto Uses

func (in *WebhookTokenAuthenticator) DeepCopyInto(out *WebhookTokenAuthenticator)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (WebhookTokenAuthenticator) SwaggerDoc Uses

func (WebhookTokenAuthenticator) SwaggerDoc() map[string]string

Package v1 imports 5 packages (graph) and is imported by 287 packages. Updated 2020-08-04. Refresh now. Tools for package owners.