Documentation
¶
Index ¶
- type AWSCSIDriverConfigSpecApplyConfiguration
- type AWSClassicLoadBalancerParametersApplyConfiguration
- func (b *AWSClassicLoadBalancerParametersApplyConfiguration) WithConnectionIdleTimeout(value metav1.Duration) *AWSClassicLoadBalancerParametersApplyConfiguration
- func (b *AWSClassicLoadBalancerParametersApplyConfiguration) WithSubnets(value *AWSSubnetsApplyConfiguration) *AWSClassicLoadBalancerParametersApplyConfiguration
- type AWSEFSVolumeMetricsApplyConfiguration
- func (b *AWSEFSVolumeMetricsApplyConfiguration) WithRecursiveWalk(value *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) *AWSEFSVolumeMetricsApplyConfiguration
- func (b *AWSEFSVolumeMetricsApplyConfiguration) WithState(value operatorv1.AWSEFSVolumeMetricsState) *AWSEFSVolumeMetricsApplyConfiguration
- type AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
- func (b *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithFSRateLimit(value int32) *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
- func (b *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithRefreshPeriodMinutes(value int32) *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
- type AWSLoadBalancerParametersApplyConfiguration
- func (b *AWSLoadBalancerParametersApplyConfiguration) WithClassicLoadBalancerParameters(value *AWSClassicLoadBalancerParametersApplyConfiguration) *AWSLoadBalancerParametersApplyConfiguration
- func (b *AWSLoadBalancerParametersApplyConfiguration) WithNetworkLoadBalancerParameters(value *AWSNetworkLoadBalancerParametersApplyConfiguration) *AWSLoadBalancerParametersApplyConfiguration
- func (b *AWSLoadBalancerParametersApplyConfiguration) WithType(value operatorv1.AWSLoadBalancerType) *AWSLoadBalancerParametersApplyConfiguration
- type AWSNetworkLoadBalancerParametersApplyConfiguration
- func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithEIPAllocations(values ...operatorv1.EIPAllocation) *AWSNetworkLoadBalancerParametersApplyConfiguration
- func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithSubnets(value *AWSSubnetsApplyConfiguration) *AWSNetworkLoadBalancerParametersApplyConfiguration
- type AWSSubnetsApplyConfiguration
- type AccessLoggingApplyConfiguration
- func (b *AccessLoggingApplyConfiguration) WithDestination(value *LoggingDestinationApplyConfiguration) *AccessLoggingApplyConfiguration
- func (b *AccessLoggingApplyConfiguration) WithHTTPCaptureCookies(values ...*IngressControllerCaptureHTTPCookieApplyConfiguration) *AccessLoggingApplyConfiguration
- func (b *AccessLoggingApplyConfiguration) WithHTTPCaptureHeaders(value *IngressControllerCaptureHTTPHeadersApplyConfiguration) *AccessLoggingApplyConfiguration
- func (b *AccessLoggingApplyConfiguration) WithHttpLogFormat(value string) *AccessLoggingApplyConfiguration
- func (b *AccessLoggingApplyConfiguration) WithLogEmptyRequests(value operatorv1.LoggingPolicy) *AccessLoggingApplyConfiguration
- type AddPageApplyConfiguration
- type AdditionalNetworkDefinitionApplyConfiguration
- func (b *AdditionalNetworkDefinitionApplyConfiguration) WithName(value string) *AdditionalNetworkDefinitionApplyConfiguration
- func (b *AdditionalNetworkDefinitionApplyConfiguration) WithNamespace(value string) *AdditionalNetworkDefinitionApplyConfiguration
- func (b *AdditionalNetworkDefinitionApplyConfiguration) WithRawCNIConfig(value string) *AdditionalNetworkDefinitionApplyConfiguration
- func (b *AdditionalNetworkDefinitionApplyConfiguration) WithSimpleMacvlanConfig(value *SimpleMacvlanConfigApplyConfiguration) *AdditionalNetworkDefinitionApplyConfiguration
- func (b *AdditionalNetworkDefinitionApplyConfiguration) WithType(value operatorv1.NetworkType) *AdditionalNetworkDefinitionApplyConfiguration
- type AdditionalRoutingCapabilitiesApplyConfiguration
- type AuthenticationApplyConfiguration
- func Authentication(name string) *AuthenticationApplyConfiguration
- func ExtractAuthentication(authentication *operatorv1.Authentication, fieldManager string) (*AuthenticationApplyConfiguration, error)
- func ExtractAuthenticationFrom(authentication *operatorv1.Authentication, fieldManager string, ...) (*AuthenticationApplyConfiguration, error)
- func ExtractAuthenticationStatus(authentication *operatorv1.Authentication, fieldManager string) (*AuthenticationApplyConfiguration, error)
- func (b *AuthenticationApplyConfiguration) GetAPIVersion() *string
- func (b *AuthenticationApplyConfiguration) GetKind() *string
- func (b *AuthenticationApplyConfiguration) GetName() *string
- func (b *AuthenticationApplyConfiguration) GetNamespace() *string
- func (b AuthenticationApplyConfiguration) IsApplyConfiguration()
- func (b *AuthenticationApplyConfiguration) WithAPIVersion(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithAnnotations(entries map[string]string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithFinalizers(values ...string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithGenerateName(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithGeneration(value int64) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithKind(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithLabels(entries map[string]string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithName(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithNamespace(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithResourceVersion(value string) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithSpec(value *AuthenticationSpecApplyConfiguration) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithStatus(value *AuthenticationStatusApplyConfiguration) *AuthenticationApplyConfiguration
- func (b *AuthenticationApplyConfiguration) WithUID(value types.UID) *AuthenticationApplyConfiguration
- type AuthenticationSpecApplyConfiguration
- func (b *AuthenticationSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *AuthenticationSpecApplyConfiguration
- func (b *AuthenticationSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *AuthenticationSpecApplyConfiguration
- func (b *AuthenticationSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *AuthenticationSpecApplyConfiguration
- func (b *AuthenticationSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *AuthenticationSpecApplyConfiguration
- func (b *AuthenticationSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *AuthenticationSpecApplyConfiguration
- type AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithOAuthAPIServer(value *OAuthAPIServerStatusApplyConfiguration) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithObservedGeneration(value int64) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithReadyReplicas(value int32) *AuthenticationStatusApplyConfiguration
- func (b *AuthenticationStatusApplyConfiguration) WithVersion(value string) *AuthenticationStatusApplyConfiguration
- type AzureCSIDriverConfigSpecApplyConfiguration
- type AzureDiskEncryptionSetApplyConfiguration
- func (b *AzureDiskEncryptionSetApplyConfiguration) WithName(value string) *AzureDiskEncryptionSetApplyConfiguration
- func (b *AzureDiskEncryptionSetApplyConfiguration) WithResourceGroup(value string) *AzureDiskEncryptionSetApplyConfiguration
- func (b *AzureDiskEncryptionSetApplyConfiguration) WithSubscriptionID(value string) *AzureDiskEncryptionSetApplyConfiguration
- type BGPManagedConfigApplyConfiguration
- type BootImageSkewEnforcementConfigApplyConfiguration
- func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementConfigApplyConfiguration
- func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementConfigMode) *BootImageSkewEnforcementConfigApplyConfiguration
- type BootImageSkewEnforcementStatusApplyConfiguration
- func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithAutomatic(value *ClusterBootImageAutomaticApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration
- func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration
- func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementModeStatus) *BootImageSkewEnforcementStatusApplyConfiguration
- type CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithAWS(value *AWSCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithAzure(value *AzureCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithDriverType(value operatorv1.CSIDriverType) *CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithGCP(value *GCPCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithIBMCloud(value *IBMCloudCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
- func (b *CSIDriverConfigSpecApplyConfiguration) WithVSphere(value *VSphereCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
- type CSISnapshotControllerApplyConfiguration
- func CSISnapshotController(name string) *CSISnapshotControllerApplyConfiguration
- func ExtractCSISnapshotController(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string) (*CSISnapshotControllerApplyConfiguration, error)
- func ExtractCSISnapshotControllerFrom(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string, ...) (*CSISnapshotControllerApplyConfiguration, error)
- func ExtractCSISnapshotControllerStatus(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string) (*CSISnapshotControllerApplyConfiguration, error)
- func (b *CSISnapshotControllerApplyConfiguration) GetAPIVersion() *string
- func (b *CSISnapshotControllerApplyConfiguration) GetKind() *string
- func (b *CSISnapshotControllerApplyConfiguration) GetName() *string
- func (b *CSISnapshotControllerApplyConfiguration) GetNamespace() *string
- func (b CSISnapshotControllerApplyConfiguration) IsApplyConfiguration()
- func (b *CSISnapshotControllerApplyConfiguration) WithAPIVersion(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithAnnotations(entries map[string]string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithFinalizers(values ...string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithGenerateName(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithGeneration(value int64) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithKind(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithLabels(entries map[string]string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithName(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithNamespace(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithResourceVersion(value string) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithSpec(value *CSISnapshotControllerSpecApplyConfiguration) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithStatus(value *CSISnapshotControllerStatusApplyConfiguration) *CSISnapshotControllerApplyConfiguration
- func (b *CSISnapshotControllerApplyConfiguration) WithUID(value types.UID) *CSISnapshotControllerApplyConfiguration
- type CSISnapshotControllerSpecApplyConfiguration
- func (b *CSISnapshotControllerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *CSISnapshotControllerSpecApplyConfiguration
- func (b *CSISnapshotControllerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *CSISnapshotControllerSpecApplyConfiguration
- func (b *CSISnapshotControllerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CSISnapshotControllerSpecApplyConfiguration
- func (b *CSISnapshotControllerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *CSISnapshotControllerSpecApplyConfiguration
- func (b *CSISnapshotControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CSISnapshotControllerSpecApplyConfiguration
- type CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithReadyReplicas(value int32) *CSISnapshotControllerStatusApplyConfiguration
- func (b *CSISnapshotControllerStatusApplyConfiguration) WithVersion(value string) *CSISnapshotControllerStatusApplyConfiguration
- type CapabilityApplyConfiguration
- type CapabilityVisibilityApplyConfiguration
- type ClientTLSApplyConfiguration
- func (b *ClientTLSApplyConfiguration) WithAllowedSubjectPatterns(values ...string) *ClientTLSApplyConfiguration
- func (b *ClientTLSApplyConfiguration) WithClientCA(value configv1.ConfigMapNameReference) *ClientTLSApplyConfiguration
- func (b *ClientTLSApplyConfiguration) WithClientCertificatePolicy(value operatorv1.ClientCertificatePolicy) *ClientTLSApplyConfiguration
- type CloudCredentialApplyConfiguration
- func CloudCredential(name string) *CloudCredentialApplyConfiguration
- func ExtractCloudCredential(cloudCredential *operatorv1.CloudCredential, fieldManager string) (*CloudCredentialApplyConfiguration, error)
- func ExtractCloudCredentialFrom(cloudCredential *operatorv1.CloudCredential, fieldManager string, ...) (*CloudCredentialApplyConfiguration, error)
- func ExtractCloudCredentialStatus(cloudCredential *operatorv1.CloudCredential, fieldManager string) (*CloudCredentialApplyConfiguration, error)
- func (b *CloudCredentialApplyConfiguration) GetAPIVersion() *string
- func (b *CloudCredentialApplyConfiguration) GetKind() *string
- func (b *CloudCredentialApplyConfiguration) GetName() *string
- func (b *CloudCredentialApplyConfiguration) GetNamespace() *string
- func (b CloudCredentialApplyConfiguration) IsApplyConfiguration()
- func (b *CloudCredentialApplyConfiguration) WithAPIVersion(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithAnnotations(entries map[string]string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithFinalizers(values ...string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithGenerateName(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithGeneration(value int64) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithKind(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithLabels(entries map[string]string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithName(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithNamespace(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithResourceVersion(value string) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithSpec(value *CloudCredentialSpecApplyConfiguration) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithStatus(value *CloudCredentialStatusApplyConfiguration) *CloudCredentialApplyConfiguration
- func (b *CloudCredentialApplyConfiguration) WithUID(value types.UID) *CloudCredentialApplyConfiguration
- type CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithCredentialsMode(value operatorv1.CloudCredentialsMode) *CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *CloudCredentialSpecApplyConfiguration
- func (b *CloudCredentialSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CloudCredentialSpecApplyConfiguration
- type CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithObservedGeneration(value int64) *CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithReadyReplicas(value int32) *CloudCredentialStatusApplyConfiguration
- func (b *CloudCredentialStatusApplyConfiguration) WithVersion(value string) *CloudCredentialStatusApplyConfiguration
- type ClusterBootImageAutomaticApplyConfiguration
- type ClusterBootImageManualApplyConfiguration
- func (b *ClusterBootImageManualApplyConfiguration) WithMode(value operatorv1.ClusterBootImageManualMode) *ClusterBootImageManualApplyConfiguration
- func (b *ClusterBootImageManualApplyConfiguration) WithOCPVersion(value string) *ClusterBootImageManualApplyConfiguration
- func (b *ClusterBootImageManualApplyConfiguration) WithRHCOSVersion(value string) *ClusterBootImageManualApplyConfiguration
- type ClusterCSIDriverApplyConfiguration
- func ClusterCSIDriver(name string) *ClusterCSIDriverApplyConfiguration
- func ExtractClusterCSIDriver(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string) (*ClusterCSIDriverApplyConfiguration, error)
- func ExtractClusterCSIDriverFrom(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string, ...) (*ClusterCSIDriverApplyConfiguration, error)
- func ExtractClusterCSIDriverStatus(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string) (*ClusterCSIDriverApplyConfiguration, error)
- func (b *ClusterCSIDriverApplyConfiguration) GetAPIVersion() *string
- func (b *ClusterCSIDriverApplyConfiguration) GetKind() *string
- func (b *ClusterCSIDriverApplyConfiguration) GetName() *string
- func (b *ClusterCSIDriverApplyConfiguration) GetNamespace() *string
- func (b ClusterCSIDriverApplyConfiguration) IsApplyConfiguration()
- func (b *ClusterCSIDriverApplyConfiguration) WithAPIVersion(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithFinalizers(values ...string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithGenerateName(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithGeneration(value int64) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithKind(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithLabels(entries map[string]string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithName(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithNamespace(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithResourceVersion(value string) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithSpec(value *ClusterCSIDriverSpecApplyConfiguration) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithStatus(value *ClusterCSIDriverStatusApplyConfiguration) *ClusterCSIDriverApplyConfiguration
- func (b *ClusterCSIDriverApplyConfiguration) WithUID(value types.UID) *ClusterCSIDriverApplyConfiguration
- type ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithDriverConfig(value *CSIDriverConfigSpecApplyConfiguration) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithStorageClassState(value operatorv1.StorageClassStateName) *ClusterCSIDriverSpecApplyConfiguration
- func (b *ClusterCSIDriverSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ClusterCSIDriverSpecApplyConfiguration
- type ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithObservedGeneration(value int64) *ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithReadyReplicas(value int32) *ClusterCSIDriverStatusApplyConfiguration
- func (b *ClusterCSIDriverStatusApplyConfiguration) WithVersion(value string) *ClusterCSIDriverStatusApplyConfiguration
- type ClusterNetworkEntryApplyConfiguration
- type ConfigApplyConfiguration
- func Config(name string) *ConfigApplyConfiguration
- func ExtractConfig(config *operatorv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
- func ExtractConfigFrom(config *operatorv1.Config, fieldManager string, subresource string) (*ConfigApplyConfiguration, error)
- func ExtractConfigStatus(config *operatorv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
- func (b *ConfigApplyConfiguration) GetAPIVersion() *string
- func (b *ConfigApplyConfiguration) GetKind() *string
- func (b *ConfigApplyConfiguration) GetName() *string
- func (b *ConfigApplyConfiguration) GetNamespace() *string
- func (b ConfigApplyConfiguration) IsApplyConfiguration()
- func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithFinalizers(values ...string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGenerateName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithGeneration(value int64) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithResourceVersion(value string) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
- func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
- type ConfigMapFileReferenceApplyConfiguration
- type ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ConfigSpecApplyConfiguration
- func (b *ConfigSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ConfigSpecApplyConfiguration
- type ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithObservedGeneration(value int64) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithReadyReplicas(value int32) *ConfigStatusApplyConfiguration
- func (b *ConfigStatusApplyConfiguration) WithVersion(value string) *ConfigStatusApplyConfiguration
- type ConsoleApplyConfiguration
- func Console(name string) *ConsoleApplyConfiguration
- func ExtractConsole(console *operatorv1.Console, fieldManager string) (*ConsoleApplyConfiguration, error)
- func ExtractConsoleFrom(console *operatorv1.Console, fieldManager string, subresource string) (*ConsoleApplyConfiguration, error)
- func ExtractConsoleStatus(console *operatorv1.Console, fieldManager string) (*ConsoleApplyConfiguration, error)
- func (b *ConsoleApplyConfiguration) GetAPIVersion() *string
- func (b *ConsoleApplyConfiguration) GetKind() *string
- func (b *ConsoleApplyConfiguration) GetName() *string
- func (b *ConsoleApplyConfiguration) GetNamespace() *string
- func (b ConsoleApplyConfiguration) IsApplyConfiguration()
- func (b *ConsoleApplyConfiguration) WithAPIVersion(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithAnnotations(entries map[string]string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithFinalizers(values ...string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithGenerateName(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithGeneration(value int64) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithKind(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithLabels(entries map[string]string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithName(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithNamespace(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithResourceVersion(value string) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithSpec(value *ConsoleSpecApplyConfiguration) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithStatus(value *ConsoleStatusApplyConfiguration) *ConsoleApplyConfiguration
- func (b *ConsoleApplyConfiguration) WithUID(value types.UID) *ConsoleApplyConfiguration
- type ConsoleConfigRouteApplyConfiguration
- type ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithAddPage(value *AddPageApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithBrand(value operatorv1.Brand) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithCapabilities(values ...*CapabilityApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithCustomLogoFile(value configv1.ConfigMapFileReference) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithCustomProductName(value string) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithDeveloperCatalog(value *DeveloperConsoleCatalogCustomizationApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithDocumentationBaseURL(value string) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithLogos(values ...*LogoApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithPerspectives(values ...*PerspectiveApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithProjectAccess(value *ProjectAccessApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- func (b *ConsoleCustomizationApplyConfiguration) WithQuickStarts(value *QuickStartsApplyConfiguration) *ConsoleCustomizationApplyConfiguration
- type ConsoleProvidersApplyConfiguration
- type ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithCustomization(value *ConsoleCustomizationApplyConfiguration) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithIngress(value *IngressApplyConfiguration) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithPlugins(values ...string) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithProviders(value *ConsoleProvidersApplyConfiguration) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithRoute(value *ConsoleConfigRouteApplyConfiguration) *ConsoleSpecApplyConfiguration
- func (b *ConsoleSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ConsoleSpecApplyConfiguration
- type ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithObservedGeneration(value int64) *ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithReadyReplicas(value int32) *ConsoleStatusApplyConfiguration
- func (b *ConsoleStatusApplyConfiguration) WithVersion(value string) *ConsoleStatusApplyConfiguration
- type ContainerLoggingDestinationParametersApplyConfiguration
- type DNSApplyConfiguration
- func DNS(name string) *DNSApplyConfiguration
- func ExtractDNS(dNS *operatorv1.DNS, fieldManager string) (*DNSApplyConfiguration, error)
- func ExtractDNSFrom(dNS *operatorv1.DNS, fieldManager string, subresource string) (*DNSApplyConfiguration, error)
- func ExtractDNSStatus(dNS *operatorv1.DNS, fieldManager string) (*DNSApplyConfiguration, error)
- func (b *DNSApplyConfiguration) GetAPIVersion() *string
- func (b *DNSApplyConfiguration) GetKind() *string
- func (b *DNSApplyConfiguration) GetName() *string
- func (b *DNSApplyConfiguration) GetNamespace() *string
- func (b DNSApplyConfiguration) IsApplyConfiguration()
- func (b *DNSApplyConfiguration) WithAPIVersion(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithAnnotations(entries map[string]string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithFinalizers(values ...string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithGenerateName(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithGeneration(value int64) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithKind(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithLabels(entries map[string]string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithName(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithNamespace(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithResourceVersion(value string) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithSpec(value *DNSSpecApplyConfiguration) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithStatus(value *DNSStatusApplyConfiguration) *DNSApplyConfiguration
- func (b *DNSApplyConfiguration) WithUID(value types.UID) *DNSApplyConfiguration
- type DNSCacheApplyConfiguration
- type DNSNodePlacementApplyConfiguration
- type DNSOverTLSConfigApplyConfiguration
- type DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithCache(value *DNSCacheApplyConfiguration) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithLogLevel(value operatorv1.DNSLogLevel) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithNodePlacement(value *DNSNodePlacementApplyConfiguration) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.DNSLogLevel) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithServers(values ...*ServerApplyConfiguration) *DNSSpecApplyConfiguration
- func (b *DNSSpecApplyConfiguration) WithUpstreamResolvers(value *UpstreamResolversApplyConfiguration) *DNSSpecApplyConfiguration
- type DNSStatusApplyConfiguration
- func (b *DNSStatusApplyConfiguration) WithClusterDomain(value string) *DNSStatusApplyConfiguration
- func (b *DNSStatusApplyConfiguration) WithClusterIP(value string) *DNSStatusApplyConfiguration
- func (b *DNSStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *DNSStatusApplyConfiguration
- type DNSTransportConfigApplyConfiguration
- type DefaultNetworkDefinitionApplyConfiguration
- func (b *DefaultNetworkDefinitionApplyConfiguration) WithOVNKubernetesConfig(value *OVNKubernetesConfigApplyConfiguration) *DefaultNetworkDefinitionApplyConfiguration
- func (b *DefaultNetworkDefinitionApplyConfiguration) WithOpenShiftSDNConfig(value *OpenShiftSDNConfigApplyConfiguration) *DefaultNetworkDefinitionApplyConfiguration
- func (b *DefaultNetworkDefinitionApplyConfiguration) WithType(value operatorv1.NetworkType) *DefaultNetworkDefinitionApplyConfiguration
- type DeveloperConsoleCatalogCategoryApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithID(value string) *DeveloperConsoleCatalogCategoryApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithLabel(value string) *DeveloperConsoleCatalogCategoryApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithSubcategories(values ...*DeveloperConsoleCatalogCategoryMetaApplyConfiguration) *DeveloperConsoleCatalogCategoryApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithTags(values ...string) *DeveloperConsoleCatalogCategoryApplyConfiguration
- type DeveloperConsoleCatalogCategoryMetaApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithID(value string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithLabel(value string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
- func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithTags(values ...string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
- type DeveloperConsoleCatalogCustomizationApplyConfiguration
- func (b *DeveloperConsoleCatalogCustomizationApplyConfiguration) WithCategories(values ...*DeveloperConsoleCatalogCategoryApplyConfiguration) *DeveloperConsoleCatalogCustomizationApplyConfiguration
- func (b *DeveloperConsoleCatalogCustomizationApplyConfiguration) WithTypes(value *DeveloperConsoleCatalogTypesApplyConfiguration) *DeveloperConsoleCatalogCustomizationApplyConfiguration
- type DeveloperConsoleCatalogTypesApplyConfiguration
- func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithDisabled(value []string) *DeveloperConsoleCatalogTypesApplyConfiguration
- func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithEnabled(value []string) *DeveloperConsoleCatalogTypesApplyConfiguration
- func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithState(value operatorv1.CatalogTypesState) *DeveloperConsoleCatalogTypesApplyConfiguration
- type EgressIPConfigApplyConfiguration
- type EndpointPublishingStrategyApplyConfiguration
- func (b *EndpointPublishingStrategyApplyConfiguration) WithHostNetwork(value *HostNetworkStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
- func (b *EndpointPublishingStrategyApplyConfiguration) WithLoadBalancer(value *LoadBalancerStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
- func (b *EndpointPublishingStrategyApplyConfiguration) WithNodePort(value *NodePortStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
- func (b *EndpointPublishingStrategyApplyConfiguration) WithPrivate(value *PrivateStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
- func (b *EndpointPublishingStrategyApplyConfiguration) WithType(value operatorv1.EndpointPublishingStrategyType) *EndpointPublishingStrategyApplyConfiguration
- type EtcdApplyConfiguration
- func Etcd(name string) *EtcdApplyConfiguration
- func ExtractEtcd(etcd *operatorv1.Etcd, fieldManager string) (*EtcdApplyConfiguration, error)
- func ExtractEtcdFrom(etcd *operatorv1.Etcd, fieldManager string, subresource string) (*EtcdApplyConfiguration, error)
- func ExtractEtcdStatus(etcd *operatorv1.Etcd, fieldManager string) (*EtcdApplyConfiguration, error)
- func (b *EtcdApplyConfiguration) GetAPIVersion() *string
- func (b *EtcdApplyConfiguration) GetKind() *string
- func (b *EtcdApplyConfiguration) GetName() *string
- func (b *EtcdApplyConfiguration) GetNamespace() *string
- func (b EtcdApplyConfiguration) IsApplyConfiguration()
- func (b *EtcdApplyConfiguration) WithAPIVersion(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithAnnotations(entries map[string]string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithFinalizers(values ...string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithGenerateName(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithGeneration(value int64) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithKind(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithLabels(entries map[string]string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithName(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithNamespace(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithResourceVersion(value string) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithSpec(value *EtcdSpecApplyConfiguration) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithStatus(value *EtcdStatusApplyConfiguration) *EtcdApplyConfiguration
- func (b *EtcdApplyConfiguration) WithUID(value types.UID) *EtcdApplyConfiguration
- type EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithBackendQuotaGiB(value int32) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithForceRedeploymentReason(value string) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithHardwareSpeed(value operatorv1.ControlPlaneHardwareSpeed) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *EtcdSpecApplyConfiguration
- func (b *EtcdSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *EtcdSpecApplyConfiguration
- type EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithHardwareSpeed(value operatorv1.ControlPlaneHardwareSpeed) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithObservedGeneration(value int64) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithReadyReplicas(value int32) *EtcdStatusApplyConfiguration
- func (b *EtcdStatusApplyConfiguration) WithVersion(value string) *EtcdStatusApplyConfiguration
- type ExportNetworkFlowsApplyConfiguration
- func (b *ExportNetworkFlowsApplyConfiguration) WithIPFIX(value *IPFIXConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
- func (b *ExportNetworkFlowsApplyConfiguration) WithNetFlow(value *NetFlowConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
- func (b *ExportNetworkFlowsApplyConfiguration) WithSFlow(value *SFlowConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
- type FeaturesMigrationApplyConfiguration
- func (b *FeaturesMigrationApplyConfiguration) WithEgressFirewall(value bool) *FeaturesMigrationApplyConfiguration
- func (b *FeaturesMigrationApplyConfiguration) WithEgressIP(value bool) *FeaturesMigrationApplyConfiguration
- func (b *FeaturesMigrationApplyConfiguration) WithMulticast(value bool) *FeaturesMigrationApplyConfiguration
- type FileReferenceSourceApplyConfiguration
- type ForwardPluginApplyConfiguration
- func (b *ForwardPluginApplyConfiguration) WithPolicy(value operatorv1.ForwardingPolicy) *ForwardPluginApplyConfiguration
- func (b *ForwardPluginApplyConfiguration) WithProtocolStrategy(value operatorv1.ProtocolStrategy) *ForwardPluginApplyConfiguration
- func (b *ForwardPluginApplyConfiguration) WithTransportConfig(value *DNSTransportConfigApplyConfiguration) *ForwardPluginApplyConfiguration
- func (b *ForwardPluginApplyConfiguration) WithUpstreams(values ...string) *ForwardPluginApplyConfiguration
- type GCPCSIDriverConfigSpecApplyConfiguration
- type GCPKMSKeyReferenceApplyConfiguration
- func (b *GCPKMSKeyReferenceApplyConfiguration) WithKeyRing(value string) *GCPKMSKeyReferenceApplyConfiguration
- func (b *GCPKMSKeyReferenceApplyConfiguration) WithLocation(value string) *GCPKMSKeyReferenceApplyConfiguration
- func (b *GCPKMSKeyReferenceApplyConfiguration) WithName(value string) *GCPKMSKeyReferenceApplyConfiguration
- func (b *GCPKMSKeyReferenceApplyConfiguration) WithProjectID(value string) *GCPKMSKeyReferenceApplyConfiguration
- type GCPLoadBalancerParametersApplyConfiguration
- type GatewayConfigApplyConfiguration
- func (b *GatewayConfigApplyConfiguration) WithIPForwarding(value operatorv1.IPForwardingMode) *GatewayConfigApplyConfiguration
- func (b *GatewayConfigApplyConfiguration) WithIPv4(value *IPv4GatewayConfigApplyConfiguration) *GatewayConfigApplyConfiguration
- func (b *GatewayConfigApplyConfiguration) WithIPv6(value *IPv6GatewayConfigApplyConfiguration) *GatewayConfigApplyConfiguration
- func (b *GatewayConfigApplyConfiguration) WithRoutingViaHost(value bool) *GatewayConfigApplyConfiguration
- type GatherStatusApplyConfiguration
- func (b *GatherStatusApplyConfiguration) WithGatherers(values ...*GathererStatusApplyConfiguration) *GatherStatusApplyConfiguration
- func (b *GatherStatusApplyConfiguration) WithLastGatherDuration(value metav1.Duration) *GatherStatusApplyConfiguration
- func (b *GatherStatusApplyConfiguration) WithLastGatherTime(value metav1.Time) *GatherStatusApplyConfiguration
- type GathererStatusApplyConfiguration
- func (b *GathererStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *GathererStatusApplyConfiguration
- func (b *GathererStatusApplyConfiguration) WithLastGatherDuration(value apismetav1.Duration) *GathererStatusApplyConfiguration
- func (b *GathererStatusApplyConfiguration) WithName(value string) *GathererStatusApplyConfiguration
- type GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithGroup(value string) *GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithHash(value string) *GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithLastGeneration(value int64) *GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithName(value string) *GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithNamespace(value string) *GenerationStatusApplyConfiguration
- func (b *GenerationStatusApplyConfiguration) WithResource(value string) *GenerationStatusApplyConfiguration
- type HTTPCompressionPolicyApplyConfiguration
- type HealthCheckApplyConfiguration
- func (b *HealthCheckApplyConfiguration) WithAdvisorURI(value string) *HealthCheckApplyConfiguration
- func (b *HealthCheckApplyConfiguration) WithDescription(value string) *HealthCheckApplyConfiguration
- func (b *HealthCheckApplyConfiguration) WithState(value operatorv1.HealthCheckState) *HealthCheckApplyConfiguration
- func (b *HealthCheckApplyConfiguration) WithTotalRisk(value int32) *HealthCheckApplyConfiguration
- type HostNetworkStrategyApplyConfiguration
- func (b *HostNetworkStrategyApplyConfiguration) WithHTTPPort(value int32) *HostNetworkStrategyApplyConfiguration
- func (b *HostNetworkStrategyApplyConfiguration) WithHTTPSPort(value int32) *HostNetworkStrategyApplyConfiguration
- func (b *HostNetworkStrategyApplyConfiguration) WithProtocol(value operatorv1.IngressControllerProtocol) *HostNetworkStrategyApplyConfiguration
- func (b *HostNetworkStrategyApplyConfiguration) WithStatsPort(value int32) *HostNetworkStrategyApplyConfiguration
- type HybridOverlayConfigApplyConfiguration
- type IBMCloudCSIDriverConfigSpecApplyConfiguration
- type IBMLoadBalancerParametersApplyConfiguration
- type IPAMConfigApplyConfiguration
- type IPFIXConfigApplyConfiguration
- type IPsecConfigApplyConfiguration
- type IPsecFullModeConfigApplyConfiguration
- type IPv4GatewayConfigApplyConfiguration
- type IPv4OVNKubernetesConfigApplyConfiguration
- type IPv6GatewayConfigApplyConfiguration
- type IPv6OVNKubernetesConfigApplyConfiguration
- type IngressApplyConfiguration
- type IngressControllerApplyConfiguration
- func ExtractIngressController(ingressController *operatorv1.IngressController, fieldManager string) (*IngressControllerApplyConfiguration, error)
- func ExtractIngressControllerFrom(ingressController *operatorv1.IngressController, fieldManager string, ...) (*IngressControllerApplyConfiguration, error)
- func ExtractIngressControllerStatus(ingressController *operatorv1.IngressController, fieldManager string) (*IngressControllerApplyConfiguration, error)
- func IngressController(name, namespace string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) GetAPIVersion() *string
- func (b *IngressControllerApplyConfiguration) GetKind() *string
- func (b *IngressControllerApplyConfiguration) GetName() *string
- func (b *IngressControllerApplyConfiguration) GetNamespace() *string
- func (b IngressControllerApplyConfiguration) IsApplyConfiguration()
- func (b *IngressControllerApplyConfiguration) WithAPIVersion(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithAnnotations(entries map[string]string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithFinalizers(values ...string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithGenerateName(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithGeneration(value int64) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithKind(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithLabels(entries map[string]string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithName(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithNamespace(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithResourceVersion(value string) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithSpec(value *IngressControllerSpecApplyConfiguration) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithStatus(value *IngressControllerStatusApplyConfiguration) *IngressControllerApplyConfiguration
- func (b *IngressControllerApplyConfiguration) WithUID(value types.UID) *IngressControllerApplyConfiguration
- type IngressControllerCaptureHTTPCookieApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithMatchType(value operatorv1.CookieMatchType) *IngressControllerCaptureHTTPCookieApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithMaxLength(value int) *IngressControllerCaptureHTTPCookieApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithName(value string) *IngressControllerCaptureHTTPCookieApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithNamePrefix(value string) *IngressControllerCaptureHTTPCookieApplyConfiguration
- type IngressControllerCaptureHTTPCookieUnionApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithMatchType(value operatorv1.CookieMatchType) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithName(value string) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
- func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithNamePrefix(value string) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
- type IngressControllerCaptureHTTPHeaderApplyConfiguration
- type IngressControllerCaptureHTTPHeadersApplyConfiguration
- func (b *IngressControllerCaptureHTTPHeadersApplyConfiguration) WithRequest(values ...*IngressControllerCaptureHTTPHeaderApplyConfiguration) *IngressControllerCaptureHTTPHeadersApplyConfiguration
- func (b *IngressControllerCaptureHTTPHeadersApplyConfiguration) WithResponse(values ...*IngressControllerCaptureHTTPHeaderApplyConfiguration) *IngressControllerCaptureHTTPHeadersApplyConfiguration
- type IngressControllerHTTPHeaderActionUnionApplyConfiguration
- func (b *IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithSet(value *IngressControllerSetHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionUnionApplyConfiguration
- func (b *IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithType(value operatorv1.IngressControllerHTTPHeaderActionType) *IngressControllerHTTPHeaderActionUnionApplyConfiguration
- type IngressControllerHTTPHeaderActionsApplyConfiguration
- func (b *IngressControllerHTTPHeaderActionsApplyConfiguration) WithRequest(values ...*IngressControllerHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionsApplyConfiguration
- func (b *IngressControllerHTTPHeaderActionsApplyConfiguration) WithResponse(values ...*IngressControllerHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionsApplyConfiguration
- type IngressControllerHTTPHeaderApplyConfiguration
- func (b *IngressControllerHTTPHeaderApplyConfiguration) WithAction(value *IngressControllerHTTPHeaderActionUnionApplyConfiguration) *IngressControllerHTTPHeaderApplyConfiguration
- func (b *IngressControllerHTTPHeaderApplyConfiguration) WithName(value string) *IngressControllerHTTPHeaderApplyConfiguration
- type IngressControllerHTTPHeadersApplyConfiguration
- func (b *IngressControllerHTTPHeadersApplyConfiguration) WithActions(value *IngressControllerHTTPHeaderActionsApplyConfiguration) *IngressControllerHTTPHeadersApplyConfiguration
- func (b *IngressControllerHTTPHeadersApplyConfiguration) WithForwardedHeaderPolicy(value operatorv1.IngressControllerHTTPHeaderPolicy) *IngressControllerHTTPHeadersApplyConfiguration
- func (b *IngressControllerHTTPHeadersApplyConfiguration) WithHeaderNameCaseAdjustments(values ...operatorv1.IngressControllerHTTPHeaderNameCaseAdjustment) *IngressControllerHTTPHeadersApplyConfiguration
- func (b *IngressControllerHTTPHeadersApplyConfiguration) WithUniqueId(value *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) *IngressControllerHTTPHeadersApplyConfiguration
- type IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
- func (b *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithFormat(value string) *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
- func (b *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithName(value string) *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
- type IngressControllerLoggingApplyConfiguration
- type IngressControllerSetHTTPHeaderApplyConfiguration
- type IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithClientTLS(value *ClientTLSApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithClosedClientConnectionPolicy(value operatorv1.IngressControllerClosedClientConnectionPolicy) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithDefaultCertificate(value corev1.LocalObjectReference) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithDomain(value string) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithEndpointPublishingStrategy(value *EndpointPublishingStrategyApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithHTTPCompression(value *HTTPCompressionPolicyApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithHTTPEmptyRequestsPolicy(value operatorv1.HTTPEmptyRequestsPolicy) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithHTTPHeaders(value *IngressControllerHTTPHeadersApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithHttpErrorCodePages(value configv1.ConfigMapNameReference) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithIdleConnectionTerminationPolicy(value operatorv1.IngressControllerConnectionTerminationPolicy) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithLogging(value *IngressControllerLoggingApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithNodePlacement(value *NodePlacementApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithReplicas(value int32) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithRouteAdmission(value *RouteAdmissionPolicyApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithRouteSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithTLSSecurityProfile(value configv1.TLSSecurityProfile) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithTuningOptions(value *IngressControllerTuningOptionsApplyConfiguration) *IngressControllerSpecApplyConfiguration
- func (b *IngressControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *IngressControllerSpecApplyConfiguration
- type IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithAvailableReplicas(value int32) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithDomain(value string) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithEndpointPublishingStrategy(value *EndpointPublishingStrategyApplyConfiguration) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithRouteSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithSelector(value string) *IngressControllerStatusApplyConfiguration
- func (b *IngressControllerStatusApplyConfiguration) WithTLSProfile(value configv1.TLSProfileSpec) *IngressControllerStatusApplyConfiguration
- type IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithClientFinTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithClientTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithConfigurationManagement(value operatorv1.IngressControllerConfigurationManagement) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithConnectTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithHTTPKeepAliveTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferBytes(value int32) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferMaxRewriteBytes(value int32) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithHealthCheckInterval(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithMaxConnections(value int32) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithReloadInterval(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithServerFinTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithServerTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithTLSInspectDelay(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithThreadCount(value int32) *IngressControllerTuningOptionsApplyConfiguration
- func (b *IngressControllerTuningOptionsApplyConfiguration) WithTunnelTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
- type InsightsOperatorApplyConfiguration
- func ExtractInsightsOperator(insightsOperator *operatorv1.InsightsOperator, fieldManager string) (*InsightsOperatorApplyConfiguration, error)
- func ExtractInsightsOperatorFrom(insightsOperator *operatorv1.InsightsOperator, fieldManager string, ...) (*InsightsOperatorApplyConfiguration, error)
- func ExtractInsightsOperatorStatus(insightsOperator *operatorv1.InsightsOperator, fieldManager string) (*InsightsOperatorApplyConfiguration, error)
- func InsightsOperator(name string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) GetAPIVersion() *string
- func (b *InsightsOperatorApplyConfiguration) GetKind() *string
- func (b *InsightsOperatorApplyConfiguration) GetName() *string
- func (b *InsightsOperatorApplyConfiguration) GetNamespace() *string
- func (b InsightsOperatorApplyConfiguration) IsApplyConfiguration()
- func (b *InsightsOperatorApplyConfiguration) WithAPIVersion(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithAnnotations(entries map[string]string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithFinalizers(values ...string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithGenerateName(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithGeneration(value int64) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithKind(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithLabels(entries map[string]string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithName(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithNamespace(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithResourceVersion(value string) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithSpec(value *InsightsOperatorSpecApplyConfiguration) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithStatus(value *InsightsOperatorStatusApplyConfiguration) *InsightsOperatorApplyConfiguration
- func (b *InsightsOperatorApplyConfiguration) WithUID(value types.UID) *InsightsOperatorApplyConfiguration
- type InsightsOperatorSpecApplyConfiguration
- func (b *InsightsOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *InsightsOperatorSpecApplyConfiguration
- func (b *InsightsOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *InsightsOperatorSpecApplyConfiguration
- func (b *InsightsOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *InsightsOperatorSpecApplyConfiguration
- func (b *InsightsOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *InsightsOperatorSpecApplyConfiguration
- func (b *InsightsOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *InsightsOperatorSpecApplyConfiguration
- type InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithGatherStatus(value *GatherStatusApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithInsightsReport(value *InsightsReportApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *InsightsOperatorStatusApplyConfiguration
- func (b *InsightsOperatorStatusApplyConfiguration) WithVersion(value string) *InsightsOperatorStatusApplyConfiguration
- type InsightsReportApplyConfiguration
- type IrreconcilableValidationOverridesApplyConfiguration
- type KubeAPIServerApplyConfiguration
- func ExtractKubeAPIServer(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string) (*KubeAPIServerApplyConfiguration, error)
- func ExtractKubeAPIServerFrom(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string, ...) (*KubeAPIServerApplyConfiguration, error)
- func ExtractKubeAPIServerStatus(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string) (*KubeAPIServerApplyConfiguration, error)
- func KubeAPIServer(name string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) GetAPIVersion() *string
- func (b *KubeAPIServerApplyConfiguration) GetKind() *string
- func (b *KubeAPIServerApplyConfiguration) GetName() *string
- func (b *KubeAPIServerApplyConfiguration) GetNamespace() *string
- func (b KubeAPIServerApplyConfiguration) IsApplyConfiguration()
- func (b *KubeAPIServerApplyConfiguration) WithAPIVersion(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithFinalizers(values ...string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithGenerateName(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithGeneration(value int64) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithKind(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithLabels(entries map[string]string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithName(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithNamespace(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithResourceVersion(value string) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithSpec(value *KubeAPIServerSpecApplyConfiguration) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithStatus(value *KubeAPIServerStatusApplyConfiguration) *KubeAPIServerApplyConfiguration
- func (b *KubeAPIServerApplyConfiguration) WithUID(value types.UID) *KubeAPIServerApplyConfiguration
- type KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithEventTTLMinutes(value int32) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeAPIServerSpecApplyConfiguration
- func (b *KubeAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeAPIServerSpecApplyConfiguration
- type KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithServiceAccountIssuers(values ...*ServiceAccountIssuerStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
- func (b *KubeAPIServerStatusApplyConfiguration) WithVersion(value string) *KubeAPIServerStatusApplyConfiguration
- type KubeControllerManagerApplyConfiguration
- func ExtractKubeControllerManager(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string) (*KubeControllerManagerApplyConfiguration, error)
- func ExtractKubeControllerManagerFrom(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string, ...) (*KubeControllerManagerApplyConfiguration, error)
- func ExtractKubeControllerManagerStatus(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string) (*KubeControllerManagerApplyConfiguration, error)
- func KubeControllerManager(name string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) GetAPIVersion() *string
- func (b *KubeControllerManagerApplyConfiguration) GetKind() *string
- func (b *KubeControllerManagerApplyConfiguration) GetName() *string
- func (b *KubeControllerManagerApplyConfiguration) GetNamespace() *string
- func (b KubeControllerManagerApplyConfiguration) IsApplyConfiguration()
- func (b *KubeControllerManagerApplyConfiguration) WithAPIVersion(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithFinalizers(values ...string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithGenerateName(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithGeneration(value int64) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithKind(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithName(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithNamespace(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithResourceVersion(value string) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithSpec(value *KubeControllerManagerSpecApplyConfiguration) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithStatus(value *KubeControllerManagerStatusApplyConfiguration) *KubeControllerManagerApplyConfiguration
- func (b *KubeControllerManagerApplyConfiguration) WithUID(value types.UID) *KubeControllerManagerApplyConfiguration
- type KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeControllerManagerSpecApplyConfiguration
- func (b *KubeControllerManagerSpecApplyConfiguration) WithUseMoreSecureServiceCA(value bool) *KubeControllerManagerSpecApplyConfiguration
- type KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeControllerManagerStatusApplyConfiguration
- func (b *KubeControllerManagerStatusApplyConfiguration) WithVersion(value string) *KubeControllerManagerStatusApplyConfiguration
- type KubeSchedulerApplyConfiguration
- func ExtractKubeScheduler(kubeScheduler *operatorv1.KubeScheduler, fieldManager string) (*KubeSchedulerApplyConfiguration, error)
- func ExtractKubeSchedulerFrom(kubeScheduler *operatorv1.KubeScheduler, fieldManager string, ...) (*KubeSchedulerApplyConfiguration, error)
- func ExtractKubeSchedulerStatus(kubeScheduler *operatorv1.KubeScheduler, fieldManager string) (*KubeSchedulerApplyConfiguration, error)
- func KubeScheduler(name string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) GetAPIVersion() *string
- func (b *KubeSchedulerApplyConfiguration) GetKind() *string
- func (b *KubeSchedulerApplyConfiguration) GetName() *string
- func (b *KubeSchedulerApplyConfiguration) GetNamespace() *string
- func (b KubeSchedulerApplyConfiguration) IsApplyConfiguration()
- func (b *KubeSchedulerApplyConfiguration) WithAPIVersion(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithFinalizers(values ...string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithGenerateName(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithGeneration(value int64) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithKind(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithLabels(entries map[string]string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithName(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithNamespace(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithResourceVersion(value string) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithSpec(value *KubeSchedulerSpecApplyConfiguration) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithStatus(value *KubeSchedulerStatusApplyConfiguration) *KubeSchedulerApplyConfiguration
- func (b *KubeSchedulerApplyConfiguration) WithUID(value types.UID) *KubeSchedulerApplyConfiguration
- type KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeSchedulerSpecApplyConfiguration
- func (b *KubeSchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeSchedulerSpecApplyConfiguration
- type KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeSchedulerStatusApplyConfiguration
- func (b *KubeSchedulerStatusApplyConfiguration) WithVersion(value string) *KubeSchedulerStatusApplyConfiguration
- type KubeStorageVersionMigratorApplyConfiguration
- func ExtractKubeStorageVersionMigrator(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, ...) (*KubeStorageVersionMigratorApplyConfiguration, error)
- func ExtractKubeStorageVersionMigratorFrom(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, ...) (*KubeStorageVersionMigratorApplyConfiguration, error)
- func ExtractKubeStorageVersionMigratorStatus(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, ...) (*KubeStorageVersionMigratorApplyConfiguration, error)
- func KubeStorageVersionMigrator(name string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) GetAPIVersion() *string
- func (b *KubeStorageVersionMigratorApplyConfiguration) GetKind() *string
- func (b *KubeStorageVersionMigratorApplyConfiguration) GetName() *string
- func (b *KubeStorageVersionMigratorApplyConfiguration) GetNamespace() *string
- func (b KubeStorageVersionMigratorApplyConfiguration) IsApplyConfiguration()
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithAPIVersion(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithAnnotations(entries map[string]string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithFinalizers(values ...string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithGenerateName(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithGeneration(value int64) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithKind(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithLabels(entries map[string]string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithName(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithNamespace(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithResourceVersion(value string) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithSpec(value *KubeStorageVersionMigratorSpecApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithStatus(value *KubeStorageVersionMigratorStatusApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
- func (b *KubeStorageVersionMigratorApplyConfiguration) WithUID(value types.UID) *KubeStorageVersionMigratorApplyConfiguration
- type KubeStorageVersionMigratorSpecApplyConfiguration
- func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeStorageVersionMigratorSpecApplyConfiguration
- func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeStorageVersionMigratorSpecApplyConfiguration
- func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeStorageVersionMigratorSpecApplyConfiguration
- func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeStorageVersionMigratorSpecApplyConfiguration
- func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeStorageVersionMigratorSpecApplyConfiguration
- type KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeStorageVersionMigratorStatusApplyConfiguration
- func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithVersion(value string) *KubeStorageVersionMigratorStatusApplyConfiguration
- type LoadBalancerStrategyApplyConfiguration
- func (b *LoadBalancerStrategyApplyConfiguration) WithAllowedSourceRanges(values ...operatorv1.CIDR) *LoadBalancerStrategyApplyConfiguration
- func (b *LoadBalancerStrategyApplyConfiguration) WithDNSManagementPolicy(value operatorv1.LoadBalancerDNSManagementPolicy) *LoadBalancerStrategyApplyConfiguration
- func (b *LoadBalancerStrategyApplyConfiguration) WithProviderParameters(value *ProviderLoadBalancerParametersApplyConfiguration) *LoadBalancerStrategyApplyConfiguration
- func (b *LoadBalancerStrategyApplyConfiguration) WithScope(value operatorv1.LoadBalancerScope) *LoadBalancerStrategyApplyConfiguration
- type LoggingDestinationApplyConfiguration
- func (b *LoggingDestinationApplyConfiguration) WithContainer(value *ContainerLoggingDestinationParametersApplyConfiguration) *LoggingDestinationApplyConfiguration
- func (b *LoggingDestinationApplyConfiguration) WithSyslog(value *SyslogLoggingDestinationParametersApplyConfiguration) *LoggingDestinationApplyConfiguration
- func (b *LoggingDestinationApplyConfiguration) WithType(value operatorv1.LoggingDestinationType) *LoggingDestinationApplyConfiguration
- type LogoApplyConfiguration
- type MTUMigrationApplyConfiguration
- type MTUMigrationValuesApplyConfiguration
- type MachineConfigurationApplyConfiguration
- func ExtractMachineConfiguration(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string) (*MachineConfigurationApplyConfiguration, error)
- func ExtractMachineConfigurationFrom(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string, ...) (*MachineConfigurationApplyConfiguration, error)
- func ExtractMachineConfigurationStatus(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string) (*MachineConfigurationApplyConfiguration, error)
- func MachineConfiguration(name string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) GetAPIVersion() *string
- func (b *MachineConfigurationApplyConfiguration) GetKind() *string
- func (b *MachineConfigurationApplyConfiguration) GetName() *string
- func (b *MachineConfigurationApplyConfiguration) GetNamespace() *string
- func (b MachineConfigurationApplyConfiguration) IsApplyConfiguration()
- func (b *MachineConfigurationApplyConfiguration) WithAPIVersion(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithAnnotations(entries map[string]string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithFinalizers(values ...string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithGenerateName(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithGeneration(value int64) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithKind(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithLabels(entries map[string]string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithName(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithNamespace(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithResourceVersion(value string) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithSpec(value *MachineConfigurationSpecApplyConfiguration) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithStatus(value *MachineConfigurationStatusApplyConfiguration) *MachineConfigurationApplyConfiguration
- func (b *MachineConfigurationApplyConfiguration) WithUID(value types.UID) *MachineConfigurationApplyConfiguration
- type MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithBootImageSkewEnforcement(value *BootImageSkewEnforcementConfigApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithForceRedeploymentReason(value string) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithIrreconcilableValidationOverrides(value *IrreconcilableValidationOverridesApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithManagedBootImages(value *ManagedBootImagesApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithNodeDisruptionPolicy(value *NodeDisruptionPolicyConfigApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *MachineConfigurationSpecApplyConfiguration
- func (b *MachineConfigurationSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *MachineConfigurationSpecApplyConfiguration
- type MachineConfigurationStatusApplyConfiguration
- func (b *MachineConfigurationStatusApplyConfiguration) WithBootImageSkewEnforcementStatus(value *BootImageSkewEnforcementStatusApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
- func (b *MachineConfigurationStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
- func (b *MachineConfigurationStatusApplyConfiguration) WithManagedBootImagesStatus(value *ManagedBootImagesApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
- func (b *MachineConfigurationStatusApplyConfiguration) WithNodeDisruptionPolicyStatus(value *NodeDisruptionPolicyStatusApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
- func (b *MachineConfigurationStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineConfigurationStatusApplyConfiguration
- type MachineManagerApplyConfiguration
- func (b *MachineManagerApplyConfiguration) WithAPIGroup(value operatorv1.MachineManagerMachineSetsAPIGroupType) *MachineManagerApplyConfiguration
- func (b *MachineManagerApplyConfiguration) WithResource(value operatorv1.MachineManagerMachineSetsResourceType) *MachineManagerApplyConfiguration
- func (b *MachineManagerApplyConfiguration) WithSelection(value *MachineManagerSelectorApplyConfiguration) *MachineManagerApplyConfiguration
- type MachineManagerSelectorApplyConfiguration
- type ManagedBootImagesApplyConfiguration
- type NetFlowConfigApplyConfiguration
- type NetworkApplyConfiguration
- func ExtractNetwork(network *operatorv1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
- func ExtractNetworkFrom(network *operatorv1.Network, fieldManager string, subresource string) (*NetworkApplyConfiguration, error)
- func ExtractNetworkStatus(network *operatorv1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
- func Network(name string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) GetAPIVersion() *string
- func (b *NetworkApplyConfiguration) GetKind() *string
- func (b *NetworkApplyConfiguration) GetName() *string
- func (b *NetworkApplyConfiguration) GetNamespace() *string
- func (b NetworkApplyConfiguration) IsApplyConfiguration()
- func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
- func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
- type NetworkMigrationApplyConfiguration
- func (b *NetworkMigrationApplyConfiguration) WithFeatures(value *FeaturesMigrationApplyConfiguration) *NetworkMigrationApplyConfiguration
- func (b *NetworkMigrationApplyConfiguration) WithMTU(value *MTUMigrationApplyConfiguration) *NetworkMigrationApplyConfiguration
- func (b *NetworkMigrationApplyConfiguration) WithMode(value operatorv1.NetworkMigrationMode) *NetworkMigrationApplyConfiguration
- func (b *NetworkMigrationApplyConfiguration) WithNetworkType(value string) *NetworkMigrationApplyConfiguration
- type NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithAdditionalNetworks(values ...*AdditionalNetworkDefinitionApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithAdditionalRoutingCapabilities(value *AdditionalRoutingCapabilitiesApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithClusterNetwork(values ...*ClusterNetworkEntryApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithDefaultNetwork(value *DefaultNetworkDefinitionApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithDeployKubeProxy(value bool) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithDisableMultiNetwork(value bool) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithDisableNetworkDiagnostics(value bool) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithExportNetworkFlows(value *ExportNetworkFlowsApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithKubeProxyConfig(value *ProxyConfigApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithMigration(value *NetworkMigrationApplyConfiguration) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithServiceNetwork(values ...string) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *NetworkSpecApplyConfiguration
- func (b *NetworkSpecApplyConfiguration) WithUseMultiNetworkPolicy(value bool) *NetworkSpecApplyConfiguration
- type NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithReadyReplicas(value int32) *NetworkStatusApplyConfiguration
- func (b *NetworkStatusApplyConfiguration) WithVersion(value string) *NetworkStatusApplyConfiguration
- type NoOverlayConfigApplyConfiguration
- type NodeDisruptionPolicyClusterStatusApplyConfiguration
- func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithFiles(values ...*NodeDisruptionPolicyStatusFileApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
- func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithSSHKey(value *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
- func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithUnits(values ...*NodeDisruptionPolicyStatusUnitApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
- type NodeDisruptionPolicyConfigApplyConfiguration
- func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithFiles(values ...*NodeDisruptionPolicySpecFileApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
- func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithSSHKey(value *NodeDisruptionPolicySpecSSHKeyApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
- func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithUnits(values ...*NodeDisruptionPolicySpecUnitApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
- type NodeDisruptionPolicySpecActionApplyConfiguration
- func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithReload(value *ReloadServiceApplyConfiguration) *NodeDisruptionPolicySpecActionApplyConfiguration
- func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithRestart(value *RestartServiceApplyConfiguration) *NodeDisruptionPolicySpecActionApplyConfiguration
- func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithType(value operatorv1.NodeDisruptionPolicySpecActionType) *NodeDisruptionPolicySpecActionApplyConfiguration
- type NodeDisruptionPolicySpecFileApplyConfiguration
- func (b *NodeDisruptionPolicySpecFileApplyConfiguration) WithActions(values ...*NodeDisruptionPolicySpecActionApplyConfiguration) *NodeDisruptionPolicySpecFileApplyConfiguration
- func (b *NodeDisruptionPolicySpecFileApplyConfiguration) WithPath(value string) *NodeDisruptionPolicySpecFileApplyConfiguration
- type NodeDisruptionPolicySpecSSHKeyApplyConfiguration
- type NodeDisruptionPolicySpecUnitApplyConfiguration
- func (b *NodeDisruptionPolicySpecUnitApplyConfiguration) WithActions(values ...*NodeDisruptionPolicySpecActionApplyConfiguration) *NodeDisruptionPolicySpecUnitApplyConfiguration
- func (b *NodeDisruptionPolicySpecUnitApplyConfiguration) WithName(value operatorv1.NodeDisruptionPolicyServiceName) *NodeDisruptionPolicySpecUnitApplyConfiguration
- type NodeDisruptionPolicyStatusActionApplyConfiguration
- func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithReload(value *ReloadServiceApplyConfiguration) *NodeDisruptionPolicyStatusActionApplyConfiguration
- func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithRestart(value *RestartServiceApplyConfiguration) *NodeDisruptionPolicyStatusActionApplyConfiguration
- func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithType(value operatorv1.NodeDisruptionPolicyStatusActionType) *NodeDisruptionPolicyStatusActionApplyConfiguration
- type NodeDisruptionPolicyStatusApplyConfiguration
- type NodeDisruptionPolicyStatusFileApplyConfiguration
- func (b *NodeDisruptionPolicyStatusFileApplyConfiguration) WithActions(values ...*NodeDisruptionPolicyStatusActionApplyConfiguration) *NodeDisruptionPolicyStatusFileApplyConfiguration
- func (b *NodeDisruptionPolicyStatusFileApplyConfiguration) WithPath(value string) *NodeDisruptionPolicyStatusFileApplyConfiguration
- type NodeDisruptionPolicyStatusSSHKeyApplyConfiguration
- type NodeDisruptionPolicyStatusUnitApplyConfiguration
- func (b *NodeDisruptionPolicyStatusUnitApplyConfiguration) WithActions(values ...*NodeDisruptionPolicyStatusActionApplyConfiguration) *NodeDisruptionPolicyStatusUnitApplyConfiguration
- func (b *NodeDisruptionPolicyStatusUnitApplyConfiguration) WithName(value operatorv1.NodeDisruptionPolicyServiceName) *NodeDisruptionPolicyStatusUnitApplyConfiguration
- type NodePlacementApplyConfiguration
- type NodePortStrategyApplyConfiguration
- type NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithCurrentRevision(value int32) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFailedCount(value int) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFailedReason(value string) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFailedRevision(value int32) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFailedRevisionErrors(values ...string) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFailedTime(value metav1.Time) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithLastFallbackCount(value int) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithNodeName(value string) *NodeStatusApplyConfiguration
- func (b *NodeStatusApplyConfiguration) WithTargetRevision(value int32) *NodeStatusApplyConfiguration
- type OAuthAPIServerStatusApplyConfiguration
- type OLMApplyConfiguration
- func ExtractOLM(oLM *operatorv1.OLM, fieldManager string) (*OLMApplyConfiguration, error)
- func ExtractOLMFrom(oLM *operatorv1.OLM, fieldManager string, subresource string) (*OLMApplyConfiguration, error)
- func ExtractOLMStatus(oLM *operatorv1.OLM, fieldManager string) (*OLMApplyConfiguration, error)
- func OLM(name string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) GetAPIVersion() *string
- func (b *OLMApplyConfiguration) GetKind() *string
- func (b *OLMApplyConfiguration) GetName() *string
- func (b *OLMApplyConfiguration) GetNamespace() *string
- func (b OLMApplyConfiguration) IsApplyConfiguration()
- func (b *OLMApplyConfiguration) WithAPIVersion(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithAnnotations(entries map[string]string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithFinalizers(values ...string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithGenerateName(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithGeneration(value int64) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithKind(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithLabels(entries map[string]string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithName(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithNamespace(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithResourceVersion(value string) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithSpec(value *OLMSpecApplyConfiguration) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithStatus(value *OLMStatusApplyConfiguration) *OLMApplyConfiguration
- func (b *OLMApplyConfiguration) WithUID(value types.UID) *OLMApplyConfiguration
- type OLMSpecApplyConfiguration
- func (b *OLMSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OLMSpecApplyConfiguration
- func (b *OLMSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OLMSpecApplyConfiguration
- func (b *OLMSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OLMSpecApplyConfiguration
- func (b *OLMSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OLMSpecApplyConfiguration
- func (b *OLMSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OLMSpecApplyConfiguration
- type OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithObservedGeneration(value int64) *OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithReadyReplicas(value int32) *OLMStatusApplyConfiguration
- func (b *OLMStatusApplyConfiguration) WithVersion(value string) *OLMStatusApplyConfiguration
- type OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithBGPManagedConfig(value *BGPManagedConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithEgressIPConfig(value *EgressIPConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithGatewayConfig(value *GatewayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithGenevePort(value uint32) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithHybridOverlayConfig(value *HybridOverlayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithIPsecConfig(value *IPsecConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithIPv4(value *IPv4OVNKubernetesConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithIPv6(value *IPv6OVNKubernetesConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithMTU(value uint32) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithNoOverlayConfig(value *NoOverlayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithPolicyAuditConfig(value *PolicyAuditConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithRouteAdvertisements(value operatorv1.RouteAdvertisementsEnablement) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithTransport(value operatorv1.TransportOption) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithV4InternalSubnet(value string) *OVNKubernetesConfigApplyConfiguration
- func (b *OVNKubernetesConfigApplyConfiguration) WithV6InternalSubnet(value string) *OVNKubernetesConfigApplyConfiguration
- type OpenShiftAPIServerApplyConfiguration
- func ExtractOpenShiftAPIServer(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string) (*OpenShiftAPIServerApplyConfiguration, error)
- func ExtractOpenShiftAPIServerFrom(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string, ...) (*OpenShiftAPIServerApplyConfiguration, error)
- func ExtractOpenShiftAPIServerStatus(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string) (*OpenShiftAPIServerApplyConfiguration, error)
- func OpenShiftAPIServer(name string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) GetAPIVersion() *string
- func (b *OpenShiftAPIServerApplyConfiguration) GetKind() *string
- func (b *OpenShiftAPIServerApplyConfiguration) GetName() *string
- func (b *OpenShiftAPIServerApplyConfiguration) GetNamespace() *string
- func (b OpenShiftAPIServerApplyConfiguration) IsApplyConfiguration()
- func (b *OpenShiftAPIServerApplyConfiguration) WithAPIVersion(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithFinalizers(values ...string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithGenerateName(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithGeneration(value int64) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithKind(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithLabels(entries map[string]string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithName(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithNamespace(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithResourceVersion(value string) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithSpec(value *OpenShiftAPIServerSpecApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithStatus(value *OpenShiftAPIServerStatusApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
- func (b *OpenShiftAPIServerApplyConfiguration) WithUID(value types.UID) *OpenShiftAPIServerApplyConfiguration
- type OpenShiftAPIServerSpecApplyConfiguration
- func (b *OpenShiftAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OpenShiftAPIServerSpecApplyConfiguration
- func (b *OpenShiftAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OpenShiftAPIServerSpecApplyConfiguration
- func (b *OpenShiftAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OpenShiftAPIServerSpecApplyConfiguration
- func (b *OpenShiftAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OpenShiftAPIServerSpecApplyConfiguration
- func (b *OpenShiftAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OpenShiftAPIServerSpecApplyConfiguration
- type OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *OpenShiftAPIServerStatusApplyConfiguration
- func (b *OpenShiftAPIServerStatusApplyConfiguration) WithVersion(value string) *OpenShiftAPIServerStatusApplyConfiguration
- type OpenShiftControllerManagerApplyConfiguration
- func ExtractOpenShiftControllerManager(openShiftControllerManager *operatorv1.OpenShiftControllerManager, ...) (*OpenShiftControllerManagerApplyConfiguration, error)
- func ExtractOpenShiftControllerManagerFrom(openShiftControllerManager *operatorv1.OpenShiftControllerManager, ...) (*OpenShiftControllerManagerApplyConfiguration, error)
- func ExtractOpenShiftControllerManagerStatus(openShiftControllerManager *operatorv1.OpenShiftControllerManager, ...) (*OpenShiftControllerManagerApplyConfiguration, error)
- func OpenShiftControllerManager(name string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) GetAPIVersion() *string
- func (b *OpenShiftControllerManagerApplyConfiguration) GetKind() *string
- func (b *OpenShiftControllerManagerApplyConfiguration) GetName() *string
- func (b *OpenShiftControllerManagerApplyConfiguration) GetNamespace() *string
- func (b OpenShiftControllerManagerApplyConfiguration) IsApplyConfiguration()
- func (b *OpenShiftControllerManagerApplyConfiguration) WithAPIVersion(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithFinalizers(values ...string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithGenerateName(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithGeneration(value int64) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithKind(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithName(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithNamespace(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithResourceVersion(value string) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithSpec(value *OpenShiftControllerManagerSpecApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithStatus(value *OpenShiftControllerManagerStatusApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
- func (b *OpenShiftControllerManagerApplyConfiguration) WithUID(value types.UID) *OpenShiftControllerManagerApplyConfiguration
- type OpenShiftControllerManagerSpecApplyConfiguration
- func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OpenShiftControllerManagerSpecApplyConfiguration
- func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OpenShiftControllerManagerSpecApplyConfiguration
- func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OpenShiftControllerManagerSpecApplyConfiguration
- func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OpenShiftControllerManagerSpecApplyConfiguration
- func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OpenShiftControllerManagerSpecApplyConfiguration
- type OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *OpenShiftControllerManagerStatusApplyConfiguration
- func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithVersion(value string) *OpenShiftControllerManagerStatusApplyConfiguration
- type OpenShiftSDNConfigApplyConfiguration
- func (b *OpenShiftSDNConfigApplyConfiguration) WithEnableUnidling(value bool) *OpenShiftSDNConfigApplyConfiguration
- func (b *OpenShiftSDNConfigApplyConfiguration) WithMTU(value uint32) *OpenShiftSDNConfigApplyConfiguration
- func (b *OpenShiftSDNConfigApplyConfiguration) WithMode(value operatorv1.SDNMode) *OpenShiftSDNConfigApplyConfiguration
- func (b *OpenShiftSDNConfigApplyConfiguration) WithUseExternalOpenvswitch(value bool) *OpenShiftSDNConfigApplyConfiguration
- func (b *OpenShiftSDNConfigApplyConfiguration) WithVXLANPort(value uint32) *OpenShiftSDNConfigApplyConfiguration
- type OpenStackLoadBalancerParametersApplyConfiguration
- type OperatorConditionApplyConfiguration
- func (b *OperatorConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *OperatorConditionApplyConfiguration
- func (b *OperatorConditionApplyConfiguration) WithMessage(value string) *OperatorConditionApplyConfiguration
- func (b *OperatorConditionApplyConfiguration) WithReason(value string) *OperatorConditionApplyConfiguration
- func (b *OperatorConditionApplyConfiguration) WithStatus(value operatorv1.ConditionStatus) *OperatorConditionApplyConfiguration
- func (b *OperatorConditionApplyConfiguration) WithType(value string) *OperatorConditionApplyConfiguration
- type OperatorSpecApplyConfiguration
- func (b *OperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OperatorSpecApplyConfiguration
- func (b *OperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OperatorSpecApplyConfiguration
- func (b *OperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OperatorSpecApplyConfiguration
- func (b *OperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OperatorSpecApplyConfiguration
- func (b *OperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OperatorSpecApplyConfiguration
- type OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *OperatorStatusApplyConfiguration
- func (b *OperatorStatusApplyConfiguration) WithVersion(value string) *OperatorStatusApplyConfiguration
- type PartialSelectorApplyConfiguration
- type PerspectiveApplyConfiguration
- func (b *PerspectiveApplyConfiguration) WithID(value string) *PerspectiveApplyConfiguration
- func (b *PerspectiveApplyConfiguration) WithPinnedResources(values ...*PinnedResourceReferenceApplyConfiguration) *PerspectiveApplyConfiguration
- func (b *PerspectiveApplyConfiguration) WithVisibility(value *PerspectiveVisibilityApplyConfiguration) *PerspectiveApplyConfiguration
- type PerspectiveVisibilityApplyConfiguration
- func (b *PerspectiveVisibilityApplyConfiguration) WithAccessReview(value *ResourceAttributesAccessReviewApplyConfiguration) *PerspectiveVisibilityApplyConfiguration
- func (b *PerspectiveVisibilityApplyConfiguration) WithState(value operatorv1.PerspectiveState) *PerspectiveVisibilityApplyConfiguration
- type PinnedResourceReferenceApplyConfiguration
- func (b *PinnedResourceReferenceApplyConfiguration) WithGroup(value string) *PinnedResourceReferenceApplyConfiguration
- func (b *PinnedResourceReferenceApplyConfiguration) WithResource(value string) *PinnedResourceReferenceApplyConfiguration
- func (b *PinnedResourceReferenceApplyConfiguration) WithVersion(value string) *PinnedResourceReferenceApplyConfiguration
- type PolicyAuditConfigApplyConfiguration
- func (b *PolicyAuditConfigApplyConfiguration) WithDestination(value string) *PolicyAuditConfigApplyConfiguration
- func (b *PolicyAuditConfigApplyConfiguration) WithMaxFileSize(value uint32) *PolicyAuditConfigApplyConfiguration
- func (b *PolicyAuditConfigApplyConfiguration) WithMaxLogFiles(value int32) *PolicyAuditConfigApplyConfiguration
- func (b *PolicyAuditConfigApplyConfiguration) WithRateLimit(value uint32) *PolicyAuditConfigApplyConfiguration
- func (b *PolicyAuditConfigApplyConfiguration) WithSyslogFacility(value string) *PolicyAuditConfigApplyConfiguration
- type PrivateStrategyApplyConfiguration
- type ProjectAccessApplyConfiguration
- type ProviderLoadBalancerParametersApplyConfiguration
- func (b *ProviderLoadBalancerParametersApplyConfiguration) WithAWS(value *AWSLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
- func (b *ProviderLoadBalancerParametersApplyConfiguration) WithGCP(value *GCPLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
- func (b *ProviderLoadBalancerParametersApplyConfiguration) WithIBM(value *IBMLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
- func (b *ProviderLoadBalancerParametersApplyConfiguration) WithOpenStack(value *OpenStackLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
- func (b *ProviderLoadBalancerParametersApplyConfiguration) WithType(value operatorv1.LoadBalancerProviderType) *ProviderLoadBalancerParametersApplyConfiguration
- type ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithBindAddress(value string) *ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithIptablesSyncPeriod(value string) *ProxyConfigApplyConfiguration
- func (b *ProxyConfigApplyConfiguration) WithProxyArguments(entries map[string]operatorv1.ProxyArgumentList) *ProxyConfigApplyConfiguration
- type QuickStartsApplyConfiguration
- type ReloadServiceApplyConfiguration
- type ResourceAttributesAccessReviewApplyConfiguration
- func (b *ResourceAttributesAccessReviewApplyConfiguration) WithMissing(values ...authorizationv1.ResourceAttributes) *ResourceAttributesAccessReviewApplyConfiguration
- func (b *ResourceAttributesAccessReviewApplyConfiguration) WithRequired(values ...authorizationv1.ResourceAttributes) *ResourceAttributesAccessReviewApplyConfiguration
- type RestartServiceApplyConfiguration
- type RouteAdmissionPolicyApplyConfiguration
- type SFlowConfigApplyConfiguration
- type ServerApplyConfiguration
- type ServiceAccountIssuerStatusApplyConfiguration
- type ServiceCAApplyConfiguration
- func ExtractServiceCA(serviceCA *operatorv1.ServiceCA, fieldManager string) (*ServiceCAApplyConfiguration, error)
- func ExtractServiceCAFrom(serviceCA *operatorv1.ServiceCA, fieldManager string, subresource string) (*ServiceCAApplyConfiguration, error)
- func ExtractServiceCAStatus(serviceCA *operatorv1.ServiceCA, fieldManager string) (*ServiceCAApplyConfiguration, error)
- func ServiceCA(name string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) GetAPIVersion() *string
- func (b *ServiceCAApplyConfiguration) GetKind() *string
- func (b *ServiceCAApplyConfiguration) GetName() *string
- func (b *ServiceCAApplyConfiguration) GetNamespace() *string
- func (b ServiceCAApplyConfiguration) IsApplyConfiguration()
- func (b *ServiceCAApplyConfiguration) WithAPIVersion(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithFinalizers(values ...string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithGenerateName(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithGeneration(value int64) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithKind(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithLabels(entries map[string]string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithName(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithNamespace(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithResourceVersion(value string) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithSpec(value *ServiceCASpecApplyConfiguration) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithStatus(value *ServiceCAStatusApplyConfiguration) *ServiceCAApplyConfiguration
- func (b *ServiceCAApplyConfiguration) WithUID(value types.UID) *ServiceCAApplyConfiguration
- type ServiceCASpecApplyConfiguration
- func (b *ServiceCASpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCASpecApplyConfiguration
- func (b *ServiceCASpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCASpecApplyConfiguration
- func (b *ServiceCASpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCASpecApplyConfiguration
- func (b *ServiceCASpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCASpecApplyConfiguration
- func (b *ServiceCASpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCASpecApplyConfiguration
- type ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCAStatusApplyConfiguration
- func (b *ServiceCAStatusApplyConfiguration) WithVersion(value string) *ServiceCAStatusApplyConfiguration
- type ServiceCatalogAPIServerApplyConfiguration
- func ExtractServiceCatalogAPIServer(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, ...) (*ServiceCatalogAPIServerApplyConfiguration, error)
- func ExtractServiceCatalogAPIServerFrom(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, ...) (*ServiceCatalogAPIServerApplyConfiguration, error)
- func ExtractServiceCatalogAPIServerStatus(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, ...) (*ServiceCatalogAPIServerApplyConfiguration, error)
- func ServiceCatalogAPIServer(name string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) GetAPIVersion() *string
- func (b *ServiceCatalogAPIServerApplyConfiguration) GetKind() *string
- func (b *ServiceCatalogAPIServerApplyConfiguration) GetName() *string
- func (b *ServiceCatalogAPIServerApplyConfiguration) GetNamespace() *string
- func (b ServiceCatalogAPIServerApplyConfiguration) IsApplyConfiguration()
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithAPIVersion(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithFinalizers(values ...string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithGenerateName(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithGeneration(value int64) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithKind(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithLabels(entries map[string]string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithName(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithNamespace(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithResourceVersion(value string) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithSpec(value *ServiceCatalogAPIServerSpecApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithStatus(value *ServiceCatalogAPIServerStatusApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
- func (b *ServiceCatalogAPIServerApplyConfiguration) WithUID(value types.UID) *ServiceCatalogAPIServerApplyConfiguration
- type ServiceCatalogAPIServerSpecApplyConfiguration
- func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCatalogAPIServerSpecApplyConfiguration
- func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCatalogAPIServerSpecApplyConfiguration
- func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCatalogAPIServerSpecApplyConfiguration
- func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCatalogAPIServerSpecApplyConfiguration
- func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCatalogAPIServerSpecApplyConfiguration
- type ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCatalogAPIServerStatusApplyConfiguration
- func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithVersion(value string) *ServiceCatalogAPIServerStatusApplyConfiguration
- type ServiceCatalogControllerManagerApplyConfiguration
- func ExtractServiceCatalogControllerManager(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, ...) (*ServiceCatalogControllerManagerApplyConfiguration, error)
- func ExtractServiceCatalogControllerManagerFrom(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, ...) (*ServiceCatalogControllerManagerApplyConfiguration, error)
- func ExtractServiceCatalogControllerManagerStatus(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, ...) (*ServiceCatalogControllerManagerApplyConfiguration, error)
- func ServiceCatalogControllerManager(name string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) GetAPIVersion() *string
- func (b *ServiceCatalogControllerManagerApplyConfiguration) GetKind() *string
- func (b *ServiceCatalogControllerManagerApplyConfiguration) GetName() *string
- func (b *ServiceCatalogControllerManagerApplyConfiguration) GetNamespace() *string
- func (b ServiceCatalogControllerManagerApplyConfiguration) IsApplyConfiguration()
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithAPIVersion(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithFinalizers(values ...string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithGenerateName(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithGeneration(value int64) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithKind(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithName(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithNamespace(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithResourceVersion(value string) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithSpec(value *ServiceCatalogControllerManagerSpecApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithStatus(value *ServiceCatalogControllerManagerStatusApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
- func (b *ServiceCatalogControllerManagerApplyConfiguration) WithUID(value types.UID) *ServiceCatalogControllerManagerApplyConfiguration
- type ServiceCatalogControllerManagerSpecApplyConfiguration
- func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCatalogControllerManagerSpecApplyConfiguration
- func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCatalogControllerManagerSpecApplyConfiguration
- func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCatalogControllerManagerSpecApplyConfiguration
- func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCatalogControllerManagerSpecApplyConfiguration
- func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCatalogControllerManagerSpecApplyConfiguration
- type ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCatalogControllerManagerStatusApplyConfiguration
- func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithVersion(value string) *ServiceCatalogControllerManagerStatusApplyConfiguration
- type SimpleMacvlanConfigApplyConfiguration
- func (b *SimpleMacvlanConfigApplyConfiguration) WithIPAMConfig(value *IPAMConfigApplyConfiguration) *SimpleMacvlanConfigApplyConfiguration
- func (b *SimpleMacvlanConfigApplyConfiguration) WithMTU(value uint32) *SimpleMacvlanConfigApplyConfiguration
- func (b *SimpleMacvlanConfigApplyConfiguration) WithMaster(value string) *SimpleMacvlanConfigApplyConfiguration
- func (b *SimpleMacvlanConfigApplyConfiguration) WithMode(value operatorv1.MacvlanMode) *SimpleMacvlanConfigApplyConfiguration
- type StaticIPAMAddressesApplyConfiguration
- type StaticIPAMConfigApplyConfiguration
- func (b *StaticIPAMConfigApplyConfiguration) WithAddresses(values ...*StaticIPAMAddressesApplyConfiguration) *StaticIPAMConfigApplyConfiguration
- func (b *StaticIPAMConfigApplyConfiguration) WithDNS(value *StaticIPAMDNSApplyConfiguration) *StaticIPAMConfigApplyConfiguration
- func (b *StaticIPAMConfigApplyConfiguration) WithRoutes(values ...*StaticIPAMRoutesApplyConfiguration) *StaticIPAMConfigApplyConfiguration
- type StaticIPAMDNSApplyConfiguration
- func (b *StaticIPAMDNSApplyConfiguration) WithDomain(value string) *StaticIPAMDNSApplyConfiguration
- func (b *StaticIPAMDNSApplyConfiguration) WithNameservers(values ...string) *StaticIPAMDNSApplyConfiguration
- func (b *StaticIPAMDNSApplyConfiguration) WithSearch(values ...string) *StaticIPAMDNSApplyConfiguration
- type StaticIPAMRoutesApplyConfiguration
- type StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithForceRedeploymentReason(value string) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *StaticPodOperatorSpecApplyConfiguration
- func (b *StaticPodOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *StaticPodOperatorSpecApplyConfiguration
- type StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *StaticPodOperatorStatusApplyConfiguration
- func (b *StaticPodOperatorStatusApplyConfiguration) WithVersion(value string) *StaticPodOperatorStatusApplyConfiguration
- type StatuspageProviderApplyConfiguration
- type StorageApplyConfiguration
- func ExtractStorage(storage *operatorv1.Storage, fieldManager string) (*StorageApplyConfiguration, error)
- func ExtractStorageFrom(storage *operatorv1.Storage, fieldManager string, subresource string) (*StorageApplyConfiguration, error)
- func ExtractStorageStatus(storage *operatorv1.Storage, fieldManager string) (*StorageApplyConfiguration, error)
- func Storage(name string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) GetAPIVersion() *string
- func (b *StorageApplyConfiguration) GetKind() *string
- func (b *StorageApplyConfiguration) GetName() *string
- func (b *StorageApplyConfiguration) GetNamespace() *string
- func (b StorageApplyConfiguration) IsApplyConfiguration()
- func (b *StorageApplyConfiguration) WithAPIVersion(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithAnnotations(entries map[string]string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithFinalizers(values ...string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithGenerateName(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithGeneration(value int64) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithKind(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithLabels(entries map[string]string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithName(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithNamespace(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithResourceVersion(value string) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithSpec(value *StorageSpecApplyConfiguration) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithStatus(value *StorageStatusApplyConfiguration) *StorageApplyConfiguration
- func (b *StorageApplyConfiguration) WithUID(value types.UID) *StorageApplyConfiguration
- type StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *StorageSpecApplyConfiguration
- func (b *StorageSpecApplyConfiguration) WithVSphereStorageDriver(value operatorv1.StorageDriverType) *StorageSpecApplyConfiguration
- type StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithObservedGeneration(value int64) *StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithReadyReplicas(value int32) *StorageStatusApplyConfiguration
- func (b *StorageStatusApplyConfiguration) WithVersion(value string) *StorageStatusApplyConfiguration
- type SyslogLoggingDestinationParametersApplyConfiguration
- func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithAddress(value string) *SyslogLoggingDestinationParametersApplyConfiguration
- func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithFacility(value string) *SyslogLoggingDestinationParametersApplyConfiguration
- func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithMaxLength(value uint32) *SyslogLoggingDestinationParametersApplyConfiguration
- func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithPort(value uint32) *SyslogLoggingDestinationParametersApplyConfiguration
- type ThemeApplyConfiguration
- type UpstreamApplyConfiguration
- type UpstreamResolversApplyConfiguration
- func (b *UpstreamResolversApplyConfiguration) WithPolicy(value operatorv1.ForwardingPolicy) *UpstreamResolversApplyConfiguration
- func (b *UpstreamResolversApplyConfiguration) WithProtocolStrategy(value operatorv1.ProtocolStrategy) *UpstreamResolversApplyConfiguration
- func (b *UpstreamResolversApplyConfiguration) WithTransportConfig(value *DNSTransportConfigApplyConfiguration) *UpstreamResolversApplyConfiguration
- func (b *UpstreamResolversApplyConfiguration) WithUpstreams(values ...*UpstreamApplyConfiguration) *UpstreamResolversApplyConfiguration
- type VSphereCSIDriverConfigSpecApplyConfiguration
- func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGlobalMaxSnapshotsPerBlockVolume(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
- func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVSAN(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
- func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVVOL(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
- func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithMaxAllowedBlockVolumesPerNode(value int32) *VSphereCSIDriverConfigSpecApplyConfiguration
- func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithTopologyCategories(values ...string) *VSphereCSIDriverConfigSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCSIDriverConfigSpecApplyConfiguration ¶
type AWSCSIDriverConfigSpecApplyConfiguration struct {
// kmsKeyARN sets the cluster default storage class to encrypt volumes with a user-defined KMS key,
// rather than the default KMS key used by AWS.
// The value may be either the ARN or Alias ARN of a KMS key.
//
// The ARN must follow the format: arn:<partition>:kms:<region>:<account-id>:(key|alias)/<key-id-or-alias>, where:
// <partition> is the AWS partition (aws, aws-cn, aws-us-gov, aws-iso, aws-iso-b, aws-iso-e, aws-iso-f, or aws-eusc),
// <region> is the AWS region,
// <account-id> is a 12-digit numeric identifier for the AWS account,
// <key-id-or-alias> is the KMS key ID or alias name.
KMSKeyARN *string `json:"kmsKeyARN,omitempty"`
// efsVolumeMetrics sets the configuration for collecting metrics from EFS volumes used by the EFS CSI Driver.
EFSVolumeMetrics *AWSEFSVolumeMetricsApplyConfiguration `json:"efsVolumeMetrics,omitempty"`
}
AWSCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the AWSCSIDriverConfigSpec type for use with apply.
AWSCSIDriverConfigSpec defines properties that can be configured for the AWS CSI driver.
func AWSCSIDriverConfigSpec ¶
func AWSCSIDriverConfigSpec() *AWSCSIDriverConfigSpecApplyConfiguration
AWSCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the AWSCSIDriverConfigSpec type for use with apply.
func (*AWSCSIDriverConfigSpecApplyConfiguration) WithEFSVolumeMetrics ¶
func (b *AWSCSIDriverConfigSpecApplyConfiguration) WithEFSVolumeMetrics(value *AWSEFSVolumeMetricsApplyConfiguration) *AWSCSIDriverConfigSpecApplyConfiguration
WithEFSVolumeMetrics sets the EFSVolumeMetrics field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EFSVolumeMetrics field is set to the value of the last call.
func (*AWSCSIDriverConfigSpecApplyConfiguration) WithKMSKeyARN ¶
func (b *AWSCSIDriverConfigSpecApplyConfiguration) WithKMSKeyARN(value string) *AWSCSIDriverConfigSpecApplyConfiguration
WithKMSKeyARN sets the KMSKeyARN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KMSKeyARN field is set to the value of the last call.
type AWSClassicLoadBalancerParametersApplyConfiguration ¶
type AWSClassicLoadBalancerParametersApplyConfiguration struct {
// connectionIdleTimeout specifies the maximum time period that a
// connection may be idle before the load balancer closes the
// connection. The value must be parseable as a time duration value;
// see <https://pkg.go.dev/time#ParseDuration>. A nil or zero value
// means no opinion, in which case a default value is used. The default
// value for this field is 60s. This default is subject to change.
ConnectionIdleTimeout *metav1.Duration `json:"connectionIdleTimeout,omitempty"`
// subnets specifies the subnets to which the load balancer will
// attach. The subnets may be specified by either their
// ID or name. The total number of subnets is limited to 10.
//
// In order for the load balancer to be provisioned with subnets,
// each subnet must exist, each subnet must be from a different
// availability zone, and the load balancer service must be
// recreated to pick up new values.
//
// When omitted from the spec, the subnets will be auto-discovered
// for each availability zone. Auto-discovered subnets are not reported
// in the status of the IngressController object.
Subnets *AWSSubnetsApplyConfiguration `json:"subnets,omitempty"`
}
AWSClassicLoadBalancerParametersApplyConfiguration represents a declarative configuration of the AWSClassicLoadBalancerParameters type for use with apply.
AWSClassicLoadBalancerParameters holds configuration parameters for an AWS Classic load balancer.
func AWSClassicLoadBalancerParameters ¶
func AWSClassicLoadBalancerParameters() *AWSClassicLoadBalancerParametersApplyConfiguration
AWSClassicLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the AWSClassicLoadBalancerParameters type for use with apply.
func (*AWSClassicLoadBalancerParametersApplyConfiguration) WithConnectionIdleTimeout ¶
func (b *AWSClassicLoadBalancerParametersApplyConfiguration) WithConnectionIdleTimeout(value metav1.Duration) *AWSClassicLoadBalancerParametersApplyConfiguration
WithConnectionIdleTimeout sets the ConnectionIdleTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConnectionIdleTimeout field is set to the value of the last call.
func (*AWSClassicLoadBalancerParametersApplyConfiguration) WithSubnets ¶
func (b *AWSClassicLoadBalancerParametersApplyConfiguration) WithSubnets(value *AWSSubnetsApplyConfiguration) *AWSClassicLoadBalancerParametersApplyConfiguration
WithSubnets sets the Subnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subnets field is set to the value of the last call.
type AWSEFSVolumeMetricsApplyConfiguration ¶
type AWSEFSVolumeMetricsApplyConfiguration struct {
// state defines the state of metric collection in the AWS EFS CSI Driver.
// This field is required and must be set to one of the following values: Disabled or RecursiveWalk.
// Disabled means no metrics collection will be performed. This is the default value.
// RecursiveWalk means the AWS EFS CSI Driver will recursively scan volumes to collect metrics.
// This process may result in high CPU and memory usage, depending on the volume size.
State *operatorv1.AWSEFSVolumeMetricsState `json:"state,omitempty"`
// recursiveWalk provides additional configuration for collecting volume metrics in the AWS EFS CSI Driver
// when the state is set to RecursiveWalk.
RecursiveWalk *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration `json:"recursiveWalk,omitempty"`
}
AWSEFSVolumeMetricsApplyConfiguration represents a declarative configuration of the AWSEFSVolumeMetrics type for use with apply.
AWSEFSVolumeMetrics defines the configuration for volume metrics in the EFS CSI Driver.
func AWSEFSVolumeMetrics ¶
func AWSEFSVolumeMetrics() *AWSEFSVolumeMetricsApplyConfiguration
AWSEFSVolumeMetricsApplyConfiguration constructs a declarative configuration of the AWSEFSVolumeMetrics type for use with apply.
func (*AWSEFSVolumeMetricsApplyConfiguration) WithRecursiveWalk ¶
func (b *AWSEFSVolumeMetricsApplyConfiguration) WithRecursiveWalk(value *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) *AWSEFSVolumeMetricsApplyConfiguration
WithRecursiveWalk sets the RecursiveWalk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RecursiveWalk field is set to the value of the last call.
func (*AWSEFSVolumeMetricsApplyConfiguration) WithState ¶
func (b *AWSEFSVolumeMetricsApplyConfiguration) WithState(value operatorv1.AWSEFSVolumeMetricsState) *AWSEFSVolumeMetricsApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration ¶
type AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration struct {
// refreshPeriodMinutes specifies the frequency, in minutes, at which volume metrics are refreshed.
// When omitted, this means no opinion and the platform is left to choose a reasonable
// default, which is subject to change over time. The current default is 240.
// The valid range is from 1 to 43200 minutes (30 days).
RefreshPeriodMinutes *int32 `json:"refreshPeriodMinutes,omitempty"`
// fsRateLimit defines the rate limit, in goroutines per file system, for processing volume metrics.
// When omitted, this means no opinion and the platform is left to choose a reasonable
// default, which is subject to change over time. The current default is 5.
// The valid range is from 1 to 100 goroutines.
FSRateLimit *int32 `json:"fsRateLimit,omitempty"`
}
AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration represents a declarative configuration of the AWSEFSVolumeMetricsRecursiveWalkConfig type for use with apply.
AWSEFSVolumeMetricsRecursiveWalkConfig defines options for volume metrics in the EFS CSI Driver.
func AWSEFSVolumeMetricsRecursiveWalkConfig ¶
func AWSEFSVolumeMetricsRecursiveWalkConfig() *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration constructs a declarative configuration of the AWSEFSVolumeMetricsRecursiveWalkConfig type for use with apply.
func (*AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithFSRateLimit ¶
func (b *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithFSRateLimit(value int32) *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
WithFSRateLimit sets the FSRateLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FSRateLimit field is set to the value of the last call.
func (*AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithRefreshPeriodMinutes ¶
func (b *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration) WithRefreshPeriodMinutes(value int32) *AWSEFSVolumeMetricsRecursiveWalkConfigApplyConfiguration
WithRefreshPeriodMinutes sets the RefreshPeriodMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RefreshPeriodMinutes field is set to the value of the last call.
type AWSLoadBalancerParametersApplyConfiguration ¶
type AWSLoadBalancerParametersApplyConfiguration struct {
// type is the type of AWS load balancer to instantiate for an ingresscontroller.
//
// Valid values are:
//
// * "Classic": A Classic Load Balancer that makes routing decisions at either
// the transport layer (TCP/SSL) or the application layer (HTTP/HTTPS). See
// the following for additional details:
//
// https://docs.aws.amazon.com/AmazonECS/latest/developerguide/load-balancer-types.html#clb
//
// * "NLB": A Network Load Balancer that makes routing decisions at the
// transport layer (TCP/SSL). See the following for additional details:
//
// https://docs.aws.amazon.com/AmazonECS/latest/developerguide/load-balancer-types.html#nlb
Type *operatorv1.AWSLoadBalancerType `json:"type,omitempty"`
// classicLoadBalancerParameters holds configuration parameters for an AWS
// classic load balancer. Present only if type is Classic.
ClassicLoadBalancerParameters *AWSClassicLoadBalancerParametersApplyConfiguration `json:"classicLoadBalancer,omitempty"`
// networkLoadBalancerParameters holds configuration parameters for an AWS
// network load balancer. Present only if type is NLB.
NetworkLoadBalancerParameters *AWSNetworkLoadBalancerParametersApplyConfiguration `json:"networkLoadBalancer,omitempty"`
}
AWSLoadBalancerParametersApplyConfiguration represents a declarative configuration of the AWSLoadBalancerParameters type for use with apply.
AWSLoadBalancerParameters provides configuration settings that are specific to AWS load balancers.
func AWSLoadBalancerParameters ¶
func AWSLoadBalancerParameters() *AWSLoadBalancerParametersApplyConfiguration
AWSLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the AWSLoadBalancerParameters type for use with apply.
func (*AWSLoadBalancerParametersApplyConfiguration) WithClassicLoadBalancerParameters ¶
func (b *AWSLoadBalancerParametersApplyConfiguration) WithClassicLoadBalancerParameters(value *AWSClassicLoadBalancerParametersApplyConfiguration) *AWSLoadBalancerParametersApplyConfiguration
WithClassicLoadBalancerParameters sets the ClassicLoadBalancerParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClassicLoadBalancerParameters field is set to the value of the last call.
func (*AWSLoadBalancerParametersApplyConfiguration) WithNetworkLoadBalancerParameters ¶
func (b *AWSLoadBalancerParametersApplyConfiguration) WithNetworkLoadBalancerParameters(value *AWSNetworkLoadBalancerParametersApplyConfiguration) *AWSLoadBalancerParametersApplyConfiguration
WithNetworkLoadBalancerParameters sets the NetworkLoadBalancerParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkLoadBalancerParameters field is set to the value of the last call.
func (*AWSLoadBalancerParametersApplyConfiguration) WithType ¶
func (b *AWSLoadBalancerParametersApplyConfiguration) WithType(value operatorv1.AWSLoadBalancerType) *AWSLoadBalancerParametersApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type AWSNetworkLoadBalancerParametersApplyConfiguration ¶
type AWSNetworkLoadBalancerParametersApplyConfiguration struct {
// subnets specifies the subnets to which the load balancer will
// attach. The subnets may be specified by either their
// ID or name. The total number of subnets is limited to 10.
//
// In order for the load balancer to be provisioned with subnets,
// each subnet must exist, each subnet must be from a different
// availability zone, and the load balancer service must be
// recreated to pick up new values.
//
// When omitted from the spec, the subnets will be auto-discovered
// for each availability zone. Auto-discovered subnets are not reported
// in the status of the IngressController object.
Subnets *AWSSubnetsApplyConfiguration `json:"subnets,omitempty"`
// eipAllocations is a list of IDs for Elastic IP (EIP) addresses that
// are assigned to the Network Load Balancer.
// The following restrictions apply:
//
// eipAllocations can only be used with external scope, not internal.
// An EIP can be allocated to only a single IngressController.
// The number of EIP allocations must match the number of subnets that are used for the load balancer.
// Each EIP allocation must be unique.
// A maximum of 10 EIP allocations are permitted.
//
// See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html for general
// information about configuration, characteristics, and limitations of Elastic IP addresses.
EIPAllocations []operatorv1.EIPAllocation `json:"eipAllocations,omitempty"`
}
AWSNetworkLoadBalancerParametersApplyConfiguration represents a declarative configuration of the AWSNetworkLoadBalancerParameters type for use with apply.
AWSNetworkLoadBalancerParameters holds configuration parameters for an AWS Network load balancer. For Example: Setting AWS EIPs https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
func AWSNetworkLoadBalancerParameters ¶
func AWSNetworkLoadBalancerParameters() *AWSNetworkLoadBalancerParametersApplyConfiguration
AWSNetworkLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the AWSNetworkLoadBalancerParameters type for use with apply.
func (*AWSNetworkLoadBalancerParametersApplyConfiguration) WithEIPAllocations ¶
func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithEIPAllocations(values ...operatorv1.EIPAllocation) *AWSNetworkLoadBalancerParametersApplyConfiguration
WithEIPAllocations adds the given value to the EIPAllocations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the EIPAllocations field.
func (*AWSNetworkLoadBalancerParametersApplyConfiguration) WithSubnets ¶
func (b *AWSNetworkLoadBalancerParametersApplyConfiguration) WithSubnets(value *AWSSubnetsApplyConfiguration) *AWSNetworkLoadBalancerParametersApplyConfiguration
WithSubnets sets the Subnets field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Subnets field is set to the value of the last call.
type AWSSubnetsApplyConfiguration ¶
type AWSSubnetsApplyConfiguration struct {
// ids specifies a list of AWS subnets by subnet ID.
// Subnet IDs must start with "subnet-", consist only
// of alphanumeric characters, must be exactly 24
// characters long, must be unique, and the total
// number of subnets specified by ids and names
// must not exceed 10.
IDs []operatorv1.AWSSubnetID `json:"ids,omitempty"`
// names specifies a list of AWS subnets by subnet name.
// Subnet names must not start with "subnet-", must not
// include commas, must be under 256 characters in length,
// must be unique, and the total number of subnets
// specified by ids and names must not exceed 10.
Names []operatorv1.AWSSubnetName `json:"names,omitempty"`
}
AWSSubnetsApplyConfiguration represents a declarative configuration of the AWSSubnets type for use with apply.
AWSSubnets contains a list of references to AWS subnets by ID or name.
func AWSSubnets ¶
func AWSSubnets() *AWSSubnetsApplyConfiguration
AWSSubnetsApplyConfiguration constructs a declarative configuration of the AWSSubnets type for use with apply.
func (*AWSSubnetsApplyConfiguration) WithIDs ¶
func (b *AWSSubnetsApplyConfiguration) WithIDs(values ...operatorv1.AWSSubnetID) *AWSSubnetsApplyConfiguration
WithIDs adds the given value to the IDs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IDs field.
func (*AWSSubnetsApplyConfiguration) WithNames ¶
func (b *AWSSubnetsApplyConfiguration) WithNames(values ...operatorv1.AWSSubnetName) *AWSSubnetsApplyConfiguration
WithNames adds the given value to the Names field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Names field.
type AccessLoggingApplyConfiguration ¶
type AccessLoggingApplyConfiguration struct {
// destination is where access logs go.
Destination *LoggingDestinationApplyConfiguration `json:"destination,omitempty"`
// httpLogFormat specifies the format of the log message for an HTTP
// request.
//
// If this field is empty, log messages use the implementation's default
// HTTP log format. For HAProxy's default HTTP log format, see the
// HAProxy documentation:
// http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#8.2.3
//
// Note that this format only applies to cleartext HTTP connections
// and to secure HTTP connections for which the ingress controller
// terminates encryption (that is, edge-terminated or reencrypt
// connections). It does not affect the log format for TLS passthrough
// connections.
HttpLogFormat *string `json:"httpLogFormat,omitempty"`
// httpCaptureHeaders defines HTTP headers that should be captured in
// access logs. If this field is empty, no headers are captured.
//
// Note that this option only applies to cleartext HTTP connections
// and to secure HTTP connections for which the ingress controller
// terminates encryption (that is, edge-terminated or reencrypt
// connections). Headers cannot be captured for TLS passthrough
// connections.
HTTPCaptureHeaders *IngressControllerCaptureHTTPHeadersApplyConfiguration `json:"httpCaptureHeaders,omitempty"`
// httpCaptureCookies specifies HTTP cookies that should be captured in
// access logs. If this field is empty, no cookies are captured.
HTTPCaptureCookies []IngressControllerCaptureHTTPCookieApplyConfiguration `json:"httpCaptureCookies,omitempty"`
// logEmptyRequests specifies how connections on which no request is
// received should be logged. Typically, these empty requests come from
// load balancers' health probes or Web browsers' speculative
// connections ("preconnect"), in which case logging these requests may
// be undesirable. However, these requests may also be caused by
// network errors, in which case logging empty requests may be useful
// for diagnosing the errors. In addition, these requests may be caused
// by port scans, in which case logging empty requests may aid in
// detecting intrusion attempts. Allowed values for this field are
// "Log" and "Ignore". The default value is "Log".
LogEmptyRequests *operatorv1.LoggingPolicy `json:"logEmptyRequests,omitempty"`
}
AccessLoggingApplyConfiguration represents a declarative configuration of the AccessLogging type for use with apply.
AccessLogging describes how client requests should be logged.
func AccessLogging ¶
func AccessLogging() *AccessLoggingApplyConfiguration
AccessLoggingApplyConfiguration constructs a declarative configuration of the AccessLogging type for use with apply.
func (*AccessLoggingApplyConfiguration) WithDestination ¶
func (b *AccessLoggingApplyConfiguration) WithDestination(value *LoggingDestinationApplyConfiguration) *AccessLoggingApplyConfiguration
WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.
func (*AccessLoggingApplyConfiguration) WithHTTPCaptureCookies ¶
func (b *AccessLoggingApplyConfiguration) WithHTTPCaptureCookies(values ...*IngressControllerCaptureHTTPCookieApplyConfiguration) *AccessLoggingApplyConfiguration
WithHTTPCaptureCookies adds the given value to the HTTPCaptureCookies field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HTTPCaptureCookies field.
func (*AccessLoggingApplyConfiguration) WithHTTPCaptureHeaders ¶
func (b *AccessLoggingApplyConfiguration) WithHTTPCaptureHeaders(value *IngressControllerCaptureHTTPHeadersApplyConfiguration) *AccessLoggingApplyConfiguration
WithHTTPCaptureHeaders sets the HTTPCaptureHeaders field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPCaptureHeaders field is set to the value of the last call.
func (*AccessLoggingApplyConfiguration) WithHttpLogFormat ¶
func (b *AccessLoggingApplyConfiguration) WithHttpLogFormat(value string) *AccessLoggingApplyConfiguration
WithHttpLogFormat sets the HttpLogFormat field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HttpLogFormat field is set to the value of the last call.
func (*AccessLoggingApplyConfiguration) WithLogEmptyRequests ¶
func (b *AccessLoggingApplyConfiguration) WithLogEmptyRequests(value operatorv1.LoggingPolicy) *AccessLoggingApplyConfiguration
WithLogEmptyRequests sets the LogEmptyRequests field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogEmptyRequests field is set to the value of the last call.
type AddPageApplyConfiguration ¶
type AddPageApplyConfiguration struct {
// disabledActions is a list of actions that are not shown to users.
// Each action in the list is represented by its ID.
DisabledActions []string `json:"disabledActions,omitempty"`
}
AddPageApplyConfiguration represents a declarative configuration of the AddPage type for use with apply.
AddPage allows customizing actions on the Add page in developer perspective.
func AddPage ¶
func AddPage() *AddPageApplyConfiguration
AddPageApplyConfiguration constructs a declarative configuration of the AddPage type for use with apply.
func (*AddPageApplyConfiguration) WithDisabledActions ¶
func (b *AddPageApplyConfiguration) WithDisabledActions(values ...string) *AddPageApplyConfiguration
WithDisabledActions adds the given value to the DisabledActions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DisabledActions field.
type AdditionalNetworkDefinitionApplyConfiguration ¶
type AdditionalNetworkDefinitionApplyConfiguration struct {
// type is the type of network
// The supported values are NetworkTypeRaw, NetworkTypeSimpleMacvlan
Type *operatorv1.NetworkType `json:"type,omitempty"`
// name is the name of the network. This will be populated in the resulting CRD
// This must be unique.
Name *string `json:"name,omitempty"`
// namespace is the namespace of the network. This will be populated in the resulting CRD
// If not given the network will be created in the default namespace.
Namespace *string `json:"namespace,omitempty"`
// rawCNIConfig is the raw CNI configuration json to create in the
// NetworkAttachmentDefinition CRD
RawCNIConfig *string `json:"rawCNIConfig,omitempty"`
// simpleMacvlanConfig configures the macvlan interface in case of type:NetworkTypeSimpleMacvlan
SimpleMacvlanConfig *SimpleMacvlanConfigApplyConfiguration `json:"simpleMacvlanConfig,omitempty"`
}
AdditionalNetworkDefinitionApplyConfiguration represents a declarative configuration of the AdditionalNetworkDefinition type for use with apply.
AdditionalNetworkDefinition configures an extra network that is available but not created by default. Instead, pods must request them by name. type must be specified, along with exactly one "Config" that matches the type.
func AdditionalNetworkDefinition ¶
func AdditionalNetworkDefinition() *AdditionalNetworkDefinitionApplyConfiguration
AdditionalNetworkDefinitionApplyConfiguration constructs a declarative configuration of the AdditionalNetworkDefinition type for use with apply.
func (*AdditionalNetworkDefinitionApplyConfiguration) WithName ¶
func (b *AdditionalNetworkDefinitionApplyConfiguration) WithName(value string) *AdditionalNetworkDefinitionApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*AdditionalNetworkDefinitionApplyConfiguration) WithNamespace ¶
func (b *AdditionalNetworkDefinitionApplyConfiguration) WithNamespace(value string) *AdditionalNetworkDefinitionApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*AdditionalNetworkDefinitionApplyConfiguration) WithRawCNIConfig ¶
func (b *AdditionalNetworkDefinitionApplyConfiguration) WithRawCNIConfig(value string) *AdditionalNetworkDefinitionApplyConfiguration
WithRawCNIConfig sets the RawCNIConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RawCNIConfig field is set to the value of the last call.
func (*AdditionalNetworkDefinitionApplyConfiguration) WithSimpleMacvlanConfig ¶
func (b *AdditionalNetworkDefinitionApplyConfiguration) WithSimpleMacvlanConfig(value *SimpleMacvlanConfigApplyConfiguration) *AdditionalNetworkDefinitionApplyConfiguration
WithSimpleMacvlanConfig sets the SimpleMacvlanConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SimpleMacvlanConfig field is set to the value of the last call.
func (*AdditionalNetworkDefinitionApplyConfiguration) WithType ¶
func (b *AdditionalNetworkDefinitionApplyConfiguration) WithType(value operatorv1.NetworkType) *AdditionalNetworkDefinitionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type AdditionalRoutingCapabilitiesApplyConfiguration ¶
type AdditionalRoutingCapabilitiesApplyConfiguration struct {
// providers is a set of enabled components that provide additional routing
// capabilities. Entries on this list must be unique. The only valid value
// is currrently "FRR" which provides FRR routing capabilities through the
// deployment of FRR.
Providers []operatorv1.RoutingCapabilitiesProvider `json:"providers,omitempty"`
}
AdditionalRoutingCapabilitiesApplyConfiguration represents a declarative configuration of the AdditionalRoutingCapabilities type for use with apply.
AdditionalRoutingCapabilities describes components and relevant configuration providing advanced routing capabilities.
func AdditionalRoutingCapabilities ¶
func AdditionalRoutingCapabilities() *AdditionalRoutingCapabilitiesApplyConfiguration
AdditionalRoutingCapabilitiesApplyConfiguration constructs a declarative configuration of the AdditionalRoutingCapabilities type for use with apply.
func (*AdditionalRoutingCapabilitiesApplyConfiguration) WithProviders ¶
func (b *AdditionalRoutingCapabilitiesApplyConfiguration) WithProviders(values ...operatorv1.RoutingCapabilitiesProvider) *AdditionalRoutingCapabilitiesApplyConfiguration
WithProviders adds the given value to the Providers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Providers field.
type AuthenticationApplyConfiguration ¶
type AuthenticationApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *AuthenticationSpecApplyConfiguration `json:"spec,omitempty"`
Status *AuthenticationStatusApplyConfiguration `json:"status,omitempty"`
}
AuthenticationApplyConfiguration represents a declarative configuration of the Authentication type for use with apply.
Authentication provides information to configure an operator to manage authentication.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func Authentication ¶
func Authentication(name string) *AuthenticationApplyConfiguration
Authentication constructs a declarative configuration of the Authentication type for use with apply.
func ExtractAuthentication ¶
func ExtractAuthentication(authentication *operatorv1.Authentication, fieldManager string) (*AuthenticationApplyConfiguration, error)
ExtractAuthentication extracts the applied configuration owned by fieldManager from authentication. If no managedFields are found in authentication for fieldManager, a AuthenticationApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. authentication must be a unmodified Authentication API object that was retrieved from the Kubernetes API. ExtractAuthentication provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractAuthenticationFrom ¶
func ExtractAuthenticationFrom(authentication *operatorv1.Authentication, fieldManager string, subresource string) (*AuthenticationApplyConfiguration, error)
ExtractAuthenticationFrom extracts the applied configuration owned by fieldManager from authentication for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. authentication must be a unmodified Authentication API object that was retrieved from the Kubernetes API. ExtractAuthenticationFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractAuthenticationStatus ¶
func ExtractAuthenticationStatus(authentication *operatorv1.Authentication, fieldManager string) (*AuthenticationApplyConfiguration, error)
ExtractAuthenticationStatus extracts the applied configuration owned by fieldManager from authentication for the status subresource.
func (*AuthenticationApplyConfiguration) GetAPIVersion ¶
func (b *AuthenticationApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*AuthenticationApplyConfiguration) GetKind ¶
func (b *AuthenticationApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*AuthenticationApplyConfiguration) GetName ¶
func (b *AuthenticationApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*AuthenticationApplyConfiguration) GetNamespace ¶
func (b *AuthenticationApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (AuthenticationApplyConfiguration) IsApplyConfiguration ¶
func (b AuthenticationApplyConfiguration) IsApplyConfiguration()
func (*AuthenticationApplyConfiguration) WithAPIVersion ¶
func (b *AuthenticationApplyConfiguration) WithAPIVersion(value string) *AuthenticationApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithAnnotations ¶
func (b *AuthenticationApplyConfiguration) WithAnnotations(entries map[string]string) *AuthenticationApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*AuthenticationApplyConfiguration) WithCreationTimestamp ¶
func (b *AuthenticationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *AuthenticationApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *AuthenticationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *AuthenticationApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithDeletionTimestamp ¶
func (b *AuthenticationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *AuthenticationApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithFinalizers ¶
func (b *AuthenticationApplyConfiguration) WithFinalizers(values ...string) *AuthenticationApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*AuthenticationApplyConfiguration) WithGenerateName ¶
func (b *AuthenticationApplyConfiguration) WithGenerateName(value string) *AuthenticationApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithGeneration ¶
func (b *AuthenticationApplyConfiguration) WithGeneration(value int64) *AuthenticationApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithKind ¶
func (b *AuthenticationApplyConfiguration) WithKind(value string) *AuthenticationApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithLabels ¶
func (b *AuthenticationApplyConfiguration) WithLabels(entries map[string]string) *AuthenticationApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*AuthenticationApplyConfiguration) WithName ¶
func (b *AuthenticationApplyConfiguration) WithName(value string) *AuthenticationApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithNamespace ¶
func (b *AuthenticationApplyConfiguration) WithNamespace(value string) *AuthenticationApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithOwnerReferences ¶
func (b *AuthenticationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *AuthenticationApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*AuthenticationApplyConfiguration) WithResourceVersion ¶
func (b *AuthenticationApplyConfiguration) WithResourceVersion(value string) *AuthenticationApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithSpec ¶
func (b *AuthenticationApplyConfiguration) WithSpec(value *AuthenticationSpecApplyConfiguration) *AuthenticationApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithStatus ¶
func (b *AuthenticationApplyConfiguration) WithStatus(value *AuthenticationStatusApplyConfiguration) *AuthenticationApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*AuthenticationApplyConfiguration) WithUID ¶
func (b *AuthenticationApplyConfiguration) WithUID(value types.UID) *AuthenticationApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type AuthenticationSpecApplyConfiguration ¶
type AuthenticationSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
AuthenticationSpecApplyConfiguration represents a declarative configuration of the AuthenticationSpec type for use with apply.
func AuthenticationSpec ¶
func AuthenticationSpec() *AuthenticationSpecApplyConfiguration
AuthenticationSpecApplyConfiguration constructs a declarative configuration of the AuthenticationSpec type for use with apply.
func (*AuthenticationSpecApplyConfiguration) WithLogLevel ¶
func (b *AuthenticationSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *AuthenticationSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*AuthenticationSpecApplyConfiguration) WithManagementState ¶
func (b *AuthenticationSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *AuthenticationSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*AuthenticationSpecApplyConfiguration) WithObservedConfig ¶
func (b *AuthenticationSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *AuthenticationSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*AuthenticationSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *AuthenticationSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *AuthenticationSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*AuthenticationSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *AuthenticationSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *AuthenticationSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type AuthenticationStatusApplyConfiguration ¶
type AuthenticationStatusApplyConfiguration struct {
// oauthAPIServer holds status specific only to oauth-apiserver
OAuthAPIServer *OAuthAPIServerStatusApplyConfiguration `json:"oauthAPIServer,omitempty"`
OperatorStatusApplyConfiguration `json:",inline"`
}
AuthenticationStatusApplyConfiguration represents a declarative configuration of the AuthenticationStatus type for use with apply.
func AuthenticationStatus ¶
func AuthenticationStatus() *AuthenticationStatusApplyConfiguration
AuthenticationStatusApplyConfiguration constructs a declarative configuration of the AuthenticationStatus type for use with apply.
func (*AuthenticationStatusApplyConfiguration) WithConditions ¶
func (b *AuthenticationStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *AuthenticationStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*AuthenticationStatusApplyConfiguration) WithGenerations ¶
func (b *AuthenticationStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *AuthenticationStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*AuthenticationStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *AuthenticationStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *AuthenticationStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*AuthenticationStatusApplyConfiguration) WithOAuthAPIServer ¶
func (b *AuthenticationStatusApplyConfiguration) WithOAuthAPIServer(value *OAuthAPIServerStatusApplyConfiguration) *AuthenticationStatusApplyConfiguration
WithOAuthAPIServer sets the OAuthAPIServer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OAuthAPIServer field is set to the value of the last call.
func (*AuthenticationStatusApplyConfiguration) WithObservedGeneration ¶
func (b *AuthenticationStatusApplyConfiguration) WithObservedGeneration(value int64) *AuthenticationStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*AuthenticationStatusApplyConfiguration) WithReadyReplicas ¶
func (b *AuthenticationStatusApplyConfiguration) WithReadyReplicas(value int32) *AuthenticationStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*AuthenticationStatusApplyConfiguration) WithVersion ¶
func (b *AuthenticationStatusApplyConfiguration) WithVersion(value string) *AuthenticationStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type AzureCSIDriverConfigSpecApplyConfiguration ¶
type AzureCSIDriverConfigSpecApplyConfiguration struct {
// diskEncryptionSet sets the cluster default storage class to encrypt volumes with a
// customer-managed encryption set, rather than the default platform-managed keys.
DiskEncryptionSet *AzureDiskEncryptionSetApplyConfiguration `json:"diskEncryptionSet,omitempty"`
}
AzureCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the AzureCSIDriverConfigSpec type for use with apply.
AzureCSIDriverConfigSpec defines properties that can be configured for the Azure CSI driver.
func AzureCSIDriverConfigSpec ¶
func AzureCSIDriverConfigSpec() *AzureCSIDriverConfigSpecApplyConfiguration
AzureCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the AzureCSIDriverConfigSpec type for use with apply.
func (*AzureCSIDriverConfigSpecApplyConfiguration) WithDiskEncryptionSet ¶
func (b *AzureCSIDriverConfigSpecApplyConfiguration) WithDiskEncryptionSet(value *AzureDiskEncryptionSetApplyConfiguration) *AzureCSIDriverConfigSpecApplyConfiguration
WithDiskEncryptionSet sets the DiskEncryptionSet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DiskEncryptionSet field is set to the value of the last call.
type AzureDiskEncryptionSetApplyConfiguration ¶
type AzureDiskEncryptionSetApplyConfiguration struct {
// subscriptionID defines the Azure subscription that contains the disk encryption set.
// The value should meet the following conditions:
// 1. It should be a 128-bit number.
// 2. It should be 36 characters (32 hexadecimal characters and 4 hyphens) long.
// 3. It should be displayed in five groups separated by hyphens (-).
// 4. The first group should be 8 characters long.
// 5. The second, third, and fourth groups should be 4 characters long.
// 6. The fifth group should be 12 characters long.
// An Example SubscrionID: f2007bbf-f802-4a47-9336-cf7c6b89b378
SubscriptionID *string `json:"subscriptionID,omitempty"`
// resourceGroup defines the Azure resource group that contains the disk encryption set.
// The value should consist of only alphanumberic characters,
// underscores (_), parentheses, hyphens and periods.
// The value should not end in a period and be at most 90 characters in
// length.
ResourceGroup *string `json:"resourceGroup,omitempty"`
// name is the name of the disk encryption set that will be set on the default storage class.
// The value should consist of only alphanumberic characters,
// underscores (_), hyphens, and be at most 80 characters in length.
Name *string `json:"name,omitempty"`
}
AzureDiskEncryptionSetApplyConfiguration represents a declarative configuration of the AzureDiskEncryptionSet type for use with apply.
AzureDiskEncryptionSet defines the configuration for a disk encryption set.
func AzureDiskEncryptionSet ¶
func AzureDiskEncryptionSet() *AzureDiskEncryptionSetApplyConfiguration
AzureDiskEncryptionSetApplyConfiguration constructs a declarative configuration of the AzureDiskEncryptionSet type for use with apply.
func (*AzureDiskEncryptionSetApplyConfiguration) WithName ¶
func (b *AzureDiskEncryptionSetApplyConfiguration) WithName(value string) *AzureDiskEncryptionSetApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*AzureDiskEncryptionSetApplyConfiguration) WithResourceGroup ¶
func (b *AzureDiskEncryptionSetApplyConfiguration) WithResourceGroup(value string) *AzureDiskEncryptionSetApplyConfiguration
WithResourceGroup sets the ResourceGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceGroup field is set to the value of the last call.
func (*AzureDiskEncryptionSetApplyConfiguration) WithSubscriptionID ¶
func (b *AzureDiskEncryptionSetApplyConfiguration) WithSubscriptionID(value string) *AzureDiskEncryptionSetApplyConfiguration
WithSubscriptionID sets the SubscriptionID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SubscriptionID field is set to the value of the last call.
type BGPManagedConfigApplyConfiguration ¶
type BGPManagedConfigApplyConfiguration struct {
// asNumber is the 2-byte or 4-byte Autonomous System Number (ASN)
// to be used in the generated FRR configuration.
// Valid values are 1 to 4294967295.
// When omitted, this defaults to 64512.
ASNumber *int64 `json:"asNumber,omitempty"`
// bgpTopology defines the BGP topology to be used.
// Allowed values are "FullMesh".
// When set to "FullMesh", every node peers directly with every other node via BGP.
// This field is required when BGPManagedConfig is specified.
BGPTopology *operatorv1.BGPTopology `json:"bgpTopology,omitempty"`
}
BGPManagedConfigApplyConfiguration represents a declarative configuration of the BGPManagedConfig type for use with apply.
BGPManagedConfig contains configuration options for BGP when routing is "Managed".
func BGPManagedConfig ¶
func BGPManagedConfig() *BGPManagedConfigApplyConfiguration
BGPManagedConfigApplyConfiguration constructs a declarative configuration of the BGPManagedConfig type for use with apply.
func (*BGPManagedConfigApplyConfiguration) WithASNumber ¶
func (b *BGPManagedConfigApplyConfiguration) WithASNumber(value int64) *BGPManagedConfigApplyConfiguration
WithASNumber sets the ASNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ASNumber field is set to the value of the last call.
func (*BGPManagedConfigApplyConfiguration) WithBGPTopology ¶
func (b *BGPManagedConfigApplyConfiguration) WithBGPTopology(value operatorv1.BGPTopology) *BGPManagedConfigApplyConfiguration
WithBGPTopology sets the BGPTopology field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BGPTopology field is set to the value of the last call.
type BootImageSkewEnforcementConfigApplyConfiguration ¶
type BootImageSkewEnforcementConfigApplyConfiguration struct {
// mode determines the underlying behavior of skew enforcement mechanism.
// Valid values are Manual and None.
// Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP
// & RHCOS version associated with the last boot image update in the manual field.
// In Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the
// skew limit described by the release image.
// None means that the MCO will no longer monitor the boot image skew. This may affect
// the cluster's ability to scale.
// This field is required.
Mode *operatorv1.BootImageSkewEnforcementConfigMode `json:"mode,omitempty"`
// manual describes the current boot image of the cluster.
// This should be set to the oldest boot image used amongst all machine resources in the cluster.
// This must include either the RHCOS version of the boot image or the OCP release version which shipped with that
// RHCOS boot image.
// Required when mode is set to "Manual" and forbidden otherwise.
Manual *ClusterBootImageManualApplyConfiguration `json:"manual,omitempty"`
}
BootImageSkewEnforcementConfigApplyConfiguration represents a declarative configuration of the BootImageSkewEnforcementConfig type for use with apply.
BootImageSkewEnforcementConfig is used to configure how boot image version skew is enforced on the cluster.
func BootImageSkewEnforcementConfig ¶
func BootImageSkewEnforcementConfig() *BootImageSkewEnforcementConfigApplyConfiguration
BootImageSkewEnforcementConfigApplyConfiguration constructs a declarative configuration of the BootImageSkewEnforcementConfig type for use with apply.
func (*BootImageSkewEnforcementConfigApplyConfiguration) WithManual ¶
func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementConfigApplyConfiguration
WithManual sets the Manual field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Manual field is set to the value of the last call.
func (*BootImageSkewEnforcementConfigApplyConfiguration) WithMode ¶
func (b *BootImageSkewEnforcementConfigApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementConfigMode) *BootImageSkewEnforcementConfigApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
type BootImageSkewEnforcementStatusApplyConfiguration ¶
type BootImageSkewEnforcementStatusApplyConfiguration struct {
// mode determines the underlying behavior of skew enforcement mechanism.
// Valid values are Automatic, Manual and None.
// Automatic means that the MCO will perform boot image updates and store the
// OCP & RHCOS version associated with the last boot image update in the automatic field.
// Manual means that the cluster admin is expected to perform manual boot image updates and store the OCP
// & RHCOS version associated with the last boot image update in the manual field.
// In Automatic and Manual mode, the MCO will prevent upgrades when the boot image skew exceeds the
// skew limit described by the release image.
// None means that the MCO will no longer monitor the boot image skew. This may affect
// the cluster's ability to scale.
// This field is required.
Mode *operatorv1.BootImageSkewEnforcementModeStatus `json:"mode,omitempty"`
// automatic describes the current boot image of the cluster.
// This will be populated by the MCO when performing boot image updates. This value will be compared against
// the cluster's skew limit to determine skew compliance.
// Required when mode is set to "Automatic" and forbidden otherwise.
Automatic *ClusterBootImageAutomaticApplyConfiguration `json:"automatic,omitempty"`
// manual describes the current boot image of the cluster.
// This will be populated by the MCO using the values provided in the spec.bootImageSkewEnforcement.manual field.
// This value will be compared against the cluster's skew limit to determine skew compliance.
// Required when mode is set to "Manual" and forbidden otherwise.
Manual *ClusterBootImageManualApplyConfiguration `json:"manual,omitempty"`
}
BootImageSkewEnforcementStatusApplyConfiguration represents a declarative configuration of the BootImageSkewEnforcementStatus type for use with apply.
BootImageSkewEnforcementStatus is the type for the status object. It represents the cluster defaults when the boot image skew enforcement configuration is undefined and reflects the actual configuration when it is defined.
func BootImageSkewEnforcementStatus ¶
func BootImageSkewEnforcementStatus() *BootImageSkewEnforcementStatusApplyConfiguration
BootImageSkewEnforcementStatusApplyConfiguration constructs a declarative configuration of the BootImageSkewEnforcementStatus type for use with apply.
func (*BootImageSkewEnforcementStatusApplyConfiguration) WithAutomatic ¶
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithAutomatic(value *ClusterBootImageAutomaticApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration
WithAutomatic sets the Automatic field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Automatic field is set to the value of the last call.
func (*BootImageSkewEnforcementStatusApplyConfiguration) WithManual ¶
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithManual(value *ClusterBootImageManualApplyConfiguration) *BootImageSkewEnforcementStatusApplyConfiguration
WithManual sets the Manual field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Manual field is set to the value of the last call.
func (*BootImageSkewEnforcementStatusApplyConfiguration) WithMode ¶
func (b *BootImageSkewEnforcementStatusApplyConfiguration) WithMode(value operatorv1.BootImageSkewEnforcementModeStatus) *BootImageSkewEnforcementStatusApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
type CSIDriverConfigSpecApplyConfiguration ¶
type CSIDriverConfigSpecApplyConfiguration struct {
// driverType indicates type of CSI driver for which the
// driverConfig is being applied to.
// Valid values are: AWS, Azure, GCP, IBMCloud, vSphere and omitted.
// Consumers should treat unknown values as a NO-OP.
DriverType *operatorv1.CSIDriverType `json:"driverType,omitempty"`
// aws is used to configure the AWS CSI driver.
AWS *AWSCSIDriverConfigSpecApplyConfiguration `json:"aws,omitempty"`
// azure is used to configure the Azure CSI driver.
Azure *AzureCSIDriverConfigSpecApplyConfiguration `json:"azure,omitempty"`
// gcp is used to configure the GCP CSI driver.
GCP *GCPCSIDriverConfigSpecApplyConfiguration `json:"gcp,omitempty"`
// ibmcloud is used to configure the IBM Cloud CSI driver.
IBMCloud *IBMCloudCSIDriverConfigSpecApplyConfiguration `json:"ibmcloud,omitempty"`
// vSphere is used to configure the vsphere CSI driver.
VSphere *VSphereCSIDriverConfigSpecApplyConfiguration `json:"vSphere,omitempty"`
}
CSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the CSIDriverConfigSpec type for use with apply.
CSIDriverConfigSpec defines configuration spec that can be used to optionally configure a specific CSI Driver.
func CSIDriverConfigSpec ¶
func CSIDriverConfigSpec() *CSIDriverConfigSpecApplyConfiguration
CSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the CSIDriverConfigSpec type for use with apply.
func (*CSIDriverConfigSpecApplyConfiguration) WithAWS ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithAWS(value *AWSCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
WithAWS sets the AWS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWS field is set to the value of the last call.
func (*CSIDriverConfigSpecApplyConfiguration) WithAzure ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithAzure(value *AzureCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
WithAzure sets the Azure field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Azure field is set to the value of the last call.
func (*CSIDriverConfigSpecApplyConfiguration) WithDriverType ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithDriverType(value operatorv1.CSIDriverType) *CSIDriverConfigSpecApplyConfiguration
WithDriverType sets the DriverType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DriverType field is set to the value of the last call.
func (*CSIDriverConfigSpecApplyConfiguration) WithGCP ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithGCP(value *GCPCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
WithGCP sets the GCP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCP field is set to the value of the last call.
func (*CSIDriverConfigSpecApplyConfiguration) WithIBMCloud ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithIBMCloud(value *IBMCloudCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
WithIBMCloud sets the IBMCloud field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IBMCloud field is set to the value of the last call.
func (*CSIDriverConfigSpecApplyConfiguration) WithVSphere ¶
func (b *CSIDriverConfigSpecApplyConfiguration) WithVSphere(value *VSphereCSIDriverConfigSpecApplyConfiguration) *CSIDriverConfigSpecApplyConfiguration
WithVSphere sets the VSphere field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VSphere field is set to the value of the last call.
type CSISnapshotControllerApplyConfiguration ¶
type CSISnapshotControllerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec holds user settable values for configuration
Spec *CSISnapshotControllerSpecApplyConfiguration `json:"spec,omitempty"`
// status holds observed values from the cluster. They may not be overridden.
Status *CSISnapshotControllerStatusApplyConfiguration `json:"status,omitempty"`
}
CSISnapshotControllerApplyConfiguration represents a declarative configuration of the CSISnapshotController type for use with apply.
CSISnapshotController provides a means to configure an operator to manage the CSI snapshots. `cluster` is the canonical name.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func CSISnapshotController ¶
func CSISnapshotController(name string) *CSISnapshotControllerApplyConfiguration
CSISnapshotController constructs a declarative configuration of the CSISnapshotController type for use with apply.
func ExtractCSISnapshotController ¶
func ExtractCSISnapshotController(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string) (*CSISnapshotControllerApplyConfiguration, error)
ExtractCSISnapshotController extracts the applied configuration owned by fieldManager from cSISnapshotController. If no managedFields are found in cSISnapshotController for fieldManager, a CSISnapshotControllerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. cSISnapshotController must be a unmodified CSISnapshotController API object that was retrieved from the Kubernetes API. ExtractCSISnapshotController provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractCSISnapshotControllerFrom ¶
func ExtractCSISnapshotControllerFrom(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string, subresource string) (*CSISnapshotControllerApplyConfiguration, error)
ExtractCSISnapshotControllerFrom extracts the applied configuration owned by fieldManager from cSISnapshotController for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. cSISnapshotController must be a unmodified CSISnapshotController API object that was retrieved from the Kubernetes API. ExtractCSISnapshotControllerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractCSISnapshotControllerStatus ¶
func ExtractCSISnapshotControllerStatus(cSISnapshotController *operatorv1.CSISnapshotController, fieldManager string) (*CSISnapshotControllerApplyConfiguration, error)
ExtractCSISnapshotControllerStatus extracts the applied configuration owned by fieldManager from cSISnapshotController for the status subresource.
func (*CSISnapshotControllerApplyConfiguration) GetAPIVersion ¶
func (b *CSISnapshotControllerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*CSISnapshotControllerApplyConfiguration) GetKind ¶
func (b *CSISnapshotControllerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*CSISnapshotControllerApplyConfiguration) GetName ¶
func (b *CSISnapshotControllerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*CSISnapshotControllerApplyConfiguration) GetNamespace ¶
func (b *CSISnapshotControllerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (CSISnapshotControllerApplyConfiguration) IsApplyConfiguration ¶
func (b CSISnapshotControllerApplyConfiguration) IsApplyConfiguration()
func (*CSISnapshotControllerApplyConfiguration) WithAPIVersion ¶
func (b *CSISnapshotControllerApplyConfiguration) WithAPIVersion(value string) *CSISnapshotControllerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithAnnotations ¶
func (b *CSISnapshotControllerApplyConfiguration) WithAnnotations(entries map[string]string) *CSISnapshotControllerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*CSISnapshotControllerApplyConfiguration) WithCreationTimestamp ¶
func (b *CSISnapshotControllerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *CSISnapshotControllerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *CSISnapshotControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CSISnapshotControllerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithDeletionTimestamp ¶
func (b *CSISnapshotControllerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *CSISnapshotControllerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithFinalizers ¶
func (b *CSISnapshotControllerApplyConfiguration) WithFinalizers(values ...string) *CSISnapshotControllerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*CSISnapshotControllerApplyConfiguration) WithGenerateName ¶
func (b *CSISnapshotControllerApplyConfiguration) WithGenerateName(value string) *CSISnapshotControllerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithGeneration ¶
func (b *CSISnapshotControllerApplyConfiguration) WithGeneration(value int64) *CSISnapshotControllerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithKind ¶
func (b *CSISnapshotControllerApplyConfiguration) WithKind(value string) *CSISnapshotControllerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithLabels ¶
func (b *CSISnapshotControllerApplyConfiguration) WithLabels(entries map[string]string) *CSISnapshotControllerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*CSISnapshotControllerApplyConfiguration) WithName ¶
func (b *CSISnapshotControllerApplyConfiguration) WithName(value string) *CSISnapshotControllerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithNamespace ¶
func (b *CSISnapshotControllerApplyConfiguration) WithNamespace(value string) *CSISnapshotControllerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithOwnerReferences ¶
func (b *CSISnapshotControllerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *CSISnapshotControllerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*CSISnapshotControllerApplyConfiguration) WithResourceVersion ¶
func (b *CSISnapshotControllerApplyConfiguration) WithResourceVersion(value string) *CSISnapshotControllerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithSpec ¶
func (b *CSISnapshotControllerApplyConfiguration) WithSpec(value *CSISnapshotControllerSpecApplyConfiguration) *CSISnapshotControllerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithStatus ¶
func (b *CSISnapshotControllerApplyConfiguration) WithStatus(value *CSISnapshotControllerStatusApplyConfiguration) *CSISnapshotControllerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*CSISnapshotControllerApplyConfiguration) WithUID ¶
func (b *CSISnapshotControllerApplyConfiguration) WithUID(value types.UID) *CSISnapshotControllerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type CSISnapshotControllerSpecApplyConfiguration ¶
type CSISnapshotControllerSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
CSISnapshotControllerSpecApplyConfiguration represents a declarative configuration of the CSISnapshotControllerSpec type for use with apply.
CSISnapshotControllerSpec is the specification of the desired behavior of the CSISnapshotController operator.
func CSISnapshotControllerSpec ¶
func CSISnapshotControllerSpec() *CSISnapshotControllerSpecApplyConfiguration
CSISnapshotControllerSpecApplyConfiguration constructs a declarative configuration of the CSISnapshotControllerSpec type for use with apply.
func (*CSISnapshotControllerSpecApplyConfiguration) WithLogLevel ¶
func (b *CSISnapshotControllerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *CSISnapshotControllerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*CSISnapshotControllerSpecApplyConfiguration) WithManagementState ¶
func (b *CSISnapshotControllerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *CSISnapshotControllerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*CSISnapshotControllerSpecApplyConfiguration) WithObservedConfig ¶
func (b *CSISnapshotControllerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CSISnapshotControllerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*CSISnapshotControllerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *CSISnapshotControllerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *CSISnapshotControllerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*CSISnapshotControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *CSISnapshotControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CSISnapshotControllerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type CSISnapshotControllerStatusApplyConfiguration ¶
type CSISnapshotControllerStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
CSISnapshotControllerStatusApplyConfiguration represents a declarative configuration of the CSISnapshotControllerStatus type for use with apply.
CSISnapshotControllerStatus defines the observed status of the CSISnapshotController operator.
func CSISnapshotControllerStatus ¶
func CSISnapshotControllerStatus() *CSISnapshotControllerStatusApplyConfiguration
CSISnapshotControllerStatusApplyConfiguration constructs a declarative configuration of the CSISnapshotControllerStatus type for use with apply.
func (*CSISnapshotControllerStatusApplyConfiguration) WithConditions ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *CSISnapshotControllerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*CSISnapshotControllerStatusApplyConfiguration) WithGenerations ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *CSISnapshotControllerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*CSISnapshotControllerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CSISnapshotControllerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*CSISnapshotControllerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *CSISnapshotControllerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*CSISnapshotControllerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithReadyReplicas(value int32) *CSISnapshotControllerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*CSISnapshotControllerStatusApplyConfiguration) WithVersion ¶
func (b *CSISnapshotControllerStatusApplyConfiguration) WithVersion(value string) *CSISnapshotControllerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type CapabilityApplyConfiguration ¶
type CapabilityApplyConfiguration struct {
// name is the unique name of a capability.
// Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour.
Name *operatorv1.ConsoleCapabilityName `json:"name,omitempty"`
// visibility defines the visibility state of the capability.
Visibility *CapabilityVisibilityApplyConfiguration `json:"visibility,omitempty"`
}
CapabilityApplyConfiguration represents a declarative configuration of the Capability type for use with apply.
Capabilities contains set of UI capabilities and their state in the console UI.
func Capability ¶
func Capability() *CapabilityApplyConfiguration
CapabilityApplyConfiguration constructs a declarative configuration of the Capability type for use with apply.
func (*CapabilityApplyConfiguration) WithName ¶
func (b *CapabilityApplyConfiguration) WithName(value operatorv1.ConsoleCapabilityName) *CapabilityApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*CapabilityApplyConfiguration) WithVisibility ¶
func (b *CapabilityApplyConfiguration) WithVisibility(value *CapabilityVisibilityApplyConfiguration) *CapabilityApplyConfiguration
WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.
type CapabilityVisibilityApplyConfiguration ¶
type CapabilityVisibilityApplyConfiguration struct {
// state defines if the capability is enabled or disabled in the console UI.
// Enabling the capability in the console UI is represented by the "Enabled" value.
// Disabling the capability in the console UI is represented by the "Disabled" value.
State *operatorv1.CapabilityState `json:"state,omitempty"`
}
CapabilityVisibilityApplyConfiguration represents a declarative configuration of the CapabilityVisibility type for use with apply.
CapabilityVisibility defines the criteria to enable/disable a capability.
func CapabilityVisibility ¶
func CapabilityVisibility() *CapabilityVisibilityApplyConfiguration
CapabilityVisibilityApplyConfiguration constructs a declarative configuration of the CapabilityVisibility type for use with apply.
func (*CapabilityVisibilityApplyConfiguration) WithState ¶
func (b *CapabilityVisibilityApplyConfiguration) WithState(value operatorv1.CapabilityState) *CapabilityVisibilityApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type ClientTLSApplyConfiguration ¶
type ClientTLSApplyConfiguration struct {
// clientCertificatePolicy specifies whether the ingress controller
// requires clients to provide certificates. This field accepts the
// values "Required" or "Optional".
//
// Note that the ingress controller only checks client certificates for
// edge-terminated and reencrypt TLS routes; it cannot check
// certificates for cleartext HTTP or passthrough TLS routes.
ClientCertificatePolicy *operatorv1.ClientCertificatePolicy `json:"clientCertificatePolicy,omitempty"`
// clientCA specifies a configmap containing the PEM-encoded CA
// certificate bundle that should be used to verify a client's
// certificate. The administrator must create this configmap in the
// openshift-config namespace.
ClientCA *configv1.ConfigMapNameReference `json:"clientCA,omitempty"`
// allowedSubjectPatterns specifies a list of regular expressions that
// should be matched against the distinguished name on a valid client
// certificate to filter requests. The regular expressions must use
// PCRE syntax. If this list is empty, no filtering is performed. If
// the list is nonempty, then at least one pattern must match a client
// certificate's distinguished name or else the ingress controller
// rejects the certificate and denies the connection.
AllowedSubjectPatterns []string `json:"allowedSubjectPatterns,omitempty"`
}
ClientTLSApplyConfiguration represents a declarative configuration of the ClientTLS type for use with apply.
ClientTLS specifies TLS configuration to enable client-to-server authentication, which can be used for mutual TLS.
func ClientTLS ¶
func ClientTLS() *ClientTLSApplyConfiguration
ClientTLSApplyConfiguration constructs a declarative configuration of the ClientTLS type for use with apply.
func (*ClientTLSApplyConfiguration) WithAllowedSubjectPatterns ¶
func (b *ClientTLSApplyConfiguration) WithAllowedSubjectPatterns(values ...string) *ClientTLSApplyConfiguration
WithAllowedSubjectPatterns adds the given value to the AllowedSubjectPatterns field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedSubjectPatterns field.
func (*ClientTLSApplyConfiguration) WithClientCA ¶
func (b *ClientTLSApplyConfiguration) WithClientCA(value configv1.ConfigMapNameReference) *ClientTLSApplyConfiguration
WithClientCA sets the ClientCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientCA field is set to the value of the last call.
func (*ClientTLSApplyConfiguration) WithClientCertificatePolicy ¶
func (b *ClientTLSApplyConfiguration) WithClientCertificatePolicy(value operatorv1.ClientCertificatePolicy) *ClientTLSApplyConfiguration
WithClientCertificatePolicy sets the ClientCertificatePolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientCertificatePolicy field is set to the value of the last call.
type CloudCredentialApplyConfiguration ¶
type CloudCredentialApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *CloudCredentialSpecApplyConfiguration `json:"spec,omitempty"`
Status *CloudCredentialStatusApplyConfiguration `json:"status,omitempty"`
}
CloudCredentialApplyConfiguration represents a declarative configuration of the CloudCredential type for use with apply.
CloudCredential provides a means to configure an operator to manage CredentialsRequests.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func CloudCredential ¶
func CloudCredential(name string) *CloudCredentialApplyConfiguration
CloudCredential constructs a declarative configuration of the CloudCredential type for use with apply.
func ExtractCloudCredential ¶
func ExtractCloudCredential(cloudCredential *operatorv1.CloudCredential, fieldManager string) (*CloudCredentialApplyConfiguration, error)
ExtractCloudCredential extracts the applied configuration owned by fieldManager from cloudCredential. If no managedFields are found in cloudCredential for fieldManager, a CloudCredentialApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. cloudCredential must be a unmodified CloudCredential API object that was retrieved from the Kubernetes API. ExtractCloudCredential provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractCloudCredentialFrom ¶
func ExtractCloudCredentialFrom(cloudCredential *operatorv1.CloudCredential, fieldManager string, subresource string) (*CloudCredentialApplyConfiguration, error)
ExtractCloudCredentialFrom extracts the applied configuration owned by fieldManager from cloudCredential for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. cloudCredential must be a unmodified CloudCredential API object that was retrieved from the Kubernetes API. ExtractCloudCredentialFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractCloudCredentialStatus ¶
func ExtractCloudCredentialStatus(cloudCredential *operatorv1.CloudCredential, fieldManager string) (*CloudCredentialApplyConfiguration, error)
ExtractCloudCredentialStatus extracts the applied configuration owned by fieldManager from cloudCredential for the status subresource.
func (*CloudCredentialApplyConfiguration) GetAPIVersion ¶
func (b *CloudCredentialApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*CloudCredentialApplyConfiguration) GetKind ¶
func (b *CloudCredentialApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*CloudCredentialApplyConfiguration) GetName ¶
func (b *CloudCredentialApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*CloudCredentialApplyConfiguration) GetNamespace ¶
func (b *CloudCredentialApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (CloudCredentialApplyConfiguration) IsApplyConfiguration ¶
func (b CloudCredentialApplyConfiguration) IsApplyConfiguration()
func (*CloudCredentialApplyConfiguration) WithAPIVersion ¶
func (b *CloudCredentialApplyConfiguration) WithAPIVersion(value string) *CloudCredentialApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithAnnotations ¶
func (b *CloudCredentialApplyConfiguration) WithAnnotations(entries map[string]string) *CloudCredentialApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*CloudCredentialApplyConfiguration) WithCreationTimestamp ¶
func (b *CloudCredentialApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *CloudCredentialApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *CloudCredentialApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *CloudCredentialApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithDeletionTimestamp ¶
func (b *CloudCredentialApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *CloudCredentialApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithFinalizers ¶
func (b *CloudCredentialApplyConfiguration) WithFinalizers(values ...string) *CloudCredentialApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*CloudCredentialApplyConfiguration) WithGenerateName ¶
func (b *CloudCredentialApplyConfiguration) WithGenerateName(value string) *CloudCredentialApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithGeneration ¶
func (b *CloudCredentialApplyConfiguration) WithGeneration(value int64) *CloudCredentialApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithKind ¶
func (b *CloudCredentialApplyConfiguration) WithKind(value string) *CloudCredentialApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithLabels ¶
func (b *CloudCredentialApplyConfiguration) WithLabels(entries map[string]string) *CloudCredentialApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*CloudCredentialApplyConfiguration) WithName ¶
func (b *CloudCredentialApplyConfiguration) WithName(value string) *CloudCredentialApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithNamespace ¶
func (b *CloudCredentialApplyConfiguration) WithNamespace(value string) *CloudCredentialApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithOwnerReferences ¶
func (b *CloudCredentialApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *CloudCredentialApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*CloudCredentialApplyConfiguration) WithResourceVersion ¶
func (b *CloudCredentialApplyConfiguration) WithResourceVersion(value string) *CloudCredentialApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithSpec ¶
func (b *CloudCredentialApplyConfiguration) WithSpec(value *CloudCredentialSpecApplyConfiguration) *CloudCredentialApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithStatus ¶
func (b *CloudCredentialApplyConfiguration) WithStatus(value *CloudCredentialStatusApplyConfiguration) *CloudCredentialApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*CloudCredentialApplyConfiguration) WithUID ¶
func (b *CloudCredentialApplyConfiguration) WithUID(value types.UID) *CloudCredentialApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type CloudCredentialSpecApplyConfiguration ¶
type CloudCredentialSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// credentialsMode allows informing CCO that it should not attempt to dynamically
// determine the root cloud credentials capabilities, and it should just run in
// the specified mode.
// It also allows putting the operator into "manual" mode if desired.
// Leaving the field in default mode runs CCO so that the cluster's cloud credentials
// will be dynamically probed for capabilities (on supported clouds/platforms).
// Supported modes:
// AWS/Azure/GCP: "" (Default), "Mint", "Passthrough", "Manual"
// Others: Do not set value as other platforms only support running in "Passthrough"
CredentialsMode *operatorv1.CloudCredentialsMode `json:"credentialsMode,omitempty"`
}
CloudCredentialSpecApplyConfiguration represents a declarative configuration of the CloudCredentialSpec type for use with apply.
CloudCredentialSpec is the specification of the desired behavior of the cloud-credential-operator.
func CloudCredentialSpec ¶
func CloudCredentialSpec() *CloudCredentialSpecApplyConfiguration
CloudCredentialSpecApplyConfiguration constructs a declarative configuration of the CloudCredentialSpec type for use with apply.
func (*CloudCredentialSpecApplyConfiguration) WithCredentialsMode ¶
func (b *CloudCredentialSpecApplyConfiguration) WithCredentialsMode(value operatorv1.CloudCredentialsMode) *CloudCredentialSpecApplyConfiguration
WithCredentialsMode sets the CredentialsMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CredentialsMode field is set to the value of the last call.
func (*CloudCredentialSpecApplyConfiguration) WithLogLevel ¶
func (b *CloudCredentialSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *CloudCredentialSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*CloudCredentialSpecApplyConfiguration) WithManagementState ¶
func (b *CloudCredentialSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *CloudCredentialSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*CloudCredentialSpecApplyConfiguration) WithObservedConfig ¶
func (b *CloudCredentialSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *CloudCredentialSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*CloudCredentialSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *CloudCredentialSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *CloudCredentialSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*CloudCredentialSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *CloudCredentialSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *CloudCredentialSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type CloudCredentialStatusApplyConfiguration ¶
type CloudCredentialStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
CloudCredentialStatusApplyConfiguration represents a declarative configuration of the CloudCredentialStatus type for use with apply.
CloudCredentialStatus defines the observed status of the cloud-credential-operator.
func CloudCredentialStatus ¶
func CloudCredentialStatus() *CloudCredentialStatusApplyConfiguration
CloudCredentialStatusApplyConfiguration constructs a declarative configuration of the CloudCredentialStatus type for use with apply.
func (*CloudCredentialStatusApplyConfiguration) WithConditions ¶
func (b *CloudCredentialStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *CloudCredentialStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*CloudCredentialStatusApplyConfiguration) WithGenerations ¶
func (b *CloudCredentialStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *CloudCredentialStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*CloudCredentialStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *CloudCredentialStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *CloudCredentialStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*CloudCredentialStatusApplyConfiguration) WithObservedGeneration ¶
func (b *CloudCredentialStatusApplyConfiguration) WithObservedGeneration(value int64) *CloudCredentialStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*CloudCredentialStatusApplyConfiguration) WithReadyReplicas ¶
func (b *CloudCredentialStatusApplyConfiguration) WithReadyReplicas(value int32) *CloudCredentialStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*CloudCredentialStatusApplyConfiguration) WithVersion ¶
func (b *CloudCredentialStatusApplyConfiguration) WithVersion(value string) *CloudCredentialStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ClusterBootImageAutomaticApplyConfiguration ¶
type ClusterBootImageAutomaticApplyConfiguration struct {
// ocpVersion provides a string which represents the OCP version of the boot image.
// This field must match the OCP semver compatible format of x.y.z. This field must be between
// 5 and 10 characters long.
OCPVersion *string `json:"ocpVersion,omitempty"`
// rhcosVersion provides a string which represents the RHCOS version of the boot image
// This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy
// format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between
// 14 and 21 characters long.
RHCOSVersion *string `json:"rhcosVersion,omitempty"`
}
ClusterBootImageAutomaticApplyConfiguration represents a declarative configuration of the ClusterBootImageAutomatic type for use with apply.
ClusterBootImageAutomatic is used to describe the cluster boot image in Automatic mode. It stores the RHCOS version of the boot image and the OCP release version which shipped with that RHCOS boot image. At least one of these values are required. If ocpVersion and rhcosVersion are defined, both values will be used for checking skew compliance. If only ocpVersion is defined, only that value will be used for checking skew compliance. If only rhcosVersion is defined, only that value will be used for checking skew compliance.
func ClusterBootImageAutomatic ¶
func ClusterBootImageAutomatic() *ClusterBootImageAutomaticApplyConfiguration
ClusterBootImageAutomaticApplyConfiguration constructs a declarative configuration of the ClusterBootImageAutomatic type for use with apply.
func (*ClusterBootImageAutomaticApplyConfiguration) WithOCPVersion ¶
func (b *ClusterBootImageAutomaticApplyConfiguration) WithOCPVersion(value string) *ClusterBootImageAutomaticApplyConfiguration
WithOCPVersion sets the OCPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OCPVersion field is set to the value of the last call.
func (*ClusterBootImageAutomaticApplyConfiguration) WithRHCOSVersion ¶
func (b *ClusterBootImageAutomaticApplyConfiguration) WithRHCOSVersion(value string) *ClusterBootImageAutomaticApplyConfiguration
WithRHCOSVersion sets the RHCOSVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RHCOSVersion field is set to the value of the last call.
type ClusterBootImageManualApplyConfiguration ¶
type ClusterBootImageManualApplyConfiguration struct {
// mode is used to configure which boot image field is defined in Manual mode.
// Valid values are OCPVersion and RHCOSVersion.
// OCPVersion means that the cluster admin is expected to set the OCP version associated with the last boot image update
// in the OCPVersion field.
// RHCOSVersion means that the cluster admin is expected to set the RHCOS version associated with the last boot image update
// in the RHCOSVersion field.
// This field is required.
Mode *operatorv1.ClusterBootImageManualMode `json:"mode,omitempty"`
// ocpVersion provides a string which represents the OCP version of the boot image.
// This field must match the OCP semver compatible format of x.y.z. This field must be between
// 5 and 10 characters long.
// Required when mode is set to "OCPVersion" and forbidden otherwise.
OCPVersion *string `json:"ocpVersion,omitempty"`
// rhcosVersion provides a string which represents the RHCOS version of the boot image
// This field must match rhcosVersion formatting of [major].[minor].[datestamp(YYYYMMDD)]-[buildnumber] or the legacy
// format of [major].[minor].[timestamp(YYYYMMDDHHmm)]-[buildnumber]. This field must be between
// 14 and 21 characters long.
// Required when mode is set to "RHCOSVersion" and forbidden otherwise.
RHCOSVersion *string `json:"rhcosVersion,omitempty"`
}
ClusterBootImageManualApplyConfiguration represents a declarative configuration of the ClusterBootImageManual type for use with apply.
ClusterBootImageManual is used to describe the cluster boot image in Manual mode.
func ClusterBootImageManual ¶
func ClusterBootImageManual() *ClusterBootImageManualApplyConfiguration
ClusterBootImageManualApplyConfiguration constructs a declarative configuration of the ClusterBootImageManual type for use with apply.
func (*ClusterBootImageManualApplyConfiguration) WithMode ¶
func (b *ClusterBootImageManualApplyConfiguration) WithMode(value operatorv1.ClusterBootImageManualMode) *ClusterBootImageManualApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*ClusterBootImageManualApplyConfiguration) WithOCPVersion ¶
func (b *ClusterBootImageManualApplyConfiguration) WithOCPVersion(value string) *ClusterBootImageManualApplyConfiguration
WithOCPVersion sets the OCPVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OCPVersion field is set to the value of the last call.
func (*ClusterBootImageManualApplyConfiguration) WithRHCOSVersion ¶
func (b *ClusterBootImageManualApplyConfiguration) WithRHCOSVersion(value string) *ClusterBootImageManualApplyConfiguration
WithRHCOSVersion sets the RHCOSVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RHCOSVersion field is set to the value of the last call.
type ClusterCSIDriverApplyConfiguration ¶
type ClusterCSIDriverApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec holds user settable values for configuration
Spec *ClusterCSIDriverSpecApplyConfiguration `json:"spec,omitempty"`
// status holds observed values from the cluster. They may not be overridden.
Status *ClusterCSIDriverStatusApplyConfiguration `json:"status,omitempty"`
}
ClusterCSIDriverApplyConfiguration represents a declarative configuration of the ClusterCSIDriver type for use with apply.
ClusterCSIDriver object allows management and configuration of a CSI driver operator installed by default in OpenShift. Name of the object must be name of the CSI driver it operates. See CSIDriverName type for list of allowed values.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ClusterCSIDriver ¶
func ClusterCSIDriver(name string) *ClusterCSIDriverApplyConfiguration
ClusterCSIDriver constructs a declarative configuration of the ClusterCSIDriver type for use with apply.
func ExtractClusterCSIDriver ¶
func ExtractClusterCSIDriver(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string) (*ClusterCSIDriverApplyConfiguration, error)
ExtractClusterCSIDriver extracts the applied configuration owned by fieldManager from clusterCSIDriver. If no managedFields are found in clusterCSIDriver for fieldManager, a ClusterCSIDriverApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. clusterCSIDriver must be a unmodified ClusterCSIDriver API object that was retrieved from the Kubernetes API. ExtractClusterCSIDriver provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractClusterCSIDriverFrom ¶
func ExtractClusterCSIDriverFrom(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string, subresource string) (*ClusterCSIDriverApplyConfiguration, error)
ExtractClusterCSIDriverFrom extracts the applied configuration owned by fieldManager from clusterCSIDriver for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. clusterCSIDriver must be a unmodified ClusterCSIDriver API object that was retrieved from the Kubernetes API. ExtractClusterCSIDriverFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractClusterCSIDriverStatus ¶
func ExtractClusterCSIDriverStatus(clusterCSIDriver *operatorv1.ClusterCSIDriver, fieldManager string) (*ClusterCSIDriverApplyConfiguration, error)
ExtractClusterCSIDriverStatus extracts the applied configuration owned by fieldManager from clusterCSIDriver for the status subresource.
func (*ClusterCSIDriverApplyConfiguration) GetAPIVersion ¶
func (b *ClusterCSIDriverApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ClusterCSIDriverApplyConfiguration) GetKind ¶
func (b *ClusterCSIDriverApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ClusterCSIDriverApplyConfiguration) GetName ¶
func (b *ClusterCSIDriverApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ClusterCSIDriverApplyConfiguration) GetNamespace ¶
func (b *ClusterCSIDriverApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ClusterCSIDriverApplyConfiguration) IsApplyConfiguration ¶
func (b ClusterCSIDriverApplyConfiguration) IsApplyConfiguration()
func (*ClusterCSIDriverApplyConfiguration) WithAPIVersion ¶
func (b *ClusterCSIDriverApplyConfiguration) WithAPIVersion(value string) *ClusterCSIDriverApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithAnnotations ¶
func (b *ClusterCSIDriverApplyConfiguration) WithAnnotations(entries map[string]string) *ClusterCSIDriverApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ClusterCSIDriverApplyConfiguration) WithCreationTimestamp ¶
func (b *ClusterCSIDriverApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ClusterCSIDriverApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ClusterCSIDriverApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCSIDriverApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithDeletionTimestamp ¶
func (b *ClusterCSIDriverApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ClusterCSIDriverApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithFinalizers ¶
func (b *ClusterCSIDriverApplyConfiguration) WithFinalizers(values ...string) *ClusterCSIDriverApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ClusterCSIDriverApplyConfiguration) WithGenerateName ¶
func (b *ClusterCSIDriverApplyConfiguration) WithGenerateName(value string) *ClusterCSIDriverApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithGeneration ¶
func (b *ClusterCSIDriverApplyConfiguration) WithGeneration(value int64) *ClusterCSIDriverApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithKind ¶
func (b *ClusterCSIDriverApplyConfiguration) WithKind(value string) *ClusterCSIDriverApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithLabels ¶
func (b *ClusterCSIDriverApplyConfiguration) WithLabels(entries map[string]string) *ClusterCSIDriverApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ClusterCSIDriverApplyConfiguration) WithName ¶
func (b *ClusterCSIDriverApplyConfiguration) WithName(value string) *ClusterCSIDriverApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithNamespace ¶
func (b *ClusterCSIDriverApplyConfiguration) WithNamespace(value string) *ClusterCSIDriverApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithOwnerReferences ¶
func (b *ClusterCSIDriverApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ClusterCSIDriverApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ClusterCSIDriverApplyConfiguration) WithResourceVersion ¶
func (b *ClusterCSIDriverApplyConfiguration) WithResourceVersion(value string) *ClusterCSIDriverApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithSpec ¶
func (b *ClusterCSIDriverApplyConfiguration) WithSpec(value *ClusterCSIDriverSpecApplyConfiguration) *ClusterCSIDriverApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithStatus ¶
func (b *ClusterCSIDriverApplyConfiguration) WithStatus(value *ClusterCSIDriverStatusApplyConfiguration) *ClusterCSIDriverApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ClusterCSIDriverApplyConfiguration) WithUID ¶
func (b *ClusterCSIDriverApplyConfiguration) WithUID(value types.UID) *ClusterCSIDriverApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ClusterCSIDriverSpecApplyConfiguration ¶
type ClusterCSIDriverSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// storageClassState determines if CSI operator should create and manage storage classes.
// If this field value is empty or Managed - CSI operator will continuously reconcile
// storage class and create if necessary.
// If this field value is Unmanaged - CSI operator will not reconcile any previously created
// storage class.
// If this field value is Removed - CSI operator will delete the storage class it created previously.
// When omitted, this means the user has no opinion and the platform chooses a reasonable default,
// which is subject to change over time.
// The current default behaviour is Managed.
StorageClassState *operatorv1.StorageClassStateName `json:"storageClassState,omitempty"`
// driverConfig can be used to specify platform specific driver configuration.
// When omitted, this means no opinion and the platform is left to choose reasonable
// defaults. These defaults are subject to change over time.
DriverConfig *CSIDriverConfigSpecApplyConfiguration `json:"driverConfig,omitempty"`
}
ClusterCSIDriverSpecApplyConfiguration represents a declarative configuration of the ClusterCSIDriverSpec type for use with apply.
ClusterCSIDriverSpec is the desired behavior of CSI driver operator
func ClusterCSIDriverSpec ¶
func ClusterCSIDriverSpec() *ClusterCSIDriverSpecApplyConfiguration
ClusterCSIDriverSpecApplyConfiguration constructs a declarative configuration of the ClusterCSIDriverSpec type for use with apply.
func (*ClusterCSIDriverSpecApplyConfiguration) WithDriverConfig ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithDriverConfig(value *CSIDriverConfigSpecApplyConfiguration) *ClusterCSIDriverSpecApplyConfiguration
WithDriverConfig sets the DriverConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DriverConfig field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithLogLevel ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ClusterCSIDriverSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithManagementState ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ClusterCSIDriverSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithObservedConfig ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ClusterCSIDriverSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ClusterCSIDriverSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithStorageClassState ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithStorageClassState(value operatorv1.StorageClassStateName) *ClusterCSIDriverSpecApplyConfiguration
WithStorageClassState sets the StorageClassState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageClassState field is set to the value of the last call.
func (*ClusterCSIDriverSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ClusterCSIDriverSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ClusterCSIDriverSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ClusterCSIDriverStatusApplyConfiguration ¶
type ClusterCSIDriverStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ClusterCSIDriverStatusApplyConfiguration represents a declarative configuration of the ClusterCSIDriverStatus type for use with apply.
ClusterCSIDriverStatus is the observed status of CSI driver operator
func ClusterCSIDriverStatus ¶
func ClusterCSIDriverStatus() *ClusterCSIDriverStatusApplyConfiguration
ClusterCSIDriverStatusApplyConfiguration constructs a declarative configuration of the ClusterCSIDriverStatus type for use with apply.
func (*ClusterCSIDriverStatusApplyConfiguration) WithConditions ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ClusterCSIDriverStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ClusterCSIDriverStatusApplyConfiguration) WithGenerations ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ClusterCSIDriverStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ClusterCSIDriverStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ClusterCSIDriverStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ClusterCSIDriverStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithObservedGeneration(value int64) *ClusterCSIDriverStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ClusterCSIDriverStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithReadyReplicas(value int32) *ClusterCSIDriverStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ClusterCSIDriverStatusApplyConfiguration) WithVersion ¶
func (b *ClusterCSIDriverStatusApplyConfiguration) WithVersion(value string) *ClusterCSIDriverStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ClusterNetworkEntryApplyConfiguration ¶
type ClusterNetworkEntryApplyConfiguration struct {
CIDR *string `json:"cidr,omitempty"`
HostPrefix *uint32 `json:"hostPrefix,omitempty"`
}
ClusterNetworkEntryApplyConfiguration represents a declarative configuration of the ClusterNetworkEntry type for use with apply.
ClusterNetworkEntry is a subnet from which to allocate PodIPs. A network of size HostPrefix (in CIDR notation) will be allocated when nodes join the cluster. If the HostPrefix field is not used by the plugin, it can be left unset. Not all network providers support multiple ClusterNetworks
func ClusterNetworkEntry ¶
func ClusterNetworkEntry() *ClusterNetworkEntryApplyConfiguration
ClusterNetworkEntryApplyConfiguration constructs a declarative configuration of the ClusterNetworkEntry type for use with apply.
func (*ClusterNetworkEntryApplyConfiguration) WithCIDR ¶
func (b *ClusterNetworkEntryApplyConfiguration) WithCIDR(value string) *ClusterNetworkEntryApplyConfiguration
WithCIDR sets the CIDR field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CIDR field is set to the value of the last call.
func (*ClusterNetworkEntryApplyConfiguration) WithHostPrefix ¶
func (b *ClusterNetworkEntryApplyConfiguration) WithHostPrefix(value uint32) *ClusterNetworkEntryApplyConfiguration
WithHostPrefix sets the HostPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostPrefix field is set to the value of the last call.
type ConfigApplyConfiguration ¶
type ConfigApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Config Operator.
Spec *ConfigSpecApplyConfiguration `json:"spec,omitempty"`
// status defines the observed status of the Config Operator.
Status *ConfigStatusApplyConfiguration `json:"status,omitempty"`
}
ConfigApplyConfiguration represents a declarative configuration of the Config type for use with apply.
Config specifies the behavior of the config operator which is responsible for creating the initial configuration of other components on the cluster. The operator also handles installation, migration or synchronization of cloud configurations for AWS and Azure cloud based clusters
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func Config ¶
func Config(name string) *ConfigApplyConfiguration
Config constructs a declarative configuration of the Config type for use with apply.
func ExtractConfig ¶
func ExtractConfig(config *operatorv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
ExtractConfig extracts the applied configuration owned by fieldManager from config. If no managedFields are found in config for fieldManager, a ConfigApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. config must be a unmodified Config API object that was retrieved from the Kubernetes API. ExtractConfig provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractConfigFrom ¶
func ExtractConfigFrom(config *operatorv1.Config, fieldManager string, subresource string) (*ConfigApplyConfiguration, error)
ExtractConfigFrom extracts the applied configuration owned by fieldManager from config for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. config must be a unmodified Config API object that was retrieved from the Kubernetes API. ExtractConfigFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractConfigStatus ¶
func ExtractConfigStatus(config *operatorv1.Config, fieldManager string) (*ConfigApplyConfiguration, error)
ExtractConfigStatus extracts the applied configuration owned by fieldManager from config for the status subresource.
func (*ConfigApplyConfiguration) GetAPIVersion ¶
func (b *ConfigApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ConfigApplyConfiguration) GetKind ¶
func (b *ConfigApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ConfigApplyConfiguration) GetName ¶
func (b *ConfigApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ConfigApplyConfiguration) GetNamespace ¶
func (b *ConfigApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ConfigApplyConfiguration) IsApplyConfiguration ¶
func (b ConfigApplyConfiguration) IsApplyConfiguration()
func (*ConfigApplyConfiguration) WithAPIVersion ¶
func (b *ConfigApplyConfiguration) WithAPIVersion(value string) *ConfigApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithAnnotations ¶
func (b *ConfigApplyConfiguration) WithAnnotations(entries map[string]string) *ConfigApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *ConfigApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ConfigApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConfigApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *ConfigApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ConfigApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithFinalizers ¶
func (b *ConfigApplyConfiguration) WithFinalizers(values ...string) *ConfigApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ConfigApplyConfiguration) WithGenerateName ¶
func (b *ConfigApplyConfiguration) WithGenerateName(value string) *ConfigApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithGeneration ¶
func (b *ConfigApplyConfiguration) WithGeneration(value int64) *ConfigApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithKind ¶
func (b *ConfigApplyConfiguration) WithKind(value string) *ConfigApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithLabels ¶
func (b *ConfigApplyConfiguration) WithLabels(entries map[string]string) *ConfigApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ConfigApplyConfiguration) WithName ¶
func (b *ConfigApplyConfiguration) WithName(value string) *ConfigApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithNamespace ¶
func (b *ConfigApplyConfiguration) WithNamespace(value string) *ConfigApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithOwnerReferences ¶
func (b *ConfigApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ConfigApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ConfigApplyConfiguration) WithResourceVersion ¶
func (b *ConfigApplyConfiguration) WithResourceVersion(value string) *ConfigApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithSpec ¶
func (b *ConfigApplyConfiguration) WithSpec(value *ConfigSpecApplyConfiguration) *ConfigApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithStatus ¶
func (b *ConfigApplyConfiguration) WithStatus(value *ConfigStatusApplyConfiguration) *ConfigApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ConfigApplyConfiguration) WithUID ¶
func (b *ConfigApplyConfiguration) WithUID(value types.UID) *ConfigApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ConfigMapFileReferenceApplyConfiguration ¶
type ConfigMapFileReferenceApplyConfiguration struct {
// name is the name of the ConfigMap.
// name is a required field.
// Must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.
// Must be at most 253 characters in length.
Name *string `json:"name,omitempty"`
// key is the logo key inside the referenced ConfigMap.
// Must consist only of alphanumeric characters, dashes (-), underscores (_), and periods (.).
// Must be at most 253 characters in length.
// Must end in a valid file extension.
// A valid file extension must consist of a period followed by 2 to 5 alpha characters.
Key *string `json:"key,omitempty"`
}
ConfigMapFileReferenceApplyConfiguration represents a declarative configuration of the ConfigMapFileReference type for use with apply.
ConfigMapFileReference references a specific file within a ConfigMap.
func ConfigMapFileReference ¶
func ConfigMapFileReference() *ConfigMapFileReferenceApplyConfiguration
ConfigMapFileReferenceApplyConfiguration constructs a declarative configuration of the ConfigMapFileReference type for use with apply.
func (*ConfigMapFileReferenceApplyConfiguration) WithKey ¶
func (b *ConfigMapFileReferenceApplyConfiguration) WithKey(value string) *ConfigMapFileReferenceApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*ConfigMapFileReferenceApplyConfiguration) WithName ¶
func (b *ConfigMapFileReferenceApplyConfiguration) WithName(value string) *ConfigMapFileReferenceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ConfigSpecApplyConfiguration ¶
type ConfigSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
ConfigSpecApplyConfiguration represents a declarative configuration of the ConfigSpec type for use with apply.
func ConfigSpec ¶
func ConfigSpec() *ConfigSpecApplyConfiguration
ConfigSpecApplyConfiguration constructs a declarative configuration of the ConfigSpec type for use with apply.
func (*ConfigSpecApplyConfiguration) WithLogLevel ¶
func (b *ConfigSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ConfigSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithManagementState ¶
func (b *ConfigSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ConfigSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithObservedConfig ¶
func (b *ConfigSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ConfigSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ConfigSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ConfigSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ConfigSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ConfigSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ConfigSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ConfigStatusApplyConfiguration ¶
type ConfigStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ConfigStatusApplyConfiguration represents a declarative configuration of the ConfigStatus type for use with apply.
func ConfigStatus ¶
func ConfigStatus() *ConfigStatusApplyConfiguration
ConfigStatusApplyConfiguration constructs a declarative configuration of the ConfigStatus type for use with apply.
func (*ConfigStatusApplyConfiguration) WithConditions ¶
func (b *ConfigStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ConfigStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ConfigStatusApplyConfiguration) WithGenerations ¶
func (b *ConfigStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ConfigStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ConfigStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ConfigStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ConfigStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ConfigStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ConfigStatusApplyConfiguration) WithObservedGeneration(value int64) *ConfigStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ConfigStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ConfigStatusApplyConfiguration) WithReadyReplicas(value int32) *ConfigStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ConfigStatusApplyConfiguration) WithVersion ¶
func (b *ConfigStatusApplyConfiguration) WithVersion(value string) *ConfigStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ConsoleApplyConfiguration ¶
type ConsoleApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ConsoleSpecApplyConfiguration `json:"spec,omitempty"`
Status *ConsoleStatusApplyConfiguration `json:"status,omitempty"`
}
ConsoleApplyConfiguration represents a declarative configuration of the Console type for use with apply.
Console provides a means to configure an operator to manage the console.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func Console ¶
func Console(name string) *ConsoleApplyConfiguration
Console constructs a declarative configuration of the Console type for use with apply.
func ExtractConsole ¶
func ExtractConsole(console *operatorv1.Console, fieldManager string) (*ConsoleApplyConfiguration, error)
ExtractConsole extracts the applied configuration owned by fieldManager from console. If no managedFields are found in console for fieldManager, a ConsoleApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. console must be a unmodified Console API object that was retrieved from the Kubernetes API. ExtractConsole provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractConsoleFrom ¶
func ExtractConsoleFrom(console *operatorv1.Console, fieldManager string, subresource string) (*ConsoleApplyConfiguration, error)
ExtractConsoleFrom extracts the applied configuration owned by fieldManager from console for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. console must be a unmodified Console API object that was retrieved from the Kubernetes API. ExtractConsoleFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractConsoleStatus ¶
func ExtractConsoleStatus(console *operatorv1.Console, fieldManager string) (*ConsoleApplyConfiguration, error)
ExtractConsoleStatus extracts the applied configuration owned by fieldManager from console for the status subresource.
func (*ConsoleApplyConfiguration) GetAPIVersion ¶
func (b *ConsoleApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ConsoleApplyConfiguration) GetKind ¶
func (b *ConsoleApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ConsoleApplyConfiguration) GetName ¶
func (b *ConsoleApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ConsoleApplyConfiguration) GetNamespace ¶
func (b *ConsoleApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ConsoleApplyConfiguration) IsApplyConfiguration ¶
func (b ConsoleApplyConfiguration) IsApplyConfiguration()
func (*ConsoleApplyConfiguration) WithAPIVersion ¶
func (b *ConsoleApplyConfiguration) WithAPIVersion(value string) *ConsoleApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithAnnotations ¶
func (b *ConsoleApplyConfiguration) WithAnnotations(entries map[string]string) *ConsoleApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ConsoleApplyConfiguration) WithCreationTimestamp ¶
func (b *ConsoleApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ConsoleApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ConsoleApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ConsoleApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithDeletionTimestamp ¶
func (b *ConsoleApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ConsoleApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithFinalizers ¶
func (b *ConsoleApplyConfiguration) WithFinalizers(values ...string) *ConsoleApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ConsoleApplyConfiguration) WithGenerateName ¶
func (b *ConsoleApplyConfiguration) WithGenerateName(value string) *ConsoleApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithGeneration ¶
func (b *ConsoleApplyConfiguration) WithGeneration(value int64) *ConsoleApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithKind ¶
func (b *ConsoleApplyConfiguration) WithKind(value string) *ConsoleApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithLabels ¶
func (b *ConsoleApplyConfiguration) WithLabels(entries map[string]string) *ConsoleApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ConsoleApplyConfiguration) WithName ¶
func (b *ConsoleApplyConfiguration) WithName(value string) *ConsoleApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithNamespace ¶
func (b *ConsoleApplyConfiguration) WithNamespace(value string) *ConsoleApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithOwnerReferences ¶
func (b *ConsoleApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ConsoleApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ConsoleApplyConfiguration) WithResourceVersion ¶
func (b *ConsoleApplyConfiguration) WithResourceVersion(value string) *ConsoleApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithSpec ¶
func (b *ConsoleApplyConfiguration) WithSpec(value *ConsoleSpecApplyConfiguration) *ConsoleApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithStatus ¶
func (b *ConsoleApplyConfiguration) WithStatus(value *ConsoleStatusApplyConfiguration) *ConsoleApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ConsoleApplyConfiguration) WithUID ¶
func (b *ConsoleApplyConfiguration) WithUID(value types.UID) *ConsoleApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ConsoleConfigRouteApplyConfiguration ¶
type ConsoleConfigRouteApplyConfiguration struct {
// hostname is the desired custom domain under which console will be available.
Hostname *string `json:"hostname,omitempty"`
// secret points to secret in the openshift-config namespace that contains custom
// certificate and key and needs to be created manually by the cluster admin.
// Referenced Secret is required to contain following key value pairs:
// - "tls.crt" - to specifies custom certificate
// - "tls.key" - to specifies private key of the custom certificate
// If the custom hostname uses the default routing suffix of the cluster,
// the Secret specification for a serving certificate will not be needed.
Secret *configv1.SecretNameReference `json:"secret,omitempty"`
}
ConsoleConfigRouteApplyConfiguration represents a declarative configuration of the ConsoleConfigRoute type for use with apply.
ConsoleConfigRoute holds information on external route access to console. DEPRECATED
func ConsoleConfigRoute ¶
func ConsoleConfigRoute() *ConsoleConfigRouteApplyConfiguration
ConsoleConfigRouteApplyConfiguration constructs a declarative configuration of the ConsoleConfigRoute type for use with apply.
func (*ConsoleConfigRouteApplyConfiguration) WithHostname ¶
func (b *ConsoleConfigRouteApplyConfiguration) WithHostname(value string) *ConsoleConfigRouteApplyConfiguration
WithHostname sets the Hostname field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hostname field is set to the value of the last call.
func (*ConsoleConfigRouteApplyConfiguration) WithSecret ¶
func (b *ConsoleConfigRouteApplyConfiguration) WithSecret(value configv1.SecretNameReference) *ConsoleConfigRouteApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type ConsoleCustomizationApplyConfiguration ¶
type ConsoleCustomizationApplyConfiguration struct {
// logos is used to replace the OpenShift Masthead and Favicon logos in the console UI with custom logos.
// logos is an optional field that allows a list of logos.
// Only one of logos or customLogoFile can be set at a time.
// If logos is set, customLogoFile must be unset.
// When specified, there must be at least one entry and no more than 2 entries.
// Each type must appear only once in the list.
Logos []LogoApplyConfiguration `json:"logos,omitempty"`
// capabilities defines an array of capabilities that can be interacted with in the console UI.
// Each capability defines a visual state that can be interacted with the console to render in the UI.
// Available capabilities are LightspeedButton, GettingStartedBanner, and GuidedTour.
// Each of the available capabilities may appear only once in the list.
Capabilities []CapabilityApplyConfiguration `json:"capabilities,omitempty"`
// brand is the default branding of the web console which can be overridden by
// providing the brand field. There is a limited set of specific brand options.
// This field controls elements of the console such as the logo.
// Invalid value will prevent a console rollout.
Brand *operatorv1.Brand `json:"brand,omitempty"`
// documentationBaseURL links to external documentation are shown in various sections
// of the web console. Providing documentationBaseURL will override the default
// documentation URL.
// Invalid value will prevent a console rollout.
DocumentationBaseURL *string `json:"documentationBaseURL,omitempty"`
// customProductName is the name that will be displayed in page titles, logo alt text, and the about dialog
// instead of the normal OpenShift product name.
CustomProductName *string `json:"customProductName,omitempty"`
// customLogoFile replaces the default OpenShift logo in the masthead and about dialog. It is a reference to a
// Only one of customLogoFile or logos can be set at a time.
// ConfigMap in the openshift-config namespace. This can be created with a command like
// 'oc create configmap custom-logo --from-file=/path/to/file -n openshift-config'.
// Image size must be less than 1 MB due to constraints on the ConfigMap size.
// The ConfigMap key should include a file extension so that the console serves the file
// with the correct MIME type.
// The recommended file format for the logo is SVG, but other file formats are allowed if supported by the browser.
// Deprecated: Use logos instead.
CustomLogoFile *configv1.ConfigMapFileReference `json:"customLogoFile,omitempty"`
// developerCatalog allows to configure the shown developer catalog categories (filters) and types (sub-catalogs).
DeveloperCatalog *DeveloperConsoleCatalogCustomizationApplyConfiguration `json:"developerCatalog,omitempty"`
// projectAccess allows customizing the available list of ClusterRoles in the Developer perspective
// Project access page which can be used by a project admin to specify roles to other users and
// restrict access within the project. If set, the list will replace the default ClusterRole options.
ProjectAccess *ProjectAccessApplyConfiguration `json:"projectAccess,omitempty"`
// quickStarts allows customization of available ConsoleQuickStart resources in console.
QuickStarts *QuickStartsApplyConfiguration `json:"quickStarts,omitempty"`
// addPage allows customizing actions on the Add page in developer perspective.
AddPage *AddPageApplyConfiguration `json:"addPage,omitempty"`
// perspectives allows enabling/disabling of perspective(s) that user can see in the Perspective switcher dropdown.
Perspectives []PerspectiveApplyConfiguration `json:"perspectives,omitempty"`
}
ConsoleCustomizationApplyConfiguration represents a declarative configuration of the ConsoleCustomization type for use with apply.
ConsoleCustomization defines a list of optional configuration for the console UI. Ensure that Logos and CustomLogoFile cannot be set at the same time.
func ConsoleCustomization ¶
func ConsoleCustomization() *ConsoleCustomizationApplyConfiguration
ConsoleCustomizationApplyConfiguration constructs a declarative configuration of the ConsoleCustomization type for use with apply.
func (*ConsoleCustomizationApplyConfiguration) WithAddPage ¶
func (b *ConsoleCustomizationApplyConfiguration) WithAddPage(value *AddPageApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithAddPage sets the AddPage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AddPage field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithBrand ¶
func (b *ConsoleCustomizationApplyConfiguration) WithBrand(value operatorv1.Brand) *ConsoleCustomizationApplyConfiguration
WithBrand sets the Brand field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Brand field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithCapabilities ¶
func (b *ConsoleCustomizationApplyConfiguration) WithCapabilities(values ...*CapabilityApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithCapabilities adds the given value to the Capabilities field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Capabilities field.
func (*ConsoleCustomizationApplyConfiguration) WithCustomLogoFile ¶
func (b *ConsoleCustomizationApplyConfiguration) WithCustomLogoFile(value configv1.ConfigMapFileReference) *ConsoleCustomizationApplyConfiguration
WithCustomLogoFile sets the CustomLogoFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomLogoFile field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithCustomProductName ¶
func (b *ConsoleCustomizationApplyConfiguration) WithCustomProductName(value string) *ConsoleCustomizationApplyConfiguration
WithCustomProductName sets the CustomProductName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomProductName field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithDeveloperCatalog ¶
func (b *ConsoleCustomizationApplyConfiguration) WithDeveloperCatalog(value *DeveloperConsoleCatalogCustomizationApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithDeveloperCatalog sets the DeveloperCatalog field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeveloperCatalog field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithDocumentationBaseURL ¶
func (b *ConsoleCustomizationApplyConfiguration) WithDocumentationBaseURL(value string) *ConsoleCustomizationApplyConfiguration
WithDocumentationBaseURL sets the DocumentationBaseURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DocumentationBaseURL field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithLogos ¶
func (b *ConsoleCustomizationApplyConfiguration) WithLogos(values ...*LogoApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithLogos adds the given value to the Logos field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Logos field.
func (*ConsoleCustomizationApplyConfiguration) WithPerspectives ¶
func (b *ConsoleCustomizationApplyConfiguration) WithPerspectives(values ...*PerspectiveApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithPerspectives adds the given value to the Perspectives field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Perspectives field.
func (*ConsoleCustomizationApplyConfiguration) WithProjectAccess ¶
func (b *ConsoleCustomizationApplyConfiguration) WithProjectAccess(value *ProjectAccessApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithProjectAccess sets the ProjectAccess field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectAccess field is set to the value of the last call.
func (*ConsoleCustomizationApplyConfiguration) WithQuickStarts ¶
func (b *ConsoleCustomizationApplyConfiguration) WithQuickStarts(value *QuickStartsApplyConfiguration) *ConsoleCustomizationApplyConfiguration
WithQuickStarts sets the QuickStarts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the QuickStarts field is set to the value of the last call.
type ConsoleProvidersApplyConfiguration ¶
type ConsoleProvidersApplyConfiguration struct {
// statuspage contains ID for statuspage.io page that provides status info about.
Statuspage *StatuspageProviderApplyConfiguration `json:"statuspage,omitempty"`
}
ConsoleProvidersApplyConfiguration represents a declarative configuration of the ConsoleProviders type for use with apply.
ConsoleProviders defines a list of optional additional providers of functionality to the console.
func ConsoleProviders ¶
func ConsoleProviders() *ConsoleProvidersApplyConfiguration
ConsoleProvidersApplyConfiguration constructs a declarative configuration of the ConsoleProviders type for use with apply.
func (*ConsoleProvidersApplyConfiguration) WithStatuspage ¶
func (b *ConsoleProvidersApplyConfiguration) WithStatuspage(value *StatuspageProviderApplyConfiguration) *ConsoleProvidersApplyConfiguration
WithStatuspage sets the Statuspage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Statuspage field is set to the value of the last call.
type ConsoleSpecApplyConfiguration ¶
type ConsoleSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// customization is used to optionally provide a small set of
// customization options to the web console.
Customization *ConsoleCustomizationApplyConfiguration `json:"customization,omitempty"`
// providers contains configuration for using specific service providers.
Providers *ConsoleProvidersApplyConfiguration `json:"providers,omitempty"`
// route contains hostname and secret reference that contains the serving certificate.
// If a custom route is specified, a new route will be created with the
// provided hostname, under which console will be available.
// In case of custom hostname uses the default routing suffix of the cluster,
// the Secret specification for a serving certificate will not be needed.
// In case of custom hostname points to an arbitrary domain, manual DNS configurations steps are necessary.
// The default console route will be maintained to reserve the default hostname
// for console if the custom route is removed.
// If not specified, default route will be used.
// DEPRECATED
Route *ConsoleConfigRouteApplyConfiguration `json:"route,omitempty"`
// plugins defines a list of enabled console plugin names.
Plugins []string `json:"plugins,omitempty"`
// ingress allows to configure the alternative ingress for the console.
// This field is intended for clusters without ingress capability,
// where access to routes is not possible.
Ingress *IngressApplyConfiguration `json:"ingress,omitempty"`
}
ConsoleSpecApplyConfiguration represents a declarative configuration of the ConsoleSpec type for use with apply.
ConsoleSpec is the specification of the desired behavior of the Console.
func ConsoleSpec ¶
func ConsoleSpec() *ConsoleSpecApplyConfiguration
ConsoleSpecApplyConfiguration constructs a declarative configuration of the ConsoleSpec type for use with apply.
func (*ConsoleSpecApplyConfiguration) WithCustomization ¶
func (b *ConsoleSpecApplyConfiguration) WithCustomization(value *ConsoleCustomizationApplyConfiguration) *ConsoleSpecApplyConfiguration
WithCustomization sets the Customization field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Customization field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithIngress ¶
func (b *ConsoleSpecApplyConfiguration) WithIngress(value *IngressApplyConfiguration) *ConsoleSpecApplyConfiguration
WithIngress sets the Ingress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ingress field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithLogLevel ¶
func (b *ConsoleSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ConsoleSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithManagementState ¶
func (b *ConsoleSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ConsoleSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithObservedConfig ¶
func (b *ConsoleSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ConsoleSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ConsoleSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ConsoleSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithPlugins ¶
func (b *ConsoleSpecApplyConfiguration) WithPlugins(values ...string) *ConsoleSpecApplyConfiguration
WithPlugins adds the given value to the Plugins field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Plugins field.
func (*ConsoleSpecApplyConfiguration) WithProviders ¶
func (b *ConsoleSpecApplyConfiguration) WithProviders(value *ConsoleProvidersApplyConfiguration) *ConsoleSpecApplyConfiguration
WithProviders sets the Providers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Providers field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithRoute ¶
func (b *ConsoleSpecApplyConfiguration) WithRoute(value *ConsoleConfigRouteApplyConfiguration) *ConsoleSpecApplyConfiguration
WithRoute sets the Route field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Route field is set to the value of the last call.
func (*ConsoleSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ConsoleSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ConsoleSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ConsoleStatusApplyConfiguration ¶
type ConsoleStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ConsoleStatusApplyConfiguration represents a declarative configuration of the ConsoleStatus type for use with apply.
ConsoleStatus defines the observed status of the Console.
func ConsoleStatus ¶
func ConsoleStatus() *ConsoleStatusApplyConfiguration
ConsoleStatusApplyConfiguration constructs a declarative configuration of the ConsoleStatus type for use with apply.
func (*ConsoleStatusApplyConfiguration) WithConditions ¶
func (b *ConsoleStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ConsoleStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ConsoleStatusApplyConfiguration) WithGenerations ¶
func (b *ConsoleStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ConsoleStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ConsoleStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ConsoleStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ConsoleStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ConsoleStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ConsoleStatusApplyConfiguration) WithObservedGeneration(value int64) *ConsoleStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ConsoleStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ConsoleStatusApplyConfiguration) WithReadyReplicas(value int32) *ConsoleStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ConsoleStatusApplyConfiguration) WithVersion ¶
func (b *ConsoleStatusApplyConfiguration) WithVersion(value string) *ConsoleStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ContainerLoggingDestinationParametersApplyConfiguration ¶
type ContainerLoggingDestinationParametersApplyConfiguration struct {
// maxLength is the maximum length of the log message.
//
// Valid values are integers in the range 480 to 8192, inclusive.
//
// When omitted, the default value is 1024.
MaxLength *int32 `json:"maxLength,omitempty"`
}
ContainerLoggingDestinationParametersApplyConfiguration represents a declarative configuration of the ContainerLoggingDestinationParameters type for use with apply.
ContainerLoggingDestinationParameters describes parameters for the Container logging destination type.
func ContainerLoggingDestinationParameters ¶
func ContainerLoggingDestinationParameters() *ContainerLoggingDestinationParametersApplyConfiguration
ContainerLoggingDestinationParametersApplyConfiguration constructs a declarative configuration of the ContainerLoggingDestinationParameters type for use with apply.
func (*ContainerLoggingDestinationParametersApplyConfiguration) WithMaxLength ¶
func (b *ContainerLoggingDestinationParametersApplyConfiguration) WithMaxLength(value int32) *ContainerLoggingDestinationParametersApplyConfiguration
WithMaxLength sets the MaxLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLength field is set to the value of the last call.
type DNSApplyConfiguration ¶
type DNSApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the DNS.
Spec *DNSSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the DNS.
Status *DNSStatusApplyConfiguration `json:"status,omitempty"`
}
DNSApplyConfiguration represents a declarative configuration of the DNS type for use with apply.
DNS manages the CoreDNS component to provide a name resolution service for pods and services in the cluster.
This supports the DNS-based service discovery specification: https://github.com/kubernetes/dns/blob/master/docs/specification.md
More details: https://kubernetes.io/docs/tasks/administer-cluster/coredns
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func DNS ¶
func DNS(name string) *DNSApplyConfiguration
DNS constructs a declarative configuration of the DNS type for use with apply.
func ExtractDNS ¶
func ExtractDNS(dNS *operatorv1.DNS, fieldManager string) (*DNSApplyConfiguration, error)
ExtractDNS extracts the applied configuration owned by fieldManager from dNS. If no managedFields are found in dNS for fieldManager, a DNSApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. dNS must be a unmodified DNS API object that was retrieved from the Kubernetes API. ExtractDNS provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractDNSFrom ¶
func ExtractDNSFrom(dNS *operatorv1.DNS, fieldManager string, subresource string) (*DNSApplyConfiguration, error)
ExtractDNSFrom extracts the applied configuration owned by fieldManager from dNS for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. dNS must be a unmodified DNS API object that was retrieved from the Kubernetes API. ExtractDNSFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractDNSStatus ¶
func ExtractDNSStatus(dNS *operatorv1.DNS, fieldManager string) (*DNSApplyConfiguration, error)
ExtractDNSStatus extracts the applied configuration owned by fieldManager from dNS for the status subresource.
func (*DNSApplyConfiguration) GetAPIVersion ¶
func (b *DNSApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*DNSApplyConfiguration) GetKind ¶
func (b *DNSApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*DNSApplyConfiguration) GetName ¶
func (b *DNSApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*DNSApplyConfiguration) GetNamespace ¶
func (b *DNSApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (DNSApplyConfiguration) IsApplyConfiguration ¶
func (b DNSApplyConfiguration) IsApplyConfiguration()
func (*DNSApplyConfiguration) WithAPIVersion ¶
func (b *DNSApplyConfiguration) WithAPIVersion(value string) *DNSApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*DNSApplyConfiguration) WithAnnotations ¶
func (b *DNSApplyConfiguration) WithAnnotations(entries map[string]string) *DNSApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*DNSApplyConfiguration) WithCreationTimestamp ¶
func (b *DNSApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *DNSApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*DNSApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *DNSApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *DNSApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*DNSApplyConfiguration) WithDeletionTimestamp ¶
func (b *DNSApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *DNSApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*DNSApplyConfiguration) WithFinalizers ¶
func (b *DNSApplyConfiguration) WithFinalizers(values ...string) *DNSApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*DNSApplyConfiguration) WithGenerateName ¶
func (b *DNSApplyConfiguration) WithGenerateName(value string) *DNSApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*DNSApplyConfiguration) WithGeneration ¶
func (b *DNSApplyConfiguration) WithGeneration(value int64) *DNSApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*DNSApplyConfiguration) WithKind ¶
func (b *DNSApplyConfiguration) WithKind(value string) *DNSApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*DNSApplyConfiguration) WithLabels ¶
func (b *DNSApplyConfiguration) WithLabels(entries map[string]string) *DNSApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*DNSApplyConfiguration) WithName ¶
func (b *DNSApplyConfiguration) WithName(value string) *DNSApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*DNSApplyConfiguration) WithNamespace ¶
func (b *DNSApplyConfiguration) WithNamespace(value string) *DNSApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*DNSApplyConfiguration) WithOwnerReferences ¶
func (b *DNSApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *DNSApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*DNSApplyConfiguration) WithResourceVersion ¶
func (b *DNSApplyConfiguration) WithResourceVersion(value string) *DNSApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*DNSApplyConfiguration) WithSpec ¶
func (b *DNSApplyConfiguration) WithSpec(value *DNSSpecApplyConfiguration) *DNSApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*DNSApplyConfiguration) WithStatus ¶
func (b *DNSApplyConfiguration) WithStatus(value *DNSStatusApplyConfiguration) *DNSApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*DNSApplyConfiguration) WithUID ¶
func (b *DNSApplyConfiguration) WithUID(value types.UID) *DNSApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type DNSCacheApplyConfiguration ¶
type DNSCacheApplyConfiguration struct {
// positiveTTL is optional and specifies the amount of time that a positive response should be cached.
//
// If configured, it must be a value of 1s (1 second) or greater up to a theoretical maximum of several years. This
// field expects an unsigned duration string of decimal numbers, each with optional fraction and a unit suffix,
// e.g. "100s", "1m30s", "12h30m10s". Values that are fractions of a second are rounded down to the nearest second.
// If the configured value is less than 1s, the default value will be used.
// If not configured, the value will be 0s and OpenShift will use a default value of 900 seconds unless noted
// otherwise in the respective Corefile for your version of OpenShift. The default value of 900 seconds is subject
// to change.
PositiveTTL *metav1.Duration `json:"positiveTTL,omitempty"`
// negativeTTL is optional and specifies the amount of time that a negative response should be cached.
//
// If configured, it must be a value of 1s (1 second) or greater up to a theoretical maximum of several years. This
// field expects an unsigned duration string of decimal numbers, each with optional fraction and a unit suffix,
// e.g. "100s", "1m30s", "12h30m10s". Values that are fractions of a second are rounded down to the nearest second.
// If the configured value is less than 1s, the default value will be used.
// If not configured, the value will be 0s and OpenShift will use a default value of 30 seconds unless noted
// otherwise in the respective Corefile for your version of OpenShift. The default value of 30 seconds is subject
// to change.
NegativeTTL *metav1.Duration `json:"negativeTTL,omitempty"`
}
DNSCacheApplyConfiguration represents a declarative configuration of the DNSCache type for use with apply.
DNSCache defines the fields for configuring DNS caching.
func DNSCache ¶
func DNSCache() *DNSCacheApplyConfiguration
DNSCacheApplyConfiguration constructs a declarative configuration of the DNSCache type for use with apply.
func (*DNSCacheApplyConfiguration) WithNegativeTTL ¶
func (b *DNSCacheApplyConfiguration) WithNegativeTTL(value metav1.Duration) *DNSCacheApplyConfiguration
WithNegativeTTL sets the NegativeTTL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NegativeTTL field is set to the value of the last call.
func (*DNSCacheApplyConfiguration) WithPositiveTTL ¶
func (b *DNSCacheApplyConfiguration) WithPositiveTTL(value metav1.Duration) *DNSCacheApplyConfiguration
WithPositiveTTL sets the PositiveTTL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PositiveTTL field is set to the value of the last call.
type DNSNodePlacementApplyConfiguration ¶
type DNSNodePlacementApplyConfiguration struct {
// nodeSelector is the node selector applied to DNS pods.
//
// If empty, the default is used, which is currently the following:
//
// kubernetes.io/os: linux
//
// This default is subject to change.
//
// If set, the specified selector is used and replaces the default.
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// tolerations is a list of tolerations applied to DNS pods.
//
// If empty, the DNS operator sets a toleration for the
// "node-role.kubernetes.io/master" taint. This default is subject to
// change. Specifying tolerations without including a toleration for
// the "node-role.kubernetes.io/master" taint may be risky as it could
// lead to an outage if all worker nodes become unavailable.
//
// Note that the daemon controller adds some tolerations as well. See
// https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}
DNSNodePlacementApplyConfiguration represents a declarative configuration of the DNSNodePlacement type for use with apply.
DNSNodePlacement describes the node scheduling configuration for DNS pods.
func DNSNodePlacement ¶
func DNSNodePlacement() *DNSNodePlacementApplyConfiguration
DNSNodePlacementApplyConfiguration constructs a declarative configuration of the DNSNodePlacement type for use with apply.
func (*DNSNodePlacementApplyConfiguration) WithNodeSelector ¶
func (b *DNSNodePlacementApplyConfiguration) WithNodeSelector(entries map[string]string) *DNSNodePlacementApplyConfiguration
WithNodeSelector puts the entries into the NodeSelector field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the NodeSelector field, overwriting an existing map entries in NodeSelector field with the same key.
func (*DNSNodePlacementApplyConfiguration) WithTolerations ¶
func (b *DNSNodePlacementApplyConfiguration) WithTolerations(values ...corev1.Toleration) *DNSNodePlacementApplyConfiguration
WithTolerations adds the given value to the Tolerations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Tolerations field.
type DNSOverTLSConfigApplyConfiguration ¶
type DNSOverTLSConfigApplyConfiguration struct {
// serverName is the upstream server to connect to when forwarding DNS queries. This is required when Transport is
// set to "TLS". ServerName will be validated against the DNS naming conventions in RFC 1123 and should match the
// TLS certificate installed in the upstream resolver(s).
ServerName *string `json:"serverName,omitempty"`
// caBundle references a ConfigMap that must contain either a single
// CA Certificate or a CA Bundle. This allows cluster administrators to provide their
// own CA or CA bundle for validating the certificate of upstream resolvers.
//
// 1. The configmap must contain a `ca-bundle.crt` key.
// 2. The value must be a PEM encoded CA certificate or CA bundle.
// 3. The administrator must create this configmap in the openshift-config namespace.
// 4. The upstream server certificate must contain a Subject Alternative Name (SAN) that matches ServerName.
CABundle *configv1.ConfigMapNameReference `json:"caBundle,omitempty"`
}
DNSOverTLSConfigApplyConfiguration represents a declarative configuration of the DNSOverTLSConfig type for use with apply.
DNSOverTLSConfig describes optional DNSTransportConfig fields that should be captured.
func DNSOverTLSConfig ¶
func DNSOverTLSConfig() *DNSOverTLSConfigApplyConfiguration
DNSOverTLSConfigApplyConfiguration constructs a declarative configuration of the DNSOverTLSConfig type for use with apply.
func (*DNSOverTLSConfigApplyConfiguration) WithCABundle ¶
func (b *DNSOverTLSConfigApplyConfiguration) WithCABundle(value configv1.ConfigMapNameReference) *DNSOverTLSConfigApplyConfiguration
WithCABundle sets the CABundle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CABundle field is set to the value of the last call.
func (*DNSOverTLSConfigApplyConfiguration) WithServerName ¶
func (b *DNSOverTLSConfigApplyConfiguration) WithServerName(value string) *DNSOverTLSConfigApplyConfiguration
WithServerName sets the ServerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerName field is set to the value of the last call.
type DNSSpecApplyConfiguration ¶
type DNSSpecApplyConfiguration struct {
// servers is a list of DNS resolvers that provide name query delegation for one or
// more subdomains outside the scope of the cluster domain. If servers consists of
// more than one Server, longest suffix match will be used to determine the Server.
//
// For example, if there are two Servers, one for "foo.com" and another for "a.foo.com",
// and the name query is for "www.a.foo.com", it will be routed to the Server with Zone
// "a.foo.com".
//
// If this field is nil, no servers are created.
Servers []ServerApplyConfiguration `json:"servers,omitempty"`
// upstreamResolvers defines a schema for configuring CoreDNS
// to proxy DNS messages to upstream resolvers for the case of the
// default (".") server
//
// If this field is not specified, the upstream used will default to
// /etc/resolv.conf, with policy "sequential"
UpstreamResolvers *UpstreamResolversApplyConfiguration `json:"upstreamResolvers,omitempty"`
// nodePlacement provides explicit control over the scheduling of DNS
// pods.
//
// Generally, it is useful to run a DNS pod on every node so that DNS
// queries are always handled by a local DNS pod instead of going over
// the network to a DNS pod on another node. However, security policies
// may require restricting the placement of DNS pods to specific nodes.
// For example, if a security policy prohibits pods on arbitrary nodes
// from communicating with the API, a node selector can be specified to
// restrict DNS pods to nodes that are permitted to communicate with the
// API. Conversely, if running DNS pods on nodes with a particular
// taint is desired, a toleration can be specified for that taint.
//
// If unset, defaults are used. See nodePlacement for more details.
NodePlacement *DNSNodePlacementApplyConfiguration `json:"nodePlacement,omitempty"`
// managementState indicates whether the DNS operator should manage cluster
// DNS
ManagementState *operatorv1.ManagementState `json:"managementState,omitempty"`
// operatorLogLevel controls the logging level of the DNS Operator.
// Valid values are: "Normal", "Debug", "Trace".
// Defaults to "Normal".
// setting operatorLogLevel: Trace will produce extremely verbose logs.
OperatorLogLevel *operatorv1.DNSLogLevel `json:"operatorLogLevel,omitempty"`
// logLevel describes the desired logging verbosity for CoreDNS.
// Any one of the following values may be specified:
// * Normal logs errors from upstream resolvers.
// * Debug logs errors, NXDOMAIN responses, and NODATA responses.
// * Trace logs errors and all responses.
// Setting logLevel: Trace will produce extremely verbose logs.
// Valid values are: "Normal", "Debug", "Trace".
// Defaults to "Normal".
LogLevel *operatorv1.DNSLogLevel `json:"logLevel,omitempty"`
// cache describes the caching configuration that applies to all server blocks listed in the Corefile.
// This field allows a cluster admin to optionally configure:
// * positiveTTL which is a duration for which positive responses should be cached.
// * negativeTTL which is a duration for which negative responses should be cached.
// If this is not configured, OpenShift will configure positive and negative caching with a default value that is
// subject to change. At the time of writing, the default positiveTTL is 900 seconds and the default negativeTTL is
// 30 seconds or as noted in the respective Corefile for your version of OpenShift.
Cache *DNSCacheApplyConfiguration `json:"cache,omitempty"`
}
DNSSpecApplyConfiguration represents a declarative configuration of the DNSSpec type for use with apply.
DNSSpec is the specification of the desired behavior of the DNS.
func DNSSpec ¶
func DNSSpec() *DNSSpecApplyConfiguration
DNSSpecApplyConfiguration constructs a declarative configuration of the DNSSpec type for use with apply.
func (*DNSSpecApplyConfiguration) WithCache ¶
func (b *DNSSpecApplyConfiguration) WithCache(value *DNSCacheApplyConfiguration) *DNSSpecApplyConfiguration
WithCache sets the Cache field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cache field is set to the value of the last call.
func (*DNSSpecApplyConfiguration) WithLogLevel ¶
func (b *DNSSpecApplyConfiguration) WithLogLevel(value operatorv1.DNSLogLevel) *DNSSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*DNSSpecApplyConfiguration) WithManagementState ¶
func (b *DNSSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *DNSSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*DNSSpecApplyConfiguration) WithNodePlacement ¶
func (b *DNSSpecApplyConfiguration) WithNodePlacement(value *DNSNodePlacementApplyConfiguration) *DNSSpecApplyConfiguration
WithNodePlacement sets the NodePlacement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePlacement field is set to the value of the last call.
func (*DNSSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *DNSSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.DNSLogLevel) *DNSSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*DNSSpecApplyConfiguration) WithServers ¶
func (b *DNSSpecApplyConfiguration) WithServers(values ...*ServerApplyConfiguration) *DNSSpecApplyConfiguration
WithServers adds the given value to the Servers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Servers field.
func (*DNSSpecApplyConfiguration) WithUpstreamResolvers ¶
func (b *DNSSpecApplyConfiguration) WithUpstreamResolvers(value *UpstreamResolversApplyConfiguration) *DNSSpecApplyConfiguration
WithUpstreamResolvers sets the UpstreamResolvers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpstreamResolvers field is set to the value of the last call.
type DNSStatusApplyConfiguration ¶
type DNSStatusApplyConfiguration struct {
// clusterIP is the service IP through which this DNS is made available.
//
// In the case of the default DNS, this will be a well known IP that is used
// as the default nameserver for pods that are using the default ClusterFirst DNS policy.
//
// In general, this IP can be specified in a pod's spec.dnsConfig.nameservers list
// or used explicitly when performing name resolution from within the cluster.
// Example: dig foo.com @<service IP>
//
// More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
ClusterIP *string `json:"clusterIP,omitempty"`
// clusterDomain is the local cluster DNS domain suffix for DNS services.
// This will be a subdomain as defined in RFC 1034,
// section 3.5: https://tools.ietf.org/html/rfc1034#section-3.5
// Example: "cluster.local"
//
// More info: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service
ClusterDomain *string `json:"clusterDomain,omitempty"`
// conditions provide information about the state of the DNS on the cluster.
//
// These are the supported DNS conditions:
//
// * Available
// - True if the following conditions are met:
// * DNS controller daemonset is available.
// - False if any of those conditions are unsatisfied.
Conditions []OperatorConditionApplyConfiguration `json:"conditions,omitempty"`
}
DNSStatusApplyConfiguration represents a declarative configuration of the DNSStatus type for use with apply.
DNSStatus defines the observed status of the DNS.
func DNSStatus ¶
func DNSStatus() *DNSStatusApplyConfiguration
DNSStatusApplyConfiguration constructs a declarative configuration of the DNSStatus type for use with apply.
func (*DNSStatusApplyConfiguration) WithClusterDomain ¶
func (b *DNSStatusApplyConfiguration) WithClusterDomain(value string) *DNSStatusApplyConfiguration
WithClusterDomain sets the ClusterDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterDomain field is set to the value of the last call.
func (*DNSStatusApplyConfiguration) WithClusterIP ¶
func (b *DNSStatusApplyConfiguration) WithClusterIP(value string) *DNSStatusApplyConfiguration
WithClusterIP sets the ClusterIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterIP field is set to the value of the last call.
func (*DNSStatusApplyConfiguration) WithConditions ¶
func (b *DNSStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *DNSStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
type DNSTransportConfigApplyConfiguration ¶
type DNSTransportConfigApplyConfiguration struct {
// transport allows cluster administrators to opt-in to using a DNS-over-TLS
// connection between cluster DNS and an upstream resolver(s). Configuring
// TLS as the transport at this level without configuring a CABundle will
// result in the system certificates being used to verify the serving
// certificate of the upstream resolver(s).
//
// Possible values:
// "" (empty) - This means no explicit choice has been made and the platform chooses the default which is subject
// to change over time. The current default is "Cleartext".
// "Cleartext" - Cluster admin specified cleartext option. This results in the same functionality
// as an empty value but may be useful when a cluster admin wants to be more explicit about the transport,
// or wants to switch from "TLS" to "Cleartext" explicitly.
// "TLS" - This indicates that DNS queries should be sent over a TLS connection. If Transport is set to TLS,
// you MUST also set ServerName. If a port is not included with the upstream IP, port 853 will be tried by default
// per RFC 7858 section 3.1; https://datatracker.ietf.org/doc/html/rfc7858#section-3.1.
Transport *operatorv1.DNSTransport `json:"transport,omitempty"`
// tls contains the additional configuration options to use when Transport is set to "TLS".
TLS *DNSOverTLSConfigApplyConfiguration `json:"tls,omitempty"`
}
DNSTransportConfigApplyConfiguration represents a declarative configuration of the DNSTransportConfig type for use with apply.
DNSTransportConfig groups related configuration parameters used for configuring forwarding to upstream resolvers that support DNS-over-TLS.
func DNSTransportConfig ¶
func DNSTransportConfig() *DNSTransportConfigApplyConfiguration
DNSTransportConfigApplyConfiguration constructs a declarative configuration of the DNSTransportConfig type for use with apply.
func (*DNSTransportConfigApplyConfiguration) WithTLS ¶
func (b *DNSTransportConfigApplyConfiguration) WithTLS(value *DNSOverTLSConfigApplyConfiguration) *DNSTransportConfigApplyConfiguration
WithTLS sets the TLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLS field is set to the value of the last call.
func (*DNSTransportConfigApplyConfiguration) WithTransport ¶
func (b *DNSTransportConfigApplyConfiguration) WithTransport(value operatorv1.DNSTransport) *DNSTransportConfigApplyConfiguration
WithTransport sets the Transport field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Transport field is set to the value of the last call.
type DefaultNetworkDefinitionApplyConfiguration ¶
type DefaultNetworkDefinitionApplyConfiguration struct {
// type is the type of network
// All NetworkTypes are supported except for NetworkTypeRaw
Type *operatorv1.NetworkType `json:"type,omitempty"`
// openshiftSDNConfig was previously used to configure the openshift-sdn plugin.
// DEPRECATED: OpenShift SDN is no longer supported.
OpenShiftSDNConfig *OpenShiftSDNConfigApplyConfiguration `json:"openshiftSDNConfig,omitempty"`
// ovnKubernetesConfig configures the ovn-kubernetes plugin.
OVNKubernetesConfig *OVNKubernetesConfigApplyConfiguration `json:"ovnKubernetesConfig,omitempty"`
}
DefaultNetworkDefinitionApplyConfiguration represents a declarative configuration of the DefaultNetworkDefinition type for use with apply.
DefaultNetworkDefinition represents a single network plugin's configuration. type must be specified, along with exactly one "Config" that matches the type.
func DefaultNetworkDefinition ¶
func DefaultNetworkDefinition() *DefaultNetworkDefinitionApplyConfiguration
DefaultNetworkDefinitionApplyConfiguration constructs a declarative configuration of the DefaultNetworkDefinition type for use with apply.
func (*DefaultNetworkDefinitionApplyConfiguration) WithOVNKubernetesConfig ¶
func (b *DefaultNetworkDefinitionApplyConfiguration) WithOVNKubernetesConfig(value *OVNKubernetesConfigApplyConfiguration) *DefaultNetworkDefinitionApplyConfiguration
WithOVNKubernetesConfig sets the OVNKubernetesConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OVNKubernetesConfig field is set to the value of the last call.
func (*DefaultNetworkDefinitionApplyConfiguration) WithOpenShiftSDNConfig ¶
func (b *DefaultNetworkDefinitionApplyConfiguration) WithOpenShiftSDNConfig(value *OpenShiftSDNConfigApplyConfiguration) *DefaultNetworkDefinitionApplyConfiguration
WithOpenShiftSDNConfig sets the OpenShiftSDNConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OpenShiftSDNConfig field is set to the value of the last call.
func (*DefaultNetworkDefinitionApplyConfiguration) WithType ¶
func (b *DefaultNetworkDefinitionApplyConfiguration) WithType(value operatorv1.NetworkType) *DefaultNetworkDefinitionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type DeveloperConsoleCatalogCategoryApplyConfiguration ¶
type DeveloperConsoleCatalogCategoryApplyConfiguration struct {
// defines top level category ID, label and filter tags.
DeveloperConsoleCatalogCategoryMetaApplyConfiguration `json:",inline"`
// subcategories defines a list of child categories.
Subcategories []DeveloperConsoleCatalogCategoryMetaApplyConfiguration `json:"subcategories,omitempty"`
}
DeveloperConsoleCatalogCategoryApplyConfiguration represents a declarative configuration of the DeveloperConsoleCatalogCategory type for use with apply.
DeveloperConsoleCatalogCategory for the developer console catalog.
func DeveloperConsoleCatalogCategory ¶
func DeveloperConsoleCatalogCategory() *DeveloperConsoleCatalogCategoryApplyConfiguration
DeveloperConsoleCatalogCategoryApplyConfiguration constructs a declarative configuration of the DeveloperConsoleCatalogCategory type for use with apply.
func (*DeveloperConsoleCatalogCategoryApplyConfiguration) WithID ¶
func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithID(value string) *DeveloperConsoleCatalogCategoryApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*DeveloperConsoleCatalogCategoryApplyConfiguration) WithLabel ¶
func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithLabel(value string) *DeveloperConsoleCatalogCategoryApplyConfiguration
WithLabel sets the Label field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Label field is set to the value of the last call.
func (*DeveloperConsoleCatalogCategoryApplyConfiguration) WithSubcategories ¶
func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithSubcategories(values ...*DeveloperConsoleCatalogCategoryMetaApplyConfiguration) *DeveloperConsoleCatalogCategoryApplyConfiguration
WithSubcategories adds the given value to the Subcategories field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Subcategories field.
func (*DeveloperConsoleCatalogCategoryApplyConfiguration) WithTags ¶
func (b *DeveloperConsoleCatalogCategoryApplyConfiguration) WithTags(values ...string) *DeveloperConsoleCatalogCategoryApplyConfiguration
WithTags adds the given value to the Tags field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Tags field.
type DeveloperConsoleCatalogCategoryMetaApplyConfiguration ¶
type DeveloperConsoleCatalogCategoryMetaApplyConfiguration struct {
// id is an identifier used in the URL to enable deep linking in console.
// ID is required and must have 1-32 URL safe (A-Z, a-z, 0-9, - and _) characters.
ID *string `json:"id,omitempty"`
// label defines a category display label. It is required and must have 1-64 characters.
Label *string `json:"label,omitempty"`
// tags is a list of strings that will match the category. A selected category
// show all items which has at least one overlapping tag between category and item.
Tags []string `json:"tags,omitempty"`
}
DeveloperConsoleCatalogCategoryMetaApplyConfiguration represents a declarative configuration of the DeveloperConsoleCatalogCategoryMeta type for use with apply.
DeveloperConsoleCatalogCategoryMeta are the key identifiers of a developer catalog category.
func DeveloperConsoleCatalogCategoryMeta ¶
func DeveloperConsoleCatalogCategoryMeta() *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
DeveloperConsoleCatalogCategoryMetaApplyConfiguration constructs a declarative configuration of the DeveloperConsoleCatalogCategoryMeta type for use with apply.
func (*DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithID ¶
func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithID(value string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithLabel ¶
func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithLabel(value string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
WithLabel sets the Label field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Label field is set to the value of the last call.
func (*DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithTags ¶
func (b *DeveloperConsoleCatalogCategoryMetaApplyConfiguration) WithTags(values ...string) *DeveloperConsoleCatalogCategoryMetaApplyConfiguration
WithTags adds the given value to the Tags field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Tags field.
type DeveloperConsoleCatalogCustomizationApplyConfiguration ¶
type DeveloperConsoleCatalogCustomizationApplyConfiguration struct {
// categories which are shown in the developer catalog.
Categories []DeveloperConsoleCatalogCategoryApplyConfiguration `json:"categories,omitempty"`
// types allows enabling or disabling of sub-catalog types that user can see in the Developer catalog.
// When omitted, all the sub-catalog types will be shown.
Types *DeveloperConsoleCatalogTypesApplyConfiguration `json:"types,omitempty"`
}
DeveloperConsoleCatalogCustomizationApplyConfiguration represents a declarative configuration of the DeveloperConsoleCatalogCustomization type for use with apply.
DeveloperConsoleCatalogCustomization allow cluster admin to configure developer catalog.
func DeveloperConsoleCatalogCustomization ¶
func DeveloperConsoleCatalogCustomization() *DeveloperConsoleCatalogCustomizationApplyConfiguration
DeveloperConsoleCatalogCustomizationApplyConfiguration constructs a declarative configuration of the DeveloperConsoleCatalogCustomization type for use with apply.
func (*DeveloperConsoleCatalogCustomizationApplyConfiguration) WithCategories ¶
func (b *DeveloperConsoleCatalogCustomizationApplyConfiguration) WithCategories(values ...*DeveloperConsoleCatalogCategoryApplyConfiguration) *DeveloperConsoleCatalogCustomizationApplyConfiguration
WithCategories adds the given value to the Categories field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Categories field.
func (*DeveloperConsoleCatalogCustomizationApplyConfiguration) WithTypes ¶
func (b *DeveloperConsoleCatalogCustomizationApplyConfiguration) WithTypes(value *DeveloperConsoleCatalogTypesApplyConfiguration) *DeveloperConsoleCatalogCustomizationApplyConfiguration
WithTypes sets the Types field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Types field is set to the value of the last call.
type DeveloperConsoleCatalogTypesApplyConfiguration ¶
type DeveloperConsoleCatalogTypesApplyConfiguration struct {
// state defines if a list of catalog types should be enabled or disabled.
State *operatorv1.CatalogTypesState `json:"state,omitempty"`
// enabled is a list of developer catalog types (sub-catalogs IDs) that will be shown to users.
// Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available
// in the console on the cluster configuration page, or when editing the YAML in the console.
// Example: "Devfile", "HelmChart", "BuilderImage"
// If the list is non-empty, a new type will not be shown to the user until it is added to list.
// If the list is empty the complete developer catalog will be shown.
Enabled *[]string `json:"enabled,omitempty"`
// disabled is a list of developer catalog types (sub-catalogs IDs) that are not shown to users.
// Types (sub-catalogs) are added via console plugins, the available types (sub-catalog IDs) are available
// in the console on the cluster configuration page, or when editing the YAML in the console.
// Example: "Devfile", "HelmChart", "BuilderImage"
// If the list is empty or all the available sub-catalog types are added, then the complete developer catalog should be hidden.
Disabled *[]string `json:"disabled,omitempty"`
}
DeveloperConsoleCatalogTypesApplyConfiguration represents a declarative configuration of the DeveloperConsoleCatalogTypes type for use with apply.
DeveloperConsoleCatalogTypes defines the state of the sub-catalog types.
func DeveloperConsoleCatalogTypes ¶
func DeveloperConsoleCatalogTypes() *DeveloperConsoleCatalogTypesApplyConfiguration
DeveloperConsoleCatalogTypesApplyConfiguration constructs a declarative configuration of the DeveloperConsoleCatalogTypes type for use with apply.
func (*DeveloperConsoleCatalogTypesApplyConfiguration) WithDisabled ¶
func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithDisabled(value []string) *DeveloperConsoleCatalogTypesApplyConfiguration
WithDisabled sets the Disabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Disabled field is set to the value of the last call.
func (*DeveloperConsoleCatalogTypesApplyConfiguration) WithEnabled ¶
func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithEnabled(value []string) *DeveloperConsoleCatalogTypesApplyConfiguration
WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.
func (*DeveloperConsoleCatalogTypesApplyConfiguration) WithState ¶
func (b *DeveloperConsoleCatalogTypesApplyConfiguration) WithState(value operatorv1.CatalogTypesState) *DeveloperConsoleCatalogTypesApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type EgressIPConfigApplyConfiguration ¶
type EgressIPConfigApplyConfiguration struct {
// reachabilityTotalTimeout configures the EgressIP node reachability check total timeout in seconds.
// If the EgressIP node cannot be reached within this timeout, the node is declared down.
// Setting a large value may cause the EgressIP feature to react slowly to node changes.
// In particular, it may react slowly for EgressIP nodes that really have a genuine problem and are unreachable.
// When omitted, this means the user has no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
// The current default is 1 second.
// A value of 0 disables the EgressIP node's reachability check.
ReachabilityTotalTimeoutSeconds *uint32 `json:"reachabilityTotalTimeoutSeconds,omitempty"`
}
EgressIPConfigApplyConfiguration represents a declarative configuration of the EgressIPConfig type for use with apply.
EgressIPConfig defines the configuration knobs for egressip
func EgressIPConfig ¶
func EgressIPConfig() *EgressIPConfigApplyConfiguration
EgressIPConfigApplyConfiguration constructs a declarative configuration of the EgressIPConfig type for use with apply.
func (*EgressIPConfigApplyConfiguration) WithReachabilityTotalTimeoutSeconds ¶
func (b *EgressIPConfigApplyConfiguration) WithReachabilityTotalTimeoutSeconds(value uint32) *EgressIPConfigApplyConfiguration
WithReachabilityTotalTimeoutSeconds sets the ReachabilityTotalTimeoutSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReachabilityTotalTimeoutSeconds field is set to the value of the last call.
type EndpointPublishingStrategyApplyConfiguration ¶
type EndpointPublishingStrategyApplyConfiguration struct {
// type is the publishing strategy to use. Valid values are:
//
// * LoadBalancerService
//
// Publishes the ingress controller using a Kubernetes LoadBalancer Service.
//
// In this configuration, the ingress controller deployment uses container
// networking. A LoadBalancer Service is created to publish the deployment.
//
// See: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
//
// If domain is set, a wildcard DNS record will be managed to point at the
// LoadBalancer Service's external name. DNS records are managed only in DNS
// zones defined by dns.config.openshift.io/cluster .spec.publicZone and
// .spec.privateZone.
//
// Wildcard DNS management is currently supported only on the AWS, Azure,
// and GCP platforms.
//
// * HostNetwork
//
// Publishes the ingress controller on node ports where the ingress controller
// is deployed.
//
// In this configuration, the ingress controller deployment uses host
// networking, bound to node ports 80 and 443. The user is responsible for
// configuring an external load balancer to publish the ingress controller via
// the node ports.
//
// * Private
//
// Does not publish the ingress controller.
//
// In this configuration, the ingress controller deployment uses container
// networking, and is not explicitly published. The user must manually publish
// the ingress controller.
//
// * NodePortService
//
// Publishes the ingress controller using a Kubernetes NodePort Service.
//
// In this configuration, the ingress controller deployment uses container
// networking. A NodePort Service is created to publish the deployment. The
// specific node ports are dynamically allocated by OpenShift; however, to
// support static port allocations, user changes to the node port
// field of the managed NodePort Service will preserved.
Type *operatorv1.EndpointPublishingStrategyType `json:"type,omitempty"`
// loadBalancer holds parameters for the load balancer. Present only if
// type is LoadBalancerService.
LoadBalancer *LoadBalancerStrategyApplyConfiguration `json:"loadBalancer,omitempty"`
// hostNetwork holds parameters for the HostNetwork endpoint publishing
// strategy. Present only if type is HostNetwork.
HostNetwork *HostNetworkStrategyApplyConfiguration `json:"hostNetwork,omitempty"`
// private holds parameters for the Private endpoint publishing
// strategy. Present only if type is Private.
Private *PrivateStrategyApplyConfiguration `json:"private,omitempty"`
// nodePort holds parameters for the NodePortService endpoint publishing strategy.
// Present only if type is NodePortService.
NodePort *NodePortStrategyApplyConfiguration `json:"nodePort,omitempty"`
}
EndpointPublishingStrategyApplyConfiguration represents a declarative configuration of the EndpointPublishingStrategy type for use with apply.
EndpointPublishingStrategy is a way to publish the endpoints of an IngressController, and represents the type and any additional configuration for a specific type.
func EndpointPublishingStrategy ¶
func EndpointPublishingStrategy() *EndpointPublishingStrategyApplyConfiguration
EndpointPublishingStrategyApplyConfiguration constructs a declarative configuration of the EndpointPublishingStrategy type for use with apply.
func (*EndpointPublishingStrategyApplyConfiguration) WithHostNetwork ¶
func (b *EndpointPublishingStrategyApplyConfiguration) WithHostNetwork(value *HostNetworkStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
WithHostNetwork sets the HostNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HostNetwork field is set to the value of the last call.
func (*EndpointPublishingStrategyApplyConfiguration) WithLoadBalancer ¶
func (b *EndpointPublishingStrategyApplyConfiguration) WithLoadBalancer(value *LoadBalancerStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
WithLoadBalancer sets the LoadBalancer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LoadBalancer field is set to the value of the last call.
func (*EndpointPublishingStrategyApplyConfiguration) WithNodePort ¶
func (b *EndpointPublishingStrategyApplyConfiguration) WithNodePort(value *NodePortStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
WithNodePort sets the NodePort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePort field is set to the value of the last call.
func (*EndpointPublishingStrategyApplyConfiguration) WithPrivate ¶
func (b *EndpointPublishingStrategyApplyConfiguration) WithPrivate(value *PrivateStrategyApplyConfiguration) *EndpointPublishingStrategyApplyConfiguration
WithPrivate sets the Private field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Private field is set to the value of the last call.
func (*EndpointPublishingStrategyApplyConfiguration) WithType ¶
func (b *EndpointPublishingStrategyApplyConfiguration) WithType(value operatorv1.EndpointPublishingStrategyType) *EndpointPublishingStrategyApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type EtcdApplyConfiguration ¶
type EtcdApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *EtcdSpecApplyConfiguration `json:"spec,omitempty"`
Status *EtcdStatusApplyConfiguration `json:"status,omitempty"`
}
EtcdApplyConfiguration represents a declarative configuration of the Etcd type for use with apply.
Etcd provides information to configure an operator to manage etcd.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func Etcd ¶
func Etcd(name string) *EtcdApplyConfiguration
Etcd constructs a declarative configuration of the Etcd type for use with apply.
func ExtractEtcd ¶
func ExtractEtcd(etcd *operatorv1.Etcd, fieldManager string) (*EtcdApplyConfiguration, error)
ExtractEtcd extracts the applied configuration owned by fieldManager from etcd. If no managedFields are found in etcd for fieldManager, a EtcdApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. etcd must be a unmodified Etcd API object that was retrieved from the Kubernetes API. ExtractEtcd provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractEtcdFrom ¶
func ExtractEtcdFrom(etcd *operatorv1.Etcd, fieldManager string, subresource string) (*EtcdApplyConfiguration, error)
ExtractEtcdFrom extracts the applied configuration owned by fieldManager from etcd for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. etcd must be a unmodified Etcd API object that was retrieved from the Kubernetes API. ExtractEtcdFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractEtcdStatus ¶
func ExtractEtcdStatus(etcd *operatorv1.Etcd, fieldManager string) (*EtcdApplyConfiguration, error)
ExtractEtcdStatus extracts the applied configuration owned by fieldManager from etcd for the status subresource.
func (*EtcdApplyConfiguration) GetAPIVersion ¶
func (b *EtcdApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*EtcdApplyConfiguration) GetKind ¶
func (b *EtcdApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*EtcdApplyConfiguration) GetName ¶
func (b *EtcdApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*EtcdApplyConfiguration) GetNamespace ¶
func (b *EtcdApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (EtcdApplyConfiguration) IsApplyConfiguration ¶
func (b EtcdApplyConfiguration) IsApplyConfiguration()
func (*EtcdApplyConfiguration) WithAPIVersion ¶
func (b *EtcdApplyConfiguration) WithAPIVersion(value string) *EtcdApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithAnnotations ¶
func (b *EtcdApplyConfiguration) WithAnnotations(entries map[string]string) *EtcdApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*EtcdApplyConfiguration) WithCreationTimestamp ¶
func (b *EtcdApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *EtcdApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *EtcdApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *EtcdApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithDeletionTimestamp ¶
func (b *EtcdApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *EtcdApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithFinalizers ¶
func (b *EtcdApplyConfiguration) WithFinalizers(values ...string) *EtcdApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*EtcdApplyConfiguration) WithGenerateName ¶
func (b *EtcdApplyConfiguration) WithGenerateName(value string) *EtcdApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithGeneration ¶
func (b *EtcdApplyConfiguration) WithGeneration(value int64) *EtcdApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithKind ¶
func (b *EtcdApplyConfiguration) WithKind(value string) *EtcdApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithLabels ¶
func (b *EtcdApplyConfiguration) WithLabels(entries map[string]string) *EtcdApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*EtcdApplyConfiguration) WithName ¶
func (b *EtcdApplyConfiguration) WithName(value string) *EtcdApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithNamespace ¶
func (b *EtcdApplyConfiguration) WithNamespace(value string) *EtcdApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithOwnerReferences ¶
func (b *EtcdApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *EtcdApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*EtcdApplyConfiguration) WithResourceVersion ¶
func (b *EtcdApplyConfiguration) WithResourceVersion(value string) *EtcdApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithSpec ¶
func (b *EtcdApplyConfiguration) WithSpec(value *EtcdSpecApplyConfiguration) *EtcdApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithStatus ¶
func (b *EtcdApplyConfiguration) WithStatus(value *EtcdStatusApplyConfiguration) *EtcdApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*EtcdApplyConfiguration) WithUID ¶
func (b *EtcdApplyConfiguration) WithUID(value types.UID) *EtcdApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type EtcdSpecApplyConfiguration ¶
type EtcdSpecApplyConfiguration struct {
StaticPodOperatorSpecApplyConfiguration `json:",inline"`
// HardwareSpeed allows user to change the etcd tuning profile which configures
// the latency parameters for heartbeat interval and leader election timeouts
// allowing the cluster to tolerate longer round-trip-times between etcd members.
// Valid values are "", "Standard" and "Slower".
// "" means no opinion and the platform is left to choose a reasonable default
// which is subject to change without notice.
HardwareSpeed *operatorv1.ControlPlaneHardwareSpeed `json:"controlPlaneHardwareSpeed,omitempty"`
// backendQuotaGiB sets the etcd backend storage size limit in gibibytes.
// The value should be an integer not less than 8 and not more than 32.
// When not specified, the default value is 8.
BackendQuotaGiB *int32 `json:"backendQuotaGiB,omitempty"`
}
EtcdSpecApplyConfiguration represents a declarative configuration of the EtcdSpec type for use with apply.
func EtcdSpec ¶
func EtcdSpec() *EtcdSpecApplyConfiguration
EtcdSpecApplyConfiguration constructs a declarative configuration of the EtcdSpec type for use with apply.
func (*EtcdSpecApplyConfiguration) WithBackendQuotaGiB ¶
func (b *EtcdSpecApplyConfiguration) WithBackendQuotaGiB(value int32) *EtcdSpecApplyConfiguration
WithBackendQuotaGiB sets the BackendQuotaGiB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackendQuotaGiB field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *EtcdSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *EtcdSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *EtcdSpecApplyConfiguration) WithForceRedeploymentReason(value string) *EtcdSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithHardwareSpeed ¶
func (b *EtcdSpecApplyConfiguration) WithHardwareSpeed(value operatorv1.ControlPlaneHardwareSpeed) *EtcdSpecApplyConfiguration
WithHardwareSpeed sets the HardwareSpeed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HardwareSpeed field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithLogLevel ¶
func (b *EtcdSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *EtcdSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithManagementState ¶
func (b *EtcdSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *EtcdSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithObservedConfig ¶
func (b *EtcdSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *EtcdSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *EtcdSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *EtcdSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *EtcdSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *EtcdSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*EtcdSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *EtcdSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *EtcdSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type EtcdStatusApplyConfiguration ¶
type EtcdStatusApplyConfiguration struct {
StaticPodOperatorStatusApplyConfiguration `json:",inline"`
HardwareSpeed *operatorv1.ControlPlaneHardwareSpeed `json:"controlPlaneHardwareSpeed,omitempty"`
}
EtcdStatusApplyConfiguration represents a declarative configuration of the EtcdStatus type for use with apply.
func EtcdStatus ¶
func EtcdStatus() *EtcdStatusApplyConfiguration
EtcdStatusApplyConfiguration constructs a declarative configuration of the EtcdStatus type for use with apply.
func (*EtcdStatusApplyConfiguration) WithConditions ¶
func (b *EtcdStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *EtcdStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*EtcdStatusApplyConfiguration) WithGenerations ¶
func (b *EtcdStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *EtcdStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*EtcdStatusApplyConfiguration) WithHardwareSpeed ¶
func (b *EtcdStatusApplyConfiguration) WithHardwareSpeed(value operatorv1.ControlPlaneHardwareSpeed) *EtcdStatusApplyConfiguration
WithHardwareSpeed sets the HardwareSpeed field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HardwareSpeed field is set to the value of the last call.
func (*EtcdStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *EtcdStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *EtcdStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*EtcdStatusApplyConfiguration) WithLatestAvailableRevisionReason ¶
func (b *EtcdStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *EtcdStatusApplyConfiguration
WithLatestAvailableRevisionReason sets the LatestAvailableRevisionReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevisionReason field is set to the value of the last call.
func (*EtcdStatusApplyConfiguration) WithNodeStatuses ¶
func (b *EtcdStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *EtcdStatusApplyConfiguration
WithNodeStatuses adds the given value to the NodeStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeStatuses field.
func (*EtcdStatusApplyConfiguration) WithObservedGeneration ¶
func (b *EtcdStatusApplyConfiguration) WithObservedGeneration(value int64) *EtcdStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*EtcdStatusApplyConfiguration) WithReadyReplicas ¶
func (b *EtcdStatusApplyConfiguration) WithReadyReplicas(value int32) *EtcdStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*EtcdStatusApplyConfiguration) WithVersion ¶
func (b *EtcdStatusApplyConfiguration) WithVersion(value string) *EtcdStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ExportNetworkFlowsApplyConfiguration ¶
type ExportNetworkFlowsApplyConfiguration struct {
// netFlow defines the NetFlow configuration.
NetFlow *NetFlowConfigApplyConfiguration `json:"netFlow,omitempty"`
// sFlow defines the SFlow configuration.
SFlow *SFlowConfigApplyConfiguration `json:"sFlow,omitempty"`
// ipfix defines IPFIX configuration.
IPFIX *IPFIXConfigApplyConfiguration `json:"ipfix,omitempty"`
}
ExportNetworkFlowsApplyConfiguration represents a declarative configuration of the ExportNetworkFlows type for use with apply.
func ExportNetworkFlows ¶
func ExportNetworkFlows() *ExportNetworkFlowsApplyConfiguration
ExportNetworkFlowsApplyConfiguration constructs a declarative configuration of the ExportNetworkFlows type for use with apply.
func (*ExportNetworkFlowsApplyConfiguration) WithIPFIX ¶
func (b *ExportNetworkFlowsApplyConfiguration) WithIPFIX(value *IPFIXConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
WithIPFIX sets the IPFIX field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPFIX field is set to the value of the last call.
func (*ExportNetworkFlowsApplyConfiguration) WithNetFlow ¶
func (b *ExportNetworkFlowsApplyConfiguration) WithNetFlow(value *NetFlowConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
WithNetFlow sets the NetFlow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetFlow field is set to the value of the last call.
func (*ExportNetworkFlowsApplyConfiguration) WithSFlow ¶
func (b *ExportNetworkFlowsApplyConfiguration) WithSFlow(value *SFlowConfigApplyConfiguration) *ExportNetworkFlowsApplyConfiguration
WithSFlow sets the SFlow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SFlow field is set to the value of the last call.
type FeaturesMigrationApplyConfiguration ¶
type FeaturesMigrationApplyConfiguration struct {
// egressIP specified whether or not the Egress IP configuration was migrated.
// DEPRECATED: network type migration is no longer supported.
EgressIP *bool `json:"egressIP,omitempty"`
// egressFirewall specified whether or not the Egress Firewall configuration was migrated.
// DEPRECATED: network type migration is no longer supported.
EgressFirewall *bool `json:"egressFirewall,omitempty"`
// multicast specified whether or not the multicast configuration was migrated.
// DEPRECATED: network type migration is no longer supported.
Multicast *bool `json:"multicast,omitempty"`
}
FeaturesMigrationApplyConfiguration represents a declarative configuration of the FeaturesMigration type for use with apply.
func FeaturesMigration ¶
func FeaturesMigration() *FeaturesMigrationApplyConfiguration
FeaturesMigrationApplyConfiguration constructs a declarative configuration of the FeaturesMigration type for use with apply.
func (*FeaturesMigrationApplyConfiguration) WithEgressFirewall ¶
func (b *FeaturesMigrationApplyConfiguration) WithEgressFirewall(value bool) *FeaturesMigrationApplyConfiguration
WithEgressFirewall sets the EgressFirewall field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EgressFirewall field is set to the value of the last call.
func (*FeaturesMigrationApplyConfiguration) WithEgressIP ¶
func (b *FeaturesMigrationApplyConfiguration) WithEgressIP(value bool) *FeaturesMigrationApplyConfiguration
WithEgressIP sets the EgressIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EgressIP field is set to the value of the last call.
func (*FeaturesMigrationApplyConfiguration) WithMulticast ¶
func (b *FeaturesMigrationApplyConfiguration) WithMulticast(value bool) *FeaturesMigrationApplyConfiguration
WithMulticast sets the Multicast field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Multicast field is set to the value of the last call.
type FileReferenceSourceApplyConfiguration ¶
type FileReferenceSourceApplyConfiguration struct {
// from is a required field to specify the source type of the file reference.
// Allowed values are ConfigMap.
// When set to ConfigMap, the file will be sourced from a ConfigMap in the openshift-config namespace. The configMap field must be set when from is set to ConfigMap.
From *operatorv1.SourceType `json:"from,omitempty"`
// configMap specifies the ConfigMap sourcing details such as the name of the ConfigMap and the key for the file.
// The ConfigMap must exist in the openshift-config namespace.
// Required when from is "ConfigMap", and forbidden otherwise.
ConfigMap *ConfigMapFileReferenceApplyConfiguration `json:"configMap,omitempty"`
}
FileReferenceSourceApplyConfiguration represents a declarative configuration of the FileReferenceSource type for use with apply.
FileReferenceSource is used by the console to locate the specified file containing a custom logo.
func FileReferenceSource ¶
func FileReferenceSource() *FileReferenceSourceApplyConfiguration
FileReferenceSourceApplyConfiguration constructs a declarative configuration of the FileReferenceSource type for use with apply.
func (*FileReferenceSourceApplyConfiguration) WithConfigMap ¶
func (b *FileReferenceSourceApplyConfiguration) WithConfigMap(value *ConfigMapFileReferenceApplyConfiguration) *FileReferenceSourceApplyConfiguration
WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.
func (*FileReferenceSourceApplyConfiguration) WithFrom ¶
func (b *FileReferenceSourceApplyConfiguration) WithFrom(value operatorv1.SourceType) *FileReferenceSourceApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
type ForwardPluginApplyConfiguration ¶
type ForwardPluginApplyConfiguration struct {
// upstreams is a list of resolvers to forward name queries for subdomains of Zones.
// Each instance of CoreDNS performs health checking of Upstreams. When a healthy upstream
// returns an error during the exchange, another resolver is tried from Upstreams. The
// Upstreams are selected in the order specified in Policy. Each upstream is represented
// by an IP address or IP:port if the upstream listens on a port other than 53.
//
// A maximum of 15 upstreams is allowed per ForwardPlugin.
Upstreams []string `json:"upstreams,omitempty"`
// policy is used to determine the order in which upstream servers are selected for querying.
// Any one of the following values may be specified:
//
// * "Random" picks a random upstream server for each query.
// * "RoundRobin" picks upstream servers in a round-robin order, moving to the next server for each new query.
// * "Sequential" tries querying upstream servers in a sequential order until one responds, starting with the first server for each new query.
//
// The default value is "Random"
Policy *operatorv1.ForwardingPolicy `json:"policy,omitempty"`
// transportConfig is used to configure the transport type, server name, and optional custom CA or CA bundle to use
// when forwarding DNS requests to an upstream resolver.
//
// The default value is "" (empty) which results in a standard cleartext connection being used when forwarding DNS
// requests to an upstream resolver.
TransportConfig *DNSTransportConfigApplyConfiguration `json:"transportConfig,omitempty"`
// protocolStrategy specifies the protocol to use for upstream DNS
// requests.
// Valid values for protocolStrategy are "TCP" and omitted.
// When omitted, this means no opinion and the platform is left to choose
// a reasonable default, which is subject to change over time.
// The current default is to use the protocol of the original client request.
// "TCP" specifies that the platform should use TCP for all upstream DNS requests,
// even if the client request uses UDP.
// "TCP" is useful for UDP-specific issues such as those created by
// non-compliant upstream resolvers, but may consume more bandwidth or
// increase DNS response time. Note that protocolStrategy only affects
// the protocol of DNS requests that CoreDNS makes to upstream resolvers.
// It does not affect the protocol of DNS requests between clients and
// CoreDNS.
ProtocolStrategy *operatorv1.ProtocolStrategy `json:"protocolStrategy,omitempty"`
}
ForwardPluginApplyConfiguration represents a declarative configuration of the ForwardPlugin type for use with apply.
ForwardPlugin defines a schema for configuring the CoreDNS forward plugin.
func ForwardPlugin ¶
func ForwardPlugin() *ForwardPluginApplyConfiguration
ForwardPluginApplyConfiguration constructs a declarative configuration of the ForwardPlugin type for use with apply.
func (*ForwardPluginApplyConfiguration) WithPolicy ¶
func (b *ForwardPluginApplyConfiguration) WithPolicy(value operatorv1.ForwardingPolicy) *ForwardPluginApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
func (*ForwardPluginApplyConfiguration) WithProtocolStrategy ¶
func (b *ForwardPluginApplyConfiguration) WithProtocolStrategy(value operatorv1.ProtocolStrategy) *ForwardPluginApplyConfiguration
WithProtocolStrategy sets the ProtocolStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProtocolStrategy field is set to the value of the last call.
func (*ForwardPluginApplyConfiguration) WithTransportConfig ¶
func (b *ForwardPluginApplyConfiguration) WithTransportConfig(value *DNSTransportConfigApplyConfiguration) *ForwardPluginApplyConfiguration
WithTransportConfig sets the TransportConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TransportConfig field is set to the value of the last call.
func (*ForwardPluginApplyConfiguration) WithUpstreams ¶
func (b *ForwardPluginApplyConfiguration) WithUpstreams(values ...string) *ForwardPluginApplyConfiguration
WithUpstreams adds the given value to the Upstreams field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Upstreams field.
type GCPCSIDriverConfigSpecApplyConfiguration ¶
type GCPCSIDriverConfigSpecApplyConfiguration struct {
// kmsKey sets the cluster default storage class to encrypt volumes with customer-supplied
// encryption keys, rather than the default keys managed by GCP.
KMSKey *GCPKMSKeyReferenceApplyConfiguration `json:"kmsKey,omitempty"`
}
GCPCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the GCPCSIDriverConfigSpec type for use with apply.
GCPCSIDriverConfigSpec defines properties that can be configured for the GCP CSI driver.
func GCPCSIDriverConfigSpec ¶
func GCPCSIDriverConfigSpec() *GCPCSIDriverConfigSpecApplyConfiguration
GCPCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the GCPCSIDriverConfigSpec type for use with apply.
func (*GCPCSIDriverConfigSpecApplyConfiguration) WithKMSKey ¶
func (b *GCPCSIDriverConfigSpecApplyConfiguration) WithKMSKey(value *GCPKMSKeyReferenceApplyConfiguration) *GCPCSIDriverConfigSpecApplyConfiguration
WithKMSKey sets the KMSKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KMSKey field is set to the value of the last call.
type GCPKMSKeyReferenceApplyConfiguration ¶
type GCPKMSKeyReferenceApplyConfiguration struct {
// name is the name of the customer-managed encryption key to be used for disk encryption.
// The value should correspond to an existing KMS key and should
// consist of only alphanumeric characters, hyphens (-) and underscores (_),
// and be at most 63 characters in length.
Name *string `json:"name,omitempty"`
// keyRing is the name of the KMS Key Ring which the KMS Key belongs to.
// The value should correspond to an existing KMS key ring and should
// consist of only alphanumeric characters, hyphens (-) and underscores (_),
// and be at most 63 characters in length.
KeyRing *string `json:"keyRing,omitempty"`
// projectID is the ID of the Project in which the KMS Key Ring exists.
// It must be 6 to 30 lowercase letters, digits, or hyphens.
// It must start with a letter. Trailing hyphens are prohibited.
ProjectID *string `json:"projectID,omitempty"`
// location is the GCP location in which the Key Ring exists.
// The value must match an existing GCP location, or "global".
// Defaults to global, if not set.
Location *string `json:"location,omitempty"`
}
GCPKMSKeyReferenceApplyConfiguration represents a declarative configuration of the GCPKMSKeyReference type for use with apply.
GCPKMSKeyReference gathers required fields for looking up a GCP KMS Key
func GCPKMSKeyReference ¶
func GCPKMSKeyReference() *GCPKMSKeyReferenceApplyConfiguration
GCPKMSKeyReferenceApplyConfiguration constructs a declarative configuration of the GCPKMSKeyReference type for use with apply.
func (*GCPKMSKeyReferenceApplyConfiguration) WithKeyRing ¶
func (b *GCPKMSKeyReferenceApplyConfiguration) WithKeyRing(value string) *GCPKMSKeyReferenceApplyConfiguration
WithKeyRing sets the KeyRing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KeyRing field is set to the value of the last call.
func (*GCPKMSKeyReferenceApplyConfiguration) WithLocation ¶
func (b *GCPKMSKeyReferenceApplyConfiguration) WithLocation(value string) *GCPKMSKeyReferenceApplyConfiguration
WithLocation sets the Location field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Location field is set to the value of the last call.
func (*GCPKMSKeyReferenceApplyConfiguration) WithName ¶
func (b *GCPKMSKeyReferenceApplyConfiguration) WithName(value string) *GCPKMSKeyReferenceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*GCPKMSKeyReferenceApplyConfiguration) WithProjectID ¶
func (b *GCPKMSKeyReferenceApplyConfiguration) WithProjectID(value string) *GCPKMSKeyReferenceApplyConfiguration
WithProjectID sets the ProjectID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProjectID field is set to the value of the last call.
type GCPLoadBalancerParametersApplyConfiguration ¶
type GCPLoadBalancerParametersApplyConfiguration struct {
// clientAccess describes how client access is restricted for internal
// load balancers.
//
// Valid values are:
// * "Global": Specifying an internal load balancer with Global client access
// allows clients from any region within the VPC to communicate with the load
// balancer.
//
// https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balancing#global_access
//
// * "Local": Specifying an internal load balancer with Local client access
// means only clients within the same region (and VPC) as the GCP load balancer
// can communicate with the load balancer. Note that this is the default behavior.
//
// https://cloud.google.com/load-balancing/docs/internal#client_access
ClientAccess *operatorv1.GCPClientAccess `json:"clientAccess,omitempty"`
}
GCPLoadBalancerParametersApplyConfiguration represents a declarative configuration of the GCPLoadBalancerParameters type for use with apply.
GCPLoadBalancerParameters provides configuration settings that are specific to GCP load balancers.
func GCPLoadBalancerParameters ¶
func GCPLoadBalancerParameters() *GCPLoadBalancerParametersApplyConfiguration
GCPLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the GCPLoadBalancerParameters type for use with apply.
func (*GCPLoadBalancerParametersApplyConfiguration) WithClientAccess ¶
func (b *GCPLoadBalancerParametersApplyConfiguration) WithClientAccess(value operatorv1.GCPClientAccess) *GCPLoadBalancerParametersApplyConfiguration
WithClientAccess sets the ClientAccess field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientAccess field is set to the value of the last call.
type GatewayConfigApplyConfiguration ¶
type GatewayConfigApplyConfiguration struct {
// routingViaHost allows pod egress traffic to exit via the ovn-k8s-mp0 management port
// into the host before sending it out. If this is not set, traffic will always egress directly
// from OVN to outside without touching the host stack. Setting this to true means hardware
// offload will not be supported. Default is false if GatewayConfig is specified.
RoutingViaHost *bool `json:"routingViaHost,omitempty"`
// ipForwarding controls IP forwarding for all traffic on OVN-Kubernetes managed interfaces (such as br-ex).
// By default this is set to Restricted, and Kubernetes related traffic is still forwarded appropriately, but other
// IP traffic will not be routed by the OCP node. If there is a desire to allow the host to forward traffic across
// OVN-Kubernetes managed interfaces, then set this field to "Global".
// The supported values are "Restricted" and "Global".
IPForwarding *operatorv1.IPForwardingMode `json:"ipForwarding,omitempty"`
// ipv4 allows users to configure IP settings for IPv4 connections. When omitted, this means no opinion and the default
// configuration is used. Check individual members fields within ipv4 for details of default values.
IPv4 *IPv4GatewayConfigApplyConfiguration `json:"ipv4,omitempty"`
// ipv6 allows users to configure IP settings for IPv6 connections. When omitted, this means no opinion and the default
// configuration is used. Check individual members fields within ipv6 for details of default values.
IPv6 *IPv6GatewayConfigApplyConfiguration `json:"ipv6,omitempty"`
}
GatewayConfigApplyConfiguration represents a declarative configuration of the GatewayConfig type for use with apply.
GatewayConfig holds node gateway-related parsed config file parameters and command-line overrides
func GatewayConfig ¶
func GatewayConfig() *GatewayConfigApplyConfiguration
GatewayConfigApplyConfiguration constructs a declarative configuration of the GatewayConfig type for use with apply.
func (*GatewayConfigApplyConfiguration) WithIPForwarding ¶
func (b *GatewayConfigApplyConfiguration) WithIPForwarding(value operatorv1.IPForwardingMode) *GatewayConfigApplyConfiguration
WithIPForwarding sets the IPForwarding field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPForwarding field is set to the value of the last call.
func (*GatewayConfigApplyConfiguration) WithIPv4 ¶
func (b *GatewayConfigApplyConfiguration) WithIPv4(value *IPv4GatewayConfigApplyConfiguration) *GatewayConfigApplyConfiguration
WithIPv4 sets the IPv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4 field is set to the value of the last call.
func (*GatewayConfigApplyConfiguration) WithIPv6 ¶
func (b *GatewayConfigApplyConfiguration) WithIPv6(value *IPv6GatewayConfigApplyConfiguration) *GatewayConfigApplyConfiguration
WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.
func (*GatewayConfigApplyConfiguration) WithRoutingViaHost ¶
func (b *GatewayConfigApplyConfiguration) WithRoutingViaHost(value bool) *GatewayConfigApplyConfiguration
WithRoutingViaHost sets the RoutingViaHost field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RoutingViaHost field is set to the value of the last call.
type GatherStatusApplyConfiguration ¶
type GatherStatusApplyConfiguration struct {
// lastGatherTime is the last time when Insights data gathering finished.
// An empty value means that no data has been gathered yet.
LastGatherTime *metav1.Time `json:"lastGatherTime,omitempty"`
// lastGatherDuration is the total time taken to process
// all gatherers during the last gather event.
LastGatherDuration *metav1.Duration `json:"lastGatherDuration,omitempty"`
// gatherers is a list of active gatherers (and their statuses) in the last gathering.
Gatherers []GathererStatusApplyConfiguration `json:"gatherers,omitempty"`
}
GatherStatusApplyConfiguration represents a declarative configuration of the GatherStatus type for use with apply.
gatherStatus provides information about the last known gather event.
func GatherStatus ¶
func GatherStatus() *GatherStatusApplyConfiguration
GatherStatusApplyConfiguration constructs a declarative configuration of the GatherStatus type for use with apply.
func (*GatherStatusApplyConfiguration) WithGatherers ¶
func (b *GatherStatusApplyConfiguration) WithGatherers(values ...*GathererStatusApplyConfiguration) *GatherStatusApplyConfiguration
WithGatherers adds the given value to the Gatherers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Gatherers field.
func (*GatherStatusApplyConfiguration) WithLastGatherDuration ¶
func (b *GatherStatusApplyConfiguration) WithLastGatherDuration(value metav1.Duration) *GatherStatusApplyConfiguration
WithLastGatherDuration sets the LastGatherDuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastGatherDuration field is set to the value of the last call.
func (*GatherStatusApplyConfiguration) WithLastGatherTime ¶
func (b *GatherStatusApplyConfiguration) WithLastGatherTime(value metav1.Time) *GatherStatusApplyConfiguration
WithLastGatherTime sets the LastGatherTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastGatherTime field is set to the value of the last call.
type GathererStatusApplyConfiguration ¶
type GathererStatusApplyConfiguration struct {
// conditions provide details on the status of each gatherer.
Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
// name is the name of the gatherer.
Name *string `json:"name,omitempty"`
// lastGatherDuration represents the time spent gathering.
LastGatherDuration *apismetav1.Duration `json:"lastGatherDuration,omitempty"`
}
GathererStatusApplyConfiguration represents a declarative configuration of the GathererStatus type for use with apply.
gathererStatus represents information about a particular data gatherer.
func GathererStatus ¶
func GathererStatus() *GathererStatusApplyConfiguration
GathererStatusApplyConfiguration constructs a declarative configuration of the GathererStatus type for use with apply.
func (*GathererStatusApplyConfiguration) WithConditions ¶
func (b *GathererStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *GathererStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*GathererStatusApplyConfiguration) WithLastGatherDuration ¶
func (b *GathererStatusApplyConfiguration) WithLastGatherDuration(value apismetav1.Duration) *GathererStatusApplyConfiguration
WithLastGatherDuration sets the LastGatherDuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastGatherDuration field is set to the value of the last call.
func (*GathererStatusApplyConfiguration) WithName ¶
func (b *GathererStatusApplyConfiguration) WithName(value string) *GathererStatusApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type GenerationStatusApplyConfiguration ¶
type GenerationStatusApplyConfiguration struct {
// group is the group of the thing you're tracking
Group *string `json:"group,omitempty"`
// resource is the resource type of the thing you're tracking
Resource *string `json:"resource,omitempty"`
// namespace is where the thing you're tracking is
Namespace *string `json:"namespace,omitempty"`
// name is the name of the thing you're tracking
Name *string `json:"name,omitempty"`
// lastGeneration is the last generation of the workload controller involved
LastGeneration *int64 `json:"lastGeneration,omitempty"`
// hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
Hash *string `json:"hash,omitempty"`
}
GenerationStatusApplyConfiguration represents a declarative configuration of the GenerationStatus type for use with apply.
GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
func GenerationStatus ¶
func GenerationStatus() *GenerationStatusApplyConfiguration
GenerationStatusApplyConfiguration constructs a declarative configuration of the GenerationStatus type for use with apply.
func (*GenerationStatusApplyConfiguration) WithGroup ¶
func (b *GenerationStatusApplyConfiguration) WithGroup(value string) *GenerationStatusApplyConfiguration
WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.
func (*GenerationStatusApplyConfiguration) WithHash ¶
func (b *GenerationStatusApplyConfiguration) WithHash(value string) *GenerationStatusApplyConfiguration
WithHash sets the Hash field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Hash field is set to the value of the last call.
func (*GenerationStatusApplyConfiguration) WithLastGeneration ¶
func (b *GenerationStatusApplyConfiguration) WithLastGeneration(value int64) *GenerationStatusApplyConfiguration
WithLastGeneration sets the LastGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastGeneration field is set to the value of the last call.
func (*GenerationStatusApplyConfiguration) WithName ¶
func (b *GenerationStatusApplyConfiguration) WithName(value string) *GenerationStatusApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*GenerationStatusApplyConfiguration) WithNamespace ¶
func (b *GenerationStatusApplyConfiguration) WithNamespace(value string) *GenerationStatusApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*GenerationStatusApplyConfiguration) WithResource ¶
func (b *GenerationStatusApplyConfiguration) WithResource(value string) *GenerationStatusApplyConfiguration
WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.
type HTTPCompressionPolicyApplyConfiguration ¶
type HTTPCompressionPolicyApplyConfiguration struct {
// mimeTypes is a list of MIME types that should have compression applied.
// This list can be empty, in which case the ingress controller does not apply compression.
//
// Note: Not all MIME types benefit from compression, but HAProxy will still use resources
// to try to compress if instructed to. Generally speaking, text (html, css, js, etc.)
// formats benefit from compression, but formats that are already compressed (image,
// audio, video, etc.) benefit little in exchange for the time and cpu spent on compressing
// again. See https://joehonton.medium.com/the-gzip-penalty-d31bd697f1a2
MimeTypes []operatorv1.CompressionMIMEType `json:"mimeTypes,omitempty"`
}
HTTPCompressionPolicyApplyConfiguration represents a declarative configuration of the HTTPCompressionPolicy type for use with apply.
httpCompressionPolicy turns on compression for the specified MIME types.
This field is optional, and its absence implies that compression should not be enabled globally in HAProxy.
If httpCompressionPolicy exists, compression should be enabled only for the specified MIME types.
func HTTPCompressionPolicy ¶
func HTTPCompressionPolicy() *HTTPCompressionPolicyApplyConfiguration
HTTPCompressionPolicyApplyConfiguration constructs a declarative configuration of the HTTPCompressionPolicy type for use with apply.
func (*HTTPCompressionPolicyApplyConfiguration) WithMimeTypes ¶
func (b *HTTPCompressionPolicyApplyConfiguration) WithMimeTypes(values ...operatorv1.CompressionMIMEType) *HTTPCompressionPolicyApplyConfiguration
WithMimeTypes adds the given value to the MimeTypes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MimeTypes field.
type HealthCheckApplyConfiguration ¶
type HealthCheckApplyConfiguration struct {
// description provides basic description of the healtcheck.
Description *string `json:"description,omitempty"`
// totalRisk of the healthcheck. Indicator of the total risk posed
// by the detected issue; combination of impact and likelihood. The values can be from 1 to 4,
// and the higher the number, the more important the issue.
TotalRisk *int32 `json:"totalRisk,omitempty"`
// advisorURI provides the URL link to the Insights Advisor.
AdvisorURI *string `json:"advisorURI,omitempty"`
// state determines what the current state of the health check is.
// Health check is enabled by default and can be disabled
// by the user in the Insights advisor user interface.
State *operatorv1.HealthCheckState `json:"state,omitempty"`
}
HealthCheckApplyConfiguration represents a declarative configuration of the HealthCheck type for use with apply.
healthCheck represents an Insights health check attributes.
func HealthCheck ¶
func HealthCheck() *HealthCheckApplyConfiguration
HealthCheckApplyConfiguration constructs a declarative configuration of the HealthCheck type for use with apply.
func (*HealthCheckApplyConfiguration) WithAdvisorURI ¶
func (b *HealthCheckApplyConfiguration) WithAdvisorURI(value string) *HealthCheckApplyConfiguration
WithAdvisorURI sets the AdvisorURI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdvisorURI field is set to the value of the last call.
func (*HealthCheckApplyConfiguration) WithDescription ¶
func (b *HealthCheckApplyConfiguration) WithDescription(value string) *HealthCheckApplyConfiguration
WithDescription sets the Description field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Description field is set to the value of the last call.
func (*HealthCheckApplyConfiguration) WithState ¶
func (b *HealthCheckApplyConfiguration) WithState(value operatorv1.HealthCheckState) *HealthCheckApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
func (*HealthCheckApplyConfiguration) WithTotalRisk ¶
func (b *HealthCheckApplyConfiguration) WithTotalRisk(value int32) *HealthCheckApplyConfiguration
WithTotalRisk sets the TotalRisk field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TotalRisk field is set to the value of the last call.
type HostNetworkStrategyApplyConfiguration ¶
type HostNetworkStrategyApplyConfiguration struct {
// protocol specifies whether the IngressController expects incoming
// connections to use plain TCP or whether the IngressController expects
// PROXY protocol.
//
// PROXY protocol can be used with load balancers that support it to
// communicate the source addresses of client connections when
// forwarding those connections to the IngressController. Using PROXY
// protocol enables the IngressController to report those source
// addresses instead of reporting the load balancer's address in HTTP
// headers and logs. Note that enabling PROXY protocol on the
// IngressController will cause connections to fail if you are not using
// a load balancer that uses PROXY protocol to forward connections to
// the IngressController. See
// http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for
// information about PROXY protocol.
//
// The following values are valid for this field:
//
// * The empty string.
// * "TCP".
// * "PROXY".
//
// The empty string specifies the default, which is TCP without PROXY
// protocol. Note that the default is subject to change.
Protocol *operatorv1.IngressControllerProtocol `json:"protocol,omitempty"`
// httpPort is the port on the host which should be used to listen for
// HTTP requests. This field should be set when port 80 is already in use.
// The value should not coincide with the NodePort range of the cluster.
// When the value is 0 or is not specified it defaults to 80.
HTTPPort *int32 `json:"httpPort,omitempty"`
// httpsPort is the port on the host which should be used to listen for
// HTTPS requests. This field should be set when port 443 is already in use.
// The value should not coincide with the NodePort range of the cluster.
// When the value is 0 or is not specified it defaults to 443.
HTTPSPort *int32 `json:"httpsPort,omitempty"`
// statsPort is the port on the host where the stats from the router are
// published. The value should not coincide with the NodePort range of the
// cluster. If an external load balancer is configured to forward connections
// to this IngressController, the load balancer should use this port for
// health checks. The load balancer can send HTTP probes on this port on a
// given node, with the path /healthz/ready to determine if the ingress
// controller is ready to receive traffic on the node. For proper operation
// the load balancer must not forward traffic to a node until the health
// check reports ready. The load balancer should also stop forwarding requests
// within a maximum of 45 seconds after /healthz/ready starts reporting
// not-ready. Probing every 5 to 10 seconds, with a 5-second timeout and with
// a threshold of two successful or failed requests to become healthy or
// unhealthy respectively, are well-tested values. When the value is 0 or
// is not specified it defaults to 1936.
StatsPort *int32 `json:"statsPort,omitempty"`
}
HostNetworkStrategyApplyConfiguration represents a declarative configuration of the HostNetworkStrategy type for use with apply.
HostNetworkStrategy holds parameters for the HostNetwork endpoint publishing strategy.
func HostNetworkStrategy ¶
func HostNetworkStrategy() *HostNetworkStrategyApplyConfiguration
HostNetworkStrategyApplyConfiguration constructs a declarative configuration of the HostNetworkStrategy type for use with apply.
func (*HostNetworkStrategyApplyConfiguration) WithHTTPPort ¶
func (b *HostNetworkStrategyApplyConfiguration) WithHTTPPort(value int32) *HostNetworkStrategyApplyConfiguration
WithHTTPPort sets the HTTPPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPPort field is set to the value of the last call.
func (*HostNetworkStrategyApplyConfiguration) WithHTTPSPort ¶
func (b *HostNetworkStrategyApplyConfiguration) WithHTTPSPort(value int32) *HostNetworkStrategyApplyConfiguration
WithHTTPSPort sets the HTTPSPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPSPort field is set to the value of the last call.
func (*HostNetworkStrategyApplyConfiguration) WithProtocol ¶
func (b *HostNetworkStrategyApplyConfiguration) WithProtocol(value operatorv1.IngressControllerProtocol) *HostNetworkStrategyApplyConfiguration
WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.
func (*HostNetworkStrategyApplyConfiguration) WithStatsPort ¶
func (b *HostNetworkStrategyApplyConfiguration) WithStatsPort(value int32) *HostNetworkStrategyApplyConfiguration
WithStatsPort sets the StatsPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StatsPort field is set to the value of the last call.
type HybridOverlayConfigApplyConfiguration ¶
type HybridOverlayConfigApplyConfiguration struct {
// hybridClusterNetwork defines a network space given to nodes on an additional overlay network.
HybridClusterNetwork []ClusterNetworkEntryApplyConfiguration `json:"hybridClusterNetwork,omitempty"`
// hybridOverlayVXLANPort defines the VXLAN port number to be used by the additional overlay network.
// Default is 4789
HybridOverlayVXLANPort *uint32 `json:"hybridOverlayVXLANPort,omitempty"`
}
HybridOverlayConfigApplyConfiguration represents a declarative configuration of the HybridOverlayConfig type for use with apply.
func HybridOverlayConfig ¶
func HybridOverlayConfig() *HybridOverlayConfigApplyConfiguration
HybridOverlayConfigApplyConfiguration constructs a declarative configuration of the HybridOverlayConfig type for use with apply.
func (*HybridOverlayConfigApplyConfiguration) WithHybridClusterNetwork ¶
func (b *HybridOverlayConfigApplyConfiguration) WithHybridClusterNetwork(values ...*ClusterNetworkEntryApplyConfiguration) *HybridOverlayConfigApplyConfiguration
WithHybridClusterNetwork adds the given value to the HybridClusterNetwork field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HybridClusterNetwork field.
func (*HybridOverlayConfigApplyConfiguration) WithHybridOverlayVXLANPort ¶
func (b *HybridOverlayConfigApplyConfiguration) WithHybridOverlayVXLANPort(value uint32) *HybridOverlayConfigApplyConfiguration
WithHybridOverlayVXLANPort sets the HybridOverlayVXLANPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HybridOverlayVXLANPort field is set to the value of the last call.
type IBMCloudCSIDriverConfigSpecApplyConfiguration ¶
type IBMCloudCSIDriverConfigSpecApplyConfiguration struct {
// encryptionKeyCRN is the IBM Cloud CRN of the customer-managed root key to use
// for disk encryption of volumes for the default storage classes.
EncryptionKeyCRN *string `json:"encryptionKeyCRN,omitempty"`
}
IBMCloudCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the IBMCloudCSIDriverConfigSpec type for use with apply.
IBMCloudCSIDriverConfigSpec defines the properties that can be configured for the IBM Cloud CSI driver.
func IBMCloudCSIDriverConfigSpec ¶
func IBMCloudCSIDriverConfigSpec() *IBMCloudCSIDriverConfigSpecApplyConfiguration
IBMCloudCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the IBMCloudCSIDriverConfigSpec type for use with apply.
func (*IBMCloudCSIDriverConfigSpecApplyConfiguration) WithEncryptionKeyCRN ¶
func (b *IBMCloudCSIDriverConfigSpecApplyConfiguration) WithEncryptionKeyCRN(value string) *IBMCloudCSIDriverConfigSpecApplyConfiguration
WithEncryptionKeyCRN sets the EncryptionKeyCRN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EncryptionKeyCRN field is set to the value of the last call.
type IBMLoadBalancerParametersApplyConfiguration ¶
type IBMLoadBalancerParametersApplyConfiguration struct {
// protocol specifies whether the load balancer uses PROXY protocol to forward connections to
// the IngressController. See "service.kubernetes.io/ibm-load-balancer-cloud-provider-enable-features:
// "proxy-protocol"" at https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas"
//
// PROXY protocol can be used with load balancers that support it to
// communicate the source addresses of client connections when
// forwarding those connections to the IngressController. Using PROXY
// protocol enables the IngressController to report those source
// addresses instead of reporting the load balancer's address in HTTP
// headers and logs. Note that enabling PROXY protocol on the
// IngressController will cause connections to fail if you are not using
// a load balancer that uses PROXY protocol to forward connections to
// the IngressController. See
// http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for
// information about PROXY protocol.
//
// Valid values for protocol are TCP, PROXY and omitted.
// When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to change over time.
// The current default is TCP, without the proxy protocol enabled.
Protocol *operatorv1.IngressControllerProtocol `json:"protocol,omitempty"`
}
IBMLoadBalancerParametersApplyConfiguration represents a declarative configuration of the IBMLoadBalancerParameters type for use with apply.
IBMLoadBalancerParameters provides configuration settings that are specific to IBM Cloud load balancers.
func IBMLoadBalancerParameters ¶
func IBMLoadBalancerParameters() *IBMLoadBalancerParametersApplyConfiguration
IBMLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the IBMLoadBalancerParameters type for use with apply.
func (*IBMLoadBalancerParametersApplyConfiguration) WithProtocol ¶
func (b *IBMLoadBalancerParametersApplyConfiguration) WithProtocol(value operatorv1.IngressControllerProtocol) *IBMLoadBalancerParametersApplyConfiguration
WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.
type IPAMConfigApplyConfiguration ¶
type IPAMConfigApplyConfiguration struct {
// type is the type of IPAM module will be used for IP Address Management(IPAM).
// The supported values are IPAMTypeDHCP, IPAMTypeStatic
Type *operatorv1.IPAMType `json:"type,omitempty"`
// staticIPAMConfig configures the static IP address in case of type:IPAMTypeStatic
StaticIPAMConfig *StaticIPAMConfigApplyConfiguration `json:"staticIPAMConfig,omitempty"`
}
IPAMConfigApplyConfiguration represents a declarative configuration of the IPAMConfig type for use with apply.
IPAMConfig contains configurations for IPAM (IP Address Management)
func IPAMConfig ¶
func IPAMConfig() *IPAMConfigApplyConfiguration
IPAMConfigApplyConfiguration constructs a declarative configuration of the IPAMConfig type for use with apply.
func (*IPAMConfigApplyConfiguration) WithStaticIPAMConfig ¶
func (b *IPAMConfigApplyConfiguration) WithStaticIPAMConfig(value *StaticIPAMConfigApplyConfiguration) *IPAMConfigApplyConfiguration
WithStaticIPAMConfig sets the StaticIPAMConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StaticIPAMConfig field is set to the value of the last call.
func (*IPAMConfigApplyConfiguration) WithType ¶
func (b *IPAMConfigApplyConfiguration) WithType(value operatorv1.IPAMType) *IPAMConfigApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type IPFIXConfigApplyConfiguration ¶
type IPFIXConfigApplyConfiguration struct {
// ipfixCollectors is list of strings formatted as ip:port with a maximum of ten items
Collectors []operatorv1.IPPort `json:"collectors,omitempty"`
}
IPFIXConfigApplyConfiguration represents a declarative configuration of the IPFIXConfig type for use with apply.
func IPFIXConfig ¶
func IPFIXConfig() *IPFIXConfigApplyConfiguration
IPFIXConfigApplyConfiguration constructs a declarative configuration of the IPFIXConfig type for use with apply.
func (*IPFIXConfigApplyConfiguration) WithCollectors ¶
func (b *IPFIXConfigApplyConfiguration) WithCollectors(values ...operatorv1.IPPort) *IPFIXConfigApplyConfiguration
WithCollectors adds the given value to the Collectors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Collectors field.
type IPsecConfigApplyConfiguration ¶
type IPsecConfigApplyConfiguration struct {
// mode defines the behaviour of the ipsec configuration within the platform.
// Valid values are `Disabled`, `External` and `Full`.
// When 'Disabled', ipsec will not be enabled at the node level.
// When 'External', ipsec is enabled on the node level but requires the user to configure the secure communication parameters.
// This mode is for external secure communications and the configuration can be done using the k8s-nmstate operator.
// When 'Full', ipsec is configured on the node level and inter-pod secure communication within the cluster is configured.
// Note with `Full`, if ipsec is desired for communication with external (to the cluster) entities (such as storage arrays),
// this is left to the user to configure.
Mode *operatorv1.IPsecMode `json:"mode,omitempty"`
// full defines configuration parameters for the IPsec `Full` mode.
// This is permitted only when mode is configured with `Full`,
// and forbidden otherwise.
Full *IPsecFullModeConfigApplyConfiguration `json:"full,omitempty"`
}
IPsecConfigApplyConfiguration represents a declarative configuration of the IPsecConfig type for use with apply.
func IPsecConfig ¶
func IPsecConfig() *IPsecConfigApplyConfiguration
IPsecConfigApplyConfiguration constructs a declarative configuration of the IPsecConfig type for use with apply.
func (*IPsecConfigApplyConfiguration) WithFull ¶
func (b *IPsecConfigApplyConfiguration) WithFull(value *IPsecFullModeConfigApplyConfiguration) *IPsecConfigApplyConfiguration
WithFull sets the Full field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Full field is set to the value of the last call.
func (*IPsecConfigApplyConfiguration) WithMode ¶
func (b *IPsecConfigApplyConfiguration) WithMode(value operatorv1.IPsecMode) *IPsecConfigApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
type IPsecFullModeConfigApplyConfiguration ¶
type IPsecFullModeConfigApplyConfiguration struct {
// encapsulation option to configure libreswan on how inter-pod traffic across nodes
// are encapsulated to handle NAT traversal. When configured it uses UDP port 4500
// for the encapsulation.
// Valid values are Always, Auto and omitted.
// Always means enable UDP encapsulation regardless of whether NAT is detected.
// Auto means enable UDP encapsulation based on the detection of NAT.
// When omitted, this means no opinion and the platform is left to choose a reasonable
// default, which is subject to change over time. The current default is Auto.
Encapsulation *operatorv1.Encapsulation `json:"encapsulation,omitempty"`
}
IPsecFullModeConfigApplyConfiguration represents a declarative configuration of the IPsecFullModeConfig type for use with apply.
IPsecFullModeConfig defines configuration parameters for the IPsec `Full` mode.
func IPsecFullModeConfig ¶
func IPsecFullModeConfig() *IPsecFullModeConfigApplyConfiguration
IPsecFullModeConfigApplyConfiguration constructs a declarative configuration of the IPsecFullModeConfig type for use with apply.
func (*IPsecFullModeConfigApplyConfiguration) WithEncapsulation ¶
func (b *IPsecFullModeConfigApplyConfiguration) WithEncapsulation(value operatorv1.Encapsulation) *IPsecFullModeConfigApplyConfiguration
WithEncapsulation sets the Encapsulation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Encapsulation field is set to the value of the last call.
type IPv4GatewayConfigApplyConfiguration ¶
type IPv4GatewayConfigApplyConfiguration struct {
// internalMasqueradeSubnet contains the masquerade addresses in IPV4 CIDR format used internally by
// ovn-kubernetes to enable host to service traffic. Each host in the cluster is configured with these
// addresses, as well as the shared gateway bridge interface. The values can be changed after
// installation. The subnet chosen should not overlap with other networks specified for
// OVN-Kubernetes as well as other networks used on the host. Additionally the subnet must
// be large enough to accommodate 6 IPs (maximum prefix length /29).
// When omitted, this means no opinion and the platform is left to choose a reasonable default which is subject to change over time.
// The current default subnet is 169.254.0.0/17
// The value must be in proper IPV4 CIDR format
InternalMasqueradeSubnet *string `json:"internalMasqueradeSubnet,omitempty"`
}
IPv4GatewayConfigApplyConfiguration represents a declarative configuration of the IPv4GatewayConfig type for use with apply.
IPV4GatewayConfig holds the configuration paramaters for IPV4 connections in the GatewayConfig for OVN-Kubernetes
func IPv4GatewayConfig ¶
func IPv4GatewayConfig() *IPv4GatewayConfigApplyConfiguration
IPv4GatewayConfigApplyConfiguration constructs a declarative configuration of the IPv4GatewayConfig type for use with apply.
func (*IPv4GatewayConfigApplyConfiguration) WithInternalMasqueradeSubnet ¶
func (b *IPv4GatewayConfigApplyConfiguration) WithInternalMasqueradeSubnet(value string) *IPv4GatewayConfigApplyConfiguration
WithInternalMasqueradeSubnet sets the InternalMasqueradeSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalMasqueradeSubnet field is set to the value of the last call.
type IPv4OVNKubernetesConfigApplyConfiguration ¶
type IPv4OVNKubernetesConfigApplyConfiguration struct {
// internalTransitSwitchSubnet is a v4 subnet in IPV4 CIDR format used internally
// by OVN-Kubernetes for the distributed transit switch in the OVN Interconnect
// architecture that connects the cluster routers on each node together to enable
// east west traffic. The subnet chosen should not overlap with other networks
// specified for OVN-Kubernetes as well as other networks used on the host.
// When ommitted, this means no opinion and the platform is left to choose a reasonable
// default which is subject to change over time.
// The current default subnet is 100.88.0.0/16
// The subnet must be large enough to accommodate one IP per node in your cluster
// The value must be in proper IPV4 CIDR format
InternalTransitSwitchSubnet *string `json:"internalTransitSwitchSubnet,omitempty"`
// internalJoinSubnet is a v4 subnet used internally by ovn-kubernetes in case the
// default one is being already used by something else. It must not overlap with
// any other subnet being used by OpenShift or by the node network. The size of the
// subnet must be larger than the number of nodes.
// The current default value is 100.64.0.0/16
// The subnet must be large enough to accommodate one IP per node in your cluster
// The value must be in proper IPV4 CIDR format
InternalJoinSubnet *string `json:"internalJoinSubnet,omitempty"`
}
IPv4OVNKubernetesConfigApplyConfiguration represents a declarative configuration of the IPv4OVNKubernetesConfig type for use with apply.
func IPv4OVNKubernetesConfig ¶
func IPv4OVNKubernetesConfig() *IPv4OVNKubernetesConfigApplyConfiguration
IPv4OVNKubernetesConfigApplyConfiguration constructs a declarative configuration of the IPv4OVNKubernetesConfig type for use with apply.
func (*IPv4OVNKubernetesConfigApplyConfiguration) WithInternalJoinSubnet ¶
func (b *IPv4OVNKubernetesConfigApplyConfiguration) WithInternalJoinSubnet(value string) *IPv4OVNKubernetesConfigApplyConfiguration
WithInternalJoinSubnet sets the InternalJoinSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalJoinSubnet field is set to the value of the last call.
func (*IPv4OVNKubernetesConfigApplyConfiguration) WithInternalTransitSwitchSubnet ¶
func (b *IPv4OVNKubernetesConfigApplyConfiguration) WithInternalTransitSwitchSubnet(value string) *IPv4OVNKubernetesConfigApplyConfiguration
WithInternalTransitSwitchSubnet sets the InternalTransitSwitchSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalTransitSwitchSubnet field is set to the value of the last call.
type IPv6GatewayConfigApplyConfiguration ¶
type IPv6GatewayConfigApplyConfiguration struct {
// internalMasqueradeSubnet contains the masquerade addresses in IPV6 CIDR format used internally by
// ovn-kubernetes to enable host to service traffic. Each host in the cluster is configured with these
// addresses, as well as the shared gateway bridge interface. The values can be changed after
// installation. The subnet chosen should not overlap with other networks specified for
// OVN-Kubernetes as well as other networks used on the host. Additionally the subnet must
// be large enough to accommodate 6 IPs (maximum prefix length /125).
// When omitted, this means no opinion and the platform is left to choose a reasonable default which is subject to change over time.
// The current default subnet is fd69::/112
// Note that IPV6 dual addresses are not permitted
InternalMasqueradeSubnet *string `json:"internalMasqueradeSubnet,omitempty"`
}
IPv6GatewayConfigApplyConfiguration represents a declarative configuration of the IPv6GatewayConfig type for use with apply.
IPV6GatewayConfig holds the configuration paramaters for IPV6 connections in the GatewayConfig for OVN-Kubernetes
func IPv6GatewayConfig ¶
func IPv6GatewayConfig() *IPv6GatewayConfigApplyConfiguration
IPv6GatewayConfigApplyConfiguration constructs a declarative configuration of the IPv6GatewayConfig type for use with apply.
func (*IPv6GatewayConfigApplyConfiguration) WithInternalMasqueradeSubnet ¶
func (b *IPv6GatewayConfigApplyConfiguration) WithInternalMasqueradeSubnet(value string) *IPv6GatewayConfigApplyConfiguration
WithInternalMasqueradeSubnet sets the InternalMasqueradeSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalMasqueradeSubnet field is set to the value of the last call.
type IPv6OVNKubernetesConfigApplyConfiguration ¶
type IPv6OVNKubernetesConfigApplyConfiguration struct {
// internalTransitSwitchSubnet is a v4 subnet in IPV4 CIDR format used internally
// by OVN-Kubernetes for the distributed transit switch in the OVN Interconnect
// architecture that connects the cluster routers on each node together to enable
// east west traffic. The subnet chosen should not overlap with other networks
// specified for OVN-Kubernetes as well as other networks used on the host.
// When ommitted, this means no opinion and the platform is left to choose a reasonable
// default which is subject to change over time.
// The subnet must be large enough to accommodate one IP per node in your cluster
// The current default subnet is fd97::/64
// The value must be in proper IPV6 CIDR format
// Note that IPV6 dual addresses are not permitted
InternalTransitSwitchSubnet *string `json:"internalTransitSwitchSubnet,omitempty"`
// internalJoinSubnet is a v6 subnet used internally by ovn-kubernetes in case the
// default one is being already used by something else. It must not overlap with
// any other subnet being used by OpenShift or by the node network. The size of the
// subnet must be larger than the number of nodes.
// The subnet must be large enough to accommodate one IP per node in your cluster
// The current default value is fd98::/64
// The value must be in proper IPV6 CIDR format
// Note that IPV6 dual addresses are not permitted
InternalJoinSubnet *string `json:"internalJoinSubnet,omitempty"`
}
IPv6OVNKubernetesConfigApplyConfiguration represents a declarative configuration of the IPv6OVNKubernetesConfig type for use with apply.
func IPv6OVNKubernetesConfig ¶
func IPv6OVNKubernetesConfig() *IPv6OVNKubernetesConfigApplyConfiguration
IPv6OVNKubernetesConfigApplyConfiguration constructs a declarative configuration of the IPv6OVNKubernetesConfig type for use with apply.
func (*IPv6OVNKubernetesConfigApplyConfiguration) WithInternalJoinSubnet ¶
func (b *IPv6OVNKubernetesConfigApplyConfiguration) WithInternalJoinSubnet(value string) *IPv6OVNKubernetesConfigApplyConfiguration
WithInternalJoinSubnet sets the InternalJoinSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalJoinSubnet field is set to the value of the last call.
func (*IPv6OVNKubernetesConfigApplyConfiguration) WithInternalTransitSwitchSubnet ¶
func (b *IPv6OVNKubernetesConfigApplyConfiguration) WithInternalTransitSwitchSubnet(value string) *IPv6OVNKubernetesConfigApplyConfiguration
WithInternalTransitSwitchSubnet sets the InternalTransitSwitchSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InternalTransitSwitchSubnet field is set to the value of the last call.
type IngressApplyConfiguration ¶
type IngressApplyConfiguration struct {
// consoleURL is a URL to be used as the base console address.
// If not specified, the console route hostname will be used.
// This field is required for clusters without ingress capability,
// where access to routes is not possible.
// Make sure that appropriate ingress is set up at this URL.
// The console operator will monitor the URL and may go degraded
// if it's unreachable for an extended period.
// Must use the HTTPS scheme.
ConsoleURL *string `json:"consoleURL,omitempty"`
// clientDownloadsURL is a URL to be used as the address to download client binaries.
// If not specified, the downloads route hostname will be used.
// This field is required for clusters without ingress capability,
// where access to routes is not possible.
// The console operator will monitor the URL and may go degraded
// if it's unreachable for an extended period.
// Must use the HTTPS scheme.
ClientDownloadsURL *string `json:"clientDownloadsURL,omitempty"`
}
IngressApplyConfiguration represents a declarative configuration of the Ingress type for use with apply.
Ingress allows cluster admin to configure alternative ingress for the console.
func Ingress ¶
func Ingress() *IngressApplyConfiguration
IngressApplyConfiguration constructs a declarative configuration of the Ingress type for use with apply.
func (*IngressApplyConfiguration) WithClientDownloadsURL ¶
func (b *IngressApplyConfiguration) WithClientDownloadsURL(value string) *IngressApplyConfiguration
WithClientDownloadsURL sets the ClientDownloadsURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientDownloadsURL field is set to the value of the last call.
func (*IngressApplyConfiguration) WithConsoleURL ¶
func (b *IngressApplyConfiguration) WithConsoleURL(value string) *IngressApplyConfiguration
WithConsoleURL sets the ConsoleURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConsoleURL field is set to the value of the last call.
type IngressControllerApplyConfiguration ¶
type IngressControllerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the IngressController.
Spec *IngressControllerSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the IngressController.
Status *IngressControllerStatusApplyConfiguration `json:"status,omitempty"`
}
IngressControllerApplyConfiguration represents a declarative configuration of the IngressController type for use with apply.
IngressController describes a managed ingress controller for the cluster. The controller can service OpenShift Route and Kubernetes Ingress resources.
When an IngressController is created, a new ingress controller deployment is created to allow external traffic to reach the services that expose Ingress or Route resources. Updating this resource may lead to disruption for public facing network connections as a new ingress controller revision may be rolled out.
https://kubernetes.io/docs/concepts/services-networking/ingress-controllers
Whenever possible, sensible defaults for the platform are used. See each field for more details.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractIngressController ¶
func ExtractIngressController(ingressController *operatorv1.IngressController, fieldManager string) (*IngressControllerApplyConfiguration, error)
ExtractIngressController extracts the applied configuration owned by fieldManager from ingressController. If no managedFields are found in ingressController for fieldManager, a IngressControllerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. ingressController must be a unmodified IngressController API object that was retrieved from the Kubernetes API. ExtractIngressController provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractIngressControllerFrom ¶
func ExtractIngressControllerFrom(ingressController *operatorv1.IngressController, fieldManager string, subresource string) (*IngressControllerApplyConfiguration, error)
ExtractIngressControllerFrom extracts the applied configuration owned by fieldManager from ingressController for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. ingressController must be a unmodified IngressController API object that was retrieved from the Kubernetes API. ExtractIngressControllerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractIngressControllerStatus ¶
func ExtractIngressControllerStatus(ingressController *operatorv1.IngressController, fieldManager string) (*IngressControllerApplyConfiguration, error)
ExtractIngressControllerStatus extracts the applied configuration owned by fieldManager from ingressController for the status subresource.
func IngressController ¶
func IngressController(name, namespace string) *IngressControllerApplyConfiguration
IngressController constructs a declarative configuration of the IngressController type for use with apply.
func (*IngressControllerApplyConfiguration) GetAPIVersion ¶
func (b *IngressControllerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*IngressControllerApplyConfiguration) GetKind ¶
func (b *IngressControllerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*IngressControllerApplyConfiguration) GetName ¶
func (b *IngressControllerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*IngressControllerApplyConfiguration) GetNamespace ¶
func (b *IngressControllerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (IngressControllerApplyConfiguration) IsApplyConfiguration ¶
func (b IngressControllerApplyConfiguration) IsApplyConfiguration()
func (*IngressControllerApplyConfiguration) WithAPIVersion ¶
func (b *IngressControllerApplyConfiguration) WithAPIVersion(value string) *IngressControllerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithAnnotations ¶
func (b *IngressControllerApplyConfiguration) WithAnnotations(entries map[string]string) *IngressControllerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*IngressControllerApplyConfiguration) WithCreationTimestamp ¶
func (b *IngressControllerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *IngressControllerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *IngressControllerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *IngressControllerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithDeletionTimestamp ¶
func (b *IngressControllerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *IngressControllerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithFinalizers ¶
func (b *IngressControllerApplyConfiguration) WithFinalizers(values ...string) *IngressControllerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*IngressControllerApplyConfiguration) WithGenerateName ¶
func (b *IngressControllerApplyConfiguration) WithGenerateName(value string) *IngressControllerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithGeneration ¶
func (b *IngressControllerApplyConfiguration) WithGeneration(value int64) *IngressControllerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithKind ¶
func (b *IngressControllerApplyConfiguration) WithKind(value string) *IngressControllerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithLabels ¶
func (b *IngressControllerApplyConfiguration) WithLabels(entries map[string]string) *IngressControllerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*IngressControllerApplyConfiguration) WithName ¶
func (b *IngressControllerApplyConfiguration) WithName(value string) *IngressControllerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithNamespace ¶
func (b *IngressControllerApplyConfiguration) WithNamespace(value string) *IngressControllerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithOwnerReferences ¶
func (b *IngressControllerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *IngressControllerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*IngressControllerApplyConfiguration) WithResourceVersion ¶
func (b *IngressControllerApplyConfiguration) WithResourceVersion(value string) *IngressControllerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithSpec ¶
func (b *IngressControllerApplyConfiguration) WithSpec(value *IngressControllerSpecApplyConfiguration) *IngressControllerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithStatus ¶
func (b *IngressControllerApplyConfiguration) WithStatus(value *IngressControllerStatusApplyConfiguration) *IngressControllerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*IngressControllerApplyConfiguration) WithUID ¶
func (b *IngressControllerApplyConfiguration) WithUID(value types.UID) *IngressControllerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type IngressControllerCaptureHTTPCookieApplyConfiguration ¶
type IngressControllerCaptureHTTPCookieApplyConfiguration struct {
IngressControllerCaptureHTTPCookieUnionApplyConfiguration `json:",inline"`
// maxLength specifies a maximum length of the string that will be
// logged, which includes the cookie name, cookie value, and
// one-character delimiter. If the log entry exceeds this length, the
// value will be truncated in the log message. Note that the ingress
// controller may impose a separate bound on the total length of HTTP
// headers in a request.
MaxLength *int `json:"maxLength,omitempty"`
}
IngressControllerCaptureHTTPCookieApplyConfiguration represents a declarative configuration of the IngressControllerCaptureHTTPCookie type for use with apply.
IngressControllerCaptureHTTPCookie describes an HTTP cookie that should be captured.
func IngressControllerCaptureHTTPCookie ¶
func IngressControllerCaptureHTTPCookie() *IngressControllerCaptureHTTPCookieApplyConfiguration
IngressControllerCaptureHTTPCookieApplyConfiguration constructs a declarative configuration of the IngressControllerCaptureHTTPCookie type for use with apply.
func (*IngressControllerCaptureHTTPCookieApplyConfiguration) WithMatchType ¶
func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithMatchType(value operatorv1.CookieMatchType) *IngressControllerCaptureHTTPCookieApplyConfiguration
WithMatchType sets the MatchType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchType field is set to the value of the last call.
func (*IngressControllerCaptureHTTPCookieApplyConfiguration) WithMaxLength ¶
func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithMaxLength(value int) *IngressControllerCaptureHTTPCookieApplyConfiguration
WithMaxLength sets the MaxLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLength field is set to the value of the last call.
func (*IngressControllerCaptureHTTPCookieApplyConfiguration) WithName ¶
func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithName(value string) *IngressControllerCaptureHTTPCookieApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*IngressControllerCaptureHTTPCookieApplyConfiguration) WithNamePrefix ¶
func (b *IngressControllerCaptureHTTPCookieApplyConfiguration) WithNamePrefix(value string) *IngressControllerCaptureHTTPCookieApplyConfiguration
WithNamePrefix sets the NamePrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamePrefix field is set to the value of the last call.
type IngressControllerCaptureHTTPCookieUnionApplyConfiguration ¶
type IngressControllerCaptureHTTPCookieUnionApplyConfiguration struct {
// matchType specifies the type of match to be performed on the cookie
// name. Allowed values are "Exact" for an exact string match and
// "Prefix" for a string prefix match. If "Exact" is specified, a name
// must be specified in the name field. If "Prefix" is provided, a
// prefix must be specified in the namePrefix field. For example,
// specifying matchType "Prefix" and namePrefix "foo" will capture a
// cookie named "foo" or "foobar" but not one named "bar". The first
// matching cookie is captured.
MatchType *operatorv1.CookieMatchType `json:"matchType,omitempty"`
// name specifies a cookie name. Its value must be a valid HTTP cookie
// name as defined in RFC 6265 section 4.1.
Name *string `json:"name,omitempty"`
// namePrefix specifies a cookie name prefix. Its value must be a valid
// HTTP cookie name as defined in RFC 6265 section 4.1.
NamePrefix *string `json:"namePrefix,omitempty"`
}
IngressControllerCaptureHTTPCookieUnionApplyConfiguration represents a declarative configuration of the IngressControllerCaptureHTTPCookieUnion type for use with apply.
IngressControllerCaptureHTTPCookieUnion describes optional fields of an HTTP cookie that should be captured.
func IngressControllerCaptureHTTPCookieUnion ¶
func IngressControllerCaptureHTTPCookieUnion() *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
IngressControllerCaptureHTTPCookieUnionApplyConfiguration constructs a declarative configuration of the IngressControllerCaptureHTTPCookieUnion type for use with apply.
func (*IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithMatchType ¶
func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithMatchType(value operatorv1.CookieMatchType) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
WithMatchType sets the MatchType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MatchType field is set to the value of the last call.
func (*IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithName ¶
func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithName(value string) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithNamePrefix ¶
func (b *IngressControllerCaptureHTTPCookieUnionApplyConfiguration) WithNamePrefix(value string) *IngressControllerCaptureHTTPCookieUnionApplyConfiguration
WithNamePrefix sets the NamePrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamePrefix field is set to the value of the last call.
type IngressControllerCaptureHTTPHeaderApplyConfiguration ¶
type IngressControllerCaptureHTTPHeaderApplyConfiguration struct {
// name specifies a header name. Its value must be a valid HTTP header
// name as defined in RFC 2616 section 4.2.
Name *string `json:"name,omitempty"`
// maxLength specifies a maximum length for the header value. If a
// header value exceeds this length, the value will be truncated in the
// log message. Note that the ingress controller may impose a separate
// bound on the total length of HTTP headers in a request.
MaxLength *int `json:"maxLength,omitempty"`
}
IngressControllerCaptureHTTPHeaderApplyConfiguration represents a declarative configuration of the IngressControllerCaptureHTTPHeader type for use with apply.
IngressControllerCaptureHTTPHeader describes an HTTP header that should be captured.
func IngressControllerCaptureHTTPHeader ¶
func IngressControllerCaptureHTTPHeader() *IngressControllerCaptureHTTPHeaderApplyConfiguration
IngressControllerCaptureHTTPHeaderApplyConfiguration constructs a declarative configuration of the IngressControllerCaptureHTTPHeader type for use with apply.
func (*IngressControllerCaptureHTTPHeaderApplyConfiguration) WithMaxLength ¶
func (b *IngressControllerCaptureHTTPHeaderApplyConfiguration) WithMaxLength(value int) *IngressControllerCaptureHTTPHeaderApplyConfiguration
WithMaxLength sets the MaxLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLength field is set to the value of the last call.
func (*IngressControllerCaptureHTTPHeaderApplyConfiguration) WithName ¶
func (b *IngressControllerCaptureHTTPHeaderApplyConfiguration) WithName(value string) *IngressControllerCaptureHTTPHeaderApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type IngressControllerCaptureHTTPHeadersApplyConfiguration ¶
type IngressControllerCaptureHTTPHeadersApplyConfiguration struct {
// request specifies which HTTP request headers to capture.
//
// If this field is empty, no request headers are captured.
Request []IngressControllerCaptureHTTPHeaderApplyConfiguration `json:"request,omitempty"`
// response specifies which HTTP response headers to capture.
//
// If this field is empty, no response headers are captured.
Response []IngressControllerCaptureHTTPHeaderApplyConfiguration `json:"response,omitempty"`
}
IngressControllerCaptureHTTPHeadersApplyConfiguration represents a declarative configuration of the IngressControllerCaptureHTTPHeaders type for use with apply.
IngressControllerCaptureHTTPHeaders specifies which HTTP headers the IngressController captures.
func IngressControllerCaptureHTTPHeaders ¶
func IngressControllerCaptureHTTPHeaders() *IngressControllerCaptureHTTPHeadersApplyConfiguration
IngressControllerCaptureHTTPHeadersApplyConfiguration constructs a declarative configuration of the IngressControllerCaptureHTTPHeaders type for use with apply.
func (*IngressControllerCaptureHTTPHeadersApplyConfiguration) WithRequest ¶
func (b *IngressControllerCaptureHTTPHeadersApplyConfiguration) WithRequest(values ...*IngressControllerCaptureHTTPHeaderApplyConfiguration) *IngressControllerCaptureHTTPHeadersApplyConfiguration
WithRequest adds the given value to the Request field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Request field.
func (*IngressControllerCaptureHTTPHeadersApplyConfiguration) WithResponse ¶
func (b *IngressControllerCaptureHTTPHeadersApplyConfiguration) WithResponse(values ...*IngressControllerCaptureHTTPHeaderApplyConfiguration) *IngressControllerCaptureHTTPHeadersApplyConfiguration
WithResponse adds the given value to the Response field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Response field.
type IngressControllerHTTPHeaderActionUnionApplyConfiguration ¶
type IngressControllerHTTPHeaderActionUnionApplyConfiguration struct {
// type defines the type of the action to be applied on the header.
// Possible values are Set or Delete.
// Set allows you to set HTTP request and response headers.
// Delete allows you to delete HTTP request and response headers.
Type *operatorv1.IngressControllerHTTPHeaderActionType `json:"type,omitempty"`
// set specifies how the HTTP header should be set.
// This field is required when type is Set and forbidden otherwise.
Set *IngressControllerSetHTTPHeaderApplyConfiguration `json:"set,omitempty"`
}
IngressControllerHTTPHeaderActionUnionApplyConfiguration represents a declarative configuration of the IngressControllerHTTPHeaderActionUnion type for use with apply.
IngressControllerHTTPHeaderActionUnion specifies an action to take on an HTTP header.
func IngressControllerHTTPHeaderActionUnion ¶
func IngressControllerHTTPHeaderActionUnion() *IngressControllerHTTPHeaderActionUnionApplyConfiguration
IngressControllerHTTPHeaderActionUnionApplyConfiguration constructs a declarative configuration of the IngressControllerHTTPHeaderActionUnion type for use with apply.
func (*IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithSet ¶
func (b *IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithSet(value *IngressControllerSetHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionUnionApplyConfiguration
WithSet sets the Set field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Set field is set to the value of the last call.
func (*IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithType ¶
func (b *IngressControllerHTTPHeaderActionUnionApplyConfiguration) WithType(value operatorv1.IngressControllerHTTPHeaderActionType) *IngressControllerHTTPHeaderActionUnionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type IngressControllerHTTPHeaderActionsApplyConfiguration ¶
type IngressControllerHTTPHeaderActionsApplyConfiguration struct {
// response is a list of HTTP response headers to modify.
// Actions defined here will modify the response headers of all requests passing through an ingress controller.
// These actions are applied to all Routes i.e. for all connections handled by the ingress controller defined within a cluster.
// IngressController actions for response headers will be executed after Route actions.
// Currently, actions may define to either `Set` or `Delete` headers values.
// Actions are applied in sequence as defined in this list.
// A maximum of 20 response header actions may be configured.
// Sample fetchers allowed are "res.hdr" and "ssl_c_der".
// Converters allowed are "lower" and "base64".
// Example header values: "%[res.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]".
Response []IngressControllerHTTPHeaderApplyConfiguration `json:"response,omitempty"`
// request is a list of HTTP request headers to modify.
// Actions defined here will modify the request headers of all requests passing through an ingress controller.
// These actions are applied to all Routes i.e. for all connections handled by the ingress controller defined within a cluster.
// IngressController actions for request headers will be executed before Route actions.
// Currently, actions may define to either `Set` or `Delete` headers values.
// Actions are applied in sequence as defined in this list.
// A maximum of 20 request header actions may be configured.
// Sample fetchers allowed are "req.hdr" and "ssl_c_der".
// Converters allowed are "lower" and "base64".
// Example header values: "%[req.hdr(X-target),lower]", "%{+Q}[ssl_c_der,base64]".
Request []IngressControllerHTTPHeaderApplyConfiguration `json:"request,omitempty"`
}
IngressControllerHTTPHeaderActionsApplyConfiguration represents a declarative configuration of the IngressControllerHTTPHeaderActions type for use with apply.
IngressControllerHTTPHeaderActions defines configuration for actions on HTTP request and response headers.
func IngressControllerHTTPHeaderActions ¶
func IngressControllerHTTPHeaderActions() *IngressControllerHTTPHeaderActionsApplyConfiguration
IngressControllerHTTPHeaderActionsApplyConfiguration constructs a declarative configuration of the IngressControllerHTTPHeaderActions type for use with apply.
func (*IngressControllerHTTPHeaderActionsApplyConfiguration) WithRequest ¶
func (b *IngressControllerHTTPHeaderActionsApplyConfiguration) WithRequest(values ...*IngressControllerHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionsApplyConfiguration
WithRequest adds the given value to the Request field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Request field.
func (*IngressControllerHTTPHeaderActionsApplyConfiguration) WithResponse ¶
func (b *IngressControllerHTTPHeaderActionsApplyConfiguration) WithResponse(values ...*IngressControllerHTTPHeaderApplyConfiguration) *IngressControllerHTTPHeaderActionsApplyConfiguration
WithResponse adds the given value to the Response field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Response field.
type IngressControllerHTTPHeaderApplyConfiguration ¶
type IngressControllerHTTPHeaderApplyConfiguration struct {
// name specifies the name of a header on which to perform an action. Its value must be a valid HTTP header
// name as defined in RFC 2616 section 4.2.
// The name must consist only of alphanumeric and the following special characters, "-!#$%&'*+.^_`".
// The following header names are reserved and may not be modified via this API:
// Strict-Transport-Security, Proxy, Host, Cookie, Set-Cookie.
// It must be no more than 255 characters in length.
// Header name must be unique.
Name *string `json:"name,omitempty"`
// action specifies actions to perform on headers, such as setting or deleting headers.
Action *IngressControllerHTTPHeaderActionUnionApplyConfiguration `json:"action,omitempty"`
}
IngressControllerHTTPHeaderApplyConfiguration represents a declarative configuration of the IngressControllerHTTPHeader type for use with apply.
IngressControllerHTTPHeader specifies configuration for setting or deleting an HTTP header.
func IngressControllerHTTPHeader ¶
func IngressControllerHTTPHeader() *IngressControllerHTTPHeaderApplyConfiguration
IngressControllerHTTPHeaderApplyConfiguration constructs a declarative configuration of the IngressControllerHTTPHeader type for use with apply.
func (*IngressControllerHTTPHeaderApplyConfiguration) WithAction ¶
func (b *IngressControllerHTTPHeaderApplyConfiguration) WithAction(value *IngressControllerHTTPHeaderActionUnionApplyConfiguration) *IngressControllerHTTPHeaderApplyConfiguration
WithAction sets the Action field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Action field is set to the value of the last call.
func (*IngressControllerHTTPHeaderApplyConfiguration) WithName ¶
func (b *IngressControllerHTTPHeaderApplyConfiguration) WithName(value string) *IngressControllerHTTPHeaderApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type IngressControllerHTTPHeadersApplyConfiguration ¶
type IngressControllerHTTPHeadersApplyConfiguration struct {
// forwardedHeaderPolicy specifies when and how the IngressController
// sets the Forwarded, X-Forwarded-For, X-Forwarded-Host,
// X-Forwarded-Port, X-Forwarded-Proto, and X-Forwarded-Proto-Version
// HTTP headers. The value may be one of the following:
//
// * "Append", which specifies that the IngressController appends the
// headers, preserving existing headers.
//
// * "Replace", which specifies that the IngressController sets the
// headers, replacing any existing Forwarded or X-Forwarded-* headers.
//
// * "IfNone", which specifies that the IngressController sets the
// headers if they are not already set.
//
// * "Never", which specifies that the IngressController never sets the
// headers, preserving any existing headers.
//
// By default, the policy is "Append".
ForwardedHeaderPolicy *operatorv1.IngressControllerHTTPHeaderPolicy `json:"forwardedHeaderPolicy,omitempty"`
// uniqueId describes configuration for a custom HTTP header that the
// ingress controller should inject into incoming HTTP requests.
// Typically, this header is configured to have a value that is unique
// to the HTTP request. The header can be used by applications or
// included in access logs to facilitate tracing individual HTTP
// requests.
//
// If this field is empty, no such header is injected into requests.
UniqueId *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration `json:"uniqueId,omitempty"`
// headerNameCaseAdjustments specifies case adjustments that can be
// applied to HTTP header names. Each adjustment is specified as an
// HTTP header name with the desired capitalization. For example,
// specifying "X-Forwarded-For" indicates that the "x-forwarded-for"
// HTTP header should be adjusted to have the specified capitalization.
//
// These adjustments are only applied to cleartext, edge-terminated, and
// re-encrypt routes, and only when using HTTP/1.
//
// For request headers, these adjustments are applied only for routes
// that have the haproxy.router.openshift.io/h1-adjust-case=true
// annotation. For response headers, these adjustments are applied to
// all HTTP responses.
//
// If this field is empty, no request headers are adjusted.
HeaderNameCaseAdjustments []operatorv1.IngressControllerHTTPHeaderNameCaseAdjustment `json:"headerNameCaseAdjustments,omitempty"`
// actions specifies options for modifying headers and their values.
// Note that this option only applies to cleartext HTTP connections
// and to secure HTTP connections for which the ingress controller
// terminates encryption (that is, edge-terminated or reencrypt
// connections). Headers cannot be modified for TLS passthrough
// connections.
// Setting the HSTS (`Strict-Transport-Security`) header is not supported via actions. `Strict-Transport-Security`
// may only be configured using the "haproxy.router.openshift.io/hsts_header" route annotation, and only in
// accordance with the policy specified in Ingress.Spec.RequiredHSTSPolicies.
// Any actions defined here are applied after any actions related to the following other fields:
// cache-control, spec.clientTLS,
// spec.httpHeaders.forwardedHeaderPolicy, spec.httpHeaders.uniqueId,
// and spec.httpHeaders.headerNameCaseAdjustments.
// In case of HTTP request headers, the actions specified in spec.httpHeaders.actions on the Route will be executed after
// the actions specified in the IngressController's spec.httpHeaders.actions field.
// In case of HTTP response headers, the actions specified in spec.httpHeaders.actions on the IngressController will be
// executed after the actions specified in the Route's spec.httpHeaders.actions field.
// Headers set using this API cannot be captured for use in access logs.
// The following header names are reserved and may not be modified via this API:
// Strict-Transport-Security, Proxy, Host, Cookie, Set-Cookie.
// Note that the total size of all net added headers *after* interpolating dynamic values
// must not exceed the value of spec.tuningOptions.headerBufferMaxRewriteBytes on the
// IngressController. Please refer to the documentation
// for that API field for more details.
Actions *IngressControllerHTTPHeaderActionsApplyConfiguration `json:"actions,omitempty"`
}
IngressControllerHTTPHeadersApplyConfiguration represents a declarative configuration of the IngressControllerHTTPHeaders type for use with apply.
IngressControllerHTTPHeaders specifies how the IngressController handles certain HTTP headers.
func IngressControllerHTTPHeaders ¶
func IngressControllerHTTPHeaders() *IngressControllerHTTPHeadersApplyConfiguration
IngressControllerHTTPHeadersApplyConfiguration constructs a declarative configuration of the IngressControllerHTTPHeaders type for use with apply.
func (*IngressControllerHTTPHeadersApplyConfiguration) WithActions ¶
func (b *IngressControllerHTTPHeadersApplyConfiguration) WithActions(value *IngressControllerHTTPHeaderActionsApplyConfiguration) *IngressControllerHTTPHeadersApplyConfiguration
WithActions sets the Actions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Actions field is set to the value of the last call.
func (*IngressControllerHTTPHeadersApplyConfiguration) WithForwardedHeaderPolicy ¶
func (b *IngressControllerHTTPHeadersApplyConfiguration) WithForwardedHeaderPolicy(value operatorv1.IngressControllerHTTPHeaderPolicy) *IngressControllerHTTPHeadersApplyConfiguration
WithForwardedHeaderPolicy sets the ForwardedHeaderPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForwardedHeaderPolicy field is set to the value of the last call.
func (*IngressControllerHTTPHeadersApplyConfiguration) WithHeaderNameCaseAdjustments ¶
func (b *IngressControllerHTTPHeadersApplyConfiguration) WithHeaderNameCaseAdjustments(values ...operatorv1.IngressControllerHTTPHeaderNameCaseAdjustment) *IngressControllerHTTPHeadersApplyConfiguration
WithHeaderNameCaseAdjustments adds the given value to the HeaderNameCaseAdjustments field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HeaderNameCaseAdjustments field.
func (*IngressControllerHTTPHeadersApplyConfiguration) WithUniqueId ¶
func (b *IngressControllerHTTPHeadersApplyConfiguration) WithUniqueId(value *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) *IngressControllerHTTPHeadersApplyConfiguration
WithUniqueId sets the UniqueId field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UniqueId field is set to the value of the last call.
type IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration ¶
type IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration struct {
// name specifies the name of the HTTP header (for example, "unique-id")
// that the ingress controller should inject into HTTP requests. The
// field's value must be a valid HTTP header name as defined in RFC 2616
// section 4.2. If the field is empty, no header is injected.
Name *string `json:"name,omitempty"`
// format specifies the format for the injected HTTP header's value.
// This field has no effect unless name is specified. For the
// HAProxy-based ingress controller implementation, this format uses the
// same syntax as the HTTP log format. If the field is empty, the
// default value is "%{+X}o\\ %ci:%cp_%fi:%fp_%Ts_%rt:%pid"; see the
// corresponding HAProxy documentation:
// http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#8.2.3
Format *string `json:"format,omitempty"`
}
IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration represents a declarative configuration of the IngressControllerHTTPUniqueIdHeaderPolicy type for use with apply.
IngressControllerHTTPUniqueIdHeaderPolicy describes configuration for a unique id header.
func IngressControllerHTTPUniqueIdHeaderPolicy ¶
func IngressControllerHTTPUniqueIdHeaderPolicy() *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration constructs a declarative configuration of the IngressControllerHTTPUniqueIdHeaderPolicy type for use with apply.
func (*IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithFormat ¶
func (b *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithFormat(value string) *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
WithFormat sets the Format field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Format field is set to the value of the last call.
func (*IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithName ¶
func (b *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration) WithName(value string) *IngressControllerHTTPUniqueIdHeaderPolicyApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type IngressControllerLoggingApplyConfiguration ¶
type IngressControllerLoggingApplyConfiguration struct {
// access describes how the client requests should be logged.
//
// If this field is empty, access logging is disabled.
Access *AccessLoggingApplyConfiguration `json:"access,omitempty"`
}
IngressControllerLoggingApplyConfiguration represents a declarative configuration of the IngressControllerLogging type for use with apply.
IngressControllerLogging describes what should be logged where.
func IngressControllerLogging ¶
func IngressControllerLogging() *IngressControllerLoggingApplyConfiguration
IngressControllerLoggingApplyConfiguration constructs a declarative configuration of the IngressControllerLogging type for use with apply.
func (*IngressControllerLoggingApplyConfiguration) WithAccess ¶
func (b *IngressControllerLoggingApplyConfiguration) WithAccess(value *AccessLoggingApplyConfiguration) *IngressControllerLoggingApplyConfiguration
WithAccess sets the Access field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Access field is set to the value of the last call.
type IngressControllerSetHTTPHeaderApplyConfiguration ¶
type IngressControllerSetHTTPHeaderApplyConfiguration struct {
// value specifies a header value.
// Dynamic values can be added. The value will be interpreted as an HAProxy format string as defined in
// http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#8.2.6 and may use HAProxy's %[] syntax and
// otherwise must be a valid HTTP header value as defined in https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.
// The value of this field must be no more than 16384 characters in length.
// Note that the total size of all net added headers *after* interpolating dynamic values
// must not exceed the value of spec.tuningOptions.headerBufferMaxRewriteBytes on the
// IngressController.
Value *string `json:"value,omitempty"`
}
IngressControllerSetHTTPHeaderApplyConfiguration represents a declarative configuration of the IngressControllerSetHTTPHeader type for use with apply.
IngressControllerSetHTTPHeader defines the value which needs to be set on an HTTP header.
func IngressControllerSetHTTPHeader ¶
func IngressControllerSetHTTPHeader() *IngressControllerSetHTTPHeaderApplyConfiguration
IngressControllerSetHTTPHeaderApplyConfiguration constructs a declarative configuration of the IngressControllerSetHTTPHeader type for use with apply.
func (*IngressControllerSetHTTPHeaderApplyConfiguration) WithValue ¶
func (b *IngressControllerSetHTTPHeaderApplyConfiguration) WithValue(value string) *IngressControllerSetHTTPHeaderApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type IngressControllerSpecApplyConfiguration ¶
type IngressControllerSpecApplyConfiguration struct {
// domain is a DNS name serviced by the ingress controller and is used to
// configure multiple features:
//
// * For the LoadBalancerService endpoint publishing strategy, domain is
// used to configure DNS records. See endpointPublishingStrategy.
//
// * When using a generated default certificate, the certificate will be valid
// for domain and its subdomains. See defaultCertificate.
//
// * The value is published to individual Route statuses so that end-users
// know where to target external DNS records.
//
// domain must be unique among all IngressControllers, and cannot be
// updated.
//
// If empty, defaults to ingress.config.openshift.io/cluster .spec.domain.
//
// The domain value must be a valid DNS name. It must consist of lowercase
// alphanumeric characters, '-' or '.', and each label must start and end
// with an alphanumeric character and not exceed 63 characters. Maximum
// length of a valid DNS domain is 253 characters.
//
// The implementation may add a prefix such as "router-default." to the domain
// when constructing the router canonical hostname. To ensure the resulting
// hostname does not exceed the DNS maximum length of 253 characters,
// the domain length is additionally validated at the IngressController object
// level. For the maximum length of the domain value itself, the shortest
// possible variant of the prefix and the ingress controller name was considered
// for example "router-a."
Domain *string `json:"domain,omitempty"`
// httpErrorCodePages specifies a configmap with custom error pages.
// The administrator must create this configmap in the openshift-config namespace.
// This configmap should have keys in the format "error-page-<error code>.http",
// where <error code> is an HTTP error code.
// For example, "error-page-503.http" defines an error page for HTTP 503 responses.
// Currently only error pages for 503 and 404 responses can be customized.
// Each value in the configmap should be the full response, including HTTP headers.
// Eg- https://raw.githubusercontent.com/openshift/router/fadab45747a9b30cc3f0a4b41ad2871f95827a93/images/router/haproxy/conf/error-page-503.http
// If this field is empty, the ingress controller uses the default error pages.
HttpErrorCodePages *configv1.ConfigMapNameReference `json:"httpErrorCodePages,omitempty"`
// replicas is the desired number of ingress controller replicas. If unset,
// the default depends on the value of the defaultPlacement field in the
// cluster config.openshift.io/v1/ingresses status.
//
// The value of replicas is set based on the value of a chosen field in the
// Infrastructure CR. If defaultPlacement is set to ControlPlane, the
// chosen field will be controlPlaneTopology. If it is set to Workers the
// chosen field will be infrastructureTopology. Replicas will then be set to 1
// or 2 based whether the chosen field's value is SingleReplica or
// HighlyAvailable, respectively.
//
// These defaults are subject to change.
Replicas *int32 `json:"replicas,omitempty"`
// endpointPublishingStrategy is used to publish the ingress controller
// endpoints to other networks, enable load balancer integrations, etc.
//
// If unset, the default is based on
// infrastructure.config.openshift.io/cluster .status.platform:
//
// AWS: LoadBalancerService (with External scope)
// Azure: LoadBalancerService (with External scope)
// GCP: LoadBalancerService (with External scope)
// IBMCloud: LoadBalancerService (with External scope)
// AlibabaCloud: LoadBalancerService (with External scope)
// Libvirt: HostNetwork
//
// Any other platform types (including None) default to HostNetwork.
//
// endpointPublishingStrategy cannot be updated.
EndpointPublishingStrategy *EndpointPublishingStrategyApplyConfiguration `json:"endpointPublishingStrategy,omitempty"`
// defaultCertificate is a reference to a secret containing the default
// certificate served by the ingress controller. When Routes don't specify
// their own certificate, defaultCertificate is used.
//
// The secret must contain the following keys and data:
//
// tls.crt: certificate file contents
// tls.key: key file contents
//
// If unset, a wildcard certificate is automatically generated and used. The
// certificate is valid for the ingress controller domain (and subdomains) and
// the generated certificate's CA will be automatically integrated with the
// cluster's trust store.
//
// If a wildcard certificate is used and shared by multiple
// HTTP/2 enabled routes (which implies ALPN) then clients
// (i.e., notably browsers) are at liberty to reuse open
// connections. This means a client can reuse a connection to
// another route and that is likely to fail. This behaviour is
// generally known as connection coalescing.
//
// The in-use certificate (whether generated or user-specified) will be
// automatically integrated with OpenShift's built-in OAuth server.
DefaultCertificate *corev1.LocalObjectReference `json:"defaultCertificate,omitempty"`
// namespaceSelector is used to filter the set of namespaces serviced by the
// ingress controller. This is useful for implementing shards.
//
// If unset, the default is no filtering.
NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
// routeSelector is used to filter the set of Routes serviced by the ingress
// controller. This is useful for implementing shards.
//
// If unset, the default is no filtering.
RouteSelector *metav1.LabelSelectorApplyConfiguration `json:"routeSelector,omitempty"`
// nodePlacement enables explicit control over the scheduling of the ingress
// controller.
//
// If unset, defaults are used. See NodePlacement for more details.
NodePlacement *NodePlacementApplyConfiguration `json:"nodePlacement,omitempty"`
// tlsSecurityProfile specifies settings for TLS connections for ingresscontrollers.
//
// If unset, the default is based on the apiservers.config.openshift.io/cluster resource.
//
// Note that when using the Old, Intermediate, and Modern profile types, the effective
// profile configuration is subject to change between releases. For example, given
// a specification to use the Intermediate profile deployed on release X.Y.Z, an upgrade
// to release X.Y.Z+1 may cause a new profile configuration to be applied to the ingress
// controller, resulting in a rollout.
TLSSecurityProfile *configv1.TLSSecurityProfile `json:"tlsSecurityProfile,omitempty"`
// clientTLS specifies settings for requesting and verifying client
// certificates, which can be used to enable mutual TLS for
// edge-terminated and reencrypt routes.
ClientTLS *ClientTLSApplyConfiguration `json:"clientTLS,omitempty"`
// routeAdmission defines a policy for handling new route claims (for example,
// to allow or deny claims across namespaces).
//
// If empty, defaults will be applied. See specific routeAdmission fields
// for details about their defaults.
RouteAdmission *RouteAdmissionPolicyApplyConfiguration `json:"routeAdmission,omitempty"`
// logging defines parameters for what should be logged where. If this
// field is empty, operational logs are enabled but access logs are
// disabled.
Logging *IngressControllerLoggingApplyConfiguration `json:"logging,omitempty"`
// httpHeaders defines policy for HTTP headers.
//
// If this field is empty, the default values are used.
HTTPHeaders *IngressControllerHTTPHeadersApplyConfiguration `json:"httpHeaders,omitempty"`
// httpEmptyRequestsPolicy describes how HTTP connections should be
// handled if the connection times out before a request is received.
// Allowed values for this field are "Respond" and "Ignore". If the
// field is set to "Respond", the ingress controller sends an HTTP 400
// or 408 response, logs the connection (if access logging is enabled),
// and counts the connection in the appropriate metrics. If the field
// is set to "Ignore", the ingress controller closes the connection
// without sending a response, logging the connection, or incrementing
// metrics. The default value is "Respond".
//
// Typically, these connections come from load balancers' health probes
// or Web browsers' speculative connections ("preconnect") and can be
// safely ignored. However, these requests may also be caused by
// network errors, and so setting this field to "Ignore" may impede
// detection and diagnosis of problems. In addition, these requests may
// be caused by port scans, in which case logging empty requests may aid
// in detecting intrusion attempts.
HTTPEmptyRequestsPolicy *operatorv1.HTTPEmptyRequestsPolicy `json:"httpEmptyRequestsPolicy,omitempty"`
// tuningOptions defines parameters for adjusting the performance of
// ingress controller pods. All fields are optional and will use their
// respective defaults if not set. See specific tuningOptions fields for
// more details.
//
// Setting fields within tuningOptions is generally not recommended. The
// default values are suitable for most configurations.
TuningOptions *IngressControllerTuningOptionsApplyConfiguration `json:"tuningOptions,omitempty"`
// unsupportedConfigOverrides allows specifying unsupported
// configuration options. Its use is unsupported.
UnsupportedConfigOverrides *runtime.RawExtension `json:"unsupportedConfigOverrides,omitempty"`
// httpCompression defines a policy for HTTP traffic compression.
// By default, there is no HTTP compression.
HTTPCompression *HTTPCompressionPolicyApplyConfiguration `json:"httpCompression,omitempty"`
// idleConnectionTerminationPolicy maps directly to HAProxy's
// idle-close-on-response option and controls whether HAProxy
// keeps idle frontend connections open during a soft stop
// (router reload).
//
// Allowed values for this field are "Immediate" and
// "Deferred". The default value is "Immediate".
//
// When set to "Immediate", idle connections are closed
// immediately during router reloads. This ensures immediate
// propagation of route changes but may impact clients
// sensitive to connection resets.
//
// When set to "Deferred", HAProxy will maintain idle
// connections during a soft reload instead of closing them
// immediately. These connections remain open until any of the
// following occurs:
//
// - A new request is received on the connection, in which
// case HAProxy handles it in the old process and closes
// the connection after sending the response.
//
// - HAProxy's `timeout http-keep-alive` duration expires.
// By default this is 300 seconds, but it can be changed
// using httpKeepAliveTimeout tuning option.
//
// - The client's keep-alive timeout expires, causing the
// client to close the connection.
//
// Setting Deferred can help prevent errors in clients or load
// balancers that do not properly handle connection resets.
// Additionally, this option allows you to retain the pre-2.4
// HAProxy behaviour: in HAProxy version 2.2 (OpenShift
// versions < 4.14), maintaining idle connections during a
// soft reload was the default behaviour, but starting with
// HAProxy 2.4, the default changed to closing idle
// connections immediately.
//
// Important Consideration:
//
// - Using Deferred will result in temporary inconsistencies
// for the first request on each persistent connection
// after a route update and router reload. This request
// will be processed by the old HAProxy process using its
// old configuration. Subsequent requests will use the
// updated configuration.
//
// Operational Considerations:
//
// - Keeping idle connections open during reloads may lead
// to an accumulation of old HAProxy processes if
// connections remain idle for extended periods,
// especially in environments where frequent reloads
// occur.
//
// - Consider monitoring the number of HAProxy processes in
// the router pods when Deferred is set.
//
// - You may need to enable or adjust the
// `ingress.operator.openshift.io/hard-stop-after`
// duration (configured via an annotation on the
// IngressController resource) in environments with
// frequent reloads to prevent resource exhaustion.
IdleConnectionTerminationPolicy *operatorv1.IngressControllerConnectionTerminationPolicy `json:"idleConnectionTerminationPolicy,omitempty"`
// closedClientConnectionPolicy controls how the IngressController
// behaves when the client closes the TCP connection while the TLS
// handshake or HTTP request is in progress. This option maps directly
// to HAProxy’s "abortonclose" option.
//
// Valid values are: "Abort" and "Continue".
// The default value is "Continue".
//
// When set to "Abort", the router will stop processing the TLS handshake
// if it is in progress, and it will not send an HTTP request to the backend server
// if the request has not yet been sent when the client closes the connection.
//
// When set to "Continue", the router will complete the TLS handshake
// if it is in progress, or send an HTTP request to the backend server
// and wait for the backend server's response, regardless of
// whether the client has closed the connection.
//
// Setting "Abort" can help free CPU resources otherwise spent on TLS computation
// for connections the client has already closed, and can reduce request queue
// size, thereby reducing the load on saturated backend servers.
//
// Important Considerations:
//
// - The default policy ("Continue") is HTTP-compliant, and requests
// for aborted client connections will still be served.
// Use the "Continue" policy to allow a client to send a request
// and then immediately close its side of the connection while
// still receiving a response on the half-closed connection.
//
// - When clients use keep-alive connections, the most common case for premature
// closure is when the user wants to cancel the transfer or when a timeout
// occurs. In that case, the "Abort" policy may be used to reduce resource consumption.
//
// - Using RSA keys larger than 2048 bits can significantly slow down
// TLS computations. Consider using the "Abort" policy to reduce CPU usage.
ClosedClientConnectionPolicy *operatorv1.IngressControllerClosedClientConnectionPolicy `json:"closedClientConnectionPolicy,omitempty"`
}
IngressControllerSpecApplyConfiguration represents a declarative configuration of the IngressControllerSpec type for use with apply.
IngressControllerSpec is the specification of the desired behavior of the IngressController.
func IngressControllerSpec ¶
func IngressControllerSpec() *IngressControllerSpecApplyConfiguration
IngressControllerSpecApplyConfiguration constructs a declarative configuration of the IngressControllerSpec type for use with apply.
func (*IngressControllerSpecApplyConfiguration) WithClientTLS ¶
func (b *IngressControllerSpecApplyConfiguration) WithClientTLS(value *ClientTLSApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithClientTLS sets the ClientTLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientTLS field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithClosedClientConnectionPolicy ¶
func (b *IngressControllerSpecApplyConfiguration) WithClosedClientConnectionPolicy(value operatorv1.IngressControllerClosedClientConnectionPolicy) *IngressControllerSpecApplyConfiguration
WithClosedClientConnectionPolicy sets the ClosedClientConnectionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClosedClientConnectionPolicy field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithDefaultCertificate ¶
func (b *IngressControllerSpecApplyConfiguration) WithDefaultCertificate(value corev1.LocalObjectReference) *IngressControllerSpecApplyConfiguration
WithDefaultCertificate sets the DefaultCertificate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultCertificate field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithDomain ¶
func (b *IngressControllerSpecApplyConfiguration) WithDomain(value string) *IngressControllerSpecApplyConfiguration
WithDomain sets the Domain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Domain field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithEndpointPublishingStrategy ¶
func (b *IngressControllerSpecApplyConfiguration) WithEndpointPublishingStrategy(value *EndpointPublishingStrategyApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithEndpointPublishingStrategy sets the EndpointPublishingStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndpointPublishingStrategy field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithHTTPCompression ¶
func (b *IngressControllerSpecApplyConfiguration) WithHTTPCompression(value *HTTPCompressionPolicyApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithHTTPCompression sets the HTTPCompression field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPCompression field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithHTTPEmptyRequestsPolicy ¶
func (b *IngressControllerSpecApplyConfiguration) WithHTTPEmptyRequestsPolicy(value operatorv1.HTTPEmptyRequestsPolicy) *IngressControllerSpecApplyConfiguration
WithHTTPEmptyRequestsPolicy sets the HTTPEmptyRequestsPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPEmptyRequestsPolicy field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithHTTPHeaders ¶
func (b *IngressControllerSpecApplyConfiguration) WithHTTPHeaders(value *IngressControllerHTTPHeadersApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithHTTPHeaders sets the HTTPHeaders field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPHeaders field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithHttpErrorCodePages ¶
func (b *IngressControllerSpecApplyConfiguration) WithHttpErrorCodePages(value configv1.ConfigMapNameReference) *IngressControllerSpecApplyConfiguration
WithHttpErrorCodePages sets the HttpErrorCodePages field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HttpErrorCodePages field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithIdleConnectionTerminationPolicy ¶
func (b *IngressControllerSpecApplyConfiguration) WithIdleConnectionTerminationPolicy(value operatorv1.IngressControllerConnectionTerminationPolicy) *IngressControllerSpecApplyConfiguration
WithIdleConnectionTerminationPolicy sets the IdleConnectionTerminationPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IdleConnectionTerminationPolicy field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithLogging ¶
func (b *IngressControllerSpecApplyConfiguration) WithLogging(value *IngressControllerLoggingApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithLogging sets the Logging field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Logging field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithNamespaceSelector ¶
func (b *IngressControllerSpecApplyConfiguration) WithNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithNodePlacement ¶
func (b *IngressControllerSpecApplyConfiguration) WithNodePlacement(value *NodePlacementApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithNodePlacement sets the NodePlacement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodePlacement field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithReplicas ¶
func (b *IngressControllerSpecApplyConfiguration) WithReplicas(value int32) *IngressControllerSpecApplyConfiguration
WithReplicas sets the Replicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replicas field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithRouteAdmission ¶
func (b *IngressControllerSpecApplyConfiguration) WithRouteAdmission(value *RouteAdmissionPolicyApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithRouteAdmission sets the RouteAdmission field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteAdmission field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithRouteSelector ¶
func (b *IngressControllerSpecApplyConfiguration) WithRouteSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithRouteSelector sets the RouteSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteSelector field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithTLSSecurityProfile ¶
func (b *IngressControllerSpecApplyConfiguration) WithTLSSecurityProfile(value configv1.TLSSecurityProfile) *IngressControllerSpecApplyConfiguration
WithTLSSecurityProfile sets the TLSSecurityProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSSecurityProfile field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithTuningOptions ¶
func (b *IngressControllerSpecApplyConfiguration) WithTuningOptions(value *IngressControllerTuningOptionsApplyConfiguration) *IngressControllerSpecApplyConfiguration
WithTuningOptions sets the TuningOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TuningOptions field is set to the value of the last call.
func (*IngressControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *IngressControllerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *IngressControllerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type IngressControllerStatusApplyConfiguration ¶
type IngressControllerStatusApplyConfiguration struct {
// availableReplicas is number of observed available replicas according to the
// ingress controller deployment.
AvailableReplicas *int32 `json:"availableReplicas,omitempty"`
// selector is a label selector, in string format, for ingress controller pods
// corresponding to the IngressController. The number of matching pods should
// equal the value of availableReplicas.
Selector *string `json:"selector,omitempty"`
// domain is the actual domain in use.
Domain *string `json:"domain,omitempty"`
// endpointPublishingStrategy is the actual strategy in use.
EndpointPublishingStrategy *EndpointPublishingStrategyApplyConfiguration `json:"endpointPublishingStrategy,omitempty"`
// conditions is a list of conditions and their status.
//
// Available means the ingress controller deployment is available and
// servicing route and ingress resources (i.e, .status.availableReplicas
// equals .spec.replicas)
//
// There are additional conditions which indicate the status of other
// ingress controller features and capabilities.
//
// * LoadBalancerManaged
// - True if the following conditions are met:
// * The endpoint publishing strategy requires a service load balancer.
// - False if any of those conditions are unsatisfied.
//
// * LoadBalancerReady
// - True if the following conditions are met:
// * A load balancer is managed.
// * The load balancer is ready.
// - False if any of those conditions are unsatisfied.
//
// * DNSManaged
// - True if the following conditions are met:
// * The endpoint publishing strategy and platform support DNS.
// * The ingress controller domain is set.
// * dns.config.openshift.io/cluster configures DNS zones.
// - False if any of those conditions are unsatisfied.
//
// * DNSReady
// - True if the following conditions are met:
// * DNS is managed.
// * DNS records have been successfully created.
// - False if any of those conditions are unsatisfied.
Conditions []OperatorConditionApplyConfiguration `json:"conditions,omitempty"`
// tlsProfile is the TLS connection configuration that is in effect.
TLSProfile *configv1.TLSProfileSpec `json:"tlsProfile,omitempty"`
// observedGeneration is the most recent generation observed.
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
// namespaceSelector is the actual namespaceSelector in use.
NamespaceSelector *metav1.LabelSelectorApplyConfiguration `json:"namespaceSelector,omitempty"`
// routeSelector is the actual routeSelector in use.
RouteSelector *metav1.LabelSelectorApplyConfiguration `json:"routeSelector,omitempty"`
}
IngressControllerStatusApplyConfiguration represents a declarative configuration of the IngressControllerStatus type for use with apply.
IngressControllerStatus defines the observed status of the IngressController.
func IngressControllerStatus ¶
func IngressControllerStatus() *IngressControllerStatusApplyConfiguration
IngressControllerStatusApplyConfiguration constructs a declarative configuration of the IngressControllerStatus type for use with apply.
func (*IngressControllerStatusApplyConfiguration) WithAvailableReplicas ¶
func (b *IngressControllerStatusApplyConfiguration) WithAvailableReplicas(value int32) *IngressControllerStatusApplyConfiguration
WithAvailableReplicas sets the AvailableReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailableReplicas field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithConditions ¶
func (b *IngressControllerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *IngressControllerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*IngressControllerStatusApplyConfiguration) WithDomain ¶
func (b *IngressControllerStatusApplyConfiguration) WithDomain(value string) *IngressControllerStatusApplyConfiguration
WithDomain sets the Domain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Domain field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithEndpointPublishingStrategy ¶
func (b *IngressControllerStatusApplyConfiguration) WithEndpointPublishingStrategy(value *EndpointPublishingStrategyApplyConfiguration) *IngressControllerStatusApplyConfiguration
WithEndpointPublishingStrategy sets the EndpointPublishingStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EndpointPublishingStrategy field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithNamespaceSelector ¶
func (b *IngressControllerStatusApplyConfiguration) WithNamespaceSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerStatusApplyConfiguration
WithNamespaceSelector sets the NamespaceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceSelector field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *IngressControllerStatusApplyConfiguration) WithObservedGeneration(value int64) *IngressControllerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithRouteSelector ¶
func (b *IngressControllerStatusApplyConfiguration) WithRouteSelector(value *metav1.LabelSelectorApplyConfiguration) *IngressControllerStatusApplyConfiguration
WithRouteSelector sets the RouteSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteSelector field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithSelector ¶
func (b *IngressControllerStatusApplyConfiguration) WithSelector(value string) *IngressControllerStatusApplyConfiguration
WithSelector sets the Selector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selector field is set to the value of the last call.
func (*IngressControllerStatusApplyConfiguration) WithTLSProfile ¶
func (b *IngressControllerStatusApplyConfiguration) WithTLSProfile(value configv1.TLSProfileSpec) *IngressControllerStatusApplyConfiguration
WithTLSProfile sets the TLSProfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSProfile field is set to the value of the last call.
type IngressControllerTuningOptionsApplyConfiguration ¶
type IngressControllerTuningOptionsApplyConfiguration struct {
// headerBufferBytes describes how much memory should be reserved
// (in bytes) for IngressController connection sessions.
// Note that this value must be at least 16384 if HTTP/2 is
// enabled for the IngressController (https://tools.ietf.org/html/rfc7540).
// If this field is empty, the IngressController will use a default value
// of 32768 bytes.
//
// Setting this field is generally not recommended as headerBufferBytes
// values that are too small may break the IngressController and
// headerBufferBytes values that are too large could cause the
// IngressController to use significantly more memory than necessary.
HeaderBufferBytes *int32 `json:"headerBufferBytes,omitempty"`
// headerBufferMaxRewriteBytes describes how much memory should be reserved
// (in bytes) from headerBufferBytes for HTTP header rewriting
// and appending for IngressController connection sessions.
// Note that incoming HTTP requests will be limited to
// (headerBufferBytes - headerBufferMaxRewriteBytes) bytes, meaning
// headerBufferBytes must be greater than headerBufferMaxRewriteBytes.
// If this field is empty, the IngressController will use a default value
// of 8192 bytes.
//
// Setting this field is generally not recommended as
// headerBufferMaxRewriteBytes values that are too small may break the
// IngressController and headerBufferMaxRewriteBytes values that are too
// large could cause the IngressController to use significantly more memory
// than necessary.
HeaderBufferMaxRewriteBytes *int32 `json:"headerBufferMaxRewriteBytes,omitempty"`
// threadCount defines the number of threads created per HAProxy process.
// Creating more threads allows each ingress controller pod to handle more
// connections, at the cost of more system resources being used. HAProxy
// currently supports up to 64 threads. If this field is empty, the
// IngressController will use the default value. The current default is 4
// threads, but this may change in future releases.
//
// Setting this field is generally not recommended. Increasing the number
// of HAProxy threads allows ingress controller pods to utilize more CPU
// time under load, potentially starving other pods if set too high.
// Reducing the number of threads may cause the ingress controller to
// perform poorly.
ThreadCount *int32 `json:"threadCount,omitempty"`
// clientTimeout defines how long a connection will be held open while
// waiting for a client response.
//
// If unset, the default timeout is 30s
ClientTimeout *metav1.Duration `json:"clientTimeout,omitempty"`
// clientFinTimeout defines how long a connection will be held open while
// waiting for the client response to the server/backend closing the
// connection.
//
// If unset, the default timeout is 1s
ClientFinTimeout *metav1.Duration `json:"clientFinTimeout,omitempty"`
// serverTimeout defines how long a connection will be held open while
// waiting for a server/backend response.
//
// If unset, the default timeout is 30s
ServerTimeout *metav1.Duration `json:"serverTimeout,omitempty"`
// serverFinTimeout defines how long a connection will be held open while
// waiting for the server/backend response to the client closing the
// connection.
//
// If unset, the default timeout is 1s
ServerFinTimeout *metav1.Duration `json:"serverFinTimeout,omitempty"`
// tunnelTimeout defines how long a tunnel connection (including
// websockets) will be held open while the tunnel is idle.
//
// If unset, the default timeout is 1h
TunnelTimeout *metav1.Duration `json:"tunnelTimeout,omitempty"`
// connectTimeout defines the maximum time to wait for
// a connection attempt to a server/backend to succeed.
//
// This field expects an unsigned duration string of decimal numbers, each with optional
// fraction and a unit suffix, e.g. "300ms", "1.5h" or "2h45m".
// Valid time units are "ns", "us" (or "µs" U+00B5 or "μs" U+03BC), "ms", "s", "m", "h".
//
// When omitted, this means the user has no opinion and the platform is left
// to choose a reasonable default. This default is subject to change over time.
// The current default is 5s.
ConnectTimeout *metav1.Duration `json:"connectTimeout,omitempty"`
// httpKeepAliveTimeout defines the maximum allowed time to wait for
// a new HTTP request to appear on a connection from the client to the router.
//
// This field expects an unsigned duration string of a decimal number, with optional
// fraction and a unit suffix, e.g. "300ms", "1.5s" or "2m45s".
// Valid time units are "ms", "s", "m".
// The allowed range is from 1 millisecond to 15 minutes.
//
// When omitted, this means the user has no opinion and the platform is left
// to choose a reasonable default. This default is subject to change over time.
// The current default is 300s.
//
// Low values (tens of milliseconds or less) can cause clients to close and reopen connections
// for each request, leading to reduced connection sharing.
// For HTTP/2, special care should be taken with low values.
// A few seconds is a reasonable starting point to avoid holding idle connections open
// while still allowing subsequent requests to reuse the connection.
//
// High values (minutes or more) favor connection reuse but may cause idle
// connections to linger longer.
HTTPKeepAliveTimeout *metav1.Duration `json:"httpKeepAliveTimeout,omitempty"`
// tlsInspectDelay defines how long the router can hold data to find a
// matching route.
//
// Setting this too short can cause the router to fall back to the default
// certificate for edge-terminated or reencrypt routes even when a better
// matching certificate could be used.
//
// If unset, the default inspect delay is 5s
TLSInspectDelay *metav1.Duration `json:"tlsInspectDelay,omitempty"`
// healthCheckInterval defines how long the router waits between two consecutive
// health checks on its configured backends. This value is applied globally as
// a default for all routes, but may be overridden per-route by the route annotation
// "router.openshift.io/haproxy.health.check.interval".
//
// Expects an unsigned duration string of decimal numbers, each with optional
// fraction and a unit suffix, eg "300ms", "1.5h" or "2h45m".
// Valid time units are "ns", "us" (or "µs" U+00B5 or "μs" U+03BC), "ms", "s", "m", "h".
//
// Setting this to less than 5s can cause excess traffic due to too frequent
// TCP health checks and accompanying SYN packet storms. Alternatively, setting
// this too high can result in increased latency, due to backend servers that are no
// longer available, but haven't yet been detected as such.
//
// An empty or zero healthCheckInterval means no opinion and IngressController chooses
// a default, which is subject to change over time.
// Currently the default healthCheckInterval value is 5s.
//
// Currently the minimum allowed value is 1s and the maximum allowed value is
// 2147483647ms (24.85 days). Both are subject to change over time.
HealthCheckInterval *metav1.Duration `json:"healthCheckInterval,omitempty"`
// maxConnections defines the maximum number of simultaneous
// connections that can be established per HAProxy process.
// Increasing this value allows each ingress controller pod to
// handle more connections but at the cost of additional
// system resources being consumed.
//
// Permitted values are: empty, 0, -1, and the range
// 2000-2000000.
//
// If this field is empty or 0, the IngressController will use
// the default value of 50000, but the default is subject to
// change in future releases.
//
// If the value is -1 then HAProxy will dynamically compute a
// maximum value based on the available ulimits in the running
// container. Selecting -1 (i.e., auto) will result in a large
// value being computed (~520000 on OpenShift >=4.10 clusters)
// and therefore each HAProxy process will incur significant
// memory usage compared to the current default of 50000.
//
// Setting a value that is greater than the current operating
// system limit will prevent the HAProxy process from
// starting.
//
// If you choose a discrete value (e.g., 750000) and the
// router pod is migrated to a new node, there's no guarantee
// that that new node has identical ulimits configured. In
// such a scenario the pod would fail to start. If you have
// nodes with different ulimits configured (e.g., different
// tuned profiles) and you choose a discrete value then the
// guidance is to use -1 and let the value be computed
// dynamically at runtime.
//
// You can monitor memory usage for router containers with the
// following metric:
// 'container_memory_working_set_bytes{container="router",namespace="openshift-ingress"}'.
//
// You can monitor memory usage of individual HAProxy
// processes in router containers with the following metric:
// 'container_memory_working_set_bytes{container="router",namespace="openshift-ingress"}/container_processes{container="router",namespace="openshift-ingress"}'.
MaxConnections *int32 `json:"maxConnections,omitempty"`
// reloadInterval defines the minimum interval at which the router is allowed to reload
// to accept new changes. Increasing this value can prevent the accumulation of
// HAProxy processes, depending on the scenario. Increasing this interval can
// also lessen load imbalance on a backend's servers when using the roundrobin
// balancing algorithm. Alternatively, decreasing this value may decrease latency
// since updates to HAProxy's configuration can take effect more quickly.
//
// The value must be a time duration value; see <https://pkg.go.dev/time#ParseDuration>.
// Currently, the minimum value allowed is 1s, and the maximum allowed value is
// 120s. Minimum and maximum allowed values may change in future versions of OpenShift.
// Note that if a duration outside of these bounds is provided, the value of reloadInterval
// will be capped/floored and not rejected (e.g. a duration of over 120s will be capped to
// 120s; the IngressController will not reject and replace this disallowed value with
// the default).
//
// A zero value for reloadInterval tells the IngressController to choose the default,
// which is currently 5s and subject to change without notice.
//
// This field expects an unsigned duration string of decimal numbers, each with optional
// fraction and a unit suffix, e.g. "300ms", "1.5h" or "2h45m".
// Valid time units are "ns", "us" (or "µs" U+00B5 or "μs" U+03BC), "ms", "s", "m", "h".
//
// Note: Setting a value significantly larger than the default of 5s can cause latency
// in observing updates to routes and their endpoints. HAProxy's configuration will
// be reloaded less frequently, and newly created routes will not be served until the
// subsequent reload.
ReloadInterval *metav1.Duration `json:"reloadInterval,omitempty"`
// configurationManagement specifies how OpenShift router should update
// the HAProxy configuration. The following values are valid for this
// field:
//
// * "ForkAndReload".
// * "Dynamic".
//
// Omitting this field means that the user has no opinion and the
// platform may choose a reasonable default. This default is subject to
// change over time. The current default is "ForkAndReload".
//
// "ForkAndReload" means that OpenShift router should rewrite the
// HAProxy configuration file and instruct HAProxy to fork and reload.
// This is OpenShift router's traditional approach.
//
// "Dynamic" means that OpenShift router may use HAProxy's control
// socket for some configuration updates and fall back to fork and
// reload for other configuration updates. This is a newer approach,
// which may be less mature than ForkAndReload. This setting can
// improve load-balancing fairness and metrics accuracy and reduce CPU
// and memory usage if HAProxy has frequent configuration updates for
// route and endpoints updates.
//
// Note: The "Dynamic" option is currently experimental and should not
// be enabled on production clusters.
ConfigurationManagement *operatorv1.IngressControllerConfigurationManagement `json:"configurationManagement,omitempty"`
}
IngressControllerTuningOptionsApplyConfiguration represents a declarative configuration of the IngressControllerTuningOptions type for use with apply.
IngressControllerTuningOptions specifies options for tuning the performance of ingress controller pods
func IngressControllerTuningOptions ¶
func IngressControllerTuningOptions() *IngressControllerTuningOptionsApplyConfiguration
IngressControllerTuningOptionsApplyConfiguration constructs a declarative configuration of the IngressControllerTuningOptions type for use with apply.
func (*IngressControllerTuningOptionsApplyConfiguration) WithClientFinTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithClientFinTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithClientFinTimeout sets the ClientFinTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientFinTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithClientTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithClientTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithClientTimeout sets the ClientTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClientTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithConfigurationManagement ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithConfigurationManagement(value operatorv1.IngressControllerConfigurationManagement) *IngressControllerTuningOptionsApplyConfiguration
WithConfigurationManagement sets the ConfigurationManagement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigurationManagement field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithConnectTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithConnectTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithConnectTimeout sets the ConnectTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConnectTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithHTTPKeepAliveTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithHTTPKeepAliveTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithHTTPKeepAliveTimeout sets the HTTPKeepAliveTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPKeepAliveTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferBytes ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferBytes(value int32) *IngressControllerTuningOptionsApplyConfiguration
WithHeaderBufferBytes sets the HeaderBufferBytes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HeaderBufferBytes field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferMaxRewriteBytes ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithHeaderBufferMaxRewriteBytes(value int32) *IngressControllerTuningOptionsApplyConfiguration
WithHeaderBufferMaxRewriteBytes sets the HeaderBufferMaxRewriteBytes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HeaderBufferMaxRewriteBytes field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithHealthCheckInterval ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithHealthCheckInterval(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithHealthCheckInterval sets the HealthCheckInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HealthCheckInterval field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithMaxConnections ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithMaxConnections(value int32) *IngressControllerTuningOptionsApplyConfiguration
WithMaxConnections sets the MaxConnections field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxConnections field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithReloadInterval ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithReloadInterval(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithReloadInterval sets the ReloadInterval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReloadInterval field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithServerFinTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithServerFinTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithServerFinTimeout sets the ServerFinTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerFinTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithServerTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithServerTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithServerTimeout sets the ServerTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServerTimeout field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithTLSInspectDelay ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithTLSInspectDelay(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithTLSInspectDelay sets the TLSInspectDelay field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLSInspectDelay field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithThreadCount ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithThreadCount(value int32) *IngressControllerTuningOptionsApplyConfiguration
WithThreadCount sets the ThreadCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ThreadCount field is set to the value of the last call.
func (*IngressControllerTuningOptionsApplyConfiguration) WithTunnelTimeout ¶
func (b *IngressControllerTuningOptionsApplyConfiguration) WithTunnelTimeout(value metav1.Duration) *IngressControllerTuningOptionsApplyConfiguration
WithTunnelTimeout sets the TunnelTimeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TunnelTimeout field is set to the value of the last call.
type InsightsOperatorApplyConfiguration ¶
type InsightsOperatorApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Insights.
Spec *InsightsOperatorSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the Insights operator.
Status *InsightsOperatorStatusApplyConfiguration `json:"status,omitempty"`
}
InsightsOperatorApplyConfiguration represents a declarative configuration of the InsightsOperator type for use with apply.
InsightsOperator holds cluster-wide information about the Insights Operator.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractInsightsOperator ¶
func ExtractInsightsOperator(insightsOperator *operatorv1.InsightsOperator, fieldManager string) (*InsightsOperatorApplyConfiguration, error)
ExtractInsightsOperator extracts the applied configuration owned by fieldManager from insightsOperator. If no managedFields are found in insightsOperator for fieldManager, a InsightsOperatorApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. insightsOperator must be a unmodified InsightsOperator API object that was retrieved from the Kubernetes API. ExtractInsightsOperator provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractInsightsOperatorFrom ¶
func ExtractInsightsOperatorFrom(insightsOperator *operatorv1.InsightsOperator, fieldManager string, subresource string) (*InsightsOperatorApplyConfiguration, error)
ExtractInsightsOperatorFrom extracts the applied configuration owned by fieldManager from insightsOperator for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. insightsOperator must be a unmodified InsightsOperator API object that was retrieved from the Kubernetes API. ExtractInsightsOperatorFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractInsightsOperatorStatus ¶
func ExtractInsightsOperatorStatus(insightsOperator *operatorv1.InsightsOperator, fieldManager string) (*InsightsOperatorApplyConfiguration, error)
ExtractInsightsOperatorStatus extracts the applied configuration owned by fieldManager from insightsOperator for the status subresource.
func InsightsOperator ¶
func InsightsOperator(name string) *InsightsOperatorApplyConfiguration
InsightsOperator constructs a declarative configuration of the InsightsOperator type for use with apply.
func (*InsightsOperatorApplyConfiguration) GetAPIVersion ¶
func (b *InsightsOperatorApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*InsightsOperatorApplyConfiguration) GetKind ¶
func (b *InsightsOperatorApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*InsightsOperatorApplyConfiguration) GetName ¶
func (b *InsightsOperatorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*InsightsOperatorApplyConfiguration) GetNamespace ¶
func (b *InsightsOperatorApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (InsightsOperatorApplyConfiguration) IsApplyConfiguration ¶
func (b InsightsOperatorApplyConfiguration) IsApplyConfiguration()
func (*InsightsOperatorApplyConfiguration) WithAPIVersion ¶
func (b *InsightsOperatorApplyConfiguration) WithAPIVersion(value string) *InsightsOperatorApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithAnnotations ¶
func (b *InsightsOperatorApplyConfiguration) WithAnnotations(entries map[string]string) *InsightsOperatorApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*InsightsOperatorApplyConfiguration) WithCreationTimestamp ¶
func (b *InsightsOperatorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *InsightsOperatorApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *InsightsOperatorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *InsightsOperatorApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithDeletionTimestamp ¶
func (b *InsightsOperatorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *InsightsOperatorApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithFinalizers ¶
func (b *InsightsOperatorApplyConfiguration) WithFinalizers(values ...string) *InsightsOperatorApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*InsightsOperatorApplyConfiguration) WithGenerateName ¶
func (b *InsightsOperatorApplyConfiguration) WithGenerateName(value string) *InsightsOperatorApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithGeneration ¶
func (b *InsightsOperatorApplyConfiguration) WithGeneration(value int64) *InsightsOperatorApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithKind ¶
func (b *InsightsOperatorApplyConfiguration) WithKind(value string) *InsightsOperatorApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithLabels ¶
func (b *InsightsOperatorApplyConfiguration) WithLabels(entries map[string]string) *InsightsOperatorApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*InsightsOperatorApplyConfiguration) WithName ¶
func (b *InsightsOperatorApplyConfiguration) WithName(value string) *InsightsOperatorApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithNamespace ¶
func (b *InsightsOperatorApplyConfiguration) WithNamespace(value string) *InsightsOperatorApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithOwnerReferences ¶
func (b *InsightsOperatorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *InsightsOperatorApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*InsightsOperatorApplyConfiguration) WithResourceVersion ¶
func (b *InsightsOperatorApplyConfiguration) WithResourceVersion(value string) *InsightsOperatorApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithSpec ¶
func (b *InsightsOperatorApplyConfiguration) WithSpec(value *InsightsOperatorSpecApplyConfiguration) *InsightsOperatorApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithStatus ¶
func (b *InsightsOperatorApplyConfiguration) WithStatus(value *InsightsOperatorStatusApplyConfiguration) *InsightsOperatorApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*InsightsOperatorApplyConfiguration) WithUID ¶
func (b *InsightsOperatorApplyConfiguration) WithUID(value types.UID) *InsightsOperatorApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type InsightsOperatorSpecApplyConfiguration ¶
type InsightsOperatorSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
InsightsOperatorSpecApplyConfiguration represents a declarative configuration of the InsightsOperatorSpec type for use with apply.
func InsightsOperatorSpec ¶
func InsightsOperatorSpec() *InsightsOperatorSpecApplyConfiguration
InsightsOperatorSpecApplyConfiguration constructs a declarative configuration of the InsightsOperatorSpec type for use with apply.
func (*InsightsOperatorSpecApplyConfiguration) WithLogLevel ¶
func (b *InsightsOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *InsightsOperatorSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*InsightsOperatorSpecApplyConfiguration) WithManagementState ¶
func (b *InsightsOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *InsightsOperatorSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*InsightsOperatorSpecApplyConfiguration) WithObservedConfig ¶
func (b *InsightsOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *InsightsOperatorSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*InsightsOperatorSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *InsightsOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *InsightsOperatorSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*InsightsOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *InsightsOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *InsightsOperatorSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type InsightsOperatorStatusApplyConfiguration ¶
type InsightsOperatorStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
// gatherStatus provides basic information about the last Insights data gathering.
// When omitted, this means no data gathering has taken place yet.
GatherStatus *GatherStatusApplyConfiguration `json:"gatherStatus,omitempty"`
// insightsReport provides general Insights analysis results.
// When omitted, this means no data gathering has taken place yet.
InsightsReport *InsightsReportApplyConfiguration `json:"insightsReport,omitempty"`
}
InsightsOperatorStatusApplyConfiguration represents a declarative configuration of the InsightsOperatorStatus type for use with apply.
func InsightsOperatorStatus ¶
func InsightsOperatorStatus() *InsightsOperatorStatusApplyConfiguration
InsightsOperatorStatusApplyConfiguration constructs a declarative configuration of the InsightsOperatorStatus type for use with apply.
func (*InsightsOperatorStatusApplyConfiguration) WithConditions ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*InsightsOperatorStatusApplyConfiguration) WithGatherStatus ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithGatherStatus(value *GatherStatusApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
WithGatherStatus sets the GatherStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GatherStatus field is set to the value of the last call.
func (*InsightsOperatorStatusApplyConfiguration) WithGenerations ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*InsightsOperatorStatusApplyConfiguration) WithInsightsReport ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithInsightsReport(value *InsightsReportApplyConfiguration) *InsightsOperatorStatusApplyConfiguration
WithInsightsReport sets the InsightsReport field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the InsightsReport field is set to the value of the last call.
func (*InsightsOperatorStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *InsightsOperatorStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*InsightsOperatorStatusApplyConfiguration) WithObservedGeneration ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *InsightsOperatorStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*InsightsOperatorStatusApplyConfiguration) WithReadyReplicas ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *InsightsOperatorStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*InsightsOperatorStatusApplyConfiguration) WithVersion ¶
func (b *InsightsOperatorStatusApplyConfiguration) WithVersion(value string) *InsightsOperatorStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type InsightsReportApplyConfiguration ¶
type InsightsReportApplyConfiguration struct {
// downloadedAt is the time when the last Insights report was downloaded.
// An empty value means that there has not been any Insights report downloaded yet and
// it usually appears in disconnected clusters (or clusters when the Insights data gathering is disabled).
DownloadedAt *metav1.Time `json:"downloadedAt,omitempty"`
// healthChecks provides basic information about active Insights health checks
// in a cluster.
HealthChecks []HealthCheckApplyConfiguration `json:"healthChecks,omitempty"`
}
InsightsReportApplyConfiguration represents a declarative configuration of the InsightsReport type for use with apply.
insightsReport provides Insights health check report based on the most recently sent Insights data.
func InsightsReport ¶
func InsightsReport() *InsightsReportApplyConfiguration
InsightsReportApplyConfiguration constructs a declarative configuration of the InsightsReport type for use with apply.
func (*InsightsReportApplyConfiguration) WithDownloadedAt ¶
func (b *InsightsReportApplyConfiguration) WithDownloadedAt(value metav1.Time) *InsightsReportApplyConfiguration
WithDownloadedAt sets the DownloadedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DownloadedAt field is set to the value of the last call.
func (*InsightsReportApplyConfiguration) WithHealthChecks ¶
func (b *InsightsReportApplyConfiguration) WithHealthChecks(values ...*HealthCheckApplyConfiguration) *InsightsReportApplyConfiguration
WithHealthChecks adds the given value to the HealthChecks field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the HealthChecks field.
type IrreconcilableValidationOverridesApplyConfiguration ¶
type IrreconcilableValidationOverridesApplyConfiguration struct {
// storage can be used to allow making irreconcilable changes to the selected sections under the
// `spec.config.storage` field of MachineConfig CRs
// It must have at least one item, may not exceed 3 items and must not contain duplicates.
// Allowed element values are "Disks", "FileSystems", "Raid" and omitted.
// When contains "Disks" changes to the `spec.config.storage.disks` section of MachineConfig CRs are allowed.
// When contains "FileSystems" changes to the `spec.config.storage.filesystems` section of MachineConfig CRs are allowed.
// When contains "Raid" changes to the `spec.config.storage.raid` section of MachineConfig CRs are allowed.
// When omitted changes to the `spec.config.storage` section are forbidden.
Storage []operatorv1.IrreconcilableValidationOverridesStorage `json:"storage,omitempty"`
}
IrreconcilableValidationOverridesApplyConfiguration represents a declarative configuration of the IrreconcilableValidationOverrides type for use with apply.
IrreconcilableValidationOverrides holds the irreconcilable validations overrides to be applied on each rendered MachineConfig generation.
func IrreconcilableValidationOverrides ¶
func IrreconcilableValidationOverrides() *IrreconcilableValidationOverridesApplyConfiguration
IrreconcilableValidationOverridesApplyConfiguration constructs a declarative configuration of the IrreconcilableValidationOverrides type for use with apply.
func (*IrreconcilableValidationOverridesApplyConfiguration) WithStorage ¶
func (b *IrreconcilableValidationOverridesApplyConfiguration) WithStorage(values ...operatorv1.IrreconcilableValidationOverridesStorage) *IrreconcilableValidationOverridesApplyConfiguration
WithStorage adds the given value to the Storage field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Storage field.
type KubeAPIServerApplyConfiguration ¶
type KubeAPIServerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Kubernetes API Server
Spec *KubeAPIServerSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the Kubernetes API Server
Status *KubeAPIServerStatusApplyConfiguration `json:"status,omitempty"`
}
KubeAPIServerApplyConfiguration represents a declarative configuration of the KubeAPIServer type for use with apply.
KubeAPIServer provides information to configure an operator to manage kube-apiserver.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractKubeAPIServer ¶
func ExtractKubeAPIServer(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string) (*KubeAPIServerApplyConfiguration, error)
ExtractKubeAPIServer extracts the applied configuration owned by fieldManager from kubeAPIServer. If no managedFields are found in kubeAPIServer for fieldManager, a KubeAPIServerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. kubeAPIServer must be a unmodified KubeAPIServer API object that was retrieved from the Kubernetes API. ExtractKubeAPIServer provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeAPIServerFrom ¶
func ExtractKubeAPIServerFrom(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string, subresource string) (*KubeAPIServerApplyConfiguration, error)
ExtractKubeAPIServerFrom extracts the applied configuration owned by fieldManager from kubeAPIServer for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. kubeAPIServer must be a unmodified KubeAPIServer API object that was retrieved from the Kubernetes API. ExtractKubeAPIServerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeAPIServerStatus ¶
func ExtractKubeAPIServerStatus(kubeAPIServer *operatorv1.KubeAPIServer, fieldManager string) (*KubeAPIServerApplyConfiguration, error)
ExtractKubeAPIServerStatus extracts the applied configuration owned by fieldManager from kubeAPIServer for the status subresource.
func KubeAPIServer ¶
func KubeAPIServer(name string) *KubeAPIServerApplyConfiguration
KubeAPIServer constructs a declarative configuration of the KubeAPIServer type for use with apply.
func (*KubeAPIServerApplyConfiguration) GetAPIVersion ¶
func (b *KubeAPIServerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*KubeAPIServerApplyConfiguration) GetKind ¶
func (b *KubeAPIServerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*KubeAPIServerApplyConfiguration) GetName ¶
func (b *KubeAPIServerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*KubeAPIServerApplyConfiguration) GetNamespace ¶
func (b *KubeAPIServerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (KubeAPIServerApplyConfiguration) IsApplyConfiguration ¶
func (b KubeAPIServerApplyConfiguration) IsApplyConfiguration()
func (*KubeAPIServerApplyConfiguration) WithAPIVersion ¶
func (b *KubeAPIServerApplyConfiguration) WithAPIVersion(value string) *KubeAPIServerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithAnnotations ¶
func (b *KubeAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeAPIServerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*KubeAPIServerApplyConfiguration) WithCreationTimestamp ¶
func (b *KubeAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeAPIServerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *KubeAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeAPIServerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithDeletionTimestamp ¶
func (b *KubeAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeAPIServerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithFinalizers ¶
func (b *KubeAPIServerApplyConfiguration) WithFinalizers(values ...string) *KubeAPIServerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*KubeAPIServerApplyConfiguration) WithGenerateName ¶
func (b *KubeAPIServerApplyConfiguration) WithGenerateName(value string) *KubeAPIServerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithGeneration ¶
func (b *KubeAPIServerApplyConfiguration) WithGeneration(value int64) *KubeAPIServerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithKind ¶
func (b *KubeAPIServerApplyConfiguration) WithKind(value string) *KubeAPIServerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithLabels ¶
func (b *KubeAPIServerApplyConfiguration) WithLabels(entries map[string]string) *KubeAPIServerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*KubeAPIServerApplyConfiguration) WithName ¶
func (b *KubeAPIServerApplyConfiguration) WithName(value string) *KubeAPIServerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithNamespace ¶
func (b *KubeAPIServerApplyConfiguration) WithNamespace(value string) *KubeAPIServerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithOwnerReferences ¶
func (b *KubeAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeAPIServerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*KubeAPIServerApplyConfiguration) WithResourceVersion ¶
func (b *KubeAPIServerApplyConfiguration) WithResourceVersion(value string) *KubeAPIServerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithSpec ¶
func (b *KubeAPIServerApplyConfiguration) WithSpec(value *KubeAPIServerSpecApplyConfiguration) *KubeAPIServerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithStatus ¶
func (b *KubeAPIServerApplyConfiguration) WithStatus(value *KubeAPIServerStatusApplyConfiguration) *KubeAPIServerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*KubeAPIServerApplyConfiguration) WithUID ¶
func (b *KubeAPIServerApplyConfiguration) WithUID(value types.UID) *KubeAPIServerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type KubeAPIServerSpecApplyConfiguration ¶
type KubeAPIServerSpecApplyConfiguration struct {
StaticPodOperatorSpecApplyConfiguration `json:",inline"`
// eventTTLMinutes specifies the amount of time that the events are stored before being deleted.
// The TTL is allowed between 5 minutes minimum up to a maximum of 180 minutes (3 hours).
//
// Lowering this value will reduce the storage required in etcd. Note that this setting will only apply
// to new events being created and will not update existing events.
//
// When omitted this means no opinion, and the platform is left to choose a reasonable default, which is subject to change over time.
// The current default value is 3h (180 minutes).
EventTTLMinutes *int32 `json:"eventTTLMinutes,omitempty"`
}
KubeAPIServerSpecApplyConfiguration represents a declarative configuration of the KubeAPIServerSpec type for use with apply.
func KubeAPIServerSpec ¶
func KubeAPIServerSpec() *KubeAPIServerSpecApplyConfiguration
KubeAPIServerSpecApplyConfiguration constructs a declarative configuration of the KubeAPIServerSpec type for use with apply.
func (*KubeAPIServerSpecApplyConfiguration) WithEventTTLMinutes ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithEventTTLMinutes(value int32) *KubeAPIServerSpecApplyConfiguration
WithEventTTLMinutes sets the EventTTLMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EventTTLMinutes field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeAPIServerSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeAPIServerSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithLogLevel ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeAPIServerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithManagementState ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeAPIServerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithObservedConfig ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeAPIServerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeAPIServerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeAPIServerSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*KubeAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *KubeAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeAPIServerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type KubeAPIServerStatusApplyConfiguration ¶
type KubeAPIServerStatusApplyConfiguration struct {
StaticPodOperatorStatusApplyConfiguration `json:",inline"`
// serviceAccountIssuers tracks history of used service account issuers.
// The item without expiration time represents the currently used service account issuer.
// The other items represents service account issuers that were used previously and are still being trusted.
// The default expiration for the items is set by the platform and it defaults to 24h.
// see: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection
ServiceAccountIssuers []ServiceAccountIssuerStatusApplyConfiguration `json:"serviceAccountIssuers,omitempty"`
}
KubeAPIServerStatusApplyConfiguration represents a declarative configuration of the KubeAPIServerStatus type for use with apply.
func KubeAPIServerStatus ¶
func KubeAPIServerStatus() *KubeAPIServerStatusApplyConfiguration
KubeAPIServerStatusApplyConfiguration constructs a declarative configuration of the KubeAPIServerStatus type for use with apply.
func (*KubeAPIServerStatusApplyConfiguration) WithConditions ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*KubeAPIServerStatusApplyConfiguration) WithGenerations ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeAPIServerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevisionReason ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeAPIServerStatusApplyConfiguration
WithLatestAvailableRevisionReason sets the LatestAvailableRevisionReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevisionReason field is set to the value of the last call.
func (*KubeAPIServerStatusApplyConfiguration) WithNodeStatuses ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
WithNodeStatuses adds the given value to the NodeStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeStatuses field.
func (*KubeAPIServerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeAPIServerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*KubeAPIServerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeAPIServerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*KubeAPIServerStatusApplyConfiguration) WithServiceAccountIssuers ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithServiceAccountIssuers(values ...*ServiceAccountIssuerStatusApplyConfiguration) *KubeAPIServerStatusApplyConfiguration
WithServiceAccountIssuers adds the given value to the ServiceAccountIssuers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ServiceAccountIssuers field.
func (*KubeAPIServerStatusApplyConfiguration) WithVersion ¶
func (b *KubeAPIServerStatusApplyConfiguration) WithVersion(value string) *KubeAPIServerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type KubeControllerManagerApplyConfiguration ¶
type KubeControllerManagerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Kubernetes Controller Manager
Spec *KubeControllerManagerSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the Kubernetes Controller Manager
Status *KubeControllerManagerStatusApplyConfiguration `json:"status,omitempty"`
}
KubeControllerManagerApplyConfiguration represents a declarative configuration of the KubeControllerManager type for use with apply.
KubeControllerManager provides information to configure an operator to manage kube-controller-manager.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractKubeControllerManager ¶
func ExtractKubeControllerManager(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string) (*KubeControllerManagerApplyConfiguration, error)
ExtractKubeControllerManager extracts the applied configuration owned by fieldManager from kubeControllerManager. If no managedFields are found in kubeControllerManager for fieldManager, a KubeControllerManagerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. kubeControllerManager must be a unmodified KubeControllerManager API object that was retrieved from the Kubernetes API. ExtractKubeControllerManager provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeControllerManagerFrom ¶
func ExtractKubeControllerManagerFrom(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string, subresource string) (*KubeControllerManagerApplyConfiguration, error)
ExtractKubeControllerManagerFrom extracts the applied configuration owned by fieldManager from kubeControllerManager for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. kubeControllerManager must be a unmodified KubeControllerManager API object that was retrieved from the Kubernetes API. ExtractKubeControllerManagerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeControllerManagerStatus ¶
func ExtractKubeControllerManagerStatus(kubeControllerManager *operatorv1.KubeControllerManager, fieldManager string) (*KubeControllerManagerApplyConfiguration, error)
ExtractKubeControllerManagerStatus extracts the applied configuration owned by fieldManager from kubeControllerManager for the status subresource.
func KubeControllerManager ¶
func KubeControllerManager(name string) *KubeControllerManagerApplyConfiguration
KubeControllerManager constructs a declarative configuration of the KubeControllerManager type for use with apply.
func (*KubeControllerManagerApplyConfiguration) GetAPIVersion ¶
func (b *KubeControllerManagerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*KubeControllerManagerApplyConfiguration) GetKind ¶
func (b *KubeControllerManagerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*KubeControllerManagerApplyConfiguration) GetName ¶
func (b *KubeControllerManagerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*KubeControllerManagerApplyConfiguration) GetNamespace ¶
func (b *KubeControllerManagerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (KubeControllerManagerApplyConfiguration) IsApplyConfiguration ¶
func (b KubeControllerManagerApplyConfiguration) IsApplyConfiguration()
func (*KubeControllerManagerApplyConfiguration) WithAPIVersion ¶
func (b *KubeControllerManagerApplyConfiguration) WithAPIVersion(value string) *KubeControllerManagerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithAnnotations ¶
func (b *KubeControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeControllerManagerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*KubeControllerManagerApplyConfiguration) WithCreationTimestamp ¶
func (b *KubeControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeControllerManagerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *KubeControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeControllerManagerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithDeletionTimestamp ¶
func (b *KubeControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeControllerManagerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithFinalizers ¶
func (b *KubeControllerManagerApplyConfiguration) WithFinalizers(values ...string) *KubeControllerManagerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*KubeControllerManagerApplyConfiguration) WithGenerateName ¶
func (b *KubeControllerManagerApplyConfiguration) WithGenerateName(value string) *KubeControllerManagerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithGeneration ¶
func (b *KubeControllerManagerApplyConfiguration) WithGeneration(value int64) *KubeControllerManagerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithKind ¶
func (b *KubeControllerManagerApplyConfiguration) WithKind(value string) *KubeControllerManagerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithLabels ¶
func (b *KubeControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *KubeControllerManagerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*KubeControllerManagerApplyConfiguration) WithName ¶
func (b *KubeControllerManagerApplyConfiguration) WithName(value string) *KubeControllerManagerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithNamespace ¶
func (b *KubeControllerManagerApplyConfiguration) WithNamespace(value string) *KubeControllerManagerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithOwnerReferences ¶
func (b *KubeControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeControllerManagerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*KubeControllerManagerApplyConfiguration) WithResourceVersion ¶
func (b *KubeControllerManagerApplyConfiguration) WithResourceVersion(value string) *KubeControllerManagerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithSpec ¶
func (b *KubeControllerManagerApplyConfiguration) WithSpec(value *KubeControllerManagerSpecApplyConfiguration) *KubeControllerManagerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithStatus ¶
func (b *KubeControllerManagerApplyConfiguration) WithStatus(value *KubeControllerManagerStatusApplyConfiguration) *KubeControllerManagerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*KubeControllerManagerApplyConfiguration) WithUID ¶
func (b *KubeControllerManagerApplyConfiguration) WithUID(value types.UID) *KubeControllerManagerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type KubeControllerManagerSpecApplyConfiguration ¶
type KubeControllerManagerSpecApplyConfiguration struct {
StaticPodOperatorSpecApplyConfiguration `json:",inline"`
// useMoreSecureServiceCA indicates that the service-ca.crt provided in SA token volumes should include only
// enough certificates to validate service serving certificates.
// Once set to true, it cannot be set to false.
// Even if someone finds a way to set it back to false, the service-ca.crt files that previously existed will
// only have the more secure content.
UseMoreSecureServiceCA *bool `json:"useMoreSecureServiceCA,omitempty"`
}
KubeControllerManagerSpecApplyConfiguration represents a declarative configuration of the KubeControllerManagerSpec type for use with apply.
func KubeControllerManagerSpec ¶
func KubeControllerManagerSpec() *KubeControllerManagerSpecApplyConfiguration
KubeControllerManagerSpecApplyConfiguration constructs a declarative configuration of the KubeControllerManagerSpec type for use with apply.
func (*KubeControllerManagerSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeControllerManagerSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeControllerManagerSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithLogLevel ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeControllerManagerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithManagementState ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeControllerManagerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithObservedConfig ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeControllerManagerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeControllerManagerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeControllerManagerSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeControllerManagerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
func (*KubeControllerManagerSpecApplyConfiguration) WithUseMoreSecureServiceCA ¶
func (b *KubeControllerManagerSpecApplyConfiguration) WithUseMoreSecureServiceCA(value bool) *KubeControllerManagerSpecApplyConfiguration
WithUseMoreSecureServiceCA sets the UseMoreSecureServiceCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseMoreSecureServiceCA field is set to the value of the last call.
type KubeControllerManagerStatusApplyConfiguration ¶
type KubeControllerManagerStatusApplyConfiguration struct {
StaticPodOperatorStatusApplyConfiguration `json:",inline"`
}
KubeControllerManagerStatusApplyConfiguration represents a declarative configuration of the KubeControllerManagerStatus type for use with apply.
func KubeControllerManagerStatus ¶
func KubeControllerManagerStatus() *KubeControllerManagerStatusApplyConfiguration
KubeControllerManagerStatusApplyConfiguration constructs a declarative configuration of the KubeControllerManagerStatus type for use with apply.
func (*KubeControllerManagerStatusApplyConfiguration) WithConditions ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*KubeControllerManagerStatusApplyConfiguration) WithGenerations ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeControllerManagerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevisionReason ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeControllerManagerStatusApplyConfiguration
WithLatestAvailableRevisionReason sets the LatestAvailableRevisionReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevisionReason field is set to the value of the last call.
func (*KubeControllerManagerStatusApplyConfiguration) WithNodeStatuses ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeControllerManagerStatusApplyConfiguration
WithNodeStatuses adds the given value to the NodeStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeStatuses field.
func (*KubeControllerManagerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeControllerManagerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*KubeControllerManagerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeControllerManagerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*KubeControllerManagerStatusApplyConfiguration) WithVersion ¶
func (b *KubeControllerManagerStatusApplyConfiguration) WithVersion(value string) *KubeControllerManagerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type KubeSchedulerApplyConfiguration ¶
type KubeSchedulerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Kubernetes Scheduler
Spec *KubeSchedulerSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the Kubernetes Scheduler
Status *KubeSchedulerStatusApplyConfiguration `json:"status,omitempty"`
}
KubeSchedulerApplyConfiguration represents a declarative configuration of the KubeScheduler type for use with apply.
KubeScheduler provides information to configure an operator to manage scheduler.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractKubeScheduler ¶
func ExtractKubeScheduler(kubeScheduler *operatorv1.KubeScheduler, fieldManager string) (*KubeSchedulerApplyConfiguration, error)
ExtractKubeScheduler extracts the applied configuration owned by fieldManager from kubeScheduler. If no managedFields are found in kubeScheduler for fieldManager, a KubeSchedulerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. kubeScheduler must be a unmodified KubeScheduler API object that was retrieved from the Kubernetes API. ExtractKubeScheduler provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeSchedulerFrom ¶
func ExtractKubeSchedulerFrom(kubeScheduler *operatorv1.KubeScheduler, fieldManager string, subresource string) (*KubeSchedulerApplyConfiguration, error)
ExtractKubeSchedulerFrom extracts the applied configuration owned by fieldManager from kubeScheduler for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. kubeScheduler must be a unmodified KubeScheduler API object that was retrieved from the Kubernetes API. ExtractKubeSchedulerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeSchedulerStatus ¶
func ExtractKubeSchedulerStatus(kubeScheduler *operatorv1.KubeScheduler, fieldManager string) (*KubeSchedulerApplyConfiguration, error)
ExtractKubeSchedulerStatus extracts the applied configuration owned by fieldManager from kubeScheduler for the status subresource.
func KubeScheduler ¶
func KubeScheduler(name string) *KubeSchedulerApplyConfiguration
KubeScheduler constructs a declarative configuration of the KubeScheduler type for use with apply.
func (*KubeSchedulerApplyConfiguration) GetAPIVersion ¶
func (b *KubeSchedulerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*KubeSchedulerApplyConfiguration) GetKind ¶
func (b *KubeSchedulerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*KubeSchedulerApplyConfiguration) GetName ¶
func (b *KubeSchedulerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*KubeSchedulerApplyConfiguration) GetNamespace ¶
func (b *KubeSchedulerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (KubeSchedulerApplyConfiguration) IsApplyConfiguration ¶
func (b KubeSchedulerApplyConfiguration) IsApplyConfiguration()
func (*KubeSchedulerApplyConfiguration) WithAPIVersion ¶
func (b *KubeSchedulerApplyConfiguration) WithAPIVersion(value string) *KubeSchedulerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithAnnotations ¶
func (b *KubeSchedulerApplyConfiguration) WithAnnotations(entries map[string]string) *KubeSchedulerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*KubeSchedulerApplyConfiguration) WithCreationTimestamp ¶
func (b *KubeSchedulerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeSchedulerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *KubeSchedulerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeSchedulerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithDeletionTimestamp ¶
func (b *KubeSchedulerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeSchedulerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithFinalizers ¶
func (b *KubeSchedulerApplyConfiguration) WithFinalizers(values ...string) *KubeSchedulerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*KubeSchedulerApplyConfiguration) WithGenerateName ¶
func (b *KubeSchedulerApplyConfiguration) WithGenerateName(value string) *KubeSchedulerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithGeneration ¶
func (b *KubeSchedulerApplyConfiguration) WithGeneration(value int64) *KubeSchedulerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithKind ¶
func (b *KubeSchedulerApplyConfiguration) WithKind(value string) *KubeSchedulerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithLabels ¶
func (b *KubeSchedulerApplyConfiguration) WithLabels(entries map[string]string) *KubeSchedulerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*KubeSchedulerApplyConfiguration) WithName ¶
func (b *KubeSchedulerApplyConfiguration) WithName(value string) *KubeSchedulerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithNamespace ¶
func (b *KubeSchedulerApplyConfiguration) WithNamespace(value string) *KubeSchedulerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithOwnerReferences ¶
func (b *KubeSchedulerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeSchedulerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*KubeSchedulerApplyConfiguration) WithResourceVersion ¶
func (b *KubeSchedulerApplyConfiguration) WithResourceVersion(value string) *KubeSchedulerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithSpec ¶
func (b *KubeSchedulerApplyConfiguration) WithSpec(value *KubeSchedulerSpecApplyConfiguration) *KubeSchedulerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithStatus ¶
func (b *KubeSchedulerApplyConfiguration) WithStatus(value *KubeSchedulerStatusApplyConfiguration) *KubeSchedulerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*KubeSchedulerApplyConfiguration) WithUID ¶
func (b *KubeSchedulerApplyConfiguration) WithUID(value types.UID) *KubeSchedulerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type KubeSchedulerSpecApplyConfiguration ¶
type KubeSchedulerSpecApplyConfiguration struct {
StaticPodOperatorSpecApplyConfiguration `json:",inline"`
}
KubeSchedulerSpecApplyConfiguration represents a declarative configuration of the KubeSchedulerSpec type for use with apply.
func KubeSchedulerSpec ¶
func KubeSchedulerSpec() *KubeSchedulerSpecApplyConfiguration
KubeSchedulerSpecApplyConfiguration constructs a declarative configuration of the KubeSchedulerSpec type for use with apply.
func (*KubeSchedulerSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *KubeSchedulerSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithForceRedeploymentReason(value string) *KubeSchedulerSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithLogLevel ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeSchedulerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithManagementState ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeSchedulerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithObservedConfig ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeSchedulerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeSchedulerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *KubeSchedulerSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*KubeSchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *KubeSchedulerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeSchedulerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type KubeSchedulerStatusApplyConfiguration ¶
type KubeSchedulerStatusApplyConfiguration struct {
StaticPodOperatorStatusApplyConfiguration `json:",inline"`
}
KubeSchedulerStatusApplyConfiguration represents a declarative configuration of the KubeSchedulerStatus type for use with apply.
func KubeSchedulerStatus ¶
func KubeSchedulerStatus() *KubeSchedulerStatusApplyConfiguration
KubeSchedulerStatusApplyConfiguration constructs a declarative configuration of the KubeSchedulerStatus type for use with apply.
func (*KubeSchedulerStatusApplyConfiguration) WithConditions ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*KubeSchedulerStatusApplyConfiguration) WithGenerations ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeSchedulerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevisionReason ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *KubeSchedulerStatusApplyConfiguration
WithLatestAvailableRevisionReason sets the LatestAvailableRevisionReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevisionReason field is set to the value of the last call.
func (*KubeSchedulerStatusApplyConfiguration) WithNodeStatuses ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *KubeSchedulerStatusApplyConfiguration
WithNodeStatuses adds the given value to the NodeStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeStatuses field.
func (*KubeSchedulerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeSchedulerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*KubeSchedulerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeSchedulerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*KubeSchedulerStatusApplyConfiguration) WithVersion ¶
func (b *KubeSchedulerStatusApplyConfiguration) WithVersion(value string) *KubeSchedulerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type KubeStorageVersionMigratorApplyConfiguration ¶
type KubeStorageVersionMigratorApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *KubeStorageVersionMigratorSpecApplyConfiguration `json:"spec,omitempty"`
Status *KubeStorageVersionMigratorStatusApplyConfiguration `json:"status,omitempty"`
}
KubeStorageVersionMigratorApplyConfiguration represents a declarative configuration of the KubeStorageVersionMigrator type for use with apply.
KubeStorageVersionMigrator provides information to configure an operator to manage kube-storage-version-migrator.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractKubeStorageVersionMigrator ¶
func ExtractKubeStorageVersionMigrator(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, fieldManager string) (*KubeStorageVersionMigratorApplyConfiguration, error)
ExtractKubeStorageVersionMigrator extracts the applied configuration owned by fieldManager from kubeStorageVersionMigrator. If no managedFields are found in kubeStorageVersionMigrator for fieldManager, a KubeStorageVersionMigratorApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. kubeStorageVersionMigrator must be a unmodified KubeStorageVersionMigrator API object that was retrieved from the Kubernetes API. ExtractKubeStorageVersionMigrator provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeStorageVersionMigratorFrom ¶
func ExtractKubeStorageVersionMigratorFrom(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, fieldManager string, subresource string) (*KubeStorageVersionMigratorApplyConfiguration, error)
ExtractKubeStorageVersionMigratorFrom extracts the applied configuration owned by fieldManager from kubeStorageVersionMigrator for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. kubeStorageVersionMigrator must be a unmodified KubeStorageVersionMigrator API object that was retrieved from the Kubernetes API. ExtractKubeStorageVersionMigratorFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractKubeStorageVersionMigratorStatus ¶
func ExtractKubeStorageVersionMigratorStatus(kubeStorageVersionMigrator *operatorv1.KubeStorageVersionMigrator, fieldManager string) (*KubeStorageVersionMigratorApplyConfiguration, error)
ExtractKubeStorageVersionMigratorStatus extracts the applied configuration owned by fieldManager from kubeStorageVersionMigrator for the status subresource.
func KubeStorageVersionMigrator ¶
func KubeStorageVersionMigrator(name string) *KubeStorageVersionMigratorApplyConfiguration
KubeStorageVersionMigrator constructs a declarative configuration of the KubeStorageVersionMigrator type for use with apply.
func (*KubeStorageVersionMigratorApplyConfiguration) GetAPIVersion ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*KubeStorageVersionMigratorApplyConfiguration) GetKind ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*KubeStorageVersionMigratorApplyConfiguration) GetName ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*KubeStorageVersionMigratorApplyConfiguration) GetNamespace ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (KubeStorageVersionMigratorApplyConfiguration) IsApplyConfiguration ¶
func (b KubeStorageVersionMigratorApplyConfiguration) IsApplyConfiguration()
func (*KubeStorageVersionMigratorApplyConfiguration) WithAPIVersion ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithAPIVersion(value string) *KubeStorageVersionMigratorApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithAnnotations ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithAnnotations(entries map[string]string) *KubeStorageVersionMigratorApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*KubeStorageVersionMigratorApplyConfiguration) WithCreationTimestamp ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *KubeStorageVersionMigratorApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *KubeStorageVersionMigratorApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithDeletionTimestamp ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *KubeStorageVersionMigratorApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithFinalizers ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithFinalizers(values ...string) *KubeStorageVersionMigratorApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*KubeStorageVersionMigratorApplyConfiguration) WithGenerateName ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithGenerateName(value string) *KubeStorageVersionMigratorApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithGeneration ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithGeneration(value int64) *KubeStorageVersionMigratorApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithKind ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithKind(value string) *KubeStorageVersionMigratorApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithLabels ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithLabels(entries map[string]string) *KubeStorageVersionMigratorApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*KubeStorageVersionMigratorApplyConfiguration) WithName ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithName(value string) *KubeStorageVersionMigratorApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithNamespace ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithNamespace(value string) *KubeStorageVersionMigratorApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithOwnerReferences ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*KubeStorageVersionMigratorApplyConfiguration) WithResourceVersion ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithResourceVersion(value string) *KubeStorageVersionMigratorApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithSpec ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithSpec(value *KubeStorageVersionMigratorSpecApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithStatus ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithStatus(value *KubeStorageVersionMigratorStatusApplyConfiguration) *KubeStorageVersionMigratorApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*KubeStorageVersionMigratorApplyConfiguration) WithUID ¶
func (b *KubeStorageVersionMigratorApplyConfiguration) WithUID(value types.UID) *KubeStorageVersionMigratorApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type KubeStorageVersionMigratorSpecApplyConfiguration ¶
type KubeStorageVersionMigratorSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
KubeStorageVersionMigratorSpecApplyConfiguration represents a declarative configuration of the KubeStorageVersionMigratorSpec type for use with apply.
func KubeStorageVersionMigratorSpec ¶
func KubeStorageVersionMigratorSpec() *KubeStorageVersionMigratorSpecApplyConfiguration
KubeStorageVersionMigratorSpecApplyConfiguration constructs a declarative configuration of the KubeStorageVersionMigratorSpec type for use with apply.
func (*KubeStorageVersionMigratorSpecApplyConfiguration) WithLogLevel ¶
func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *KubeStorageVersionMigratorSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*KubeStorageVersionMigratorSpecApplyConfiguration) WithManagementState ¶
func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *KubeStorageVersionMigratorSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*KubeStorageVersionMigratorSpecApplyConfiguration) WithObservedConfig ¶
func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *KubeStorageVersionMigratorSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*KubeStorageVersionMigratorSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *KubeStorageVersionMigratorSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*KubeStorageVersionMigratorSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *KubeStorageVersionMigratorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *KubeStorageVersionMigratorSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type KubeStorageVersionMigratorStatusApplyConfiguration ¶
type KubeStorageVersionMigratorStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
KubeStorageVersionMigratorStatusApplyConfiguration represents a declarative configuration of the KubeStorageVersionMigratorStatus type for use with apply.
func KubeStorageVersionMigratorStatus ¶
func KubeStorageVersionMigratorStatus() *KubeStorageVersionMigratorStatusApplyConfiguration
KubeStorageVersionMigratorStatusApplyConfiguration constructs a declarative configuration of the KubeStorageVersionMigratorStatus type for use with apply.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithConditions ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *KubeStorageVersionMigratorStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithGenerations ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *KubeStorageVersionMigratorStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *KubeStorageVersionMigratorStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithObservedGeneration ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithObservedGeneration(value int64) *KubeStorageVersionMigratorStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithReadyReplicas ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithReadyReplicas(value int32) *KubeStorageVersionMigratorStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*KubeStorageVersionMigratorStatusApplyConfiguration) WithVersion ¶
func (b *KubeStorageVersionMigratorStatusApplyConfiguration) WithVersion(value string) *KubeStorageVersionMigratorStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type LoadBalancerStrategyApplyConfiguration ¶
type LoadBalancerStrategyApplyConfiguration struct {
// scope indicates the scope at which the load balancer is exposed.
// Possible values are "External" and "Internal".
Scope *operatorv1.LoadBalancerScope `json:"scope,omitempty"`
// allowedSourceRanges specifies an allowlist of IP address ranges to which
// access to the load balancer should be restricted. Each range must be
// specified using CIDR notation (e.g. "10.0.0.0/8" or "fd00::/8"). If no range is
// specified, "0.0.0.0/0" for IPv4 and "::/0" for IPv6 are used by default,
// which allows all source addresses.
//
// To facilitate migration from earlier versions of OpenShift that did
// not have the allowedSourceRanges field, you may set the
// service.beta.kubernetes.io/load-balancer-source-ranges annotation on
// the "router-<ingresscontroller name>" service in the
// "openshift-ingress" namespace, and this annotation will take
// effect if allowedSourceRanges is empty on OpenShift 4.12.
AllowedSourceRanges []operatorv1.CIDR `json:"allowedSourceRanges,omitempty"`
// providerParameters holds desired load balancer information specific to
// the underlying infrastructure provider.
//
// If empty, defaults will be applied. See specific providerParameters
// fields for details about their defaults.
ProviderParameters *ProviderLoadBalancerParametersApplyConfiguration `json:"providerParameters,omitempty"`
// dnsManagementPolicy indicates if the lifecycle of the wildcard DNS record
// associated with the load balancer service will be managed by
// the ingress operator. It defaults to Managed.
// Valid values are: Managed and Unmanaged.
DNSManagementPolicy *operatorv1.LoadBalancerDNSManagementPolicy `json:"dnsManagementPolicy,omitempty"`
}
LoadBalancerStrategyApplyConfiguration represents a declarative configuration of the LoadBalancerStrategy type for use with apply.
LoadBalancerStrategy holds parameters for a load balancer.
func LoadBalancerStrategy ¶
func LoadBalancerStrategy() *LoadBalancerStrategyApplyConfiguration
LoadBalancerStrategyApplyConfiguration constructs a declarative configuration of the LoadBalancerStrategy type for use with apply.
func (*LoadBalancerStrategyApplyConfiguration) WithAllowedSourceRanges ¶
func (b *LoadBalancerStrategyApplyConfiguration) WithAllowedSourceRanges(values ...operatorv1.CIDR) *LoadBalancerStrategyApplyConfiguration
WithAllowedSourceRanges adds the given value to the AllowedSourceRanges field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AllowedSourceRanges field.
func (*LoadBalancerStrategyApplyConfiguration) WithDNSManagementPolicy ¶
func (b *LoadBalancerStrategyApplyConfiguration) WithDNSManagementPolicy(value operatorv1.LoadBalancerDNSManagementPolicy) *LoadBalancerStrategyApplyConfiguration
WithDNSManagementPolicy sets the DNSManagementPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSManagementPolicy field is set to the value of the last call.
func (*LoadBalancerStrategyApplyConfiguration) WithProviderParameters ¶
func (b *LoadBalancerStrategyApplyConfiguration) WithProviderParameters(value *ProviderLoadBalancerParametersApplyConfiguration) *LoadBalancerStrategyApplyConfiguration
WithProviderParameters sets the ProviderParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProviderParameters field is set to the value of the last call.
func (*LoadBalancerStrategyApplyConfiguration) WithScope ¶
func (b *LoadBalancerStrategyApplyConfiguration) WithScope(value operatorv1.LoadBalancerScope) *LoadBalancerStrategyApplyConfiguration
WithScope sets the Scope field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Scope field is set to the value of the last call.
type LoggingDestinationApplyConfiguration ¶
type LoggingDestinationApplyConfiguration struct {
// type is the type of destination for logs. It must be one of the
// following:
//
// * Container
//
// The ingress operator configures the sidecar container named "logs" on
// the ingress controller pod and configures the ingress controller to
// write logs to the sidecar. The logs are then available as container
// logs. The expectation is that the administrator configures a custom
// logging solution that reads logs from this sidecar. Note that using
// container logs means that logs may be dropped if the rate of logs
// exceeds the container runtime's or the custom logging solution's
// capacity.
//
// * Syslog
//
// Logs are sent to a syslog endpoint. The administrator must specify
// an endpoint that can receive syslog messages. The expectation is
// that the administrator has configured a custom syslog instance.
Type *operatorv1.LoggingDestinationType `json:"type,omitempty"`
// syslog holds parameters for a syslog endpoint. Present only if
// type is Syslog.
Syslog *SyslogLoggingDestinationParametersApplyConfiguration `json:"syslog,omitempty"`
// container holds parameters for the Container logging destination.
// Present only if type is Container.
Container *ContainerLoggingDestinationParametersApplyConfiguration `json:"container,omitempty"`
}
LoggingDestinationApplyConfiguration represents a declarative configuration of the LoggingDestination type for use with apply.
LoggingDestination describes a destination for log messages.
func LoggingDestination ¶
func LoggingDestination() *LoggingDestinationApplyConfiguration
LoggingDestinationApplyConfiguration constructs a declarative configuration of the LoggingDestination type for use with apply.
func (*LoggingDestinationApplyConfiguration) WithContainer ¶
func (b *LoggingDestinationApplyConfiguration) WithContainer(value *ContainerLoggingDestinationParametersApplyConfiguration) *LoggingDestinationApplyConfiguration
WithContainer sets the Container field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Container field is set to the value of the last call.
func (*LoggingDestinationApplyConfiguration) WithSyslog ¶
func (b *LoggingDestinationApplyConfiguration) WithSyslog(value *SyslogLoggingDestinationParametersApplyConfiguration) *LoggingDestinationApplyConfiguration
WithSyslog sets the Syslog field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Syslog field is set to the value of the last call.
func (*LoggingDestinationApplyConfiguration) WithType ¶
func (b *LoggingDestinationApplyConfiguration) WithType(value operatorv1.LoggingDestinationType) *LoggingDestinationApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type LogoApplyConfiguration ¶
type LogoApplyConfiguration struct {
// type specifies the type of the logo for the console UI. It determines whether the logo is for the masthead or favicon.
// type is a required field that allows values of Masthead and Favicon.
// When set to "Masthead", the logo will be used in the masthead and about modal of the console UI.
// When set to "Favicon", the logo will be used as the favicon of the console UI.
Type *operatorv1.LogoType `json:"type,omitempty"`
// themes specifies the themes for the console UI logo.
// themes is a required field that allows a list of themes. Each item in the themes list must have a unique mode and a source field.
// Each mode determines whether the logo is for the dark or light mode of the console UI.
// If a theme is not specified, the default OpenShift logo will be displayed for that theme.
// There must be at least one entry and no more than 2 entries.
Themes []ThemeApplyConfiguration `json:"themes,omitempty"`
}
LogoApplyConfiguration represents a declarative configuration of the Logo type for use with apply.
Logo defines a configuration based on theme modes for the console UI logo.
func Logo ¶
func Logo() *LogoApplyConfiguration
LogoApplyConfiguration constructs a declarative configuration of the Logo type for use with apply.
func (*LogoApplyConfiguration) WithThemes ¶
func (b *LogoApplyConfiguration) WithThemes(values ...*ThemeApplyConfiguration) *LogoApplyConfiguration
WithThemes adds the given value to the Themes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Themes field.
func (*LogoApplyConfiguration) WithType ¶
func (b *LogoApplyConfiguration) WithType(value operatorv1.LogoType) *LogoApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type MTUMigrationApplyConfiguration ¶
type MTUMigrationApplyConfiguration struct {
// network contains information about MTU migration for the default network.
// Migrations are only allowed to MTU values lower than the machine's uplink
// MTU by the minimum appropriate offset.
Network *MTUMigrationValuesApplyConfiguration `json:"network,omitempty"`
// machine contains MTU migration configuration for the machine's uplink.
// Needs to be migrated along with the default network MTU unless the
// current uplink MTU already accommodates the default network MTU.
Machine *MTUMigrationValuesApplyConfiguration `json:"machine,omitempty"`
}
MTUMigrationApplyConfiguration represents a declarative configuration of the MTUMigration type for use with apply.
MTUMigration contains infomation about MTU migration.
func MTUMigration ¶
func MTUMigration() *MTUMigrationApplyConfiguration
MTUMigrationApplyConfiguration constructs a declarative configuration of the MTUMigration type for use with apply.
func (*MTUMigrationApplyConfiguration) WithMachine ¶
func (b *MTUMigrationApplyConfiguration) WithMachine(value *MTUMigrationValuesApplyConfiguration) *MTUMigrationApplyConfiguration
WithMachine sets the Machine field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Machine field is set to the value of the last call.
func (*MTUMigrationApplyConfiguration) WithNetwork ¶
func (b *MTUMigrationApplyConfiguration) WithNetwork(value *MTUMigrationValuesApplyConfiguration) *MTUMigrationApplyConfiguration
WithNetwork sets the Network field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Network field is set to the value of the last call.
type MTUMigrationValuesApplyConfiguration ¶
type MTUMigrationValuesApplyConfiguration struct {
// to is the MTU to migrate to.
To *uint32 `json:"to,omitempty"`
// from is the MTU to migrate from.
From *uint32 `json:"from,omitempty"`
}
MTUMigrationValuesApplyConfiguration represents a declarative configuration of the MTUMigrationValues type for use with apply.
MTUMigrationValues contains the values for a MTU migration.
func MTUMigrationValues ¶
func MTUMigrationValues() *MTUMigrationValuesApplyConfiguration
MTUMigrationValuesApplyConfiguration constructs a declarative configuration of the MTUMigrationValues type for use with apply.
func (*MTUMigrationValuesApplyConfiguration) WithFrom ¶
func (b *MTUMigrationValuesApplyConfiguration) WithFrom(value uint32) *MTUMigrationValuesApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*MTUMigrationValuesApplyConfiguration) WithTo ¶
func (b *MTUMigrationValuesApplyConfiguration) WithTo(value uint32) *MTUMigrationValuesApplyConfiguration
WithTo sets the To field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the To field is set to the value of the last call.
type MachineConfigurationApplyConfiguration ¶
type MachineConfigurationApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the Machine Config Operator
Spec *MachineConfigurationSpecApplyConfiguration `json:"spec,omitempty"`
// status is the most recently observed status of the Machine Config Operator
Status *MachineConfigurationStatusApplyConfiguration `json:"status,omitempty"`
}
MachineConfigurationApplyConfiguration represents a declarative configuration of the MachineConfiguration type for use with apply.
MachineConfiguration provides information to configure an operator to manage Machine Configuration.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractMachineConfiguration ¶
func ExtractMachineConfiguration(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string) (*MachineConfigurationApplyConfiguration, error)
ExtractMachineConfiguration extracts the applied configuration owned by fieldManager from machineConfiguration. If no managedFields are found in machineConfiguration for fieldManager, a MachineConfigurationApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. machineConfiguration must be a unmodified MachineConfiguration API object that was retrieved from the Kubernetes API. ExtractMachineConfiguration provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractMachineConfigurationFrom ¶
func ExtractMachineConfigurationFrom(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string, subresource string) (*MachineConfigurationApplyConfiguration, error)
ExtractMachineConfigurationFrom extracts the applied configuration owned by fieldManager from machineConfiguration for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. machineConfiguration must be a unmodified MachineConfiguration API object that was retrieved from the Kubernetes API. ExtractMachineConfigurationFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractMachineConfigurationStatus ¶
func ExtractMachineConfigurationStatus(machineConfiguration *operatorv1.MachineConfiguration, fieldManager string) (*MachineConfigurationApplyConfiguration, error)
ExtractMachineConfigurationStatus extracts the applied configuration owned by fieldManager from machineConfiguration for the status subresource.
func MachineConfiguration ¶
func MachineConfiguration(name string) *MachineConfigurationApplyConfiguration
MachineConfiguration constructs a declarative configuration of the MachineConfiguration type for use with apply.
func (*MachineConfigurationApplyConfiguration) GetAPIVersion ¶
func (b *MachineConfigurationApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*MachineConfigurationApplyConfiguration) GetKind ¶
func (b *MachineConfigurationApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*MachineConfigurationApplyConfiguration) GetName ¶
func (b *MachineConfigurationApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*MachineConfigurationApplyConfiguration) GetNamespace ¶
func (b *MachineConfigurationApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (MachineConfigurationApplyConfiguration) IsApplyConfiguration ¶
func (b MachineConfigurationApplyConfiguration) IsApplyConfiguration()
func (*MachineConfigurationApplyConfiguration) WithAPIVersion ¶
func (b *MachineConfigurationApplyConfiguration) WithAPIVersion(value string) *MachineConfigurationApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithAnnotations ¶
func (b *MachineConfigurationApplyConfiguration) WithAnnotations(entries map[string]string) *MachineConfigurationApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*MachineConfigurationApplyConfiguration) WithCreationTimestamp ¶
func (b *MachineConfigurationApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *MachineConfigurationApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *MachineConfigurationApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *MachineConfigurationApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithDeletionTimestamp ¶
func (b *MachineConfigurationApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *MachineConfigurationApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithFinalizers ¶
func (b *MachineConfigurationApplyConfiguration) WithFinalizers(values ...string) *MachineConfigurationApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*MachineConfigurationApplyConfiguration) WithGenerateName ¶
func (b *MachineConfigurationApplyConfiguration) WithGenerateName(value string) *MachineConfigurationApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithGeneration ¶
func (b *MachineConfigurationApplyConfiguration) WithGeneration(value int64) *MachineConfigurationApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithKind ¶
func (b *MachineConfigurationApplyConfiguration) WithKind(value string) *MachineConfigurationApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithLabels ¶
func (b *MachineConfigurationApplyConfiguration) WithLabels(entries map[string]string) *MachineConfigurationApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*MachineConfigurationApplyConfiguration) WithName ¶
func (b *MachineConfigurationApplyConfiguration) WithName(value string) *MachineConfigurationApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithNamespace ¶
func (b *MachineConfigurationApplyConfiguration) WithNamespace(value string) *MachineConfigurationApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithOwnerReferences ¶
func (b *MachineConfigurationApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *MachineConfigurationApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*MachineConfigurationApplyConfiguration) WithResourceVersion ¶
func (b *MachineConfigurationApplyConfiguration) WithResourceVersion(value string) *MachineConfigurationApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithSpec ¶
func (b *MachineConfigurationApplyConfiguration) WithSpec(value *MachineConfigurationSpecApplyConfiguration) *MachineConfigurationApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithStatus ¶
func (b *MachineConfigurationApplyConfiguration) WithStatus(value *MachineConfigurationStatusApplyConfiguration) *MachineConfigurationApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*MachineConfigurationApplyConfiguration) WithUID ¶
func (b *MachineConfigurationApplyConfiguration) WithUID(value types.UID) *MachineConfigurationApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type MachineConfigurationSpecApplyConfiguration ¶
type MachineConfigurationSpecApplyConfiguration struct {
StaticPodOperatorSpecApplyConfiguration `json:",inline"`
// managedBootImages allows configuration for the management of boot images for machine
// resources within the cluster. This configuration allows users to select resources that should
// be updated to the latest boot images during cluster upgrades, ensuring that new machines
// always boot with the current cluster version's boot image. When omitted, this means no opinion
// and the platform is left to choose a reasonable default, which is subject to change over time.
// The default for each machine manager mode is All for GCP and AWS platforms, and None for all
// other platforms.
ManagedBootImages *ManagedBootImagesApplyConfiguration `json:"managedBootImages,omitempty"`
// nodeDisruptionPolicy allows an admin to set granular node disruption actions for
// MachineConfig-based updates, such as drains, service reloads, etc. Specifying this will allow
// for less downtime when doing small configuration updates to the cluster. This configuration
// has no effect on cluster upgrades which will still incur node disruption where required.
NodeDisruptionPolicy *NodeDisruptionPolicyConfigApplyConfiguration `json:"nodeDisruptionPolicy,omitempty"`
// irreconcilableValidationOverrides is an optional field that can used to make changes to a MachineConfig that
// cannot be applied to existing nodes.
// When specified, the fields configured with validation overrides will no longer reject changes to those
// respective fields due to them not being able to be applied to existing nodes.
// Only newly provisioned nodes will have these configurations applied.
// Existing nodes will report observed configuration differences in their MachineConfigNode status.
IrreconcilableValidationOverrides *IrreconcilableValidationOverridesApplyConfiguration `json:"irreconcilableValidationOverrides,omitempty"`
// bootImageSkewEnforcement allows an admin to configure how boot image version skew is
// enforced on the cluster.
// When omitted, this will default to Automatic for clusters that support automatic boot image updates.
// For clusters that do not support automatic boot image updates, cluster upgrades will be disabled until
// a skew enforcement mode has been specified.
// When version skew is being enforced, cluster upgrades will be disabled until the version skew is deemed
// acceptable for the current release payload.
BootImageSkewEnforcement *BootImageSkewEnforcementConfigApplyConfiguration `json:"bootImageSkewEnforcement,omitempty"`
}
MachineConfigurationSpecApplyConfiguration represents a declarative configuration of the MachineConfigurationSpec type for use with apply.
func MachineConfigurationSpec ¶
func MachineConfigurationSpec() *MachineConfigurationSpecApplyConfiguration
MachineConfigurationSpecApplyConfiguration constructs a declarative configuration of the MachineConfigurationSpec type for use with apply.
func (*MachineConfigurationSpecApplyConfiguration) WithBootImageSkewEnforcement ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithBootImageSkewEnforcement(value *BootImageSkewEnforcementConfigApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
WithBootImageSkewEnforcement sets the BootImageSkewEnforcement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BootImageSkewEnforcement field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *MachineConfigurationSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithForceRedeploymentReason(value string) *MachineConfigurationSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithIrreconcilableValidationOverrides ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithIrreconcilableValidationOverrides(value *IrreconcilableValidationOverridesApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
WithIrreconcilableValidationOverrides sets the IrreconcilableValidationOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IrreconcilableValidationOverrides field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithLogLevel ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *MachineConfigurationSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithManagedBootImages ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithManagedBootImages(value *ManagedBootImagesApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
WithManagedBootImages sets the ManagedBootImages field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedBootImages field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithManagementState ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *MachineConfigurationSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithNodeDisruptionPolicy ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithNodeDisruptionPolicy(value *NodeDisruptionPolicyConfigApplyConfiguration) *MachineConfigurationSpecApplyConfiguration
WithNodeDisruptionPolicy sets the NodeDisruptionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeDisruptionPolicy field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithObservedConfig ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *MachineConfigurationSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *MachineConfigurationSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *MachineConfigurationSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*MachineConfigurationSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *MachineConfigurationSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *MachineConfigurationSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type MachineConfigurationStatusApplyConfiguration ¶
type MachineConfigurationStatusApplyConfiguration struct {
// observedGeneration is the last generation change you've dealt with
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
// conditions is a list of conditions and their status
Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
// nodeDisruptionPolicyStatus status reflects what the latest cluster-validated policies are,
// and will be used by the Machine Config Daemon during future node updates.
NodeDisruptionPolicyStatus *NodeDisruptionPolicyStatusApplyConfiguration `json:"nodeDisruptionPolicyStatus,omitempty"`
// managedBootImagesStatus reflects what the latest cluster-validated boot image configuration is
// and will be used by Machine Config Controller while performing boot image updates.
ManagedBootImagesStatus *ManagedBootImagesApplyConfiguration `json:"managedBootImagesStatus,omitempty"`
// bootImageSkewEnforcementStatus reflects what the latest cluster-validated boot image skew enforcement
// configuration is and will be used by Machine Config Controller while performing boot image skew enforcement.
// When omitted, the MCO has no knowledge of how to enforce boot image skew. When the MCO does not know how
// boot image skew should be enforced, cluster upgrades will be blocked until it can either automatically
// determine skew enforcement or there is an explicit skew enforcement configuration provided in the
// spec.bootImageSkewEnforcement field.
BootImageSkewEnforcementStatus *BootImageSkewEnforcementStatusApplyConfiguration `json:"bootImageSkewEnforcementStatus,omitempty"`
}
MachineConfigurationStatusApplyConfiguration represents a declarative configuration of the MachineConfigurationStatus type for use with apply.
func MachineConfigurationStatus ¶
func MachineConfigurationStatus() *MachineConfigurationStatusApplyConfiguration
MachineConfigurationStatusApplyConfiguration constructs a declarative configuration of the MachineConfigurationStatus type for use with apply.
func (*MachineConfigurationStatusApplyConfiguration) WithBootImageSkewEnforcementStatus ¶
func (b *MachineConfigurationStatusApplyConfiguration) WithBootImageSkewEnforcementStatus(value *BootImageSkewEnforcementStatusApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
WithBootImageSkewEnforcementStatus sets the BootImageSkewEnforcementStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BootImageSkewEnforcementStatus field is set to the value of the last call.
func (*MachineConfigurationStatusApplyConfiguration) WithConditions ¶
func (b *MachineConfigurationStatusApplyConfiguration) WithConditions(values ...*metav1.ConditionApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*MachineConfigurationStatusApplyConfiguration) WithManagedBootImagesStatus ¶
func (b *MachineConfigurationStatusApplyConfiguration) WithManagedBootImagesStatus(value *ManagedBootImagesApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
WithManagedBootImagesStatus sets the ManagedBootImagesStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagedBootImagesStatus field is set to the value of the last call.
func (*MachineConfigurationStatusApplyConfiguration) WithNodeDisruptionPolicyStatus ¶
func (b *MachineConfigurationStatusApplyConfiguration) WithNodeDisruptionPolicyStatus(value *NodeDisruptionPolicyStatusApplyConfiguration) *MachineConfigurationStatusApplyConfiguration
WithNodeDisruptionPolicyStatus sets the NodeDisruptionPolicyStatus field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeDisruptionPolicyStatus field is set to the value of the last call.
func (*MachineConfigurationStatusApplyConfiguration) WithObservedGeneration ¶
func (b *MachineConfigurationStatusApplyConfiguration) WithObservedGeneration(value int64) *MachineConfigurationStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
type MachineManagerApplyConfiguration ¶
type MachineManagerApplyConfiguration struct {
// resource is the machine management resource's type.
// Valid values are machinesets and controlplanemachinesets.
// machinesets means that the machine manager will only register resources of the kind MachineSet.
// controlplanemachinesets means that the machine manager will only register resources of the kind ControlPlaneMachineSet.
Resource *operatorv1.MachineManagerMachineSetsResourceType `json:"resource,omitempty"`
// apiGroup is name of the APIGroup that the machine management resource belongs to.
// The only current valid value is machine.openshift.io.
// machine.openshift.io means that the machine manager will only register resources that belong to OpenShift machine API group.
APIGroup *operatorv1.MachineManagerMachineSetsAPIGroupType `json:"apiGroup,omitempty"`
// selection allows granular control of the machine management resources that will be registered for boot image updates.
Selection *MachineManagerSelectorApplyConfiguration `json:"selection,omitempty"`
}
MachineManagerApplyConfiguration represents a declarative configuration of the MachineManager type for use with apply.
MachineManager describes a target machine resource that is registered for boot image updates. It stores identifying information such as the resource type and the API Group of the resource. It also provides granular control via the selection field.
func MachineManager ¶
func MachineManager() *MachineManagerApplyConfiguration
MachineManagerApplyConfiguration constructs a declarative configuration of the MachineManager type for use with apply.
func (*MachineManagerApplyConfiguration) WithAPIGroup ¶
func (b *MachineManagerApplyConfiguration) WithAPIGroup(value operatorv1.MachineManagerMachineSetsAPIGroupType) *MachineManagerApplyConfiguration
WithAPIGroup sets the APIGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIGroup field is set to the value of the last call.
func (*MachineManagerApplyConfiguration) WithResource ¶
func (b *MachineManagerApplyConfiguration) WithResource(value operatorv1.MachineManagerMachineSetsResourceType) *MachineManagerApplyConfiguration
WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.
func (*MachineManagerApplyConfiguration) WithSelection ¶
func (b *MachineManagerApplyConfiguration) WithSelection(value *MachineManagerSelectorApplyConfiguration) *MachineManagerApplyConfiguration
WithSelection sets the Selection field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Selection field is set to the value of the last call.
type MachineManagerSelectorApplyConfiguration ¶
type MachineManagerSelectorApplyConfiguration struct {
// mode determines how machine managers will be selected for updates.
// Valid values are All, Partial and None.
// All means that every resource matched by the machine manager will be updated.
// Partial requires specified selector(s) and allows customisation of which resources matched by the machine manager will be updated.
// Partial is not permitted for the controlplanemachinesets resource type as they are a singleton within the cluster.
// None means that every resource matched by the machine manager will not be updated.
Mode *operatorv1.MachineManagerSelectorMode `json:"mode,omitempty"`
// partial provides label selector(s) that can be used to match machine management resources.
// Only permitted when mode is set to "Partial".
Partial *PartialSelectorApplyConfiguration `json:"partial,omitempty"`
}
MachineManagerSelectorApplyConfiguration represents a declarative configuration of the MachineManagerSelector type for use with apply.
func MachineManagerSelector ¶
func MachineManagerSelector() *MachineManagerSelectorApplyConfiguration
MachineManagerSelectorApplyConfiguration constructs a declarative configuration of the MachineManagerSelector type for use with apply.
func (*MachineManagerSelectorApplyConfiguration) WithMode ¶
func (b *MachineManagerSelectorApplyConfiguration) WithMode(value operatorv1.MachineManagerSelectorMode) *MachineManagerSelectorApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*MachineManagerSelectorApplyConfiguration) WithPartial ¶
func (b *MachineManagerSelectorApplyConfiguration) WithPartial(value *PartialSelectorApplyConfiguration) *MachineManagerSelectorApplyConfiguration
WithPartial sets the Partial field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Partial field is set to the value of the last call.
type ManagedBootImagesApplyConfiguration ¶
type ManagedBootImagesApplyConfiguration struct {
// machineManagers can be used to register machine management resources for boot image updates. The Machine Config Operator
// will watch for changes to this list. Only one entry is permitted per type of machine management resource.
MachineManagers []MachineManagerApplyConfiguration `json:"machineManagers,omitempty"`
}
ManagedBootImagesApplyConfiguration represents a declarative configuration of the ManagedBootImages type for use with apply.
func ManagedBootImages ¶
func ManagedBootImages() *ManagedBootImagesApplyConfiguration
ManagedBootImagesApplyConfiguration constructs a declarative configuration of the ManagedBootImages type for use with apply.
func (*ManagedBootImagesApplyConfiguration) WithMachineManagers ¶
func (b *ManagedBootImagesApplyConfiguration) WithMachineManagers(values ...*MachineManagerApplyConfiguration) *ManagedBootImagesApplyConfiguration
WithMachineManagers adds the given value to the MachineManagers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the MachineManagers field.
type NetFlowConfigApplyConfiguration ¶
type NetFlowConfigApplyConfiguration struct {
// netFlow defines the NetFlow collectors that will consume the flow data exported from OVS.
// It is a list of strings formatted as ip:port with a maximum of ten items
Collectors []operatorv1.IPPort `json:"collectors,omitempty"`
}
NetFlowConfigApplyConfiguration represents a declarative configuration of the NetFlowConfig type for use with apply.
func NetFlowConfig ¶
func NetFlowConfig() *NetFlowConfigApplyConfiguration
NetFlowConfigApplyConfiguration constructs a declarative configuration of the NetFlowConfig type for use with apply.
func (*NetFlowConfigApplyConfiguration) WithCollectors ¶
func (b *NetFlowConfigApplyConfiguration) WithCollectors(values ...operatorv1.IPPort) *NetFlowConfigApplyConfiguration
WithCollectors adds the given value to the Collectors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Collectors field.
type NetworkApplyConfiguration ¶
type NetworkApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *NetworkSpecApplyConfiguration `json:"spec,omitempty"`
Status *NetworkStatusApplyConfiguration `json:"status,omitempty"`
}
NetworkApplyConfiguration represents a declarative configuration of the Network type for use with apply.
Network describes the cluster's desired network configuration. It is consumed by the cluster-network-operator.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractNetwork ¶
func ExtractNetwork(network *operatorv1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetwork extracts the applied configuration owned by fieldManager from network. If no managedFields are found in network for fieldManager, a NetworkApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetwork provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractNetworkFrom ¶
func ExtractNetworkFrom(network *operatorv1.Network, fieldManager string, subresource string) (*NetworkApplyConfiguration, error)
ExtractNetworkFrom extracts the applied configuration owned by fieldManager from network for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. network must be a unmodified Network API object that was retrieved from the Kubernetes API. ExtractNetworkFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractNetworkStatus ¶
func ExtractNetworkStatus(network *operatorv1.Network, fieldManager string) (*NetworkApplyConfiguration, error)
ExtractNetworkStatus extracts the applied configuration owned by fieldManager from network for the status subresource.
func Network ¶
func Network(name string) *NetworkApplyConfiguration
Network constructs a declarative configuration of the Network type for use with apply.
func (*NetworkApplyConfiguration) GetAPIVersion ¶
func (b *NetworkApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*NetworkApplyConfiguration) GetKind ¶
func (b *NetworkApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*NetworkApplyConfiguration) GetName ¶
func (b *NetworkApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*NetworkApplyConfiguration) GetNamespace ¶
func (b *NetworkApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (NetworkApplyConfiguration) IsApplyConfiguration ¶
func (b NetworkApplyConfiguration) IsApplyConfiguration()
func (*NetworkApplyConfiguration) WithAPIVersion ¶
func (b *NetworkApplyConfiguration) WithAPIVersion(value string) *NetworkApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithAnnotations ¶
func (b *NetworkApplyConfiguration) WithAnnotations(entries map[string]string) *NetworkApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*NetworkApplyConfiguration) WithCreationTimestamp ¶
func (b *NetworkApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *NetworkApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *NetworkApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *NetworkApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithDeletionTimestamp ¶
func (b *NetworkApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *NetworkApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithFinalizers ¶
func (b *NetworkApplyConfiguration) WithFinalizers(values ...string) *NetworkApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*NetworkApplyConfiguration) WithGenerateName ¶
func (b *NetworkApplyConfiguration) WithGenerateName(value string) *NetworkApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithGeneration ¶
func (b *NetworkApplyConfiguration) WithGeneration(value int64) *NetworkApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithKind ¶
func (b *NetworkApplyConfiguration) WithKind(value string) *NetworkApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithLabels ¶
func (b *NetworkApplyConfiguration) WithLabels(entries map[string]string) *NetworkApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*NetworkApplyConfiguration) WithName ¶
func (b *NetworkApplyConfiguration) WithName(value string) *NetworkApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithNamespace ¶
func (b *NetworkApplyConfiguration) WithNamespace(value string) *NetworkApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithOwnerReferences ¶
func (b *NetworkApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *NetworkApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*NetworkApplyConfiguration) WithResourceVersion ¶
func (b *NetworkApplyConfiguration) WithResourceVersion(value string) *NetworkApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithSpec ¶
func (b *NetworkApplyConfiguration) WithSpec(value *NetworkSpecApplyConfiguration) *NetworkApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithStatus ¶
func (b *NetworkApplyConfiguration) WithStatus(value *NetworkStatusApplyConfiguration) *NetworkApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*NetworkApplyConfiguration) WithUID ¶
func (b *NetworkApplyConfiguration) WithUID(value types.UID) *NetworkApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type NetworkMigrationApplyConfiguration ¶
type NetworkMigrationApplyConfiguration struct {
// mtu contains the MTU migration configuration. Set this to allow changing
// the MTU values for the default network. If unset, the operation of
// changing the MTU for the default network will be rejected.
MTU *MTUMigrationApplyConfiguration `json:"mtu,omitempty"`
// networkType was previously used when changing the default network type.
// DEPRECATED: network type migration is no longer supported, and setting
// this to a non-empty value will result in the network operator rejecting
// the configuration.
NetworkType *string `json:"networkType,omitempty"`
// features was previously used to configure which network plugin features
// would be migrated in a network type migration.
// DEPRECATED: network type migration is no longer supported, and setting
// this to a non-empty value will result in the network operator rejecting
// the configuration.
Features *FeaturesMigrationApplyConfiguration `json:"features,omitempty"`
// mode indicates the mode of network type migration.
// DEPRECATED: network type migration is no longer supported, and setting
// this to a non-empty value will result in the network operator rejecting
// the configuration.
Mode *operatorv1.NetworkMigrationMode `json:"mode,omitempty"`
}
NetworkMigrationApplyConfiguration represents a declarative configuration of the NetworkMigration type for use with apply.
NetworkMigration represents the cluster network migration configuration.
func NetworkMigration ¶
func NetworkMigration() *NetworkMigrationApplyConfiguration
NetworkMigrationApplyConfiguration constructs a declarative configuration of the NetworkMigration type for use with apply.
func (*NetworkMigrationApplyConfiguration) WithFeatures ¶
func (b *NetworkMigrationApplyConfiguration) WithFeatures(value *FeaturesMigrationApplyConfiguration) *NetworkMigrationApplyConfiguration
WithFeatures sets the Features field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Features field is set to the value of the last call.
func (*NetworkMigrationApplyConfiguration) WithMTU ¶
func (b *NetworkMigrationApplyConfiguration) WithMTU(value *MTUMigrationApplyConfiguration) *NetworkMigrationApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*NetworkMigrationApplyConfiguration) WithMode ¶
func (b *NetworkMigrationApplyConfiguration) WithMode(value operatorv1.NetworkMigrationMode) *NetworkMigrationApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*NetworkMigrationApplyConfiguration) WithNetworkType ¶
func (b *NetworkMigrationApplyConfiguration) WithNetworkType(value string) *NetworkMigrationApplyConfiguration
WithNetworkType sets the NetworkType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NetworkType field is set to the value of the last call.
type NetworkSpecApplyConfiguration ¶
type NetworkSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// clusterNetwork is the IP address pool to use for pod IPs.
// Some network providers support multiple ClusterNetworks.
// Others only support one. This is equivalent to the cluster-cidr.
ClusterNetwork []ClusterNetworkEntryApplyConfiguration `json:"clusterNetwork,omitempty"`
// serviceNetwork is the ip address pool to use for Service IPs
// Currently, all existing network providers only support a single value
// here, but this is an array to allow for growth.
ServiceNetwork []string `json:"serviceNetwork,omitempty"`
// defaultNetwork is the "default" network that all pods will receive
DefaultNetwork *DefaultNetworkDefinitionApplyConfiguration `json:"defaultNetwork,omitempty"`
// additionalNetworks is a list of extra networks to make available to pods
// when multiple networks are enabled.
AdditionalNetworks []AdditionalNetworkDefinitionApplyConfiguration `json:"additionalNetworks,omitempty"`
// disableMultiNetwork defaults to 'false' and this setting enables the pod multi-networking capability.
// disableMultiNetwork when set to 'true' at cluster install time does not install the components, typically the Multus CNI and the network-attachment-definition CRD,
// that enable the pod multi-networking capability. Setting the parameter to 'true' might be useful when you need install third-party CNI plugins,
// but these plugins are not supported by Red Hat. Changing the parameter value as a postinstallation cluster task has no effect.
DisableMultiNetwork *bool `json:"disableMultiNetwork,omitempty"`
// useMultiNetworkPolicy enables a controller which allows for
// MultiNetworkPolicy objects to be used on additional networks as
// created by Multus CNI. MultiNetworkPolicy are similar to NetworkPolicy
// objects, but NetworkPolicy objects only apply to the primary interface.
// With MultiNetworkPolicy, you can control the traffic that a pod can receive
// over the secondary interfaces. If unset, this property defaults to 'false'
// and MultiNetworkPolicy objects are ignored. If 'disableMultiNetwork' is
// 'true' then the value of this field is ignored.
UseMultiNetworkPolicy *bool `json:"useMultiNetworkPolicy,omitempty"`
// deployKubeProxy specifies whether or not a standalone kube-proxy should
// be deployed by the operator. Some network providers include kube-proxy
// or similar functionality. If unset, the plugin will attempt to select
// the correct value, which is false when ovn-kubernetes is used and true
// otherwise.
DeployKubeProxy *bool `json:"deployKubeProxy,omitempty"`
// disableNetworkDiagnostics specifies whether or not PodNetworkConnectivityCheck
// CRs from a test pod to every node, apiserver and LB should be disabled or not.
// If unset, this property defaults to 'false' and network diagnostics is enabled.
// Setting this to 'true' would reduce the additional load of the pods performing the checks.
DisableNetworkDiagnostics *bool `json:"disableNetworkDiagnostics,omitempty"`
// kubeProxyConfig lets us configure desired proxy configuration, if
// deployKubeProxy is true. If not specified, sensible defaults will be chosen by
// OpenShift directly.
KubeProxyConfig *ProxyConfigApplyConfiguration `json:"kubeProxyConfig,omitempty"`
// exportNetworkFlows enables and configures the export of network flow metadata from the pod network
// by using protocols NetFlow, SFlow or IPFIX. Currently only supported on OVN-Kubernetes plugin.
// If unset, flows will not be exported to any collector.
ExportNetworkFlows *ExportNetworkFlowsApplyConfiguration `json:"exportNetworkFlows,omitempty"`
// migration enables and configures cluster network migration, for network changes
// that cannot be made instantly.
Migration *NetworkMigrationApplyConfiguration `json:"migration,omitempty"`
// additionalRoutingCapabilities describes components and relevant
// configuration providing additional routing capabilities. When set, it
// enables such components and the usage of the routing capabilities they
// provide for the machine network. Upstream operators, like MetalLB
// operator, requiring these capabilities may rely on, or automatically set
// this attribute. Network plugins may leverage advanced routing
// capabilities acquired through the enablement of these components but may
// require specific configuration on their side to do so; refer to their
// respective documentation and configuration options.
AdditionalRoutingCapabilities *AdditionalRoutingCapabilitiesApplyConfiguration `json:"additionalRoutingCapabilities,omitempty"`
}
NetworkSpecApplyConfiguration represents a declarative configuration of the NetworkSpec type for use with apply.
NetworkSpec is the top-level network configuration object.
func NetworkSpec ¶
func NetworkSpec() *NetworkSpecApplyConfiguration
NetworkSpecApplyConfiguration constructs a declarative configuration of the NetworkSpec type for use with apply.
func (*NetworkSpecApplyConfiguration) WithAdditionalNetworks ¶
func (b *NetworkSpecApplyConfiguration) WithAdditionalNetworks(values ...*AdditionalNetworkDefinitionApplyConfiguration) *NetworkSpecApplyConfiguration
WithAdditionalNetworks adds the given value to the AdditionalNetworks field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AdditionalNetworks field.
func (*NetworkSpecApplyConfiguration) WithAdditionalRoutingCapabilities ¶
func (b *NetworkSpecApplyConfiguration) WithAdditionalRoutingCapabilities(value *AdditionalRoutingCapabilitiesApplyConfiguration) *NetworkSpecApplyConfiguration
WithAdditionalRoutingCapabilities sets the AdditionalRoutingCapabilities field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AdditionalRoutingCapabilities field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithClusterNetwork ¶
func (b *NetworkSpecApplyConfiguration) WithClusterNetwork(values ...*ClusterNetworkEntryApplyConfiguration) *NetworkSpecApplyConfiguration
WithClusterNetwork adds the given value to the ClusterNetwork field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ClusterNetwork field.
func (*NetworkSpecApplyConfiguration) WithDefaultNetwork ¶
func (b *NetworkSpecApplyConfiguration) WithDefaultNetwork(value *DefaultNetworkDefinitionApplyConfiguration) *NetworkSpecApplyConfiguration
WithDefaultNetwork sets the DefaultNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefaultNetwork field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithDeployKubeProxy ¶
func (b *NetworkSpecApplyConfiguration) WithDeployKubeProxy(value bool) *NetworkSpecApplyConfiguration
WithDeployKubeProxy sets the DeployKubeProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeployKubeProxy field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithDisableMultiNetwork ¶
func (b *NetworkSpecApplyConfiguration) WithDisableMultiNetwork(value bool) *NetworkSpecApplyConfiguration
WithDisableMultiNetwork sets the DisableMultiNetwork field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableMultiNetwork field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithDisableNetworkDiagnostics ¶
func (b *NetworkSpecApplyConfiguration) WithDisableNetworkDiagnostics(value bool) *NetworkSpecApplyConfiguration
WithDisableNetworkDiagnostics sets the DisableNetworkDiagnostics field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableNetworkDiagnostics field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithExportNetworkFlows ¶
func (b *NetworkSpecApplyConfiguration) WithExportNetworkFlows(value *ExportNetworkFlowsApplyConfiguration) *NetworkSpecApplyConfiguration
WithExportNetworkFlows sets the ExportNetworkFlows field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExportNetworkFlows field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithKubeProxyConfig ¶
func (b *NetworkSpecApplyConfiguration) WithKubeProxyConfig(value *ProxyConfigApplyConfiguration) *NetworkSpecApplyConfiguration
WithKubeProxyConfig sets the KubeProxyConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KubeProxyConfig field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithLogLevel ¶
func (b *NetworkSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *NetworkSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithManagementState ¶
func (b *NetworkSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *NetworkSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithMigration ¶
func (b *NetworkSpecApplyConfiguration) WithMigration(value *NetworkMigrationApplyConfiguration) *NetworkSpecApplyConfiguration
WithMigration sets the Migration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Migration field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithObservedConfig ¶
func (b *NetworkSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *NetworkSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *NetworkSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *NetworkSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithServiceNetwork ¶
func (b *NetworkSpecApplyConfiguration) WithServiceNetwork(values ...string) *NetworkSpecApplyConfiguration
WithServiceNetwork adds the given value to the ServiceNetwork field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ServiceNetwork field.
func (*NetworkSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *NetworkSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *NetworkSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
func (*NetworkSpecApplyConfiguration) WithUseMultiNetworkPolicy ¶
func (b *NetworkSpecApplyConfiguration) WithUseMultiNetworkPolicy(value bool) *NetworkSpecApplyConfiguration
WithUseMultiNetworkPolicy sets the UseMultiNetworkPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseMultiNetworkPolicy field is set to the value of the last call.
type NetworkStatusApplyConfiguration ¶
type NetworkStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
NetworkStatusApplyConfiguration represents a declarative configuration of the NetworkStatus type for use with apply.
NetworkStatus is detailed operator status, which is distilled up to the Network clusteroperator object.
func NetworkStatus ¶
func NetworkStatus() *NetworkStatusApplyConfiguration
NetworkStatusApplyConfiguration constructs a declarative configuration of the NetworkStatus type for use with apply.
func (*NetworkStatusApplyConfiguration) WithConditions ¶
func (b *NetworkStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *NetworkStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*NetworkStatusApplyConfiguration) WithGenerations ¶
func (b *NetworkStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *NetworkStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*NetworkStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *NetworkStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *NetworkStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*NetworkStatusApplyConfiguration) WithObservedGeneration ¶
func (b *NetworkStatusApplyConfiguration) WithObservedGeneration(value int64) *NetworkStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*NetworkStatusApplyConfiguration) WithReadyReplicas ¶
func (b *NetworkStatusApplyConfiguration) WithReadyReplicas(value int32) *NetworkStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*NetworkStatusApplyConfiguration) WithVersion ¶
func (b *NetworkStatusApplyConfiguration) WithVersion(value string) *NetworkStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type NoOverlayConfigApplyConfiguration ¶
type NoOverlayConfigApplyConfiguration struct {
// outboundSNAT defines the SNAT behavior for outbound traffic from pods.
// Allowed values are "Enabled" and "Disabled".
// When set to "Enabled", SNAT is performed on outbound traffic from pods.
// When set to "Disabled", SNAT is not performed and pod IPs are preserved in outbound traffic.
// This field is required when the network operates in no-overlay mode.
// This field can be set to any value at installation time and can be changed afterwards.
OutboundSNAT *operatorv1.SNATOption `json:"outboundSNAT,omitempty"`
// routing specifies whether the pod network routing is managed by OVN-Kubernetes or users.
// Allowed values are "Managed" and "Unmanaged".
// When set to "Managed", OVN-Kubernetes manages the pod network routing configuration through BGP.
// When set to "Unmanaged", users are responsible for configuring the pod network routing.
// This field is required when the network operates in no-overlay mode.
// This field is immutable once set.
Routing *operatorv1.RoutingOption `json:"routing,omitempty"`
}
NoOverlayConfigApplyConfiguration represents a declarative configuration of the NoOverlayConfig type for use with apply.
NoOverlayConfig contains configuration options for networks operating in no-overlay mode.
func NoOverlayConfig ¶
func NoOverlayConfig() *NoOverlayConfigApplyConfiguration
NoOverlayConfigApplyConfiguration constructs a declarative configuration of the NoOverlayConfig type for use with apply.
func (*NoOverlayConfigApplyConfiguration) WithOutboundSNAT ¶
func (b *NoOverlayConfigApplyConfiguration) WithOutboundSNAT(value operatorv1.SNATOption) *NoOverlayConfigApplyConfiguration
WithOutboundSNAT sets the OutboundSNAT field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OutboundSNAT field is set to the value of the last call.
func (*NoOverlayConfigApplyConfiguration) WithRouting ¶
func (b *NoOverlayConfigApplyConfiguration) WithRouting(value operatorv1.RoutingOption) *NoOverlayConfigApplyConfiguration
WithRouting sets the Routing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Routing field is set to the value of the last call.
type NodeDisruptionPolicyClusterStatusApplyConfiguration ¶
type NodeDisruptionPolicyClusterStatusApplyConfiguration struct {
// files is a list of MachineConfig file definitions and actions to take to changes on those paths
Files []NodeDisruptionPolicyStatusFileApplyConfiguration `json:"files,omitempty"`
// units is a list MachineConfig unit definitions and actions to take on changes to those services
Units []NodeDisruptionPolicyStatusUnitApplyConfiguration `json:"units,omitempty"`
// sshkey is the overall sshkey MachineConfig definition
SSHKey *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration `json:"sshkey,omitempty"`
}
NodeDisruptionPolicyClusterStatusApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyClusterStatus type for use with apply.
NodeDisruptionPolicyClusterStatus is the type for the status object, rendered by the controller as a merge of cluster defaults and user provided policies
func NodeDisruptionPolicyClusterStatus ¶
func NodeDisruptionPolicyClusterStatus() *NodeDisruptionPolicyClusterStatusApplyConfiguration
NodeDisruptionPolicyClusterStatusApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyClusterStatus type for use with apply.
func (*NodeDisruptionPolicyClusterStatusApplyConfiguration) WithFiles ¶
func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithFiles(values ...*NodeDisruptionPolicyStatusFileApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
WithFiles adds the given value to the Files field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Files field.
func (*NodeDisruptionPolicyClusterStatusApplyConfiguration) WithSSHKey ¶
func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithSSHKey(value *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
WithSSHKey sets the SSHKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SSHKey field is set to the value of the last call.
func (*NodeDisruptionPolicyClusterStatusApplyConfiguration) WithUnits ¶
func (b *NodeDisruptionPolicyClusterStatusApplyConfiguration) WithUnits(values ...*NodeDisruptionPolicyStatusUnitApplyConfiguration) *NodeDisruptionPolicyClusterStatusApplyConfiguration
WithUnits adds the given value to the Units field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Units field.
type NodeDisruptionPolicyConfigApplyConfiguration ¶
type NodeDisruptionPolicyConfigApplyConfiguration struct {
// files is a list of MachineConfig file definitions and actions to take to changes on those paths
// This list supports a maximum of 50 entries.
Files []NodeDisruptionPolicySpecFileApplyConfiguration `json:"files,omitempty"`
// units is a list MachineConfig unit definitions and actions to take on changes to those services
// This list supports a maximum of 50 entries.
Units []NodeDisruptionPolicySpecUnitApplyConfiguration `json:"units,omitempty"`
// sshkey maps to the ignition.sshkeys field in the MachineConfig object, definition an action for this
// will apply to all sshkey changes in the cluster
SSHKey *NodeDisruptionPolicySpecSSHKeyApplyConfiguration `json:"sshkey,omitempty"`
}
NodeDisruptionPolicyConfigApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyConfig type for use with apply.
NodeDisruptionPolicyConfig is the overall spec definition for files/units/sshkeys
func NodeDisruptionPolicyConfig ¶
func NodeDisruptionPolicyConfig() *NodeDisruptionPolicyConfigApplyConfiguration
NodeDisruptionPolicyConfigApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyConfig type for use with apply.
func (*NodeDisruptionPolicyConfigApplyConfiguration) WithFiles ¶
func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithFiles(values ...*NodeDisruptionPolicySpecFileApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
WithFiles adds the given value to the Files field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Files field.
func (*NodeDisruptionPolicyConfigApplyConfiguration) WithSSHKey ¶
func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithSSHKey(value *NodeDisruptionPolicySpecSSHKeyApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
WithSSHKey sets the SSHKey field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SSHKey field is set to the value of the last call.
func (*NodeDisruptionPolicyConfigApplyConfiguration) WithUnits ¶
func (b *NodeDisruptionPolicyConfigApplyConfiguration) WithUnits(values ...*NodeDisruptionPolicySpecUnitApplyConfiguration) *NodeDisruptionPolicyConfigApplyConfiguration
WithUnits adds the given value to the Units field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Units field.
type NodeDisruptionPolicySpecActionApplyConfiguration ¶
type NodeDisruptionPolicySpecActionApplyConfiguration struct {
// type represents the commands that will be carried out if this NodeDisruptionPolicySpecActionType is executed
// Valid values are Reboot, Drain, Reload, Restart, DaemonReload and None.
// reload/restart requires a corresponding service target specified in the reload/restart field.
// Other values require no further configuration
Type *operatorv1.NodeDisruptionPolicySpecActionType `json:"type,omitempty"`
// reload specifies the service to reload, only valid if type is reload
Reload *ReloadServiceApplyConfiguration `json:"reload,omitempty"`
// restart specifies the service to restart, only valid if type is restart
Restart *RestartServiceApplyConfiguration `json:"restart,omitempty"`
}
NodeDisruptionPolicySpecActionApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicySpecAction type for use with apply.
func NodeDisruptionPolicySpecAction ¶
func NodeDisruptionPolicySpecAction() *NodeDisruptionPolicySpecActionApplyConfiguration
NodeDisruptionPolicySpecActionApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicySpecAction type for use with apply.
func (*NodeDisruptionPolicySpecActionApplyConfiguration) WithReload ¶
func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithReload(value *ReloadServiceApplyConfiguration) *NodeDisruptionPolicySpecActionApplyConfiguration
WithReload sets the Reload field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reload field is set to the value of the last call.
func (*NodeDisruptionPolicySpecActionApplyConfiguration) WithRestart ¶
func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithRestart(value *RestartServiceApplyConfiguration) *NodeDisruptionPolicySpecActionApplyConfiguration
WithRestart sets the Restart field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Restart field is set to the value of the last call.
func (*NodeDisruptionPolicySpecActionApplyConfiguration) WithType ¶
func (b *NodeDisruptionPolicySpecActionApplyConfiguration) WithType(value operatorv1.NodeDisruptionPolicySpecActionType) *NodeDisruptionPolicySpecActionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type NodeDisruptionPolicySpecFileApplyConfiguration ¶
type NodeDisruptionPolicySpecFileApplyConfiguration struct {
// path is the location of a file being managed through a MachineConfig.
// The Actions in the policy will apply to changes to the file at this path.
Path *string `json:"path,omitempty"`
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicySpecActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicySpecFileApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicySpecFile type for use with apply.
NodeDisruptionPolicySpecFile is a file entry and corresponding actions to take and is used in the NodeDisruptionPolicyConfig object
func NodeDisruptionPolicySpecFile ¶
func NodeDisruptionPolicySpecFile() *NodeDisruptionPolicySpecFileApplyConfiguration
NodeDisruptionPolicySpecFileApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicySpecFile type for use with apply.
func (*NodeDisruptionPolicySpecFileApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicySpecFileApplyConfiguration) WithActions(values ...*NodeDisruptionPolicySpecActionApplyConfiguration) *NodeDisruptionPolicySpecFileApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*NodeDisruptionPolicySpecFileApplyConfiguration) WithPath ¶
func (b *NodeDisruptionPolicySpecFileApplyConfiguration) WithPath(value string) *NodeDisruptionPolicySpecFileApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
type NodeDisruptionPolicySpecSSHKeyApplyConfiguration ¶
type NodeDisruptionPolicySpecSSHKeyApplyConfiguration struct {
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicySpecActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicySpecSSHKeyApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicySpecSSHKey type for use with apply.
NodeDisruptionPolicySpecSSHKey is actions to take for any SSHKey change and is used in the NodeDisruptionPolicyConfig object
func NodeDisruptionPolicySpecSSHKey ¶
func NodeDisruptionPolicySpecSSHKey() *NodeDisruptionPolicySpecSSHKeyApplyConfiguration
NodeDisruptionPolicySpecSSHKeyApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicySpecSSHKey type for use with apply.
func (*NodeDisruptionPolicySpecSSHKeyApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicySpecSSHKeyApplyConfiguration) WithActions(values ...*NodeDisruptionPolicySpecActionApplyConfiguration) *NodeDisruptionPolicySpecSSHKeyApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
type NodeDisruptionPolicySpecUnitApplyConfiguration ¶
type NodeDisruptionPolicySpecUnitApplyConfiguration struct {
// name represents the service name of a systemd service managed through a MachineConfig
// Actions specified will be applied for changes to the named service.
// Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long.
// ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\".
// ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope".
Name *operatorv1.NodeDisruptionPolicyServiceName `json:"name,omitempty"`
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicySpecActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicySpecUnitApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicySpecUnit type for use with apply.
NodeDisruptionPolicySpecUnit is a systemd unit name and corresponding actions to take and is used in the NodeDisruptionPolicyConfig object
func NodeDisruptionPolicySpecUnit ¶
func NodeDisruptionPolicySpecUnit() *NodeDisruptionPolicySpecUnitApplyConfiguration
NodeDisruptionPolicySpecUnitApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicySpecUnit type for use with apply.
func (*NodeDisruptionPolicySpecUnitApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicySpecUnitApplyConfiguration) WithActions(values ...*NodeDisruptionPolicySpecActionApplyConfiguration) *NodeDisruptionPolicySpecUnitApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*NodeDisruptionPolicySpecUnitApplyConfiguration) WithName ¶
func (b *NodeDisruptionPolicySpecUnitApplyConfiguration) WithName(value operatorv1.NodeDisruptionPolicyServiceName) *NodeDisruptionPolicySpecUnitApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type NodeDisruptionPolicyStatusActionApplyConfiguration ¶
type NodeDisruptionPolicyStatusActionApplyConfiguration struct {
// type represents the commands that will be carried out if this NodeDisruptionPolicyStatusActionType is executed
// Valid values are Reboot, Drain, Reload, Restart, DaemonReload, None and Special.
// reload/restart requires a corresponding service target specified in the reload/restart field.
// Other values require no further configuration
Type *operatorv1.NodeDisruptionPolicyStatusActionType `json:"type,omitempty"`
// reload specifies the service to reload, only valid if type is reload
Reload *ReloadServiceApplyConfiguration `json:"reload,omitempty"`
// restart specifies the service to restart, only valid if type is restart
Restart *RestartServiceApplyConfiguration `json:"restart,omitempty"`
}
NodeDisruptionPolicyStatusActionApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyStatusAction type for use with apply.
func NodeDisruptionPolicyStatusAction ¶
func NodeDisruptionPolicyStatusAction() *NodeDisruptionPolicyStatusActionApplyConfiguration
NodeDisruptionPolicyStatusActionApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyStatusAction type for use with apply.
func (*NodeDisruptionPolicyStatusActionApplyConfiguration) WithReload ¶
func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithReload(value *ReloadServiceApplyConfiguration) *NodeDisruptionPolicyStatusActionApplyConfiguration
WithReload sets the Reload field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reload field is set to the value of the last call.
func (*NodeDisruptionPolicyStatusActionApplyConfiguration) WithRestart ¶
func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithRestart(value *RestartServiceApplyConfiguration) *NodeDisruptionPolicyStatusActionApplyConfiguration
WithRestart sets the Restart field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Restart field is set to the value of the last call.
func (*NodeDisruptionPolicyStatusActionApplyConfiguration) WithType ¶
func (b *NodeDisruptionPolicyStatusActionApplyConfiguration) WithType(value operatorv1.NodeDisruptionPolicyStatusActionType) *NodeDisruptionPolicyStatusActionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type NodeDisruptionPolicyStatusApplyConfiguration ¶
type NodeDisruptionPolicyStatusApplyConfiguration struct {
// clusterPolicies is a merge of cluster default and user provided node disruption policies.
ClusterPolicies *NodeDisruptionPolicyClusterStatusApplyConfiguration `json:"clusterPolicies,omitempty"`
}
NodeDisruptionPolicyStatusApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyStatus type for use with apply.
func NodeDisruptionPolicyStatus ¶
func NodeDisruptionPolicyStatus() *NodeDisruptionPolicyStatusApplyConfiguration
NodeDisruptionPolicyStatusApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyStatus type for use with apply.
func (*NodeDisruptionPolicyStatusApplyConfiguration) WithClusterPolicies ¶
func (b *NodeDisruptionPolicyStatusApplyConfiguration) WithClusterPolicies(value *NodeDisruptionPolicyClusterStatusApplyConfiguration) *NodeDisruptionPolicyStatusApplyConfiguration
WithClusterPolicies sets the ClusterPolicies field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterPolicies field is set to the value of the last call.
type NodeDisruptionPolicyStatusFileApplyConfiguration ¶
type NodeDisruptionPolicyStatusFileApplyConfiguration struct {
// path is the location of a file being managed through a MachineConfig.
// The Actions in the policy will apply to changes to the file at this path.
Path *string `json:"path,omitempty"`
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicyStatusActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicyStatusFileApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyStatusFile type for use with apply.
NodeDisruptionPolicyStatusFile is a file entry and corresponding actions to take and is used in the NodeDisruptionPolicyClusterStatus object
func NodeDisruptionPolicyStatusFile ¶
func NodeDisruptionPolicyStatusFile() *NodeDisruptionPolicyStatusFileApplyConfiguration
NodeDisruptionPolicyStatusFileApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyStatusFile type for use with apply.
func (*NodeDisruptionPolicyStatusFileApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicyStatusFileApplyConfiguration) WithActions(values ...*NodeDisruptionPolicyStatusActionApplyConfiguration) *NodeDisruptionPolicyStatusFileApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*NodeDisruptionPolicyStatusFileApplyConfiguration) WithPath ¶
func (b *NodeDisruptionPolicyStatusFileApplyConfiguration) WithPath(value string) *NodeDisruptionPolicyStatusFileApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
type NodeDisruptionPolicyStatusSSHKeyApplyConfiguration ¶
type NodeDisruptionPolicyStatusSSHKeyApplyConfiguration struct {
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicyStatusActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicyStatusSSHKeyApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyStatusSSHKey type for use with apply.
NodeDisruptionPolicyStatusSSHKey is actions to take for any SSHKey change and is used in the NodeDisruptionPolicyClusterStatus object
func NodeDisruptionPolicyStatusSSHKey ¶
func NodeDisruptionPolicyStatusSSHKey() *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration
NodeDisruptionPolicyStatusSSHKeyApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyStatusSSHKey type for use with apply.
func (*NodeDisruptionPolicyStatusSSHKeyApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration) WithActions(values ...*NodeDisruptionPolicyStatusActionApplyConfiguration) *NodeDisruptionPolicyStatusSSHKeyApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
type NodeDisruptionPolicyStatusUnitApplyConfiguration ¶
type NodeDisruptionPolicyStatusUnitApplyConfiguration struct {
// name represents the service name of a systemd service managed through a MachineConfig
// Actions specified will be applied for changes to the named service.
// Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long.
// ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\".
// ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope".
Name *operatorv1.NodeDisruptionPolicyServiceName `json:"name,omitempty"`
// actions represents the series of commands to be executed on changes to the file at
// the corresponding file path. Actions will be applied in the order that
// they are set in this list. If there are other incoming changes to other MachineConfig
// entries in the same update that require a reboot, the reboot will supercede these actions.
// Valid actions are Reboot, Drain, Reload, DaemonReload and None.
// The Reboot action and the None action cannot be used in conjunction with any of the other actions.
// This list supports a maximum of 10 entries.
Actions []NodeDisruptionPolicyStatusActionApplyConfiguration `json:"actions,omitempty"`
}
NodeDisruptionPolicyStatusUnitApplyConfiguration represents a declarative configuration of the NodeDisruptionPolicyStatusUnit type for use with apply.
NodeDisruptionPolicyStatusUnit is a systemd unit name and corresponding actions to take and is used in the NodeDisruptionPolicyClusterStatus object
func NodeDisruptionPolicyStatusUnit ¶
func NodeDisruptionPolicyStatusUnit() *NodeDisruptionPolicyStatusUnitApplyConfiguration
NodeDisruptionPolicyStatusUnitApplyConfiguration constructs a declarative configuration of the NodeDisruptionPolicyStatusUnit type for use with apply.
func (*NodeDisruptionPolicyStatusUnitApplyConfiguration) WithActions ¶
func (b *NodeDisruptionPolicyStatusUnitApplyConfiguration) WithActions(values ...*NodeDisruptionPolicyStatusActionApplyConfiguration) *NodeDisruptionPolicyStatusUnitApplyConfiguration
WithActions adds the given value to the Actions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Actions field.
func (*NodeDisruptionPolicyStatusUnitApplyConfiguration) WithName ¶
func (b *NodeDisruptionPolicyStatusUnitApplyConfiguration) WithName(value operatorv1.NodeDisruptionPolicyServiceName) *NodeDisruptionPolicyStatusUnitApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type NodePlacementApplyConfiguration ¶
type NodePlacementApplyConfiguration struct {
// nodeSelector is the node selector applied to ingress controller
// deployments.
//
// If set, the specified selector is used and replaces the default.
//
// If unset, the default depends on the value of the defaultPlacement
// field in the cluster config.openshift.io/v1/ingresses status.
//
// When defaultPlacement is Workers, the default is:
//
// kubernetes.io/os: linux
// node-role.kubernetes.io/worker: ”
//
// When defaultPlacement is ControlPlane, the default is:
//
// kubernetes.io/os: linux
// node-role.kubernetes.io/master: ”
//
// These defaults are subject to change.
//
// Note that using nodeSelector.matchExpressions is not supported. Only
// nodeSelector.matchLabels may be used. This is a limitation of the
// Kubernetes API: the pod spec does not allow complex expressions for
// node selectors.
NodeSelector *metav1.LabelSelectorApplyConfiguration `json:"nodeSelector,omitempty"`
// tolerations is a list of tolerations applied to ingress controller
// deployments.
//
// The default is an empty list.
//
// See https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}
NodePlacementApplyConfiguration represents a declarative configuration of the NodePlacement type for use with apply.
NodePlacement describes node scheduling configuration for an ingress controller.
func NodePlacement ¶
func NodePlacement() *NodePlacementApplyConfiguration
NodePlacementApplyConfiguration constructs a declarative configuration of the NodePlacement type for use with apply.
func (*NodePlacementApplyConfiguration) WithNodeSelector ¶
func (b *NodePlacementApplyConfiguration) WithNodeSelector(value *metav1.LabelSelectorApplyConfiguration) *NodePlacementApplyConfiguration
WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeSelector field is set to the value of the last call.
func (*NodePlacementApplyConfiguration) WithTolerations ¶
func (b *NodePlacementApplyConfiguration) WithTolerations(values ...corev1.Toleration) *NodePlacementApplyConfiguration
WithTolerations adds the given value to the Tolerations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Tolerations field.
type NodePortStrategyApplyConfiguration ¶
type NodePortStrategyApplyConfiguration struct {
// protocol specifies whether the IngressController expects incoming
// connections to use plain TCP or whether the IngressController expects
// PROXY protocol.
//
// PROXY protocol can be used with load balancers that support it to
// communicate the source addresses of client connections when
// forwarding those connections to the IngressController. Using PROXY
// protocol enables the IngressController to report those source
// addresses instead of reporting the load balancer's address in HTTP
// headers and logs. Note that enabling PROXY protocol on the
// IngressController will cause connections to fail if you are not using
// a load balancer that uses PROXY protocol to forward connections to
// the IngressController. See
// http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for
// information about PROXY protocol.
//
// The following values are valid for this field:
//
// * The empty string.
// * "TCP".
// * "PROXY".
//
// The empty string specifies the default, which is TCP without PROXY
// protocol. Note that the default is subject to change.
Protocol *operatorv1.IngressControllerProtocol `json:"protocol,omitempty"`
}
NodePortStrategyApplyConfiguration represents a declarative configuration of the NodePortStrategy type for use with apply.
NodePortStrategy holds parameters for the NodePortService endpoint publishing strategy.
func NodePortStrategy ¶
func NodePortStrategy() *NodePortStrategyApplyConfiguration
NodePortStrategyApplyConfiguration constructs a declarative configuration of the NodePortStrategy type for use with apply.
func (*NodePortStrategyApplyConfiguration) WithProtocol ¶
func (b *NodePortStrategyApplyConfiguration) WithProtocol(value operatorv1.IngressControllerProtocol) *NodePortStrategyApplyConfiguration
WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.
type NodeStatusApplyConfiguration ¶
type NodeStatusApplyConfiguration struct {
// nodeName is the name of the node
NodeName *string `json:"nodeName,omitempty"`
// currentRevision is the generation of the most recently successful deployment.
// Can not be set on creation of a nodeStatus. Updates must only increase the value.
CurrentRevision *int32 `json:"currentRevision,omitempty"`
// targetRevision is the generation of the deployment we're trying to apply.
// Can not be set on creation of a nodeStatus.
TargetRevision *int32 `json:"targetRevision,omitempty"`
// lastFailedRevision is the generation of the deployment we tried and failed to deploy.
LastFailedRevision *int32 `json:"lastFailedRevision,omitempty"`
// lastFailedTime is the time the last failed revision failed the last time.
LastFailedTime *metav1.Time `json:"lastFailedTime,omitempty"`
// lastFailedReason is a machine readable failure reason string.
LastFailedReason *string `json:"lastFailedReason,omitempty"`
// lastFailedCount is how often the installer pod of the last failed revision failed.
LastFailedCount *int `json:"lastFailedCount,omitempty"`
// lastFallbackCount is how often a fallback to a previous revision happened.
LastFallbackCount *int `json:"lastFallbackCount,omitempty"`
// lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.
LastFailedRevisionErrors []string `json:"lastFailedRevisionErrors,omitempty"`
}
NodeStatusApplyConfiguration represents a declarative configuration of the NodeStatus type for use with apply.
NodeStatus provides information about the current state of a particular node managed by this operator.
func NodeStatus ¶
func NodeStatus() *NodeStatusApplyConfiguration
NodeStatusApplyConfiguration constructs a declarative configuration of the NodeStatus type for use with apply.
func (*NodeStatusApplyConfiguration) WithCurrentRevision ¶
func (b *NodeStatusApplyConfiguration) WithCurrentRevision(value int32) *NodeStatusApplyConfiguration
WithCurrentRevision sets the CurrentRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CurrentRevision field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithLastFailedCount ¶
func (b *NodeStatusApplyConfiguration) WithLastFailedCount(value int) *NodeStatusApplyConfiguration
WithLastFailedCount sets the LastFailedCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastFailedCount field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithLastFailedReason ¶
func (b *NodeStatusApplyConfiguration) WithLastFailedReason(value string) *NodeStatusApplyConfiguration
WithLastFailedReason sets the LastFailedReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastFailedReason field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithLastFailedRevision ¶
func (b *NodeStatusApplyConfiguration) WithLastFailedRevision(value int32) *NodeStatusApplyConfiguration
WithLastFailedRevision sets the LastFailedRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastFailedRevision field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithLastFailedRevisionErrors ¶
func (b *NodeStatusApplyConfiguration) WithLastFailedRevisionErrors(values ...string) *NodeStatusApplyConfiguration
WithLastFailedRevisionErrors adds the given value to the LastFailedRevisionErrors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the LastFailedRevisionErrors field.
func (*NodeStatusApplyConfiguration) WithLastFailedTime ¶
func (b *NodeStatusApplyConfiguration) WithLastFailedTime(value metav1.Time) *NodeStatusApplyConfiguration
WithLastFailedTime sets the LastFailedTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastFailedTime field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithLastFallbackCount ¶
func (b *NodeStatusApplyConfiguration) WithLastFallbackCount(value int) *NodeStatusApplyConfiguration
WithLastFallbackCount sets the LastFallbackCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastFallbackCount field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithNodeName ¶
func (b *NodeStatusApplyConfiguration) WithNodeName(value string) *NodeStatusApplyConfiguration
WithNodeName sets the NodeName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeName field is set to the value of the last call.
func (*NodeStatusApplyConfiguration) WithTargetRevision ¶
func (b *NodeStatusApplyConfiguration) WithTargetRevision(value int32) *NodeStatusApplyConfiguration
WithTargetRevision sets the TargetRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TargetRevision field is set to the value of the last call.
type OAuthAPIServerStatusApplyConfiguration ¶
type OAuthAPIServerStatusApplyConfiguration struct {
// latestAvailableRevision is the latest revision used as suffix of revisioned
// secrets like encryption-config. A new revision causes a new deployment of pods.
LatestAvailableRevision *int32 `json:"latestAvailableRevision,omitempty"`
}
OAuthAPIServerStatusApplyConfiguration represents a declarative configuration of the OAuthAPIServerStatus type for use with apply.
func OAuthAPIServerStatus ¶
func OAuthAPIServerStatus() *OAuthAPIServerStatusApplyConfiguration
OAuthAPIServerStatusApplyConfiguration constructs a declarative configuration of the OAuthAPIServerStatus type for use with apply.
func (*OAuthAPIServerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *OAuthAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OAuthAPIServerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
type OLMApplyConfiguration ¶
type OLMApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec holds user settable values for configuration
Spec *OLMSpecApplyConfiguration `json:"spec,omitempty"`
// status holds observed values from the cluster. They may not be overridden.
Status *OLMStatusApplyConfiguration `json:"status,omitempty"`
}
OLMApplyConfiguration represents a declarative configuration of the OLM type for use with apply.
OLM provides information to configure an operator to manage the OLM controllers ¶
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractOLM ¶
func ExtractOLM(oLM *operatorv1.OLM, fieldManager string) (*OLMApplyConfiguration, error)
ExtractOLM extracts the applied configuration owned by fieldManager from oLM. If no managedFields are found in oLM for fieldManager, a OLMApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. oLM must be a unmodified OLM API object that was retrieved from the Kubernetes API. ExtractOLM provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOLMFrom ¶
func ExtractOLMFrom(oLM *operatorv1.OLM, fieldManager string, subresource string) (*OLMApplyConfiguration, error)
ExtractOLMFrom extracts the applied configuration owned by fieldManager from oLM for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. oLM must be a unmodified OLM API object that was retrieved from the Kubernetes API. ExtractOLMFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOLMStatus ¶
func ExtractOLMStatus(oLM *operatorv1.OLM, fieldManager string) (*OLMApplyConfiguration, error)
ExtractOLMStatus extracts the applied configuration owned by fieldManager from oLM for the status subresource.
func OLM ¶
func OLM(name string) *OLMApplyConfiguration
OLM constructs a declarative configuration of the OLM type for use with apply.
func (*OLMApplyConfiguration) GetAPIVersion ¶
func (b *OLMApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*OLMApplyConfiguration) GetKind ¶
func (b *OLMApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OLMApplyConfiguration) GetName ¶
func (b *OLMApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*OLMApplyConfiguration) GetNamespace ¶
func (b *OLMApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (OLMApplyConfiguration) IsApplyConfiguration ¶
func (b OLMApplyConfiguration) IsApplyConfiguration()
func (*OLMApplyConfiguration) WithAPIVersion ¶
func (b *OLMApplyConfiguration) WithAPIVersion(value string) *OLMApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*OLMApplyConfiguration) WithAnnotations ¶
func (b *OLMApplyConfiguration) WithAnnotations(entries map[string]string) *OLMApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*OLMApplyConfiguration) WithCreationTimestamp ¶
func (b *OLMApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OLMApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*OLMApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OLMApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OLMApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*OLMApplyConfiguration) WithDeletionTimestamp ¶
func (b *OLMApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OLMApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*OLMApplyConfiguration) WithFinalizers ¶
func (b *OLMApplyConfiguration) WithFinalizers(values ...string) *OLMApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*OLMApplyConfiguration) WithGenerateName ¶
func (b *OLMApplyConfiguration) WithGenerateName(value string) *OLMApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*OLMApplyConfiguration) WithGeneration ¶
func (b *OLMApplyConfiguration) WithGeneration(value int64) *OLMApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*OLMApplyConfiguration) WithKind ¶
func (b *OLMApplyConfiguration) WithKind(value string) *OLMApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*OLMApplyConfiguration) WithLabels ¶
func (b *OLMApplyConfiguration) WithLabels(entries map[string]string) *OLMApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*OLMApplyConfiguration) WithName ¶
func (b *OLMApplyConfiguration) WithName(value string) *OLMApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OLMApplyConfiguration) WithNamespace ¶
func (b *OLMApplyConfiguration) WithNamespace(value string) *OLMApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*OLMApplyConfiguration) WithOwnerReferences ¶
func (b *OLMApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OLMApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*OLMApplyConfiguration) WithResourceVersion ¶
func (b *OLMApplyConfiguration) WithResourceVersion(value string) *OLMApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*OLMApplyConfiguration) WithSpec ¶
func (b *OLMApplyConfiguration) WithSpec(value *OLMSpecApplyConfiguration) *OLMApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*OLMApplyConfiguration) WithStatus ¶
func (b *OLMApplyConfiguration) WithStatus(value *OLMStatusApplyConfiguration) *OLMApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*OLMApplyConfiguration) WithUID ¶
func (b *OLMApplyConfiguration) WithUID(value types.UID) *OLMApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type OLMSpecApplyConfiguration ¶
type OLMSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
OLMSpecApplyConfiguration represents a declarative configuration of the OLMSpec type for use with apply.
func OLMSpec ¶
func OLMSpec() *OLMSpecApplyConfiguration
OLMSpecApplyConfiguration constructs a declarative configuration of the OLMSpec type for use with apply.
func (*OLMSpecApplyConfiguration) WithLogLevel ¶
func (b *OLMSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OLMSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*OLMSpecApplyConfiguration) WithManagementState ¶
func (b *OLMSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OLMSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*OLMSpecApplyConfiguration) WithObservedConfig ¶
func (b *OLMSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OLMSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*OLMSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *OLMSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OLMSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*OLMSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *OLMSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OLMSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type OLMStatusApplyConfiguration ¶
type OLMStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
OLMStatusApplyConfiguration represents a declarative configuration of the OLMStatus type for use with apply.
func OLMStatus ¶
func OLMStatus() *OLMStatusApplyConfiguration
OLMStatusApplyConfiguration constructs a declarative configuration of the OLMStatus type for use with apply.
func (*OLMStatusApplyConfiguration) WithConditions ¶
func (b *OLMStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OLMStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*OLMStatusApplyConfiguration) WithGenerations ¶
func (b *OLMStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OLMStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*OLMStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *OLMStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OLMStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*OLMStatusApplyConfiguration) WithObservedGeneration ¶
func (b *OLMStatusApplyConfiguration) WithObservedGeneration(value int64) *OLMStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*OLMStatusApplyConfiguration) WithReadyReplicas ¶
func (b *OLMStatusApplyConfiguration) WithReadyReplicas(value int32) *OLMStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*OLMStatusApplyConfiguration) WithVersion ¶
func (b *OLMStatusApplyConfiguration) WithVersion(value string) *OLMStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type OVNKubernetesConfigApplyConfiguration ¶
type OVNKubernetesConfigApplyConfiguration struct {
// mtu is the MTU to use for the tunnel interface. This must be 100
// bytes smaller than the uplink mtu.
// Default is 1400
MTU *uint32 `json:"mtu,omitempty"`
// geneve port is the UDP port to be used by geneve encapulation.
// Default is 6081
GenevePort *uint32 `json:"genevePort,omitempty"`
// hybridOverlayConfig configures an additional overlay network for peers that are
// not using OVN.
HybridOverlayConfig *HybridOverlayConfigApplyConfiguration `json:"hybridOverlayConfig,omitempty"`
// ipsecConfig enables and configures IPsec for pods on the pod network within the
// cluster.
IPsecConfig *IPsecConfigApplyConfiguration `json:"ipsecConfig,omitempty"`
// policyAuditConfig is the configuration for network policy audit events. If unset,
// reported defaults are used.
PolicyAuditConfig *PolicyAuditConfigApplyConfiguration `json:"policyAuditConfig,omitempty"`
// gatewayConfig holds the configuration for node gateway options.
GatewayConfig *GatewayConfigApplyConfiguration `json:"gatewayConfig,omitempty"`
// v4InternalSubnet is a v4 subnet used internally by ovn-kubernetes in case the
// default one is being already used by something else. It must not overlap with
// any other subnet being used by OpenShift or by the node network. The size of the
// subnet must be larger than the number of nodes.
// Default is 100.64.0.0/16
V4InternalSubnet *string `json:"v4InternalSubnet,omitempty"`
// v6InternalSubnet is a v6 subnet used internally by ovn-kubernetes in case the
// default one is being already used by something else. It must not overlap with
// any other subnet being used by OpenShift or by the node network. The size of the
// subnet must be larger than the number of nodes.
// Default is fd98::/64
V6InternalSubnet *string `json:"v6InternalSubnet,omitempty"`
// egressIPConfig holds the configuration for EgressIP options.
EgressIPConfig *EgressIPConfigApplyConfiguration `json:"egressIPConfig,omitempty"`
// ipv4 allows users to configure IP settings for IPv4 connections. When ommitted,
// this means no opinions and the default configuration is used. Check individual
// fields within ipv4 for details of default values.
IPv4 *IPv4OVNKubernetesConfigApplyConfiguration `json:"ipv4,omitempty"`
// ipv6 allows users to configure IP settings for IPv6 connections. When ommitted,
// this means no opinions and the default configuration is used. Check individual
// fields within ipv4 for details of default values.
IPv6 *IPv6OVNKubernetesConfigApplyConfiguration `json:"ipv6,omitempty"`
// routeAdvertisements determines if the functionality to advertise cluster
// network routes through a dynamic routing protocol, such as BGP, is
// enabled or not. This functionality is configured through the
// ovn-kubernetes RouteAdvertisements CRD. Requires the 'FRR' routing
// capability provider to be enabled as an additional routing capability.
// Allowed values are "Enabled", "Disabled" and ommited. When omitted, this
// means the user has no opinion and the platform is left to choose
// reasonable defaults. These defaults are subject to change over time. The
// current default is "Disabled".
RouteAdvertisements *operatorv1.RouteAdvertisementsEnablement `json:"routeAdvertisements,omitempty"`
// transport sets the transport mode for pods on the default network.
// Allowed values are "NoOverlay" and "Geneve".
// "NoOverlay" avoids tunnel encapsulation, routing pod traffic directly between nodes.
// "Geneve" encapsulates pod traffic using Geneve tunnels between nodes.
// When omitted, this means the user has no opinion and the platform chooses
// a reasonable default which is subject to change over time.
// The current default is "Geneve".
// "NoOverlay" can only be set at installation time and cannot be changed afterwards.
// "Geneve" may be set explicitly at any time to lock in the current default.
Transport *operatorv1.TransportOption `json:"transport,omitempty"`
// noOverlayConfig contains configuration for no-overlay mode.
// This configuration applies to the default network only.
// It is required when transport is "NoOverlay".
// When omitted, this means the user does not configure no-overlay mode options.
NoOverlayConfig *NoOverlayConfigApplyConfiguration `json:"noOverlayConfig,omitempty"`
// bgpManagedConfig configures the BGP properties for networks (default network or CUDNs)
// in no-overlay mode that specify routing="Managed" in their noOverlayConfig.
// It is required when noOverlayConfig.routing is set to "Managed".
// When omitted, this means the user does not configure BGP for managed routing.
// This field can be set at installation time or on day 2, and can be modified at any time.
BGPManagedConfig *BGPManagedConfigApplyConfiguration `json:"bgpManagedConfig,omitempty"`
}
OVNKubernetesConfigApplyConfiguration represents a declarative configuration of the OVNKubernetesConfig type for use with apply.
ovnKubernetesConfig contains the configuration parameters for networks using the ovn-kubernetes network project
func OVNKubernetesConfig ¶
func OVNKubernetesConfig() *OVNKubernetesConfigApplyConfiguration
OVNKubernetesConfigApplyConfiguration constructs a declarative configuration of the OVNKubernetesConfig type for use with apply.
func (*OVNKubernetesConfigApplyConfiguration) WithBGPManagedConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithBGPManagedConfig(value *BGPManagedConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithBGPManagedConfig sets the BGPManagedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BGPManagedConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithEgressIPConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithEgressIPConfig(value *EgressIPConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithEgressIPConfig sets the EgressIPConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EgressIPConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithGatewayConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithGatewayConfig(value *GatewayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithGatewayConfig sets the GatewayConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GatewayConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithGenevePort ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithGenevePort(value uint32) *OVNKubernetesConfigApplyConfiguration
WithGenevePort sets the GenevePort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenevePort field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithHybridOverlayConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithHybridOverlayConfig(value *HybridOverlayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithHybridOverlayConfig sets the HybridOverlayConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HybridOverlayConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithIPsecConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithIPsecConfig(value *IPsecConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithIPsecConfig sets the IPsecConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPsecConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithIPv4 ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithIPv4(value *IPv4OVNKubernetesConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithIPv4 sets the IPv4 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv4 field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithIPv6 ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithIPv6(value *IPv6OVNKubernetesConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithIPv6 sets the IPv6 field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPv6 field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithMTU ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithMTU(value uint32) *OVNKubernetesConfigApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithNoOverlayConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithNoOverlayConfig(value *NoOverlayConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithNoOverlayConfig sets the NoOverlayConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoOverlayConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithPolicyAuditConfig ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithPolicyAuditConfig(value *PolicyAuditConfigApplyConfiguration) *OVNKubernetesConfigApplyConfiguration
WithPolicyAuditConfig sets the PolicyAuditConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PolicyAuditConfig field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithRouteAdvertisements ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithRouteAdvertisements(value operatorv1.RouteAdvertisementsEnablement) *OVNKubernetesConfigApplyConfiguration
WithRouteAdvertisements sets the RouteAdvertisements field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RouteAdvertisements field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithTransport ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithTransport(value operatorv1.TransportOption) *OVNKubernetesConfigApplyConfiguration
WithTransport sets the Transport field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Transport field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithV4InternalSubnet ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithV4InternalSubnet(value string) *OVNKubernetesConfigApplyConfiguration
WithV4InternalSubnet sets the V4InternalSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the V4InternalSubnet field is set to the value of the last call.
func (*OVNKubernetesConfigApplyConfiguration) WithV6InternalSubnet ¶
func (b *OVNKubernetesConfigApplyConfiguration) WithV6InternalSubnet(value string) *OVNKubernetesConfigApplyConfiguration
WithV6InternalSubnet sets the V6InternalSubnet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the V6InternalSubnet field is set to the value of the last call.
type OpenShiftAPIServerApplyConfiguration ¶
type OpenShiftAPIServerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec is the specification of the desired behavior of the OpenShift API Server.
Spec *OpenShiftAPIServerSpecApplyConfiguration `json:"spec,omitempty"`
// status defines the observed status of the OpenShift API Server.
Status *OpenShiftAPIServerStatusApplyConfiguration `json:"status,omitempty"`
}
OpenShiftAPIServerApplyConfiguration represents a declarative configuration of the OpenShiftAPIServer type for use with apply.
OpenShiftAPIServer provides information to configure an operator to manage openshift-apiserver.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractOpenShiftAPIServer ¶
func ExtractOpenShiftAPIServer(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string) (*OpenShiftAPIServerApplyConfiguration, error)
ExtractOpenShiftAPIServer extracts the applied configuration owned by fieldManager from openShiftAPIServer. If no managedFields are found in openShiftAPIServer for fieldManager, a OpenShiftAPIServerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. openShiftAPIServer must be a unmodified OpenShiftAPIServer API object that was retrieved from the Kubernetes API. ExtractOpenShiftAPIServer provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOpenShiftAPIServerFrom ¶
func ExtractOpenShiftAPIServerFrom(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string, subresource string) (*OpenShiftAPIServerApplyConfiguration, error)
ExtractOpenShiftAPIServerFrom extracts the applied configuration owned by fieldManager from openShiftAPIServer for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. openShiftAPIServer must be a unmodified OpenShiftAPIServer API object that was retrieved from the Kubernetes API. ExtractOpenShiftAPIServerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOpenShiftAPIServerStatus ¶
func ExtractOpenShiftAPIServerStatus(openShiftAPIServer *operatorv1.OpenShiftAPIServer, fieldManager string) (*OpenShiftAPIServerApplyConfiguration, error)
ExtractOpenShiftAPIServerStatus extracts the applied configuration owned by fieldManager from openShiftAPIServer for the status subresource.
func OpenShiftAPIServer ¶
func OpenShiftAPIServer(name string) *OpenShiftAPIServerApplyConfiguration
OpenShiftAPIServer constructs a declarative configuration of the OpenShiftAPIServer type for use with apply.
func (*OpenShiftAPIServerApplyConfiguration) GetAPIVersion ¶
func (b *OpenShiftAPIServerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*OpenShiftAPIServerApplyConfiguration) GetKind ¶
func (b *OpenShiftAPIServerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OpenShiftAPIServerApplyConfiguration) GetName ¶
func (b *OpenShiftAPIServerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*OpenShiftAPIServerApplyConfiguration) GetNamespace ¶
func (b *OpenShiftAPIServerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (OpenShiftAPIServerApplyConfiguration) IsApplyConfiguration ¶
func (b OpenShiftAPIServerApplyConfiguration) IsApplyConfiguration()
func (*OpenShiftAPIServerApplyConfiguration) WithAPIVersion ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithAPIVersion(value string) *OpenShiftAPIServerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithAnnotations ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenShiftAPIServerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*OpenShiftAPIServerApplyConfiguration) WithCreationTimestamp ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OpenShiftAPIServerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenShiftAPIServerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithDeletionTimestamp ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OpenShiftAPIServerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithFinalizers ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithFinalizers(values ...string) *OpenShiftAPIServerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*OpenShiftAPIServerApplyConfiguration) WithGenerateName ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithGenerateName(value string) *OpenShiftAPIServerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithGeneration ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithGeneration(value int64) *OpenShiftAPIServerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithKind ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithKind(value string) *OpenShiftAPIServerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithLabels ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithLabels(entries map[string]string) *OpenShiftAPIServerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*OpenShiftAPIServerApplyConfiguration) WithName ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithName(value string) *OpenShiftAPIServerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithNamespace ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithNamespace(value string) *OpenShiftAPIServerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithOwnerReferences ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*OpenShiftAPIServerApplyConfiguration) WithResourceVersion ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithResourceVersion(value string) *OpenShiftAPIServerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithSpec ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithSpec(value *OpenShiftAPIServerSpecApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithStatus ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithStatus(value *OpenShiftAPIServerStatusApplyConfiguration) *OpenShiftAPIServerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*OpenShiftAPIServerApplyConfiguration) WithUID ¶
func (b *OpenShiftAPIServerApplyConfiguration) WithUID(value types.UID) *OpenShiftAPIServerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type OpenShiftAPIServerSpecApplyConfiguration ¶
type OpenShiftAPIServerSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
OpenShiftAPIServerSpecApplyConfiguration represents a declarative configuration of the OpenShiftAPIServerSpec type for use with apply.
func OpenShiftAPIServerSpec ¶
func OpenShiftAPIServerSpec() *OpenShiftAPIServerSpecApplyConfiguration
OpenShiftAPIServerSpecApplyConfiguration constructs a declarative configuration of the OpenShiftAPIServerSpec type for use with apply.
func (*OpenShiftAPIServerSpecApplyConfiguration) WithLogLevel ¶
func (b *OpenShiftAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OpenShiftAPIServerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*OpenShiftAPIServerSpecApplyConfiguration) WithManagementState ¶
func (b *OpenShiftAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OpenShiftAPIServerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*OpenShiftAPIServerSpecApplyConfiguration) WithObservedConfig ¶
func (b *OpenShiftAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OpenShiftAPIServerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*OpenShiftAPIServerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *OpenShiftAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OpenShiftAPIServerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*OpenShiftAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *OpenShiftAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OpenShiftAPIServerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type OpenShiftAPIServerStatusApplyConfiguration ¶
type OpenShiftAPIServerStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
OpenShiftAPIServerStatusApplyConfiguration represents a declarative configuration of the OpenShiftAPIServerStatus type for use with apply.
func OpenShiftAPIServerStatus ¶
func OpenShiftAPIServerStatus() *OpenShiftAPIServerStatusApplyConfiguration
OpenShiftAPIServerStatusApplyConfiguration constructs a declarative configuration of the OpenShiftAPIServerStatus type for use with apply.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithConditions ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OpenShiftAPIServerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithGenerations ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OpenShiftAPIServerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OpenShiftAPIServerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *OpenShiftAPIServerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *OpenShiftAPIServerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*OpenShiftAPIServerStatusApplyConfiguration) WithVersion ¶
func (b *OpenShiftAPIServerStatusApplyConfiguration) WithVersion(value string) *OpenShiftAPIServerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type OpenShiftControllerManagerApplyConfiguration ¶
type OpenShiftControllerManagerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *OpenShiftControllerManagerSpecApplyConfiguration `json:"spec,omitempty"`
Status *OpenShiftControllerManagerStatusApplyConfiguration `json:"status,omitempty"`
}
OpenShiftControllerManagerApplyConfiguration represents a declarative configuration of the OpenShiftControllerManager type for use with apply.
OpenShiftControllerManager provides information to configure an operator to manage openshift-controller-manager.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractOpenShiftControllerManager ¶
func ExtractOpenShiftControllerManager(openShiftControllerManager *operatorv1.OpenShiftControllerManager, fieldManager string) (*OpenShiftControllerManagerApplyConfiguration, error)
ExtractOpenShiftControllerManager extracts the applied configuration owned by fieldManager from openShiftControllerManager. If no managedFields are found in openShiftControllerManager for fieldManager, a OpenShiftControllerManagerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. openShiftControllerManager must be a unmodified OpenShiftControllerManager API object that was retrieved from the Kubernetes API. ExtractOpenShiftControllerManager provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOpenShiftControllerManagerFrom ¶
func ExtractOpenShiftControllerManagerFrom(openShiftControllerManager *operatorv1.OpenShiftControllerManager, fieldManager string, subresource string) (*OpenShiftControllerManagerApplyConfiguration, error)
ExtractOpenShiftControllerManagerFrom extracts the applied configuration owned by fieldManager from openShiftControllerManager for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. openShiftControllerManager must be a unmodified OpenShiftControllerManager API object that was retrieved from the Kubernetes API. ExtractOpenShiftControllerManagerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractOpenShiftControllerManagerStatus ¶
func ExtractOpenShiftControllerManagerStatus(openShiftControllerManager *operatorv1.OpenShiftControllerManager, fieldManager string) (*OpenShiftControllerManagerApplyConfiguration, error)
ExtractOpenShiftControllerManagerStatus extracts the applied configuration owned by fieldManager from openShiftControllerManager for the status subresource.
func OpenShiftControllerManager ¶
func OpenShiftControllerManager(name string) *OpenShiftControllerManagerApplyConfiguration
OpenShiftControllerManager constructs a declarative configuration of the OpenShiftControllerManager type for use with apply.
func (*OpenShiftControllerManagerApplyConfiguration) GetAPIVersion ¶
func (b *OpenShiftControllerManagerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*OpenShiftControllerManagerApplyConfiguration) GetKind ¶
func (b *OpenShiftControllerManagerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*OpenShiftControllerManagerApplyConfiguration) GetName ¶
func (b *OpenShiftControllerManagerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*OpenShiftControllerManagerApplyConfiguration) GetNamespace ¶
func (b *OpenShiftControllerManagerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (OpenShiftControllerManagerApplyConfiguration) IsApplyConfiguration ¶
func (b OpenShiftControllerManagerApplyConfiguration) IsApplyConfiguration()
func (*OpenShiftControllerManagerApplyConfiguration) WithAPIVersion ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithAPIVersion(value string) *OpenShiftControllerManagerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithAnnotations ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *OpenShiftControllerManagerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*OpenShiftControllerManagerApplyConfiguration) WithCreationTimestamp ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *OpenShiftControllerManagerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *OpenShiftControllerManagerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithDeletionTimestamp ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *OpenShiftControllerManagerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithFinalizers ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithFinalizers(values ...string) *OpenShiftControllerManagerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*OpenShiftControllerManagerApplyConfiguration) WithGenerateName ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithGenerateName(value string) *OpenShiftControllerManagerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithGeneration ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithGeneration(value int64) *OpenShiftControllerManagerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithKind ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithKind(value string) *OpenShiftControllerManagerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithLabels ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *OpenShiftControllerManagerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*OpenShiftControllerManagerApplyConfiguration) WithName ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithName(value string) *OpenShiftControllerManagerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithNamespace ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithNamespace(value string) *OpenShiftControllerManagerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithOwnerReferences ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*OpenShiftControllerManagerApplyConfiguration) WithResourceVersion ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithResourceVersion(value string) *OpenShiftControllerManagerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithSpec ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithSpec(value *OpenShiftControllerManagerSpecApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithStatus ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithStatus(value *OpenShiftControllerManagerStatusApplyConfiguration) *OpenShiftControllerManagerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*OpenShiftControllerManagerApplyConfiguration) WithUID ¶
func (b *OpenShiftControllerManagerApplyConfiguration) WithUID(value types.UID) *OpenShiftControllerManagerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type OpenShiftControllerManagerSpecApplyConfiguration ¶
type OpenShiftControllerManagerSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
OpenShiftControllerManagerSpecApplyConfiguration represents a declarative configuration of the OpenShiftControllerManagerSpec type for use with apply.
func OpenShiftControllerManagerSpec ¶
func OpenShiftControllerManagerSpec() *OpenShiftControllerManagerSpecApplyConfiguration
OpenShiftControllerManagerSpecApplyConfiguration constructs a declarative configuration of the OpenShiftControllerManagerSpec type for use with apply.
func (*OpenShiftControllerManagerSpecApplyConfiguration) WithLogLevel ¶
func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OpenShiftControllerManagerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*OpenShiftControllerManagerSpecApplyConfiguration) WithManagementState ¶
func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OpenShiftControllerManagerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*OpenShiftControllerManagerSpecApplyConfiguration) WithObservedConfig ¶
func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OpenShiftControllerManagerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*OpenShiftControllerManagerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OpenShiftControllerManagerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*OpenShiftControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *OpenShiftControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OpenShiftControllerManagerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type OpenShiftControllerManagerStatusApplyConfiguration ¶
type OpenShiftControllerManagerStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
OpenShiftControllerManagerStatusApplyConfiguration represents a declarative configuration of the OpenShiftControllerManagerStatus type for use with apply.
func OpenShiftControllerManagerStatus ¶
func OpenShiftControllerManagerStatus() *OpenShiftControllerManagerStatusApplyConfiguration
OpenShiftControllerManagerStatusApplyConfiguration constructs a declarative configuration of the OpenShiftControllerManagerStatus type for use with apply.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithConditions ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OpenShiftControllerManagerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithGenerations ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OpenShiftControllerManagerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OpenShiftControllerManagerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *OpenShiftControllerManagerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *OpenShiftControllerManagerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*OpenShiftControllerManagerStatusApplyConfiguration) WithVersion ¶
func (b *OpenShiftControllerManagerStatusApplyConfiguration) WithVersion(value string) *OpenShiftControllerManagerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type OpenShiftSDNConfigApplyConfiguration ¶
type OpenShiftSDNConfigApplyConfiguration struct {
// mode is one of "Multitenant", "Subnet", or "NetworkPolicy"
Mode *operatorv1.SDNMode `json:"mode,omitempty"`
// vxlanPort is the port to use for all vxlan packets. The default is 4789.
VXLANPort *uint32 `json:"vxlanPort,omitempty"`
// mtu is the mtu to use for the tunnel interface. Defaults to 1450 if unset.
// This must be 50 bytes smaller than the machine's uplink.
MTU *uint32 `json:"mtu,omitempty"`
// useExternalOpenvswitch used to control whether the operator would deploy an OVS
// DaemonSet itself or expect someone else to start OVS. As of 4.6, OVS is always
// run as a system service, and this flag is ignored.
UseExternalOpenvswitch *bool `json:"useExternalOpenvswitch,omitempty"`
// enableUnidling controls whether or not the service proxy will support idling
// and unidling of services. By default, unidling is enabled.
EnableUnidling *bool `json:"enableUnidling,omitempty"`
}
OpenShiftSDNConfigApplyConfiguration represents a declarative configuration of the OpenShiftSDNConfig type for use with apply.
OpenShiftSDNConfig was used to configure the OpenShift SDN plugin. It is no longer used.
func OpenShiftSDNConfig ¶
func OpenShiftSDNConfig() *OpenShiftSDNConfigApplyConfiguration
OpenShiftSDNConfigApplyConfiguration constructs a declarative configuration of the OpenShiftSDNConfig type for use with apply.
func (*OpenShiftSDNConfigApplyConfiguration) WithEnableUnidling ¶
func (b *OpenShiftSDNConfigApplyConfiguration) WithEnableUnidling(value bool) *OpenShiftSDNConfigApplyConfiguration
WithEnableUnidling sets the EnableUnidling field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableUnidling field is set to the value of the last call.
func (*OpenShiftSDNConfigApplyConfiguration) WithMTU ¶
func (b *OpenShiftSDNConfigApplyConfiguration) WithMTU(value uint32) *OpenShiftSDNConfigApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*OpenShiftSDNConfigApplyConfiguration) WithMode ¶
func (b *OpenShiftSDNConfigApplyConfiguration) WithMode(value operatorv1.SDNMode) *OpenShiftSDNConfigApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*OpenShiftSDNConfigApplyConfiguration) WithUseExternalOpenvswitch ¶
func (b *OpenShiftSDNConfigApplyConfiguration) WithUseExternalOpenvswitch(value bool) *OpenShiftSDNConfigApplyConfiguration
WithUseExternalOpenvswitch sets the UseExternalOpenvswitch field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseExternalOpenvswitch field is set to the value of the last call.
func (*OpenShiftSDNConfigApplyConfiguration) WithVXLANPort ¶
func (b *OpenShiftSDNConfigApplyConfiguration) WithVXLANPort(value uint32) *OpenShiftSDNConfigApplyConfiguration
WithVXLANPort sets the VXLANPort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VXLANPort field is set to the value of the last call.
type OpenStackLoadBalancerParametersApplyConfiguration ¶
type OpenStackLoadBalancerParametersApplyConfiguration struct {
// floatingIP specifies the IP address that the load balancer will use.
// When not specified, an IP address will be assigned randomly by the OpenStack cloud provider.
// When specified, the floating IP has to be pre-created. If the
// specified value is not a floating IP or is already claimed, the
// OpenStack cloud provider won't be able to provision the load
// balancer.
// This field may only be used if the IngressController has External scope.
// This value must be a valid IPv4 or IPv6 address.
FloatingIP *string `json:"floatingIP,omitempty"`
}
OpenStackLoadBalancerParametersApplyConfiguration represents a declarative configuration of the OpenStackLoadBalancerParameters type for use with apply.
OpenStackLoadBalancerParameters provides configuration settings that are specific to OpenStack load balancers.
func OpenStackLoadBalancerParameters ¶
func OpenStackLoadBalancerParameters() *OpenStackLoadBalancerParametersApplyConfiguration
OpenStackLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the OpenStackLoadBalancerParameters type for use with apply.
func (*OpenStackLoadBalancerParametersApplyConfiguration) WithFloatingIP ¶
func (b *OpenStackLoadBalancerParametersApplyConfiguration) WithFloatingIP(value string) *OpenStackLoadBalancerParametersApplyConfiguration
WithFloatingIP sets the FloatingIP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FloatingIP field is set to the value of the last call.
type OperatorConditionApplyConfiguration ¶
type OperatorConditionApplyConfiguration struct {
// type of condition in CamelCase or in foo.example.com/CamelCase.
// ---
// Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
// useful (see .node.status.conditions), the ability to deconflict is important.
// The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
Type *string `json:"type,omitempty"`
// status of the condition, one of True, False, Unknown.
Status *operatorv1.ConditionStatus `json:"status,omitempty"`
// lastTransitionTime is the last time the condition transitioned from one status to another.
// This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"`
Reason *string `json:"reason,omitempty"`
Message *string `json:"message,omitempty"`
}
OperatorConditionApplyConfiguration represents a declarative configuration of the OperatorCondition type for use with apply.
OperatorCondition is just the standard condition fields.
func OperatorCondition ¶
func OperatorCondition() *OperatorConditionApplyConfiguration
OperatorConditionApplyConfiguration constructs a declarative configuration of the OperatorCondition type for use with apply.
func (*OperatorConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *OperatorConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *OperatorConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*OperatorConditionApplyConfiguration) WithMessage ¶
func (b *OperatorConditionApplyConfiguration) WithMessage(value string) *OperatorConditionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*OperatorConditionApplyConfiguration) WithReason ¶
func (b *OperatorConditionApplyConfiguration) WithReason(value string) *OperatorConditionApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*OperatorConditionApplyConfiguration) WithStatus ¶
func (b *OperatorConditionApplyConfiguration) WithStatus(value operatorv1.ConditionStatus) *OperatorConditionApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*OperatorConditionApplyConfiguration) WithType ¶
func (b *OperatorConditionApplyConfiguration) WithType(value string) *OperatorConditionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type OperatorSpecApplyConfiguration ¶
type OperatorSpecApplyConfiguration struct {
// managementState indicates whether and how the operator should manage the component
ManagementState *operatorv1.ManagementState `json:"managementState,omitempty"`
// logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a
// simple way to manage coarse grained logging choices that operators have to interpret for their operands.
//
// Valid values are: "Normal", "Debug", "Trace", "TraceAll".
// Defaults to "Normal".
LogLevel *operatorv1.LogLevel `json:"logLevel,omitempty"`
// operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a
// simple way to manage coarse grained logging choices that operators have to interpret for themselves.
//
// Valid values are: "Normal", "Debug", "Trace", "TraceAll".
// Defaults to "Normal".
OperatorLogLevel *operatorv1.LogLevel `json:"operatorLogLevel,omitempty"`
// unsupportedConfigOverrides overrides the final configuration that was computed by the operator.
// Red Hat does not support the use of this field.
// Misuse of this field could lead to unexpected behavior or conflict with other configuration options.
// Seek guidance from the Red Hat support before using this field.
// Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster.
UnsupportedConfigOverrides *runtime.RawExtension `json:"unsupportedConfigOverrides,omitempty"`
// observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because
// it is an input to the level for the operator
ObservedConfig *runtime.RawExtension `json:"observedConfig,omitempty"`
}
OperatorSpecApplyConfiguration represents a declarative configuration of the OperatorSpec type for use with apply.
OperatorSpec contains common fields operators need. It is intended to be anonymous included inside of the Spec struct for your particular operator.
func OperatorSpec ¶
func OperatorSpec() *OperatorSpecApplyConfiguration
OperatorSpecApplyConfiguration constructs a declarative configuration of the OperatorSpec type for use with apply.
func (*OperatorSpecApplyConfiguration) WithLogLevel ¶
func (b *OperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *OperatorSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*OperatorSpecApplyConfiguration) WithManagementState ¶
func (b *OperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *OperatorSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*OperatorSpecApplyConfiguration) WithObservedConfig ¶
func (b *OperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *OperatorSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*OperatorSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *OperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *OperatorSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*OperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *OperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *OperatorSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type OperatorStatusApplyConfiguration ¶
type OperatorStatusApplyConfiguration struct {
// observedGeneration is the last generation change you've dealt with
ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
// conditions is a list of conditions and their status
Conditions []OperatorConditionApplyConfiguration `json:"conditions,omitempty"`
// version is the level this availability applies to
Version *string `json:"version,omitempty"`
// readyReplicas indicates how many replicas are ready and at the desired state
ReadyReplicas *int32 `json:"readyReplicas,omitempty"`
// latestAvailableRevision is the deploymentID of the most recent deployment
LatestAvailableRevision *int32 `json:"latestAvailableRevision,omitempty"`
// generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
Generations []GenerationStatusApplyConfiguration `json:"generations,omitempty"`
}
OperatorStatusApplyConfiguration represents a declarative configuration of the OperatorStatus type for use with apply.
func OperatorStatus ¶
func OperatorStatus() *OperatorStatusApplyConfiguration
OperatorStatusApplyConfiguration constructs a declarative configuration of the OperatorStatus type for use with apply.
func (*OperatorStatusApplyConfiguration) WithConditions ¶
func (b *OperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *OperatorStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*OperatorStatusApplyConfiguration) WithGenerations ¶
func (b *OperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *OperatorStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*OperatorStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *OperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *OperatorStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*OperatorStatusApplyConfiguration) WithObservedGeneration ¶
func (b *OperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *OperatorStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*OperatorStatusApplyConfiguration) WithReadyReplicas ¶
func (b *OperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *OperatorStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*OperatorStatusApplyConfiguration) WithVersion ¶
func (b *OperatorStatusApplyConfiguration) WithVersion(value string) *OperatorStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type PartialSelectorApplyConfiguration ¶
type PartialSelectorApplyConfiguration struct {
// machineResourceSelector is a label selector that can be used to select machine resources like MachineSets.
MachineResourceSelector *metav1.LabelSelectorApplyConfiguration `json:"machineResourceSelector,omitempty"`
}
PartialSelectorApplyConfiguration represents a declarative configuration of the PartialSelector type for use with apply.
PartialSelector provides label selector(s) that can be used to match machine management resources.
func PartialSelector ¶
func PartialSelector() *PartialSelectorApplyConfiguration
PartialSelectorApplyConfiguration constructs a declarative configuration of the PartialSelector type for use with apply.
func (*PartialSelectorApplyConfiguration) WithMachineResourceSelector ¶
func (b *PartialSelectorApplyConfiguration) WithMachineResourceSelector(value *metav1.LabelSelectorApplyConfiguration) *PartialSelectorApplyConfiguration
WithMachineResourceSelector sets the MachineResourceSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MachineResourceSelector field is set to the value of the last call.
type PerspectiveApplyConfiguration ¶
type PerspectiveApplyConfiguration struct {
// id defines the id of the perspective.
// Example: "dev", "admin".
// The available perspective ids can be found in the code snippet section next to the yaml editor.
// Incorrect or unknown ids will be ignored.
ID *string `json:"id,omitempty"`
// visibility defines the state of perspective along with access review checks if needed for that perspective.
Visibility *PerspectiveVisibilityApplyConfiguration `json:"visibility,omitempty"`
// pinnedResources defines the list of default pinned resources that users will see on the perspective navigation if they have not customized these pinned resources themselves.
// The list of available Kubernetes resources could be read via `kubectl api-resources`.
// The console will also provide a configuration UI and a YAML snippet that will list the available resources that can be pinned to the navigation.
// Incorrect or unknown resources will be ignored.
PinnedResources *[]PinnedResourceReferenceApplyConfiguration `json:"pinnedResources,omitempty"`
}
PerspectiveApplyConfiguration represents a declarative configuration of the Perspective type for use with apply.
Perspective defines a perspective that cluster admins want to show/hide in the perspective switcher dropdown
func Perspective ¶
func Perspective() *PerspectiveApplyConfiguration
PerspectiveApplyConfiguration constructs a declarative configuration of the Perspective type for use with apply.
func (*PerspectiveApplyConfiguration) WithID ¶
func (b *PerspectiveApplyConfiguration) WithID(value string) *PerspectiveApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*PerspectiveApplyConfiguration) WithPinnedResources ¶
func (b *PerspectiveApplyConfiguration) WithPinnedResources(values ...*PinnedResourceReferenceApplyConfiguration) *PerspectiveApplyConfiguration
WithPinnedResources adds the given value to the PinnedResources field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the PinnedResources field.
func (*PerspectiveApplyConfiguration) WithVisibility ¶
func (b *PerspectiveApplyConfiguration) WithVisibility(value *PerspectiveVisibilityApplyConfiguration) *PerspectiveApplyConfiguration
WithVisibility sets the Visibility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Visibility field is set to the value of the last call.
type PerspectiveVisibilityApplyConfiguration ¶
type PerspectiveVisibilityApplyConfiguration struct {
// state defines the perspective is enabled or disabled or access review check is required.
State *operatorv1.PerspectiveState `json:"state,omitempty"`
// accessReview defines required and missing access review checks.
AccessReview *ResourceAttributesAccessReviewApplyConfiguration `json:"accessReview,omitempty"`
}
PerspectiveVisibilityApplyConfiguration represents a declarative configuration of the PerspectiveVisibility type for use with apply.
PerspectiveVisibility defines the criteria to show/hide a perspective
func PerspectiveVisibility ¶
func PerspectiveVisibility() *PerspectiveVisibilityApplyConfiguration
PerspectiveVisibilityApplyConfiguration constructs a declarative configuration of the PerspectiveVisibility type for use with apply.
func (*PerspectiveVisibilityApplyConfiguration) WithAccessReview ¶
func (b *PerspectiveVisibilityApplyConfiguration) WithAccessReview(value *ResourceAttributesAccessReviewApplyConfiguration) *PerspectiveVisibilityApplyConfiguration
WithAccessReview sets the AccessReview field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AccessReview field is set to the value of the last call.
func (*PerspectiveVisibilityApplyConfiguration) WithState ¶
func (b *PerspectiveVisibilityApplyConfiguration) WithState(value operatorv1.PerspectiveState) *PerspectiveVisibilityApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type PinnedResourceReferenceApplyConfiguration ¶
type PinnedResourceReferenceApplyConfiguration struct {
// group is the API Group of the Resource.
// Enter empty string for the core group.
// This value should consist of only lowercase alphanumeric characters, hyphens and periods.
// Example: "", "apps", "build.openshift.io", etc.
Group *string `json:"group,omitempty"`
// version is the API Version of the Resource.
// This value should consist of only lowercase alphanumeric characters.
// Example: "v1", "v1beta1", etc.
Version *string `json:"version,omitempty"`
// resource is the type that is being referenced.
// It is normally the plural form of the resource kind in lowercase.
// This value should consist of only lowercase alphanumeric characters and hyphens.
// Example: "deployments", "deploymentconfigs", "pods", etc.
Resource *string `json:"resource,omitempty"`
}
PinnedResourceReferenceApplyConfiguration represents a declarative configuration of the PinnedResourceReference type for use with apply.
PinnedResourceReference includes the group, version and type of resource
func PinnedResourceReference ¶
func PinnedResourceReference() *PinnedResourceReferenceApplyConfiguration
PinnedResourceReferenceApplyConfiguration constructs a declarative configuration of the PinnedResourceReference type for use with apply.
func (*PinnedResourceReferenceApplyConfiguration) WithGroup ¶
func (b *PinnedResourceReferenceApplyConfiguration) WithGroup(value string) *PinnedResourceReferenceApplyConfiguration
WithGroup sets the Group field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Group field is set to the value of the last call.
func (*PinnedResourceReferenceApplyConfiguration) WithResource ¶
func (b *PinnedResourceReferenceApplyConfiguration) WithResource(value string) *PinnedResourceReferenceApplyConfiguration
WithResource sets the Resource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resource field is set to the value of the last call.
func (*PinnedResourceReferenceApplyConfiguration) WithVersion ¶
func (b *PinnedResourceReferenceApplyConfiguration) WithVersion(value string) *PinnedResourceReferenceApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type PolicyAuditConfigApplyConfiguration ¶
type PolicyAuditConfigApplyConfiguration struct {
// rateLimit is the approximate maximum number of messages to generate per-second per-node. If
// unset the default of 20 msg/sec is used.
RateLimit *uint32 `json:"rateLimit,omitempty"`
// maxFilesSize is the max size an ACL_audit log file is allowed to reach before rotation occurs
// Units are in MB and the Default is 50MB
MaxFileSize *uint32 `json:"maxFileSize,omitempty"`
// maxLogFiles specifies the maximum number of ACL_audit log files that can be present.
MaxLogFiles *int32 `json:"maxLogFiles,omitempty"`
// destination is the location for policy log messages.
// Regardless of this config, persistent logs will always be dumped to the host
// at /var/log/ovn/ however
// Additionally syslog output may be configured as follows.
// Valid values are:
// - "libc" -> to use the libc syslog() function of the host node's journdald process
// - "udp:host:port" -> for sending syslog over UDP
// - "unix:file" -> for using the UNIX domain socket directly
// - "null" -> to discard all messages logged to syslog
// The default is "null"
Destination *string `json:"destination,omitempty"`
// syslogFacility the RFC5424 facility for generated messages, e.g. "kern". Default is "local0"
SyslogFacility *string `json:"syslogFacility,omitempty"`
}
PolicyAuditConfigApplyConfiguration represents a declarative configuration of the PolicyAuditConfig type for use with apply.
func PolicyAuditConfig ¶
func PolicyAuditConfig() *PolicyAuditConfigApplyConfiguration
PolicyAuditConfigApplyConfiguration constructs a declarative configuration of the PolicyAuditConfig type for use with apply.
func (*PolicyAuditConfigApplyConfiguration) WithDestination ¶
func (b *PolicyAuditConfigApplyConfiguration) WithDestination(value string) *PolicyAuditConfigApplyConfiguration
WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.
func (*PolicyAuditConfigApplyConfiguration) WithMaxFileSize ¶
func (b *PolicyAuditConfigApplyConfiguration) WithMaxFileSize(value uint32) *PolicyAuditConfigApplyConfiguration
WithMaxFileSize sets the MaxFileSize field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxFileSize field is set to the value of the last call.
func (*PolicyAuditConfigApplyConfiguration) WithMaxLogFiles ¶
func (b *PolicyAuditConfigApplyConfiguration) WithMaxLogFiles(value int32) *PolicyAuditConfigApplyConfiguration
WithMaxLogFiles sets the MaxLogFiles field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLogFiles field is set to the value of the last call.
func (*PolicyAuditConfigApplyConfiguration) WithRateLimit ¶
func (b *PolicyAuditConfigApplyConfiguration) WithRateLimit(value uint32) *PolicyAuditConfigApplyConfiguration
WithRateLimit sets the RateLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RateLimit field is set to the value of the last call.
func (*PolicyAuditConfigApplyConfiguration) WithSyslogFacility ¶
func (b *PolicyAuditConfigApplyConfiguration) WithSyslogFacility(value string) *PolicyAuditConfigApplyConfiguration
WithSyslogFacility sets the SyslogFacility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SyslogFacility field is set to the value of the last call.
type PrivateStrategyApplyConfiguration ¶
type PrivateStrategyApplyConfiguration struct {
// protocol specifies whether the IngressController expects incoming
// connections to use plain TCP or whether the IngressController expects
// PROXY protocol.
//
// PROXY protocol can be used with load balancers that support it to
// communicate the source addresses of client connections when
// forwarding those connections to the IngressController. Using PROXY
// protocol enables the IngressController to report those source
// addresses instead of reporting the load balancer's address in HTTP
// headers and logs. Note that enabling PROXY protocol on the
// IngressController will cause connections to fail if you are not using
// a load balancer that uses PROXY protocol to forward connections to
// the IngressController. See
// http://www.haproxy.org/download/2.2/doc/proxy-protocol.txt for
// information about PROXY protocol.
//
// The following values are valid for this field:
//
// * The empty string.
// * "TCP".
// * "PROXY".
//
// The empty string specifies the default, which is TCP without PROXY
// protocol. Note that the default is subject to change.
Protocol *operatorv1.IngressControllerProtocol `json:"protocol,omitempty"`
}
PrivateStrategyApplyConfiguration represents a declarative configuration of the PrivateStrategy type for use with apply.
PrivateStrategy holds parameters for the Private endpoint publishing strategy.
func PrivateStrategy ¶
func PrivateStrategy() *PrivateStrategyApplyConfiguration
PrivateStrategyApplyConfiguration constructs a declarative configuration of the PrivateStrategy type for use with apply.
func (*PrivateStrategyApplyConfiguration) WithProtocol ¶
func (b *PrivateStrategyApplyConfiguration) WithProtocol(value operatorv1.IngressControllerProtocol) *PrivateStrategyApplyConfiguration
WithProtocol sets the Protocol field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Protocol field is set to the value of the last call.
type ProjectAccessApplyConfiguration ¶
type ProjectAccessApplyConfiguration struct {
// availableClusterRoles is the list of ClusterRole names that are assignable to users
// through the project access tab.
AvailableClusterRoles []string `json:"availableClusterRoles,omitempty"`
}
ProjectAccessApplyConfiguration represents a declarative configuration of the ProjectAccess type for use with apply.
ProjectAccess contains options for project access roles
func ProjectAccess ¶
func ProjectAccess() *ProjectAccessApplyConfiguration
ProjectAccessApplyConfiguration constructs a declarative configuration of the ProjectAccess type for use with apply.
func (*ProjectAccessApplyConfiguration) WithAvailableClusterRoles ¶
func (b *ProjectAccessApplyConfiguration) WithAvailableClusterRoles(values ...string) *ProjectAccessApplyConfiguration
WithAvailableClusterRoles adds the given value to the AvailableClusterRoles field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the AvailableClusterRoles field.
type ProviderLoadBalancerParametersApplyConfiguration ¶
type ProviderLoadBalancerParametersApplyConfiguration struct {
// type is the underlying infrastructure provider for the load balancer.
// Allowed values are "AWS", "Azure", "BareMetal", "GCP", "IBM", "Nutanix",
// "OpenStack", and "VSphere".
Type *operatorv1.LoadBalancerProviderType `json:"type,omitempty"`
// aws provides configuration settings that are specific to AWS
// load balancers.
//
// If empty, defaults will be applied. See specific aws fields for
// details about their defaults.
AWS *AWSLoadBalancerParametersApplyConfiguration `json:"aws,omitempty"`
// gcp provides configuration settings that are specific to GCP
// load balancers.
//
// If empty, defaults will be applied. See specific gcp fields for
// details about their defaults.
GCP *GCPLoadBalancerParametersApplyConfiguration `json:"gcp,omitempty"`
// ibm provides configuration settings that are specific to IBM Cloud
// load balancers.
//
// If empty, defaults will be applied. See specific ibm fields for
// details about their defaults.
IBM *IBMLoadBalancerParametersApplyConfiguration `json:"ibm,omitempty"`
// openstack provides configuration settings that are specific to OpenStack
// load balancers.
//
// If empty, defaults will be applied. See specific openstack fields for
// details about their defaults.
OpenStack *OpenStackLoadBalancerParametersApplyConfiguration `json:"openstack,omitempty"`
}
ProviderLoadBalancerParametersApplyConfiguration represents a declarative configuration of the ProviderLoadBalancerParameters type for use with apply.
ProviderLoadBalancerParameters holds desired load balancer information specific to the underlying infrastructure provider.
func ProviderLoadBalancerParameters ¶
func ProviderLoadBalancerParameters() *ProviderLoadBalancerParametersApplyConfiguration
ProviderLoadBalancerParametersApplyConfiguration constructs a declarative configuration of the ProviderLoadBalancerParameters type for use with apply.
func (*ProviderLoadBalancerParametersApplyConfiguration) WithAWS ¶
func (b *ProviderLoadBalancerParametersApplyConfiguration) WithAWS(value *AWSLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
WithAWS sets the AWS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AWS field is set to the value of the last call.
func (*ProviderLoadBalancerParametersApplyConfiguration) WithGCP ¶
func (b *ProviderLoadBalancerParametersApplyConfiguration) WithGCP(value *GCPLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
WithGCP sets the GCP field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GCP field is set to the value of the last call.
func (*ProviderLoadBalancerParametersApplyConfiguration) WithIBM ¶
func (b *ProviderLoadBalancerParametersApplyConfiguration) WithIBM(value *IBMLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
WithIBM sets the IBM field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IBM field is set to the value of the last call.
func (*ProviderLoadBalancerParametersApplyConfiguration) WithOpenStack ¶
func (b *ProviderLoadBalancerParametersApplyConfiguration) WithOpenStack(value *OpenStackLoadBalancerParametersApplyConfiguration) *ProviderLoadBalancerParametersApplyConfiguration
WithOpenStack sets the OpenStack field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OpenStack field is set to the value of the last call.
func (*ProviderLoadBalancerParametersApplyConfiguration) WithType ¶
func (b *ProviderLoadBalancerParametersApplyConfiguration) WithType(value operatorv1.LoadBalancerProviderType) *ProviderLoadBalancerParametersApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type ProxyConfigApplyConfiguration ¶
type ProxyConfigApplyConfiguration struct {
// An internal kube-proxy parameter. In older releases of OCP, this sometimes needed to be adjusted
// in large clusters for performance reasons, but this is no longer necessary, and there is no reason
// to change this from the default value.
// Default: 30s
IptablesSyncPeriod *string `json:"iptablesSyncPeriod,omitempty"`
// The address to "bind" on
// Defaults to 0.0.0.0
BindAddress *string `json:"bindAddress,omitempty"`
// Any additional arguments to pass to the kubeproxy process
ProxyArguments map[string]operatorv1.ProxyArgumentList `json:"proxyArguments,omitempty"`
}
ProxyConfigApplyConfiguration represents a declarative configuration of the ProxyConfig type for use with apply.
ProxyConfig defines the configuration knobs for kubeproxy All of these are optional and have sensible defaults
func ProxyConfig ¶
func ProxyConfig() *ProxyConfigApplyConfiguration
ProxyConfigApplyConfiguration constructs a declarative configuration of the ProxyConfig type for use with apply.
func (*ProxyConfigApplyConfiguration) WithBindAddress ¶
func (b *ProxyConfigApplyConfiguration) WithBindAddress(value string) *ProxyConfigApplyConfiguration
WithBindAddress sets the BindAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BindAddress field is set to the value of the last call.
func (*ProxyConfigApplyConfiguration) WithIptablesSyncPeriod ¶
func (b *ProxyConfigApplyConfiguration) WithIptablesSyncPeriod(value string) *ProxyConfigApplyConfiguration
WithIptablesSyncPeriod sets the IptablesSyncPeriod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IptablesSyncPeriod field is set to the value of the last call.
func (*ProxyConfigApplyConfiguration) WithProxyArguments ¶
func (b *ProxyConfigApplyConfiguration) WithProxyArguments(entries map[string]operatorv1.ProxyArgumentList) *ProxyConfigApplyConfiguration
WithProxyArguments puts the entries into the ProxyArguments field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ProxyArguments field, overwriting an existing map entries in ProxyArguments field with the same key.
type QuickStartsApplyConfiguration ¶
type QuickStartsApplyConfiguration struct {
// disabled is a list of ConsoleQuickStart resource names that are not shown to users.
Disabled []string `json:"disabled,omitempty"`
}
QuickStartsApplyConfiguration represents a declarative configuration of the QuickStarts type for use with apply.
QuickStarts allow cluster admins to customize available ConsoleQuickStart resources.
func QuickStarts ¶
func QuickStarts() *QuickStartsApplyConfiguration
QuickStartsApplyConfiguration constructs a declarative configuration of the QuickStarts type for use with apply.
func (*QuickStartsApplyConfiguration) WithDisabled ¶
func (b *QuickStartsApplyConfiguration) WithDisabled(values ...string) *QuickStartsApplyConfiguration
WithDisabled adds the given value to the Disabled field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Disabled field.
type ReloadServiceApplyConfiguration ¶
type ReloadServiceApplyConfiguration struct {
// serviceName is the full name (e.g. crio.service) of the service to be reloaded
// Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long.
// ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\".
// ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope".
ServiceName *operatorv1.NodeDisruptionPolicyServiceName `json:"serviceName,omitempty"`
}
ReloadServiceApplyConfiguration represents a declarative configuration of the ReloadService type for use with apply.
ReloadService allows the user to specify the services to be reloaded
func ReloadService ¶
func ReloadService() *ReloadServiceApplyConfiguration
ReloadServiceApplyConfiguration constructs a declarative configuration of the ReloadService type for use with apply.
func (*ReloadServiceApplyConfiguration) WithServiceName ¶
func (b *ReloadServiceApplyConfiguration) WithServiceName(value operatorv1.NodeDisruptionPolicyServiceName) *ReloadServiceApplyConfiguration
WithServiceName sets the ServiceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceName field is set to the value of the last call.
type ResourceAttributesAccessReviewApplyConfiguration ¶
type ResourceAttributesAccessReviewApplyConfiguration struct {
// required defines a list of permission checks. The perspective will only be shown when all checks are successful. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the missing access review list.
Required []authorizationv1.ResourceAttributes `json:"required,omitempty"`
// missing defines a list of permission checks. The perspective will only be shown when at least one check fails. When omitted, the access review is skipped and the perspective will not be shown unless it is required to do so based on the configuration of the required access review list.
Missing []authorizationv1.ResourceAttributes `json:"missing,omitempty"`
}
ResourceAttributesAccessReviewApplyConfiguration represents a declarative configuration of the ResourceAttributesAccessReview type for use with apply.
ResourceAttributesAccessReview defines the visibility of the perspective depending on the access review checks. `required` and `missing` can work together esp. in the case where the cluster admin wants to show another perspective to users without specific permissions. Out of `required` and `missing` atleast one property should be non-empty.
func ResourceAttributesAccessReview ¶
func ResourceAttributesAccessReview() *ResourceAttributesAccessReviewApplyConfiguration
ResourceAttributesAccessReviewApplyConfiguration constructs a declarative configuration of the ResourceAttributesAccessReview type for use with apply.
func (*ResourceAttributesAccessReviewApplyConfiguration) WithMissing ¶
func (b *ResourceAttributesAccessReviewApplyConfiguration) WithMissing(values ...authorizationv1.ResourceAttributes) *ResourceAttributesAccessReviewApplyConfiguration
WithMissing adds the given value to the Missing field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Missing field.
func (*ResourceAttributesAccessReviewApplyConfiguration) WithRequired ¶
func (b *ResourceAttributesAccessReviewApplyConfiguration) WithRequired(values ...authorizationv1.ResourceAttributes) *ResourceAttributesAccessReviewApplyConfiguration
WithRequired adds the given value to the Required field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Required field.
type RestartServiceApplyConfiguration ¶
type RestartServiceApplyConfiguration struct {
// serviceName is the full name (e.g. crio.service) of the service to be restarted
// Service names should be of the format ${NAME}${SERVICETYPE} and can up to 255 characters long.
// ${NAME} must be atleast 1 character long and can only consist of alphabets, digits, ":", "-", "_", ".", and "\".
// ${SERVICETYPE} must be one of ".service", ".socket", ".device", ".mount", ".automount", ".swap", ".target", ".path", ".timer", ".snapshot", ".slice" or ".scope".
ServiceName *operatorv1.NodeDisruptionPolicyServiceName `json:"serviceName,omitempty"`
}
RestartServiceApplyConfiguration represents a declarative configuration of the RestartService type for use with apply.
RestartService allows the user to specify the services to be restarted
func RestartService ¶
func RestartService() *RestartServiceApplyConfiguration
RestartServiceApplyConfiguration constructs a declarative configuration of the RestartService type for use with apply.
func (*RestartServiceApplyConfiguration) WithServiceName ¶
func (b *RestartServiceApplyConfiguration) WithServiceName(value operatorv1.NodeDisruptionPolicyServiceName) *RestartServiceApplyConfiguration
WithServiceName sets the ServiceName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceName field is set to the value of the last call.
type RouteAdmissionPolicyApplyConfiguration ¶
type RouteAdmissionPolicyApplyConfiguration struct {
// namespaceOwnership describes how host name claims across namespaces should
// be handled.
//
// Value must be one of:
//
// - Strict: Do not allow routes in different namespaces to claim the same host.
//
// - InterNamespaceAllowed: Allow routes to claim different paths of the same
// host name across namespaces.
//
// If empty, the default is Strict.
NamespaceOwnership *operatorv1.NamespaceOwnershipCheck `json:"namespaceOwnership,omitempty"`
// wildcardPolicy describes how routes with wildcard policies should
// be handled for the ingress controller. WildcardPolicy controls use
// of routes [1] exposed by the ingress controller based on the route's
// wildcard policy.
//
// [1] https://github.com/openshift/api/blob/master/route/v1/types.go
//
// Note: Updating WildcardPolicy from WildcardsAllowed to WildcardsDisallowed
// will cause admitted routes with a wildcard policy of Subdomain to stop
// working. These routes must be updated to a wildcard policy of None to be
// readmitted by the ingress controller.
//
// WildcardPolicy supports WildcardsAllowed and WildcardsDisallowed values.
//
// If empty, defaults to "WildcardsDisallowed".
WildcardPolicy *operatorv1.WildcardPolicy `json:"wildcardPolicy,omitempty"`
}
RouteAdmissionPolicyApplyConfiguration represents a declarative configuration of the RouteAdmissionPolicy type for use with apply.
RouteAdmissionPolicy is an admission policy for allowing new route claims.
func RouteAdmissionPolicy ¶
func RouteAdmissionPolicy() *RouteAdmissionPolicyApplyConfiguration
RouteAdmissionPolicyApplyConfiguration constructs a declarative configuration of the RouteAdmissionPolicy type for use with apply.
func (*RouteAdmissionPolicyApplyConfiguration) WithNamespaceOwnership ¶
func (b *RouteAdmissionPolicyApplyConfiguration) WithNamespaceOwnership(value operatorv1.NamespaceOwnershipCheck) *RouteAdmissionPolicyApplyConfiguration
WithNamespaceOwnership sets the NamespaceOwnership field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NamespaceOwnership field is set to the value of the last call.
func (*RouteAdmissionPolicyApplyConfiguration) WithWildcardPolicy ¶
func (b *RouteAdmissionPolicyApplyConfiguration) WithWildcardPolicy(value operatorv1.WildcardPolicy) *RouteAdmissionPolicyApplyConfiguration
WithWildcardPolicy sets the WildcardPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WildcardPolicy field is set to the value of the last call.
type SFlowConfigApplyConfiguration ¶
type SFlowConfigApplyConfiguration struct {
// sFlowCollectors is list of strings formatted as ip:port with a maximum of ten items
Collectors []operatorv1.IPPort `json:"collectors,omitempty"`
}
SFlowConfigApplyConfiguration represents a declarative configuration of the SFlowConfig type for use with apply.
func SFlowConfig ¶
func SFlowConfig() *SFlowConfigApplyConfiguration
SFlowConfigApplyConfiguration constructs a declarative configuration of the SFlowConfig type for use with apply.
func (*SFlowConfigApplyConfiguration) WithCollectors ¶
func (b *SFlowConfigApplyConfiguration) WithCollectors(values ...operatorv1.IPPort) *SFlowConfigApplyConfiguration
WithCollectors adds the given value to the Collectors field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Collectors field.
type ServerApplyConfiguration ¶
type ServerApplyConfiguration struct {
// name is required and specifies a unique name for the server. Name must comply
// with the Service Name Syntax of rfc6335.
Name *string `json:"name,omitempty"`
// zones is required and specifies the subdomains that Server is authoritative for.
// Zones must conform to the rfc1123 definition of a subdomain. Specifying the
// cluster domain (i.e., "cluster.local") is invalid.
Zones []string `json:"zones,omitempty"`
// forwardPlugin defines a schema for configuring CoreDNS to proxy DNS messages
// to upstream resolvers.
ForwardPlugin *ForwardPluginApplyConfiguration `json:"forwardPlugin,omitempty"`
}
ServerApplyConfiguration represents a declarative configuration of the Server type for use with apply.
Server defines the schema for a server that runs per instance of CoreDNS.
func Server ¶
func Server() *ServerApplyConfiguration
ServerApplyConfiguration constructs a declarative configuration of the Server type for use with apply.
func (*ServerApplyConfiguration) WithForwardPlugin ¶
func (b *ServerApplyConfiguration) WithForwardPlugin(value *ForwardPluginApplyConfiguration) *ServerApplyConfiguration
WithForwardPlugin sets the ForwardPlugin field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForwardPlugin field is set to the value of the last call.
func (*ServerApplyConfiguration) WithName ¶
func (b *ServerApplyConfiguration) WithName(value string) *ServerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServerApplyConfiguration) WithZones ¶
func (b *ServerApplyConfiguration) WithZones(values ...string) *ServerApplyConfiguration
WithZones adds the given value to the Zones field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Zones field.
type ServiceAccountIssuerStatusApplyConfiguration ¶
type ServiceAccountIssuerStatusApplyConfiguration struct {
// name is the name of the service account issuer
// ---
Name *string `json:"name,omitempty"`
// expirationTime is the time after which this service account issuer will be pruned and removed from the trusted list
// of service account issuers.
ExpirationTime *metav1.Time `json:"expirationTime,omitempty"`
}
ServiceAccountIssuerStatusApplyConfiguration represents a declarative configuration of the ServiceAccountIssuerStatus type for use with apply.
func ServiceAccountIssuerStatus ¶
func ServiceAccountIssuerStatus() *ServiceAccountIssuerStatusApplyConfiguration
ServiceAccountIssuerStatusApplyConfiguration constructs a declarative configuration of the ServiceAccountIssuerStatus type for use with apply.
func (*ServiceAccountIssuerStatusApplyConfiguration) WithExpirationTime ¶
func (b *ServiceAccountIssuerStatusApplyConfiguration) WithExpirationTime(value metav1.Time) *ServiceAccountIssuerStatusApplyConfiguration
WithExpirationTime sets the ExpirationTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExpirationTime field is set to the value of the last call.
func (*ServiceAccountIssuerStatusApplyConfiguration) WithName ¶
func (b *ServiceAccountIssuerStatusApplyConfiguration) WithName(value string) *ServiceAccountIssuerStatusApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type ServiceCAApplyConfiguration ¶
type ServiceCAApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec holds user settable values for configuration
Spec *ServiceCASpecApplyConfiguration `json:"spec,omitempty"`
// status holds observed values from the cluster. They may not be overridden.
Status *ServiceCAStatusApplyConfiguration `json:"status,omitempty"`
}
ServiceCAApplyConfiguration represents a declarative configuration of the ServiceCA type for use with apply.
ServiceCA provides information to configure an operator to manage the service cert controllers ¶
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractServiceCA ¶
func ExtractServiceCA(serviceCA *operatorv1.ServiceCA, fieldManager string) (*ServiceCAApplyConfiguration, error)
ExtractServiceCA extracts the applied configuration owned by fieldManager from serviceCA. If no managedFields are found in serviceCA for fieldManager, a ServiceCAApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. serviceCA must be a unmodified ServiceCA API object that was retrieved from the Kubernetes API. ExtractServiceCA provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCAFrom ¶
func ExtractServiceCAFrom(serviceCA *operatorv1.ServiceCA, fieldManager string, subresource string) (*ServiceCAApplyConfiguration, error)
ExtractServiceCAFrom extracts the applied configuration owned by fieldManager from serviceCA for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. serviceCA must be a unmodified ServiceCA API object that was retrieved from the Kubernetes API. ExtractServiceCAFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCAStatus ¶
func ExtractServiceCAStatus(serviceCA *operatorv1.ServiceCA, fieldManager string) (*ServiceCAApplyConfiguration, error)
ExtractServiceCAStatus extracts the applied configuration owned by fieldManager from serviceCA for the status subresource.
func ServiceCA ¶
func ServiceCA(name string) *ServiceCAApplyConfiguration
ServiceCA constructs a declarative configuration of the ServiceCA type for use with apply.
func (*ServiceCAApplyConfiguration) GetAPIVersion ¶
func (b *ServiceCAApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ServiceCAApplyConfiguration) GetKind ¶
func (b *ServiceCAApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ServiceCAApplyConfiguration) GetName ¶
func (b *ServiceCAApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ServiceCAApplyConfiguration) GetNamespace ¶
func (b *ServiceCAApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ServiceCAApplyConfiguration) IsApplyConfiguration ¶
func (b ServiceCAApplyConfiguration) IsApplyConfiguration()
func (*ServiceCAApplyConfiguration) WithAPIVersion ¶
func (b *ServiceCAApplyConfiguration) WithAPIVersion(value string) *ServiceCAApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithAnnotations ¶
func (b *ServiceCAApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCAApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ServiceCAApplyConfiguration) WithCreationTimestamp ¶
func (b *ServiceCAApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCAApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ServiceCAApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCAApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithDeletionTimestamp ¶
func (b *ServiceCAApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCAApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithFinalizers ¶
func (b *ServiceCAApplyConfiguration) WithFinalizers(values ...string) *ServiceCAApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ServiceCAApplyConfiguration) WithGenerateName ¶
func (b *ServiceCAApplyConfiguration) WithGenerateName(value string) *ServiceCAApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithGeneration ¶
func (b *ServiceCAApplyConfiguration) WithGeneration(value int64) *ServiceCAApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithKind ¶
func (b *ServiceCAApplyConfiguration) WithKind(value string) *ServiceCAApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithLabels ¶
func (b *ServiceCAApplyConfiguration) WithLabels(entries map[string]string) *ServiceCAApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ServiceCAApplyConfiguration) WithName ¶
func (b *ServiceCAApplyConfiguration) WithName(value string) *ServiceCAApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithNamespace ¶
func (b *ServiceCAApplyConfiguration) WithNamespace(value string) *ServiceCAApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithOwnerReferences ¶
func (b *ServiceCAApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCAApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ServiceCAApplyConfiguration) WithResourceVersion ¶
func (b *ServiceCAApplyConfiguration) WithResourceVersion(value string) *ServiceCAApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithSpec ¶
func (b *ServiceCAApplyConfiguration) WithSpec(value *ServiceCASpecApplyConfiguration) *ServiceCAApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithStatus ¶
func (b *ServiceCAApplyConfiguration) WithStatus(value *ServiceCAStatusApplyConfiguration) *ServiceCAApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ServiceCAApplyConfiguration) WithUID ¶
func (b *ServiceCAApplyConfiguration) WithUID(value types.UID) *ServiceCAApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ServiceCASpecApplyConfiguration ¶
type ServiceCASpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
ServiceCASpecApplyConfiguration represents a declarative configuration of the ServiceCASpec type for use with apply.
func ServiceCASpec ¶
func ServiceCASpec() *ServiceCASpecApplyConfiguration
ServiceCASpecApplyConfiguration constructs a declarative configuration of the ServiceCASpec type for use with apply.
func (*ServiceCASpecApplyConfiguration) WithLogLevel ¶
func (b *ServiceCASpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCASpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ServiceCASpecApplyConfiguration) WithManagementState ¶
func (b *ServiceCASpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCASpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ServiceCASpecApplyConfiguration) WithObservedConfig ¶
func (b *ServiceCASpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCASpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ServiceCASpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ServiceCASpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCASpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ServiceCASpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ServiceCASpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCASpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ServiceCAStatusApplyConfiguration ¶
type ServiceCAStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ServiceCAStatusApplyConfiguration represents a declarative configuration of the ServiceCAStatus type for use with apply.
func ServiceCAStatus ¶
func ServiceCAStatus() *ServiceCAStatusApplyConfiguration
ServiceCAStatusApplyConfiguration constructs a declarative configuration of the ServiceCAStatus type for use with apply.
func (*ServiceCAStatusApplyConfiguration) WithConditions ¶
func (b *ServiceCAStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCAStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ServiceCAStatusApplyConfiguration) WithGenerations ¶
func (b *ServiceCAStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCAStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ServiceCAStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ServiceCAStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCAStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ServiceCAStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ServiceCAStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCAStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ServiceCAStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ServiceCAStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCAStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ServiceCAStatusApplyConfiguration) WithVersion ¶
func (b *ServiceCAStatusApplyConfiguration) WithVersion(value string) *ServiceCAStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ServiceCatalogAPIServerApplyConfiguration ¶
type ServiceCatalogAPIServerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ServiceCatalogAPIServerSpecApplyConfiguration `json:"spec,omitempty"`
Status *ServiceCatalogAPIServerStatusApplyConfiguration `json:"status,omitempty"`
}
ServiceCatalogAPIServerApplyConfiguration represents a declarative configuration of the ServiceCatalogAPIServer type for use with apply.
ServiceCatalogAPIServer provides information to configure an operator to manage Service Catalog API Server DEPRECATED: will be removed in 4.6
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractServiceCatalogAPIServer ¶
func ExtractServiceCatalogAPIServer(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, fieldManager string) (*ServiceCatalogAPIServerApplyConfiguration, error)
ExtractServiceCatalogAPIServer extracts the applied configuration owned by fieldManager from serviceCatalogAPIServer. If no managedFields are found in serviceCatalogAPIServer for fieldManager, a ServiceCatalogAPIServerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. serviceCatalogAPIServer must be a unmodified ServiceCatalogAPIServer API object that was retrieved from the Kubernetes API. ExtractServiceCatalogAPIServer provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCatalogAPIServerFrom ¶
func ExtractServiceCatalogAPIServerFrom(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, fieldManager string, subresource string) (*ServiceCatalogAPIServerApplyConfiguration, error)
ExtractServiceCatalogAPIServerFrom extracts the applied configuration owned by fieldManager from serviceCatalogAPIServer for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. serviceCatalogAPIServer must be a unmodified ServiceCatalogAPIServer API object that was retrieved from the Kubernetes API. ExtractServiceCatalogAPIServerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCatalogAPIServerStatus ¶
func ExtractServiceCatalogAPIServerStatus(serviceCatalogAPIServer *operatorv1.ServiceCatalogAPIServer, fieldManager string) (*ServiceCatalogAPIServerApplyConfiguration, error)
ExtractServiceCatalogAPIServerStatus extracts the applied configuration owned by fieldManager from serviceCatalogAPIServer for the status subresource.
func ServiceCatalogAPIServer ¶
func ServiceCatalogAPIServer(name string) *ServiceCatalogAPIServerApplyConfiguration
ServiceCatalogAPIServer constructs a declarative configuration of the ServiceCatalogAPIServer type for use with apply.
func (*ServiceCatalogAPIServerApplyConfiguration) GetAPIVersion ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ServiceCatalogAPIServerApplyConfiguration) GetKind ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ServiceCatalogAPIServerApplyConfiguration) GetName ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ServiceCatalogAPIServerApplyConfiguration) GetNamespace ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ServiceCatalogAPIServerApplyConfiguration) IsApplyConfiguration ¶
func (b ServiceCatalogAPIServerApplyConfiguration) IsApplyConfiguration()
func (*ServiceCatalogAPIServerApplyConfiguration) WithAPIVersion ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithAPIVersion(value string) *ServiceCatalogAPIServerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithAnnotations ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCatalogAPIServerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ServiceCatalogAPIServerApplyConfiguration) WithCreationTimestamp ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCatalogAPIServerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCatalogAPIServerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithDeletionTimestamp ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCatalogAPIServerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithFinalizers ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithFinalizers(values ...string) *ServiceCatalogAPIServerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ServiceCatalogAPIServerApplyConfiguration) WithGenerateName ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithGenerateName(value string) *ServiceCatalogAPIServerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithGeneration ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithGeneration(value int64) *ServiceCatalogAPIServerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithKind ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithKind(value string) *ServiceCatalogAPIServerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithLabels ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithLabels(entries map[string]string) *ServiceCatalogAPIServerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ServiceCatalogAPIServerApplyConfiguration) WithName ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithName(value string) *ServiceCatalogAPIServerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithNamespace ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithNamespace(value string) *ServiceCatalogAPIServerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithOwnerReferences ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ServiceCatalogAPIServerApplyConfiguration) WithResourceVersion ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithResourceVersion(value string) *ServiceCatalogAPIServerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithSpec ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithSpec(value *ServiceCatalogAPIServerSpecApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithStatus ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithStatus(value *ServiceCatalogAPIServerStatusApplyConfiguration) *ServiceCatalogAPIServerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ServiceCatalogAPIServerApplyConfiguration) WithUID ¶
func (b *ServiceCatalogAPIServerApplyConfiguration) WithUID(value types.UID) *ServiceCatalogAPIServerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ServiceCatalogAPIServerSpecApplyConfiguration ¶
type ServiceCatalogAPIServerSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
ServiceCatalogAPIServerSpecApplyConfiguration represents a declarative configuration of the ServiceCatalogAPIServerSpec type for use with apply.
func ServiceCatalogAPIServerSpec ¶
func ServiceCatalogAPIServerSpec() *ServiceCatalogAPIServerSpecApplyConfiguration
ServiceCatalogAPIServerSpecApplyConfiguration constructs a declarative configuration of the ServiceCatalogAPIServerSpec type for use with apply.
func (*ServiceCatalogAPIServerSpecApplyConfiguration) WithLogLevel ¶
func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCatalogAPIServerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ServiceCatalogAPIServerSpecApplyConfiguration) WithManagementState ¶
func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCatalogAPIServerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ServiceCatalogAPIServerSpecApplyConfiguration) WithObservedConfig ¶
func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCatalogAPIServerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ServiceCatalogAPIServerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCatalogAPIServerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ServiceCatalogAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ServiceCatalogAPIServerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCatalogAPIServerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ServiceCatalogAPIServerStatusApplyConfiguration ¶
type ServiceCatalogAPIServerStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ServiceCatalogAPIServerStatusApplyConfiguration represents a declarative configuration of the ServiceCatalogAPIServerStatus type for use with apply.
func ServiceCatalogAPIServerStatus ¶
func ServiceCatalogAPIServerStatus() *ServiceCatalogAPIServerStatusApplyConfiguration
ServiceCatalogAPIServerStatusApplyConfiguration constructs a declarative configuration of the ServiceCatalogAPIServerStatus type for use with apply.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithConditions ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCatalogAPIServerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithGenerations ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCatalogAPIServerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCatalogAPIServerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCatalogAPIServerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCatalogAPIServerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ServiceCatalogAPIServerStatusApplyConfiguration) WithVersion ¶
func (b *ServiceCatalogAPIServerStatusApplyConfiguration) WithVersion(value string) *ServiceCatalogAPIServerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type ServiceCatalogControllerManagerApplyConfiguration ¶
type ServiceCatalogControllerManagerApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *ServiceCatalogControllerManagerSpecApplyConfiguration `json:"spec,omitempty"`
Status *ServiceCatalogControllerManagerStatusApplyConfiguration `json:"status,omitempty"`
}
ServiceCatalogControllerManagerApplyConfiguration represents a declarative configuration of the ServiceCatalogControllerManager type for use with apply.
ServiceCatalogControllerManager provides information to configure an operator to manage Service Catalog Controller Manager DEPRECATED: will be removed in 4.6
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractServiceCatalogControllerManager ¶
func ExtractServiceCatalogControllerManager(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, fieldManager string) (*ServiceCatalogControllerManagerApplyConfiguration, error)
ExtractServiceCatalogControllerManager extracts the applied configuration owned by fieldManager from serviceCatalogControllerManager. If no managedFields are found in serviceCatalogControllerManager for fieldManager, a ServiceCatalogControllerManagerApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. serviceCatalogControllerManager must be a unmodified ServiceCatalogControllerManager API object that was retrieved from the Kubernetes API. ExtractServiceCatalogControllerManager provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCatalogControllerManagerFrom ¶
func ExtractServiceCatalogControllerManagerFrom(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, fieldManager string, subresource string) (*ServiceCatalogControllerManagerApplyConfiguration, error)
ExtractServiceCatalogControllerManagerFrom extracts the applied configuration owned by fieldManager from serviceCatalogControllerManager for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. serviceCatalogControllerManager must be a unmodified ServiceCatalogControllerManager API object that was retrieved from the Kubernetes API. ExtractServiceCatalogControllerManagerFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractServiceCatalogControllerManagerStatus ¶
func ExtractServiceCatalogControllerManagerStatus(serviceCatalogControllerManager *operatorv1.ServiceCatalogControllerManager, fieldManager string) (*ServiceCatalogControllerManagerApplyConfiguration, error)
ExtractServiceCatalogControllerManagerStatus extracts the applied configuration owned by fieldManager from serviceCatalogControllerManager for the status subresource.
func ServiceCatalogControllerManager ¶
func ServiceCatalogControllerManager(name string) *ServiceCatalogControllerManagerApplyConfiguration
ServiceCatalogControllerManager constructs a declarative configuration of the ServiceCatalogControllerManager type for use with apply.
func (*ServiceCatalogControllerManagerApplyConfiguration) GetAPIVersion ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*ServiceCatalogControllerManagerApplyConfiguration) GetKind ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*ServiceCatalogControllerManagerApplyConfiguration) GetName ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*ServiceCatalogControllerManagerApplyConfiguration) GetNamespace ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (ServiceCatalogControllerManagerApplyConfiguration) IsApplyConfiguration ¶
func (b ServiceCatalogControllerManagerApplyConfiguration) IsApplyConfiguration()
func (*ServiceCatalogControllerManagerApplyConfiguration) WithAPIVersion ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithAPIVersion(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithAnnotations ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithAnnotations(entries map[string]string) *ServiceCatalogControllerManagerApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithCreationTimestamp ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *ServiceCatalogControllerManagerApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ServiceCatalogControllerManagerApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithDeletionTimestamp ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *ServiceCatalogControllerManagerApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithFinalizers ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithFinalizers(values ...string) *ServiceCatalogControllerManagerApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithGenerateName ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithGenerateName(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithGeneration ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithGeneration(value int64) *ServiceCatalogControllerManagerApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithKind ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithKind(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithLabels ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithLabels(entries map[string]string) *ServiceCatalogControllerManagerApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithName ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithName(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithNamespace ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithNamespace(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithOwnerReferences ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithResourceVersion ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithResourceVersion(value string) *ServiceCatalogControllerManagerApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithSpec ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithSpec(value *ServiceCatalogControllerManagerSpecApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithStatus ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithStatus(value *ServiceCatalogControllerManagerStatusApplyConfiguration) *ServiceCatalogControllerManagerApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*ServiceCatalogControllerManagerApplyConfiguration) WithUID ¶
func (b *ServiceCatalogControllerManagerApplyConfiguration) WithUID(value types.UID) *ServiceCatalogControllerManagerApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type ServiceCatalogControllerManagerSpecApplyConfiguration ¶
type ServiceCatalogControllerManagerSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
}
ServiceCatalogControllerManagerSpecApplyConfiguration represents a declarative configuration of the ServiceCatalogControllerManagerSpec type for use with apply.
func ServiceCatalogControllerManagerSpec ¶
func ServiceCatalogControllerManagerSpec() *ServiceCatalogControllerManagerSpecApplyConfiguration
ServiceCatalogControllerManagerSpecApplyConfiguration constructs a declarative configuration of the ServiceCatalogControllerManagerSpec type for use with apply.
func (*ServiceCatalogControllerManagerSpecApplyConfiguration) WithLogLevel ¶
func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *ServiceCatalogControllerManagerSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*ServiceCatalogControllerManagerSpecApplyConfiguration) WithManagementState ¶
func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *ServiceCatalogControllerManagerSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*ServiceCatalogControllerManagerSpecApplyConfiguration) WithObservedConfig ¶
func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *ServiceCatalogControllerManagerSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*ServiceCatalogControllerManagerSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *ServiceCatalogControllerManagerSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*ServiceCatalogControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *ServiceCatalogControllerManagerSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *ServiceCatalogControllerManagerSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type ServiceCatalogControllerManagerStatusApplyConfiguration ¶
type ServiceCatalogControllerManagerStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
ServiceCatalogControllerManagerStatusApplyConfiguration represents a declarative configuration of the ServiceCatalogControllerManagerStatus type for use with apply.
func ServiceCatalogControllerManagerStatus ¶
func ServiceCatalogControllerManagerStatus() *ServiceCatalogControllerManagerStatusApplyConfiguration
ServiceCatalogControllerManagerStatusApplyConfiguration constructs a declarative configuration of the ServiceCatalogControllerManagerStatus type for use with apply.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithConditions ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithGenerations ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithObservedGeneration ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithObservedGeneration(value int64) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithReadyReplicas ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithReadyReplicas(value int32) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*ServiceCatalogControllerManagerStatusApplyConfiguration) WithVersion ¶
func (b *ServiceCatalogControllerManagerStatusApplyConfiguration) WithVersion(value string) *ServiceCatalogControllerManagerStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type SimpleMacvlanConfigApplyConfiguration ¶
type SimpleMacvlanConfigApplyConfiguration struct {
// master is the host interface to create the macvlan interface from.
// If not specified, it will be default route interface
Master *string `json:"master,omitempty"`
// ipamConfig configures IPAM module will be used for IP Address Management (IPAM).
IPAMConfig *IPAMConfigApplyConfiguration `json:"ipamConfig,omitempty"`
// mode is the macvlan mode: bridge, private, vepa, passthru. The default is bridge
Mode *operatorv1.MacvlanMode `json:"mode,omitempty"`
// mtu is the mtu to use for the macvlan interface. if unset, host's
// kernel will select the value.
MTU *uint32 `json:"mtu,omitempty"`
}
SimpleMacvlanConfigApplyConfiguration represents a declarative configuration of the SimpleMacvlanConfig type for use with apply.
SimpleMacvlanConfig contains configurations for macvlan interface.
func SimpleMacvlanConfig ¶
func SimpleMacvlanConfig() *SimpleMacvlanConfigApplyConfiguration
SimpleMacvlanConfigApplyConfiguration constructs a declarative configuration of the SimpleMacvlanConfig type for use with apply.
func (*SimpleMacvlanConfigApplyConfiguration) WithIPAMConfig ¶
func (b *SimpleMacvlanConfigApplyConfiguration) WithIPAMConfig(value *IPAMConfigApplyConfiguration) *SimpleMacvlanConfigApplyConfiguration
WithIPAMConfig sets the IPAMConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IPAMConfig field is set to the value of the last call.
func (*SimpleMacvlanConfigApplyConfiguration) WithMTU ¶
func (b *SimpleMacvlanConfigApplyConfiguration) WithMTU(value uint32) *SimpleMacvlanConfigApplyConfiguration
WithMTU sets the MTU field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MTU field is set to the value of the last call.
func (*SimpleMacvlanConfigApplyConfiguration) WithMaster ¶
func (b *SimpleMacvlanConfigApplyConfiguration) WithMaster(value string) *SimpleMacvlanConfigApplyConfiguration
WithMaster sets the Master field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Master field is set to the value of the last call.
func (*SimpleMacvlanConfigApplyConfiguration) WithMode ¶
func (b *SimpleMacvlanConfigApplyConfiguration) WithMode(value operatorv1.MacvlanMode) *SimpleMacvlanConfigApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
type StaticIPAMAddressesApplyConfiguration ¶
type StaticIPAMAddressesApplyConfiguration struct {
// address is the IP address in CIDR format
Address *string `json:"address,omitempty"`
// gateway is IP inside of subnet to designate as the gateway
Gateway *string `json:"gateway,omitempty"`
}
StaticIPAMAddressesApplyConfiguration represents a declarative configuration of the StaticIPAMAddresses type for use with apply.
StaticIPAMAddresses provides IP address and Gateway for static IPAM addresses
func StaticIPAMAddresses ¶
func StaticIPAMAddresses() *StaticIPAMAddressesApplyConfiguration
StaticIPAMAddressesApplyConfiguration constructs a declarative configuration of the StaticIPAMAddresses type for use with apply.
func (*StaticIPAMAddressesApplyConfiguration) WithAddress ¶
func (b *StaticIPAMAddressesApplyConfiguration) WithAddress(value string) *StaticIPAMAddressesApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*StaticIPAMAddressesApplyConfiguration) WithGateway ¶
func (b *StaticIPAMAddressesApplyConfiguration) WithGateway(value string) *StaticIPAMAddressesApplyConfiguration
WithGateway sets the Gateway field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Gateway field is set to the value of the last call.
type StaticIPAMConfigApplyConfiguration ¶
type StaticIPAMConfigApplyConfiguration struct {
// addresses configures IP address for the interface
Addresses []StaticIPAMAddressesApplyConfiguration `json:"addresses,omitempty"`
// routes configures IP routes for the interface
Routes []StaticIPAMRoutesApplyConfiguration `json:"routes,omitempty"`
// dns configures DNS for the interface
DNS *StaticIPAMDNSApplyConfiguration `json:"dns,omitempty"`
}
StaticIPAMConfigApplyConfiguration represents a declarative configuration of the StaticIPAMConfig type for use with apply.
StaticIPAMConfig contains configurations for static IPAM (IP Address Management)
func StaticIPAMConfig ¶
func StaticIPAMConfig() *StaticIPAMConfigApplyConfiguration
StaticIPAMConfigApplyConfiguration constructs a declarative configuration of the StaticIPAMConfig type for use with apply.
func (*StaticIPAMConfigApplyConfiguration) WithAddresses ¶
func (b *StaticIPAMConfigApplyConfiguration) WithAddresses(values ...*StaticIPAMAddressesApplyConfiguration) *StaticIPAMConfigApplyConfiguration
WithAddresses adds the given value to the Addresses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Addresses field.
func (*StaticIPAMConfigApplyConfiguration) WithDNS ¶
func (b *StaticIPAMConfigApplyConfiguration) WithDNS(value *StaticIPAMDNSApplyConfiguration) *StaticIPAMConfigApplyConfiguration
WithDNS sets the DNS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNS field is set to the value of the last call.
func (*StaticIPAMConfigApplyConfiguration) WithRoutes ¶
func (b *StaticIPAMConfigApplyConfiguration) WithRoutes(values ...*StaticIPAMRoutesApplyConfiguration) *StaticIPAMConfigApplyConfiguration
WithRoutes adds the given value to the Routes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Routes field.
type StaticIPAMDNSApplyConfiguration ¶
type StaticIPAMDNSApplyConfiguration struct {
// nameservers points DNS servers for IP lookup
Nameservers []string `json:"nameservers,omitempty"`
// domain configures the domainname the local domain used for short hostname lookups
Domain *string `json:"domain,omitempty"`
// search configures priority ordered search domains for short hostname lookups
Search []string `json:"search,omitempty"`
}
StaticIPAMDNSApplyConfiguration represents a declarative configuration of the StaticIPAMDNS type for use with apply.
StaticIPAMDNS provides DNS related information for static IPAM
func StaticIPAMDNS ¶
func StaticIPAMDNS() *StaticIPAMDNSApplyConfiguration
StaticIPAMDNSApplyConfiguration constructs a declarative configuration of the StaticIPAMDNS type for use with apply.
func (*StaticIPAMDNSApplyConfiguration) WithDomain ¶
func (b *StaticIPAMDNSApplyConfiguration) WithDomain(value string) *StaticIPAMDNSApplyConfiguration
WithDomain sets the Domain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Domain field is set to the value of the last call.
func (*StaticIPAMDNSApplyConfiguration) WithNameservers ¶
func (b *StaticIPAMDNSApplyConfiguration) WithNameservers(values ...string) *StaticIPAMDNSApplyConfiguration
WithNameservers adds the given value to the Nameservers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Nameservers field.
func (*StaticIPAMDNSApplyConfiguration) WithSearch ¶
func (b *StaticIPAMDNSApplyConfiguration) WithSearch(values ...string) *StaticIPAMDNSApplyConfiguration
WithSearch adds the given value to the Search field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Search field.
type StaticIPAMRoutesApplyConfiguration ¶
type StaticIPAMRoutesApplyConfiguration struct {
// destination points the IP route destination
Destination *string `json:"destination,omitempty"`
// gateway is the route's next-hop IP address
// If unset, a default gateway is assumed (as determined by the CNI plugin).
Gateway *string `json:"gateway,omitempty"`
}
StaticIPAMRoutesApplyConfiguration represents a declarative configuration of the StaticIPAMRoutes type for use with apply.
StaticIPAMRoutes provides Destination/Gateway pairs for static IPAM routes
func StaticIPAMRoutes ¶
func StaticIPAMRoutes() *StaticIPAMRoutesApplyConfiguration
StaticIPAMRoutesApplyConfiguration constructs a declarative configuration of the StaticIPAMRoutes type for use with apply.
func (*StaticIPAMRoutesApplyConfiguration) WithDestination ¶
func (b *StaticIPAMRoutesApplyConfiguration) WithDestination(value string) *StaticIPAMRoutesApplyConfiguration
WithDestination sets the Destination field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Destination field is set to the value of the last call.
func (*StaticIPAMRoutesApplyConfiguration) WithGateway ¶
func (b *StaticIPAMRoutesApplyConfiguration) WithGateway(value string) *StaticIPAMRoutesApplyConfiguration
WithGateway sets the Gateway field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Gateway field is set to the value of the last call.
type StaticPodOperatorSpecApplyConfiguration ¶
type StaticPodOperatorSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string.
// This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work
// this time instead of failing again on the same config.
ForceRedeploymentReason *string `json:"forceRedeploymentReason,omitempty"`
// failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api
// -1 = unlimited, 0 or unset = 5 (default)
FailedRevisionLimit *int32 `json:"failedRevisionLimit,omitempty"`
// succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api
// -1 = unlimited, 0 or unset = 5 (default)
SucceededRevisionLimit *int32 `json:"succeededRevisionLimit,omitempty"`
}
StaticPodOperatorSpecApplyConfiguration represents a declarative configuration of the StaticPodOperatorSpec type for use with apply.
StaticPodOperatorSpec is spec for controllers that manage static pods.
func StaticPodOperatorSpec ¶
func StaticPodOperatorSpec() *StaticPodOperatorSpecApplyConfiguration
StaticPodOperatorSpecApplyConfiguration constructs a declarative configuration of the StaticPodOperatorSpec type for use with apply.
func (*StaticPodOperatorSpecApplyConfiguration) WithFailedRevisionLimit ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithFailedRevisionLimit(value int32) *StaticPodOperatorSpecApplyConfiguration
WithFailedRevisionLimit sets the FailedRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedRevisionLimit field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithForceRedeploymentReason ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithForceRedeploymentReason(value string) *StaticPodOperatorSpecApplyConfiguration
WithForceRedeploymentReason sets the ForceRedeploymentReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForceRedeploymentReason field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithLogLevel ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *StaticPodOperatorSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithManagementState ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *StaticPodOperatorSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithObservedConfig ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *StaticPodOperatorSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *StaticPodOperatorSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithSucceededRevisionLimit ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithSucceededRevisionLimit(value int32) *StaticPodOperatorSpecApplyConfiguration
WithSucceededRevisionLimit sets the SucceededRevisionLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SucceededRevisionLimit field is set to the value of the last call.
func (*StaticPodOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *StaticPodOperatorSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *StaticPodOperatorSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
type StaticPodOperatorStatusApplyConfiguration ¶
type StaticPodOperatorStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
// latestAvailableRevisionReason describe the detailed reason for the most recent deployment
LatestAvailableRevisionReason *string `json:"latestAvailableRevisionReason,omitempty"`
// nodeStatuses track the deployment values and errors across individual nodes
NodeStatuses []NodeStatusApplyConfiguration `json:"nodeStatuses,omitempty"`
}
StaticPodOperatorStatusApplyConfiguration represents a declarative configuration of the StaticPodOperatorStatus type for use with apply.
StaticPodOperatorStatus is status for controllers that manage static pods. There are different needs because individual node status must be tracked.
func StaticPodOperatorStatus ¶
func StaticPodOperatorStatus() *StaticPodOperatorStatusApplyConfiguration
StaticPodOperatorStatusApplyConfiguration constructs a declarative configuration of the StaticPodOperatorStatus type for use with apply.
func (*StaticPodOperatorStatusApplyConfiguration) WithConditions ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*StaticPodOperatorStatusApplyConfiguration) WithGenerations ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *StaticPodOperatorStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevisionReason ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithLatestAvailableRevisionReason(value string) *StaticPodOperatorStatusApplyConfiguration
WithLatestAvailableRevisionReason sets the LatestAvailableRevisionReason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevisionReason field is set to the value of the last call.
func (*StaticPodOperatorStatusApplyConfiguration) WithNodeStatuses ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithNodeStatuses(values ...*NodeStatusApplyConfiguration) *StaticPodOperatorStatusApplyConfiguration
WithNodeStatuses adds the given value to the NodeStatuses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NodeStatuses field.
func (*StaticPodOperatorStatusApplyConfiguration) WithObservedGeneration ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithObservedGeneration(value int64) *StaticPodOperatorStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*StaticPodOperatorStatusApplyConfiguration) WithReadyReplicas ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithReadyReplicas(value int32) *StaticPodOperatorStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*StaticPodOperatorStatusApplyConfiguration) WithVersion ¶
func (b *StaticPodOperatorStatusApplyConfiguration) WithVersion(value string) *StaticPodOperatorStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type StatuspageProviderApplyConfiguration ¶
type StatuspageProviderApplyConfiguration struct {
// pageID is the unique ID assigned by Statuspage for your page. This must be a public page.
PageID *string `json:"pageID,omitempty"`
}
StatuspageProviderApplyConfiguration represents a declarative configuration of the StatuspageProvider type for use with apply.
StatuspageProvider provides identity for statuspage account.
func StatuspageProvider ¶
func StatuspageProvider() *StatuspageProviderApplyConfiguration
StatuspageProviderApplyConfiguration constructs a declarative configuration of the StatuspageProvider type for use with apply.
func (*StatuspageProviderApplyConfiguration) WithPageID ¶
func (b *StatuspageProviderApplyConfiguration) WithPageID(value string) *StatuspageProviderApplyConfiguration
WithPageID sets the PageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PageID field is set to the value of the last call.
type StorageApplyConfiguration ¶
type StorageApplyConfiguration struct {
metav1.TypeMetaApplyConfiguration `json:",inline"`
// metadata is the standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
*metav1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
// spec holds user settable values for configuration
Spec *StorageSpecApplyConfiguration `json:"spec,omitempty"`
// status holds observed values from the cluster. They may not be overridden.
Status *StorageStatusApplyConfiguration `json:"status,omitempty"`
}
StorageApplyConfiguration represents a declarative configuration of the Storage type for use with apply.
Storage provides a means to configure an operator to manage the cluster storage operator. `cluster` is the canonical name.
Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).
func ExtractStorage ¶
func ExtractStorage(storage *operatorv1.Storage, fieldManager string) (*StorageApplyConfiguration, error)
ExtractStorage extracts the applied configuration owned by fieldManager from storage. If no managedFields are found in storage for fieldManager, a StorageApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. storage must be a unmodified Storage API object that was retrieved from the Kubernetes API. ExtractStorage provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractStorageFrom ¶
func ExtractStorageFrom(storage *operatorv1.Storage, fieldManager string, subresource string) (*StorageApplyConfiguration, error)
ExtractStorageFrom extracts the applied configuration owned by fieldManager from storage for the specified subresource. Pass an empty string for subresource to extract the main resource. Common subresources include "status", "scale", etc. storage must be a unmodified Storage API object that was retrieved from the Kubernetes API. ExtractStorageFrom provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields.
func ExtractStorageStatus ¶
func ExtractStorageStatus(storage *operatorv1.Storage, fieldManager string) (*StorageApplyConfiguration, error)
ExtractStorageStatus extracts the applied configuration owned by fieldManager from storage for the status subresource.
func Storage ¶
func Storage(name string) *StorageApplyConfiguration
Storage constructs a declarative configuration of the Storage type for use with apply.
func (*StorageApplyConfiguration) GetAPIVersion ¶
func (b *StorageApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*StorageApplyConfiguration) GetKind ¶
func (b *StorageApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*StorageApplyConfiguration) GetName ¶
func (b *StorageApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*StorageApplyConfiguration) GetNamespace ¶
func (b *StorageApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (StorageApplyConfiguration) IsApplyConfiguration ¶
func (b StorageApplyConfiguration) IsApplyConfiguration()
func (*StorageApplyConfiguration) WithAPIVersion ¶
func (b *StorageApplyConfiguration) WithAPIVersion(value string) *StorageApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*StorageApplyConfiguration) WithAnnotations ¶
func (b *StorageApplyConfiguration) WithAnnotations(entries map[string]string) *StorageApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*StorageApplyConfiguration) WithCreationTimestamp ¶
func (b *StorageApplyConfiguration) WithCreationTimestamp(value apismetav1.Time) *StorageApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*StorageApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *StorageApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *StorageApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*StorageApplyConfiguration) WithDeletionTimestamp ¶
func (b *StorageApplyConfiguration) WithDeletionTimestamp(value apismetav1.Time) *StorageApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*StorageApplyConfiguration) WithFinalizers ¶
func (b *StorageApplyConfiguration) WithFinalizers(values ...string) *StorageApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*StorageApplyConfiguration) WithGenerateName ¶
func (b *StorageApplyConfiguration) WithGenerateName(value string) *StorageApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*StorageApplyConfiguration) WithGeneration ¶
func (b *StorageApplyConfiguration) WithGeneration(value int64) *StorageApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*StorageApplyConfiguration) WithKind ¶
func (b *StorageApplyConfiguration) WithKind(value string) *StorageApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*StorageApplyConfiguration) WithLabels ¶
func (b *StorageApplyConfiguration) WithLabels(entries map[string]string) *StorageApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*StorageApplyConfiguration) WithName ¶
func (b *StorageApplyConfiguration) WithName(value string) *StorageApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*StorageApplyConfiguration) WithNamespace ¶
func (b *StorageApplyConfiguration) WithNamespace(value string) *StorageApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*StorageApplyConfiguration) WithOwnerReferences ¶
func (b *StorageApplyConfiguration) WithOwnerReferences(values ...*metav1.OwnerReferenceApplyConfiguration) *StorageApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*StorageApplyConfiguration) WithResourceVersion ¶
func (b *StorageApplyConfiguration) WithResourceVersion(value string) *StorageApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*StorageApplyConfiguration) WithSpec ¶
func (b *StorageApplyConfiguration) WithSpec(value *StorageSpecApplyConfiguration) *StorageApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*StorageApplyConfiguration) WithStatus ¶
func (b *StorageApplyConfiguration) WithStatus(value *StorageStatusApplyConfiguration) *StorageApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*StorageApplyConfiguration) WithUID ¶
func (b *StorageApplyConfiguration) WithUID(value types.UID) *StorageApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type StorageSpecApplyConfiguration ¶
type StorageSpecApplyConfiguration struct {
OperatorSpecApplyConfiguration `json:",inline"`
// vsphereStorageDriver indicates the storage driver to use on VSphere clusters.
// Once this field is set to CSIWithMigrationDriver, it can not be changed.
// If this is empty, the platform will choose a good default,
// which may change over time without notice.
// The current default is CSIWithMigrationDriver and may not be changed.
// DEPRECATED: This field will be removed in a future release.
VSphereStorageDriver *operatorv1.StorageDriverType `json:"vsphereStorageDriver,omitempty"`
}
StorageSpecApplyConfiguration represents a declarative configuration of the StorageSpec type for use with apply.
StorageSpec is the specification of the desired behavior of the cluster storage operator.
func StorageSpec ¶
func StorageSpec() *StorageSpecApplyConfiguration
StorageSpecApplyConfiguration constructs a declarative configuration of the StorageSpec type for use with apply.
func (*StorageSpecApplyConfiguration) WithLogLevel ¶
func (b *StorageSpecApplyConfiguration) WithLogLevel(value operatorv1.LogLevel) *StorageSpecApplyConfiguration
WithLogLevel sets the LogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogLevel field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithManagementState ¶
func (b *StorageSpecApplyConfiguration) WithManagementState(value operatorv1.ManagementState) *StorageSpecApplyConfiguration
WithManagementState sets the ManagementState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ManagementState field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithObservedConfig ¶
func (b *StorageSpecApplyConfiguration) WithObservedConfig(value runtime.RawExtension) *StorageSpecApplyConfiguration
WithObservedConfig sets the ObservedConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedConfig field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithOperatorLogLevel ¶
func (b *StorageSpecApplyConfiguration) WithOperatorLogLevel(value operatorv1.LogLevel) *StorageSpecApplyConfiguration
WithOperatorLogLevel sets the OperatorLogLevel field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OperatorLogLevel field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithUnsupportedConfigOverrides ¶
func (b *StorageSpecApplyConfiguration) WithUnsupportedConfigOverrides(value runtime.RawExtension) *StorageSpecApplyConfiguration
WithUnsupportedConfigOverrides sets the UnsupportedConfigOverrides field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UnsupportedConfigOverrides field is set to the value of the last call.
func (*StorageSpecApplyConfiguration) WithVSphereStorageDriver ¶
func (b *StorageSpecApplyConfiguration) WithVSphereStorageDriver(value operatorv1.StorageDriverType) *StorageSpecApplyConfiguration
WithVSphereStorageDriver sets the VSphereStorageDriver field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VSphereStorageDriver field is set to the value of the last call.
type StorageStatusApplyConfiguration ¶
type StorageStatusApplyConfiguration struct {
OperatorStatusApplyConfiguration `json:",inline"`
}
StorageStatusApplyConfiguration represents a declarative configuration of the StorageStatus type for use with apply.
StorageStatus defines the observed status of the cluster storage operator.
func StorageStatus ¶
func StorageStatus() *StorageStatusApplyConfiguration
StorageStatusApplyConfiguration constructs a declarative configuration of the StorageStatus type for use with apply.
func (*StorageStatusApplyConfiguration) WithConditions ¶
func (b *StorageStatusApplyConfiguration) WithConditions(values ...*OperatorConditionApplyConfiguration) *StorageStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*StorageStatusApplyConfiguration) WithGenerations ¶
func (b *StorageStatusApplyConfiguration) WithGenerations(values ...*GenerationStatusApplyConfiguration) *StorageStatusApplyConfiguration
WithGenerations adds the given value to the Generations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Generations field.
func (*StorageStatusApplyConfiguration) WithLatestAvailableRevision ¶
func (b *StorageStatusApplyConfiguration) WithLatestAvailableRevision(value int32) *StorageStatusApplyConfiguration
WithLatestAvailableRevision sets the LatestAvailableRevision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LatestAvailableRevision field is set to the value of the last call.
func (*StorageStatusApplyConfiguration) WithObservedGeneration ¶
func (b *StorageStatusApplyConfiguration) WithObservedGeneration(value int64) *StorageStatusApplyConfiguration
WithObservedGeneration sets the ObservedGeneration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ObservedGeneration field is set to the value of the last call.
func (*StorageStatusApplyConfiguration) WithReadyReplicas ¶
func (b *StorageStatusApplyConfiguration) WithReadyReplicas(value int32) *StorageStatusApplyConfiguration
WithReadyReplicas sets the ReadyReplicas field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReadyReplicas field is set to the value of the last call.
func (*StorageStatusApplyConfiguration) WithVersion ¶
func (b *StorageStatusApplyConfiguration) WithVersion(value string) *StorageStatusApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type SyslogLoggingDestinationParametersApplyConfiguration ¶
type SyslogLoggingDestinationParametersApplyConfiguration struct {
// address is the IP address of the syslog endpoint that receives log
// messages.
Address *string `json:"address,omitempty"`
// port is the UDP port number of the syslog endpoint that receives log
// messages.
Port *uint32 `json:"port,omitempty"`
// facility specifies the syslog facility of log messages.
//
// If this field is empty, the facility is "local1".
Facility *string `json:"facility,omitempty"`
// maxLength is the maximum length of the log message.
//
// Valid values are integers in the range 480 to 4096, inclusive.
//
// When omitted, the default value is 1024.
MaxLength *uint32 `json:"maxLength,omitempty"`
}
SyslogLoggingDestinationParametersApplyConfiguration represents a declarative configuration of the SyslogLoggingDestinationParameters type for use with apply.
SyslogLoggingDestinationParameters describes parameters for the Syslog logging destination type.
func SyslogLoggingDestinationParameters ¶
func SyslogLoggingDestinationParameters() *SyslogLoggingDestinationParametersApplyConfiguration
SyslogLoggingDestinationParametersApplyConfiguration constructs a declarative configuration of the SyslogLoggingDestinationParameters type for use with apply.
func (*SyslogLoggingDestinationParametersApplyConfiguration) WithAddress ¶
func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithAddress(value string) *SyslogLoggingDestinationParametersApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*SyslogLoggingDestinationParametersApplyConfiguration) WithFacility ¶
func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithFacility(value string) *SyslogLoggingDestinationParametersApplyConfiguration
WithFacility sets the Facility field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Facility field is set to the value of the last call.
func (*SyslogLoggingDestinationParametersApplyConfiguration) WithMaxLength ¶
func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithMaxLength(value uint32) *SyslogLoggingDestinationParametersApplyConfiguration
WithMaxLength sets the MaxLength field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxLength field is set to the value of the last call.
func (*SyslogLoggingDestinationParametersApplyConfiguration) WithPort ¶
func (b *SyslogLoggingDestinationParametersApplyConfiguration) WithPort(value uint32) *SyslogLoggingDestinationParametersApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
type ThemeApplyConfiguration ¶
type ThemeApplyConfiguration struct {
// mode is used to specify what theme mode a logo will apply to in the console UI.
// mode is a required field that allows values of Dark and Light.
// When set to Dark, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Dark mode.
// When set to Light, the logo file referenced in the 'file' field will be used when an end-user of the console UI enables the Light mode.
Mode *operatorv1.ThemeMode `json:"mode,omitempty"`
// source is used by the console to locate the specified file containing a custom logo.
// source is a required field that references a ConfigMap name and key that contains the custom logo file in the openshift-config namespace.
// You can create it with a command like:
// - 'oc create configmap custom-logos-config --namespace=openshift-config --from-file=/path/to/file'
// The ConfigMap key must include the file extension so that the console serves the file with the correct MIME type.
// The recommended file format for the Masthead and Favicon logos is SVG, but other file formats are allowed if supported by the browser.
// The logo image size must be less than 1 MB due to constraints on the ConfigMap size.
// For more information, see the documentation: https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/web_console/customizing-web-console#customizing-web-console
Source *FileReferenceSourceApplyConfiguration `json:"source,omitempty"`
}
ThemeApplyConfiguration represents a declarative configuration of the Theme type for use with apply.
Theme defines a theme mode for the console UI.
func Theme ¶
func Theme() *ThemeApplyConfiguration
ThemeApplyConfiguration constructs a declarative configuration of the Theme type for use with apply.
func (*ThemeApplyConfiguration) WithMode ¶
func (b *ThemeApplyConfiguration) WithMode(value operatorv1.ThemeMode) *ThemeApplyConfiguration
WithMode sets the Mode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Mode field is set to the value of the last call.
func (*ThemeApplyConfiguration) WithSource ¶
func (b *ThemeApplyConfiguration) WithSource(value *FileReferenceSourceApplyConfiguration) *ThemeApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
type UpstreamApplyConfiguration ¶
type UpstreamApplyConfiguration struct {
// type defines whether this upstream contains an IP/IP:port resolver or the local /etc/resolv.conf.
// Type accepts 2 possible values: SystemResolvConf or Network.
//
// * When SystemResolvConf is used, the Upstream structure does not require any further fields to be defined:
// /etc/resolv.conf will be used
// * When Network is used, the Upstream structure must contain at least an Address
Type *operatorv1.UpstreamType `json:"type,omitempty"`
// address must be defined when Type is set to Network. It will be ignored otherwise.
// It must be a valid ipv4 or ipv6 address.
Address *string `json:"address,omitempty"`
// port may be defined when Type is set to Network. It will be ignored otherwise.
// Port must be between 65535
Port *uint32 `json:"port,omitempty"`
}
UpstreamApplyConfiguration represents a declarative configuration of the Upstream type for use with apply.
Upstream can either be of type SystemResolvConf, or of type Network.
- For an Upstream of type SystemResolvConf, no further fields are necessary: The upstream will be configured to use /etc/resolv.conf. - For an Upstream of type Network, a NetworkResolver field needs to be defined with an IP address or IP:port if the upstream listens on a port other than 53.
func Upstream ¶
func Upstream() *UpstreamApplyConfiguration
UpstreamApplyConfiguration constructs a declarative configuration of the Upstream type for use with apply.
func (*UpstreamApplyConfiguration) WithAddress ¶
func (b *UpstreamApplyConfiguration) WithAddress(value string) *UpstreamApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*UpstreamApplyConfiguration) WithPort ¶
func (b *UpstreamApplyConfiguration) WithPort(value uint32) *UpstreamApplyConfiguration
WithPort sets the Port field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Port field is set to the value of the last call.
func (*UpstreamApplyConfiguration) WithType ¶
func (b *UpstreamApplyConfiguration) WithType(value operatorv1.UpstreamType) *UpstreamApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type UpstreamResolversApplyConfiguration ¶
type UpstreamResolversApplyConfiguration struct {
// upstreams is a list of resolvers to forward name queries for the "." domain.
// Each instance of CoreDNS performs health checking of Upstreams. When a healthy upstream
// returns an error during the exchange, another resolver is tried from Upstreams. The
// Upstreams are selected in the order specified in Policy.
//
// A maximum of 15 upstreams is allowed per ForwardPlugin.
// If no Upstreams are specified, /etc/resolv.conf is used by default
Upstreams []UpstreamApplyConfiguration `json:"upstreams,omitempty"`
// policy is used to determine the order in which upstream servers are selected for querying.
// Any one of the following values may be specified:
//
// * "Random" picks a random upstream server for each query.
// * "RoundRobin" picks upstream servers in a round-robin order, moving to the next server for each new query.
// * "Sequential" tries querying upstream servers in a sequential order until one responds, starting with the first server for each new query.
//
// The default value is "Sequential"
Policy *operatorv1.ForwardingPolicy `json:"policy,omitempty"`
// transportConfig is used to configure the transport type, server name, and optional custom CA or CA bundle to use
// when forwarding DNS requests to an upstream resolver.
//
// The default value is "" (empty) which results in a standard cleartext connection being used when forwarding DNS
// requests to an upstream resolver.
TransportConfig *DNSTransportConfigApplyConfiguration `json:"transportConfig,omitempty"`
// protocolStrategy specifies the protocol to use for upstream DNS
// requests.
// Valid values for protocolStrategy are "TCP" and omitted.
// When omitted, this means no opinion and the platform is left to choose
// a reasonable default, which is subject to change over time.
// The current default is to use the protocol of the original client request.
// "TCP" specifies that the platform should use TCP for all upstream DNS requests,
// even if the client request uses UDP.
// "TCP" is useful for UDP-specific issues such as those created by
// non-compliant upstream resolvers, but may consume more bandwidth or
// increase DNS response time. Note that protocolStrategy only affects
// the protocol of DNS requests that CoreDNS makes to upstream resolvers.
// It does not affect the protocol of DNS requests between clients and
// CoreDNS.
ProtocolStrategy *operatorv1.ProtocolStrategy `json:"protocolStrategy,omitempty"`
}
UpstreamResolversApplyConfiguration represents a declarative configuration of the UpstreamResolvers type for use with apply.
UpstreamResolvers defines a schema for configuring the CoreDNS forward plugin in the specific case of the default (".") server. It defers from ForwardPlugin in the default values it accepts: * At least one upstream should be specified. * the default policy is Sequential
func UpstreamResolvers ¶
func UpstreamResolvers() *UpstreamResolversApplyConfiguration
UpstreamResolversApplyConfiguration constructs a declarative configuration of the UpstreamResolvers type for use with apply.
func (*UpstreamResolversApplyConfiguration) WithPolicy ¶
func (b *UpstreamResolversApplyConfiguration) WithPolicy(value operatorv1.ForwardingPolicy) *UpstreamResolversApplyConfiguration
WithPolicy sets the Policy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Policy field is set to the value of the last call.
func (*UpstreamResolversApplyConfiguration) WithProtocolStrategy ¶
func (b *UpstreamResolversApplyConfiguration) WithProtocolStrategy(value operatorv1.ProtocolStrategy) *UpstreamResolversApplyConfiguration
WithProtocolStrategy sets the ProtocolStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProtocolStrategy field is set to the value of the last call.
func (*UpstreamResolversApplyConfiguration) WithTransportConfig ¶
func (b *UpstreamResolversApplyConfiguration) WithTransportConfig(value *DNSTransportConfigApplyConfiguration) *UpstreamResolversApplyConfiguration
WithTransportConfig sets the TransportConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TransportConfig field is set to the value of the last call.
func (*UpstreamResolversApplyConfiguration) WithUpstreams ¶
func (b *UpstreamResolversApplyConfiguration) WithUpstreams(values ...*UpstreamApplyConfiguration) *UpstreamResolversApplyConfiguration
WithUpstreams adds the given value to the Upstreams field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Upstreams field.
type VSphereCSIDriverConfigSpecApplyConfiguration ¶
type VSphereCSIDriverConfigSpecApplyConfiguration struct {
// topologyCategories indicates tag categories with which
// vcenter resources such as hostcluster or datacenter were tagged with.
// If cluster Infrastructure object has a topology, values specified in
// Infrastructure object will be used and modifications to topologyCategories
// will be rejected.
TopologyCategories []string `json:"topologyCategories,omitempty"`
// globalMaxSnapshotsPerBlockVolume is a global configuration parameter that applies to volumes on all kinds of
// datastores. If omitted, the platform chooses a default, which is subject to change over time, currently that default is 3.
// Snapshots can not be disabled using this parameter.
// Increasing number of snapshots above 3 can have negative impact on performance, for more details see: https://kb.vmware.com/s/article/1025279
// Volume snapshot documentation: https://docs.vmware.com/en/VMware-vSphere-Container-Storage-Plug-in/3.0/vmware-vsphere-csp-getting-started/GUID-E0B41C69-7EEB-450F-A73D-5FD2FF39E891.html
GlobalMaxSnapshotsPerBlockVolume *uint32 `json:"globalMaxSnapshotsPerBlockVolume,omitempty"`
// granularMaxSnapshotsPerBlockVolumeInVSAN is a granular configuration parameter on vSAN datastore only. It
// overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
// Snapshots for VSAN can not be disabled using this parameter.
GranularMaxSnapshotsPerBlockVolumeInVSAN *uint32 `json:"granularMaxSnapshotsPerBlockVolumeInVSAN,omitempty"`
// granularMaxSnapshotsPerBlockVolumeInVVOL is a granular configuration parameter on Virtual Volumes datastore only.
// It overrides GlobalMaxSnapshotsPerBlockVolume if set, while it falls back to the global constraint if unset.
// Snapshots for VVOL can not be disabled using this parameter.
GranularMaxSnapshotsPerBlockVolumeInVVOL *uint32 `json:"granularMaxSnapshotsPerBlockVolumeInVVOL,omitempty"`
// maxAllowedBlockVolumesPerNode is an optional configuration parameter that allows setting a custom value for the
// limit of the number of PersistentVolumes attached to a node. In vSphere version 7 this limit was set to 59 by
// default, however in vSphere version 8 this limit was increased to 255.
// Before increasing this value above 59 the cluster administrator needs to ensure that every node forming the
// cluster is updated to ESXi version 8 or higher and that all nodes are running the same version.
// The limit must be between 1 and 255, which matches the vSphere version 8 maximum.
// When omitted, this means no opinion and the platform is left to choose a reasonable default, which is subject to
// change over time.
// The current default is 59, which matches the limit for vSphere version 7.
MaxAllowedBlockVolumesPerNode *int32 `json:"maxAllowedBlockVolumesPerNode,omitempty"`
}
VSphereCSIDriverConfigSpecApplyConfiguration represents a declarative configuration of the VSphereCSIDriverConfigSpec type for use with apply.
VSphereCSIDriverConfigSpec defines properties that can be configured for vsphere CSI driver.
func VSphereCSIDriverConfigSpec ¶
func VSphereCSIDriverConfigSpec() *VSphereCSIDriverConfigSpecApplyConfiguration
VSphereCSIDriverConfigSpecApplyConfiguration constructs a declarative configuration of the VSphereCSIDriverConfigSpec type for use with apply.
func (*VSphereCSIDriverConfigSpecApplyConfiguration) WithGlobalMaxSnapshotsPerBlockVolume ¶
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGlobalMaxSnapshotsPerBlockVolume(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
WithGlobalMaxSnapshotsPerBlockVolume sets the GlobalMaxSnapshotsPerBlockVolume field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GlobalMaxSnapshotsPerBlockVolume field is set to the value of the last call.
func (*VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVSAN ¶
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVSAN(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
WithGranularMaxSnapshotsPerBlockVolumeInVSAN sets the GranularMaxSnapshotsPerBlockVolumeInVSAN field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GranularMaxSnapshotsPerBlockVolumeInVSAN field is set to the value of the last call.
func (*VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVVOL ¶
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithGranularMaxSnapshotsPerBlockVolumeInVVOL(value uint32) *VSphereCSIDriverConfigSpecApplyConfiguration
WithGranularMaxSnapshotsPerBlockVolumeInVVOL sets the GranularMaxSnapshotsPerBlockVolumeInVVOL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GranularMaxSnapshotsPerBlockVolumeInVVOL field is set to the value of the last call.
func (*VSphereCSIDriverConfigSpecApplyConfiguration) WithMaxAllowedBlockVolumesPerNode ¶
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithMaxAllowedBlockVolumesPerNode(value int32) *VSphereCSIDriverConfigSpecApplyConfiguration
WithMaxAllowedBlockVolumesPerNode sets the MaxAllowedBlockVolumesPerNode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxAllowedBlockVolumesPerNode field is set to the value of the last call.
func (*VSphereCSIDriverConfigSpecApplyConfiguration) WithTopologyCategories ¶
func (b *VSphereCSIDriverConfigSpecApplyConfiguration) WithTopologyCategories(values ...string) *VSphereCSIDriverConfigSpecApplyConfiguration
WithTopologyCategories adds the given value to the TopologyCategories field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TopologyCategories field.
Source Files
¶
- accesslogging.go
- additionalnetworkdefinition.go
- additionalroutingcapabilities.go
- addpage.go
- authentication.go
- authenticationspec.go
- authenticationstatus.go
- awsclassicloadbalancerparameters.go
- awscsidriverconfigspec.go
- awsefsvolumemetrics.go
- awsefsvolumemetricsrecursivewalkconfig.go
- awsloadbalancerparameters.go
- awsnetworkloadbalancerparameters.go
- awssubnets.go
- azurecsidriverconfigspec.go
- azurediskencryptionset.go
- bgpmanagedconfig.go
- bootimageskewenforcementconfig.go
- bootimageskewenforcementstatus.go
- capability.go
- capabilityvisibility.go
- clienttls.go
- cloudcredential.go
- cloudcredentialspec.go
- cloudcredentialstatus.go
- clusterbootimageautomatic.go
- clusterbootimagemanual.go
- clustercsidriver.go
- clustercsidriverspec.go
- clustercsidriverstatus.go
- clusternetworkentry.go
- config.go
- configmapfilereference.go
- configspec.go
- configstatus.go
- console.go
- consoleconfigroute.go
- consolecustomization.go
- consoleproviders.go
- consolespec.go
- consolestatus.go
- containerloggingdestinationparameters.go
- csidriverconfigspec.go
- csisnapshotcontroller.go
- csisnapshotcontrollerspec.go
- csisnapshotcontrollerstatus.go
- defaultnetworkdefinition.go
- developerconsolecatalogcategory.go
- developerconsolecatalogcategorymeta.go
- developerconsolecatalogcustomization.go
- developerconsolecatalogtypes.go
- dns.go
- dnscache.go
- dnsnodeplacement.go
- dnsovertlsconfig.go
- dnsspec.go
- dnsstatus.go
- dnstransportconfig.go
- egressipconfig.go
- endpointpublishingstrategy.go
- etcd.go
- etcdspec.go
- etcdstatus.go
- exportnetworkflows.go
- featuresmigration.go
- filereferencesource.go
- forwardplugin.go
- gatewayconfig.go
- gathererstatus.go
- gatherstatus.go
- gcpcsidriverconfigspec.go
- gcpkmskeyreference.go
- gcploadbalancerparameters.go
- generationstatus.go
- healthcheck.go
- hostnetworkstrategy.go
- httpcompressionpolicy.go
- hybridoverlayconfig.go
- ibmcloudcsidriverconfigspec.go
- ibmloadbalancerparameters.go
- ingress.go
- ingresscontroller.go
- ingresscontrollercapturehttpcookie.go
- ingresscontrollercapturehttpcookieunion.go
- ingresscontrollercapturehttpheader.go
- ingresscontrollercapturehttpheaders.go
- ingresscontrollerhttpheader.go
- ingresscontrollerhttpheaderactions.go
- ingresscontrollerhttpheaderactionunion.go
- ingresscontrollerhttpheaders.go
- ingresscontrollerhttpuniqueidheaderpolicy.go
- ingresscontrollerlogging.go
- ingresscontrollersethttpheader.go
- ingresscontrollerspec.go
- ingresscontrollerstatus.go
- ingresscontrollertuningoptions.go
- insightsoperator.go
- insightsoperatorspec.go
- insightsoperatorstatus.go
- insightsreport.go
- ipamconfig.go
- ipfixconfig.go
- ipsecconfig.go
- ipsecfullmodeconfig.go
- ipv4gatewayconfig.go
- ipv4ovnkubernetesconfig.go
- ipv6gatewayconfig.go
- ipv6ovnkubernetesconfig.go
- irreconcilablevalidationoverrides.go
- kubeapiserver.go
- kubeapiserverspec.go
- kubeapiserverstatus.go
- kubecontrollermanager.go
- kubecontrollermanagerspec.go
- kubecontrollermanagerstatus.go
- kubescheduler.go
- kubeschedulerspec.go
- kubeschedulerstatus.go
- kubestorageversionmigrator.go
- kubestorageversionmigratorspec.go
- kubestorageversionmigratorstatus.go
- loadbalancerstrategy.go
- loggingdestination.go
- logo.go
- machineconfiguration.go
- machineconfigurationspec.go
- machineconfigurationstatus.go
- machinemanager.go
- machinemanagerselector.go
- managedbootimages.go
- mtumigration.go
- mtumigrationvalues.go
- netflowconfig.go
- network.go
- networkmigration.go
- networkspec.go
- networkstatus.go
- nodedisruptionpolicyclusterstatus.go
- nodedisruptionpolicyconfig.go
- nodedisruptionpolicyspecaction.go
- nodedisruptionpolicyspecfile.go
- nodedisruptionpolicyspecsshkey.go
- nodedisruptionpolicyspecunit.go
- nodedisruptionpolicystatus.go
- nodedisruptionpolicystatusaction.go
- nodedisruptionpolicystatusfile.go
- nodedisruptionpolicystatussshkey.go
- nodedisruptionpolicystatusunit.go
- nodeplacement.go
- nodeportstrategy.go
- nodestatus.go
- nooverlayconfig.go
- oauthapiserverstatus.go
- olm.go
- olmspec.go
- olmstatus.go
- openshiftapiserver.go
- openshiftapiserverspec.go
- openshiftapiserverstatus.go
- openshiftcontrollermanager.go
- openshiftcontrollermanagerspec.go
- openshiftcontrollermanagerstatus.go
- openshiftsdnconfig.go
- openstackloadbalancerparameters.go
- operatorcondition.go
- operatorspec.go
- operatorstatus.go
- ovnkubernetesconfig.go
- partialselector.go
- perspective.go
- perspectivevisibility.go
- pinnedresourcereference.go
- policyauditconfig.go
- privatestrategy.go
- projectaccess.go
- providerloadbalancerparameters.go
- proxyconfig.go
- quickstarts.go
- reloadservice.go
- resourceattributesaccessreview.go
- restartservice.go
- routeadmissionpolicy.go
- server.go
- serviceaccountissuerstatus.go
- serviceca.go
- servicecaspec.go
- servicecastatus.go
- servicecatalogapiserver.go
- servicecatalogapiserverspec.go
- servicecatalogapiserverstatus.go
- servicecatalogcontrollermanager.go
- servicecatalogcontrollermanagerspec.go
- servicecatalogcontrollermanagerstatus.go
- sflowconfig.go
- simplemacvlanconfig.go
- staticipamaddresses.go
- staticipamconfig.go
- staticipamdns.go
- staticipamroutes.go
- staticpodoperatorspec.go
- staticpodoperatorstatus.go
- statuspageprovider.go
- storage.go
- storagespec.go
- storagestatus.go
- syslogloggingdestinationparameters.go
- theme.go
- upstream.go
- upstreamresolvers.go
- vspherecsidriverconfigspec.go