v1

package
v0.0.0-...-deb4dc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 10 Imported by: 68

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*AuthenticationApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CSISnapshotControllerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*CSISnapshotControllerApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (CSISnapshotControllerApplyConfiguration) IsApplyConfiguration

func (b CSISnapshotControllerApplyConfiguration) IsApplyConfiguration()

func (*CSISnapshotControllerApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*CloudCredentialApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ClusterCSIDriverApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*IngressControllerApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*InsightsOperatorApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KubeAPIServerApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KubeControllerManagerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*KubeControllerManagerApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (KubeControllerManagerApplyConfiguration) IsApplyConfiguration

func (b KubeControllerManagerApplyConfiguration) IsApplyConfiguration()

func (*KubeControllerManagerApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KubeSchedulerApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*KubeStorageVersionMigratorApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*KubeStorageVersionMigratorApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*KubeStorageVersionMigratorApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (KubeStorageVersionMigratorApplyConfiguration) IsApplyConfiguration

func (b KubeStorageVersionMigratorApplyConfiguration) IsApplyConfiguration()

func (*KubeStorageVersionMigratorApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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() *LogoApplyConfiguration

LogoApplyConfiguration constructs a declarative configuration of the Logo type for use with apply.

func (*LogoApplyConfiguration) WithThemes

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*MachineConfigurationApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*MachineConfigurationApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (MachineConfigurationApplyConfiguration) IsApplyConfiguration

func (b MachineConfigurationApplyConfiguration) IsApplyConfiguration()

func (*MachineConfigurationApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OpenShiftAPIServerApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*OpenShiftControllerManagerApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*OpenShiftControllerManagerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*OpenShiftControllerManagerApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (OpenShiftControllerManagerApplyConfiguration) IsApplyConfiguration

func (b OpenShiftControllerManagerApplyConfiguration) IsApplyConfiguration()

func (*OpenShiftControllerManagerApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ServiceCatalogAPIServerApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ServiceCatalogAPIServerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServiceCatalogAPIServerApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ServiceCatalogAPIServerApplyConfiguration) IsApplyConfiguration

func (b ServiceCatalogAPIServerApplyConfiguration) IsApplyConfiguration()

func (*ServiceCatalogAPIServerApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.

func (*ServiceCatalogControllerManagerApplyConfiguration) GetKind

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*ServiceCatalogControllerManagerApplyConfiguration) GetName

GetName retrieves the value of the Name field in the declarative configuration.

func (*ServiceCatalogControllerManagerApplyConfiguration) GetNamespace

GetNamespace retrieves the value of the Namespace field in the declarative configuration.

func (ServiceCatalogControllerManagerApplyConfiguration) IsApplyConfiguration

func (b ServiceCatalogControllerManagerApplyConfiguration) IsApplyConfiguration()

func (*ServiceCatalogControllerManagerApplyConfiguration) WithAPIVersion

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL