v1

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertionApplyConfiguration

type AssertionApplyConfiguration struct {
	// type is a required field which specifies the type of probe to use.
	//
	// The allowed probe types are "ConditionEqual", "FieldsEqual", and "FieldValue".
	//
	// When set to "ConditionEqual", the probe checks objects that have reached a condition of specified type and status.
	// When set to "FieldsEqual", the probe checks that the values found at two provided field paths are matching.
	// When set to "FieldValue", the probe checks that the value found at the provided field path matches what was specified.
	//
	// <opcon:experimental>
	Type *apiv1.ProbeType `json:"type,omitempty"`
	// conditionEqual contains the expected condition type and status.
	//
	// <opcon:experimental>
	ConditionEqual *ConditionEqualProbeApplyConfiguration `json:"conditionEqual,omitempty"`
	// fieldsEqual contains the two field paths whose values are expected to match.
	//
	// <opcon:experimental>
	FieldsEqual *FieldsEqualProbeApplyConfiguration `json:"fieldsEqual,omitempty"`
	// fieldValue contains the expected field path and value found within.
	//
	// <opcon:experimental>
	FieldValue *FieldValueProbeApplyConfiguration `json:"fieldValue,omitempty"`
}

AssertionApplyConfiguration represents a declarative configuration of the Assertion type for use with apply.

Assertion is a discriminated union which defines the probe type and definition used as an assertion.

func Assertion

func Assertion() *AssertionApplyConfiguration

AssertionApplyConfiguration constructs a declarative configuration of the Assertion type for use with apply.

func (*AssertionApplyConfiguration) WithConditionEqual

WithConditionEqual sets the ConditionEqual field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConditionEqual field is set to the value of the last call.

func (*AssertionApplyConfiguration) WithFieldValue

WithFieldValue sets the FieldValue field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldValue field is set to the value of the last call.

func (*AssertionApplyConfiguration) WithFieldsEqual

WithFieldsEqual sets the FieldsEqual field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldsEqual field is set to the value of the last call.

func (*AssertionApplyConfiguration) 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 BundleMetadataApplyConfiguration

type BundleMetadataApplyConfiguration struct {
	// name is required and follows the DNS subdomain standard as defined in [RFC 1123].
	// It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
	// start and end with an alphanumeric character, and be no longer than 253 characters.
	Name *string `json:"name,omitempty"`
	// version is required and references the version that this bundle represents.
	// It follows the semantic versioning standard as defined in https://semver.org/.
	Version *string `json:"version,omitempty"`
	// release is an optional field that identifies a specific release of this bundle's version.
	// A release represents a re-publication of the same version, typically used to deliver
	// packaging or metadata changes without changing the version number. When multiple
	// releases exist for the same version, higher releases are preferred. An unset release
	// is less preferred than all other release values.
	//
	// The value consists of dot-separated identifiers, where each identifier is either a
	// numeric value (without leading zeros) or an alphanumeric string (e.g., "2", "1.el9",
	// "3.alpha.1"). Releases are compared identifier by identifier: numeric identifiers are
	// compared as integers, alphanumeric identifiers are compared lexically, and numeric
	// identifiers always sort before alphanumeric identifiers.
	//
	// For bundles with explicit pkg.Release metadata, this field contains that release value.
	// For registry+v1 bundles lacking an explicit release value, this field contains the release
	// extracted from version's build metadata (e.g., '2' from '1.0.0+2').
	// This field is omitted when the bundle's release value is unset.
	//
	// <opcon:experimental>
	Release *string `json:"release,omitempty"`
}

BundleMetadataApplyConfiguration represents a declarative configuration of the BundleMetadata type for use with apply.

BundleMetadata is a representation of the identifying attributes of a bundle.

func BundleMetadata

func BundleMetadata() *BundleMetadataApplyConfiguration

BundleMetadataApplyConfiguration constructs a declarative configuration of the BundleMetadata type for use with apply.

func (*BundleMetadataApplyConfiguration) 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 (*BundleMetadataApplyConfiguration) WithRelease

WithRelease sets the Release field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Release field is set to the value of the last call.

func (*BundleMetadataApplyConfiguration) 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 CRDUpgradeSafetyPreflightConfigApplyConfiguration

type CRDUpgradeSafetyPreflightConfigApplyConfiguration struct {
	// enforcement is required and configures the state of the CRD Upgrade Safety pre-flight check.
	//
	// Allowed values are "None" or "Strict". The default value is "Strict".
	//
	// When set to "None", the CRD Upgrade Safety pre-flight check is skipped during an upgrade operation.
	// Use this option with caution as unintended consequences such as data loss can occur.
	//
	// When set to "Strict", the CRD Upgrade Safety pre-flight check runs during an upgrade operation.
	Enforcement *apiv1.CRDUpgradeSafetyEnforcement `json:"enforcement,omitempty"`
}

CRDUpgradeSafetyPreflightConfigApplyConfiguration represents a declarative configuration of the CRDUpgradeSafetyPreflightConfig type for use with apply.

CRDUpgradeSafetyPreflightConfig is the configuration for CRD upgrade safety preflight check.

func CRDUpgradeSafetyPreflightConfig

func CRDUpgradeSafetyPreflightConfig() *CRDUpgradeSafetyPreflightConfigApplyConfiguration

CRDUpgradeSafetyPreflightConfigApplyConfiguration constructs a declarative configuration of the CRDUpgradeSafetyPreflightConfig type for use with apply.

func (*CRDUpgradeSafetyPreflightConfigApplyConfiguration) WithEnforcement

WithEnforcement sets the Enforcement field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enforcement field is set to the value of the last call.

type CatalogFilterApplyConfiguration

type CatalogFilterApplyConfiguration struct {
	// packageName specifies the name of the package to be installed and is used to filter
	// the content from catalogs.
	//
	// It is required, immutable, and follows the DNS subdomain standard as defined in [RFC 1123].
	// It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
	// start and end with an alphanumeric character, and be no longer than 253 characters.
	//
	// Some examples of valid values are:
	// - some-package
	// - 123-package
	// - 1-package-2
	// - somepackage
	//
	// Some examples of invalid values are:
	// - -some-package
	// - some-package-
	// - thisisareallylongpackagenamethatisgreaterthanthemaximumlength
	// - some.package
	//
	// [RFC 1123]: https://tools.ietf.org/html/rfc1123
	PackageName *string `json:"packageName,omitempty"`
	// version is an optional semver constraint (a specific version or range of versions).
	// When unspecified, the latest version available is installed.
	//
	// Acceptable version ranges are no longer than 64 characters.
	// Version ranges are composed of comma- or space-delimited values and one or more comparison operators,
	// known as comparison strings.
	// You can add additional comparison strings using the OR operator (||).
	//
	// # Range Comparisons
	//
	// To specify a version range, you can use a comparison string like ">=3.0,
	// <3.6". When specifying a range, automatic updates will occur within that
	// range. The example comparison string means "install any version greater than
	// or equal to 3.0.0 but less than 3.6.0.". It also states intent that if any
	// upgrades are available within the version range after initial installation,
	// those upgrades should be automatically performed.
	//
	// # Pinned Versions
	//
	// To specify an exact version to install you can use a version range that
	// "pins" to a specific version. When pinning to a specific version, no
	// automatic updates will occur. An example of a pinned version range is
	// "0.6.0", which means "only install version 0.6.0 and never
	// upgrade from this version".
	//
	// # Basic Comparison Operators
	//
	// The basic comparison operators and their meanings are:
	// - "=", equal (not aliased to an operator)
	// - "!=", not equal
	// - "<", less than
	// - ">", greater than
	// - ">=", greater than OR equal to
	// - "<=", less than OR equal to
	//
	// # Wildcard Comparisons
	//
	// You can use the "x", "X", and "*" characters as wildcard characters in all
	// comparison operations. Some examples of using the wildcard characters:
	// - "1.2.x", "1.2.X", and "1.2.*" is equivalent to ">=1.2.0, < 1.3.0"
	// - ">= 1.2.x", ">= 1.2.X", and ">= 1.2.*" is equivalent to ">= 1.2.0"
	// - "<= 2.x", "<= 2.X", and "<= 2.*" is equivalent to "< 3"
	// - "x", "X", and "*" is equivalent to ">= 0.0.0"
	//
	// # Patch Release Comparisons
	//
	// When you want to specify a minor version up to the next major version you
	// can use the "~" character to perform patch comparisons. Some examples:
	// - "~1.2.3" is equivalent to ">=1.2.3, <1.3.0"
	// - "~1" and "~1.x" is equivalent to ">=1, <2"
	// - "~2.3" is equivalent to ">=2.3, <2.4"
	// - "~1.2.x" is equivalent to ">=1.2.0, <1.3.0"
	//
	// # Major Release Comparisons
	//
	// You can use the "^" character to make major release comparisons after a
	// stable 1.0.0 version is published. If there is no stable version published, // minor versions define the stability level. Some examples:
	// - "^1.2.3" is equivalent to ">=1.2.3, <2.0.0"
	// - "^1.2.x" is equivalent to ">=1.2.0, <2.0.0"
	// - "^2.3" is equivalent to ">=2.3, <3"
	// - "^2.x" is equivalent to ">=2.0.0, <3"
	// - "^0.2.3" is equivalent to ">=0.2.3, <0.3.0"
	// - "^0.2" is equivalent to ">=0.2.0, <0.3.0"
	// - "^0.0.3" is equvalent to ">=0.0.3, <0.0.4"
	// - "^0.0" is equivalent to ">=0.0.0, <0.1.0"
	// - "^0" is equivalent to ">=0.0.0, <1.0.0"
	//
	// # OR Comparisons
	// You can use the "||" character to represent an OR operation in the version
	// range. Some examples:
	// - ">=1.2.3, <2.0.0 || >3.0.0"
	// - "^0 || ^3 || ^5"
	//
	// For more information on semver, please see https://semver.org/
	Version *string `json:"version,omitempty"`
	// channels is optional and specifies a set of channels belonging to the package
	// specified in the packageName field.
	//
	// A channel is a package-author-defined stream of updates for an extension.
	//
	// Each channel in the list must follow the DNS subdomain standard as defined in [RFC 1123].
	// It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
	// start and end with an alphanumeric character, and be no longer than 253 characters.
	// You can specify no more than 256 channels.
	//
	// When specified, it constrains the set of installable bundles and the automated upgrade path.
	// This constraint is an AND operation with the version field. For example:
	// - Given channel is set to "foo"
	// - Given version is set to ">=1.0.0, <1.5.0"
	// - Only bundles that exist in channel "foo" AND satisfy the version range comparison are considered installable
	// - Automatic upgrades are constrained to upgrade edges defined by the selected channel
	//
	// When unspecified, upgrade edges across all channels are used to identify valid automatic upgrade paths.
	//
	// Some examples of valid values are:
	// - 1.1.x
	// - alpha
	// - stable
	// - stable-v1
	// - v1-stable
	// - dev-preview
	// - preview
	// - community
	//
	// Some examples of invalid values are:
	// - -some-channel
	// - some-channel-
	// - thisisareallylongchannelnamethatisgreaterthanthemaximumlength
	// - original_40
	// - --default-channel
	//
	// [RFC 1123]: https://tools.ietf.org/html/rfc1123
	Channels []string `json:"channels,omitempty"`
	// selector is optional and filters the set of ClusterCatalogs used in the bundle selection process.
	//
	// When unspecified, all ClusterCatalogs are used in the bundle selection process.
	Selector *metav1.LabelSelectorApplyConfiguration `json:"selector,omitempty"`
	// upgradeConstraintPolicy is optional and controls whether the upgrade paths defined in the catalog
	// are enforced for the package referenced in the packageName field.
	//
	// Allowed values are "CatalogProvided", "SelfCertified", or omitted.
	//
	// When set to "CatalogProvided", automatic upgrades only occur when upgrade constraints specified by the package
	// author are met.
	//
	// When set to "SelfCertified", the upgrade constraints specified by the package author are ignored.
	// This allows upgrades and downgrades to any version of the package.
	// This is considered a dangerous operation as it can lead to unknown and potentially disastrous outcomes,
	// such as data loss.
	// Use this option only if you have independently verified the changes.
	//
	// When omitted, the default value is "CatalogProvided".
	UpgradeConstraintPolicy *apiv1.UpgradeConstraintPolicy `json:"upgradeConstraintPolicy,omitempty"`
}

CatalogFilterApplyConfiguration represents a declarative configuration of the CatalogFilter type for use with apply.

CatalogFilter defines the attributes used to identify and filter content from a catalog.

func CatalogFilter

func CatalogFilter() *CatalogFilterApplyConfiguration

CatalogFilterApplyConfiguration constructs a declarative configuration of the CatalogFilter type for use with apply.

func (*CatalogFilterApplyConfiguration) WithChannels

WithChannels adds the given value to the Channels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Channels field.

func (*CatalogFilterApplyConfiguration) WithPackageName

WithPackageName sets the PackageName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PackageName field is set to the value of the last call.

func (*CatalogFilterApplyConfiguration) 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 (*CatalogFilterApplyConfiguration) WithUpgradeConstraintPolicy

WithUpgradeConstraintPolicy sets the UpgradeConstraintPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UpgradeConstraintPolicy field is set to the value of the last call.

func (*CatalogFilterApplyConfiguration) 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 CatalogSourceApplyConfiguration

type CatalogSourceApplyConfiguration struct {
	// type is a required field that specifies the type of source for the catalog.
	//
	// The only allowed value is "Image".
	//
	// When set to "Image", the ClusterCatalog content is sourced from an OCI image.
	// When using an image source, the image field must be set and must be the only field defined for this type.
	Type *apiv1.SourceType `json:"type,omitempty"`
	// image configures how catalog contents are sourced from an OCI image.
	// It is required when type is Image, and forbidden otherwise.
	Image *ImageSourceApplyConfiguration `json:"image,omitempty"`
}

CatalogSourceApplyConfiguration represents a declarative configuration of the CatalogSource type for use with apply.

CatalogSource is a discriminated union of possible sources for a Catalog. CatalogSource contains the sourcing information for a Catalog

func CatalogSource

func CatalogSource() *CatalogSourceApplyConfiguration

CatalogSourceApplyConfiguration constructs a declarative configuration of the CatalogSource type for use with apply.

func (*CatalogSourceApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*CatalogSourceApplyConfiguration) 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 ClusterCatalogApplyConfiguration

type ClusterCatalogApplyConfiguration 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 a required field that defines the desired state of the ClusterCatalog.
	// The controller ensures that the catalog is unpacked and served over the catalog content HTTP server.
	Spec *ClusterCatalogSpecApplyConfiguration `json:"spec,omitempty"`
	// status contains the following information about the state of the ClusterCatalog:
	// - Whether the catalog contents are being served via the catalog content HTTP server
	// - Whether the ClusterCatalog is progressing to a new state
	// - A reference to the source from which the catalog contents were retrieved
	Status *ClusterCatalogStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterCatalogApplyConfiguration represents a declarative configuration of the ClusterCatalog type for use with apply.

ClusterCatalog makes File-Based Catalog (FBC) data available to your cluster. For more information on FBC, see https://olm.operatorframework.io/docs/reference/file-based-catalogs/#docs

func ClusterCatalog

func ClusterCatalog(name string) *ClusterCatalogApplyConfiguration

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

func (*ClusterCatalogApplyConfiguration) GetAPIVersion

func (b *ClusterCatalogApplyConfiguration) GetAPIVersion() *string

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

func (*ClusterCatalogApplyConfiguration) GetKind

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

func (*ClusterCatalogApplyConfiguration) GetName

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

func (*ClusterCatalogApplyConfiguration) GetNamespace

func (b *ClusterCatalogApplyConfiguration) GetNamespace() *string

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

func (ClusterCatalogApplyConfiguration) IsApplyConfiguration

func (b ClusterCatalogApplyConfiguration) IsApplyConfiguration()

func (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ClusterCatalogApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterCatalogApplyConfiguration

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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 (*ClusterCatalogApplyConfiguration) 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 ClusterCatalogSpecApplyConfiguration

type ClusterCatalogSpecApplyConfiguration struct {
	// source is a required field that defines the source of a catalog.
	// A catalog contains information on content that can be installed on a cluster.
	// The catalog source makes catalog contents discoverable and usable by other on-cluster components.
	// These components can present the content in a GUI dashboard or install content from the catalog on the cluster.
	// The catalog source must contain catalog metadata in the File-Based Catalog (FBC) format.
	// For more information on FBC, see https://olm.operatorframework.io/docs/reference/file-based-catalogs/#docs.
	//
	// Below is a minimal example of a ClusterCatalogSpec that sources a catalog from an image:
	//
	// source:
	// type: Image
	// image:
	// ref: quay.io/operatorhubio/catalog:latest
	Source *CatalogSourceApplyConfiguration `json:"source,omitempty"`
	// priority is an optional field that defines a priority for this ClusterCatalog.
	//
	// Clients use the ClusterCatalog priority as a tie-breaker between ClusterCatalogs that meet their requirements.
	// Higher numbers mean higher priority.
	//
	// Clients decide how to handle scenarios where multiple ClusterCatalogs with the same priority meet their requirements.
	// Clients should prompt users for additional input to break the tie.
	//
	// When omitted, the default priority is 0.
	//
	// Use negative numbers to specify a priority lower than the default.
	// Use positive numbers to specify a priority higher than the default.
	//
	// The lowest possible value is -2147483648.
	// The highest possible value is 2147483647.
	Priority *int32 `json:"priority,omitempty"`
	// availabilityMode is an optional field that defines how the ClusterCatalog is made available to clients on the cluster.
	//
	// Allowed values are "Available", "Unavailable", or omitted.
	//
	// When omitted, the default value is "Available".
	//
	// When set to "Available", the catalog contents are unpacked and served over the catalog content HTTP server.
	// Clients should consider this ClusterCatalog and its contents as usable.
	//
	// When set to "Unavailable", the catalog contents are no longer served over the catalog content HTTP server.
	// Treat this the same as if the ClusterCatalog does not exist.
	// Use "Unavailable" when you want to keep the ClusterCatalog but treat it as if it doesn't exist.
	AvailabilityMode *apiv1.AvailabilityMode `json:"availabilityMode,omitempty"`
}

ClusterCatalogSpecApplyConfiguration represents a declarative configuration of the ClusterCatalogSpec type for use with apply.

ClusterCatalogSpec defines the desired state of ClusterCatalog

func ClusterCatalogSpec

func ClusterCatalogSpec() *ClusterCatalogSpecApplyConfiguration

ClusterCatalogSpecApplyConfiguration constructs a declarative configuration of the ClusterCatalogSpec type for use with apply.

func (*ClusterCatalogSpecApplyConfiguration) WithAvailabilityMode

WithAvailabilityMode sets the AvailabilityMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AvailabilityMode field is set to the value of the last call.

func (*ClusterCatalogSpecApplyConfiguration) WithPriority

WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.

func (*ClusterCatalogSpecApplyConfiguration) 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 ClusterCatalogStatusApplyConfiguration

type ClusterCatalogStatusApplyConfiguration struct {
	// conditions represents the current state of this ClusterCatalog.
	//
	// The current condition types are Serving and Progressing.
	//
	// The Serving condition represents whether the catalog contents are being served via the HTTP(S) web server:
	// - When status is True and reason is Available, the catalog contents are being served.
	// - When status is False and reason is Unavailable, the catalog contents are not being served because the contents are not yet available.
	// - When status is False and reason is UserSpecifiedUnavailable, the catalog contents are not being served because the catalog has been intentionally marked as unavailable.
	//
	// The Progressing condition represents whether the ClusterCatalog is progressing or is ready to progress towards a new state:
	// - When status is True and reason is Retrying, an error occurred that may be resolved on subsequent reconciliation attempts.
	// - When status is True and reason is Succeeded, the ClusterCatalog has successfully progressed to a new state and is ready to continue progressing.
	// - When status is False and reason is Blocked, an error occurred that requires manual intervention for recovery.
	//
	// If the system initially fetched contents and polling identifies updates, both conditions can be active simultaneously:
	// - The Serving condition remains True with reason Available because the previous contents are still served via the HTTP(S) web server.
	// - The Progressing condition is True with reason Retrying because the system is working to serve the new version.
	Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// resolvedSource contains information about the resolved source based on the source type.
	ResolvedSource *ResolvedCatalogSourceApplyConfiguration `json:"resolvedSource,omitempty"`
	// urls contains the URLs that can be used to access the catalog.
	URLs *ClusterCatalogURLsApplyConfiguration `json:"urls,omitempty"`
	// lastUnpacked represents the last time the catalog contents were extracted from their source format.
	// For example, when using an Image source, the OCI image is pulled and image layers are written to a file-system backed cache.
	// This extraction from the source format is called "unpacking".
	LastUnpacked *apismetav1.Time `json:"lastUnpacked,omitempty"`
}

ClusterCatalogStatusApplyConfiguration represents a declarative configuration of the ClusterCatalogStatus type for use with apply.

ClusterCatalogStatus defines the observed state of ClusterCatalog

func ClusterCatalogStatus

func ClusterCatalogStatus() *ClusterCatalogStatusApplyConfiguration

ClusterCatalogStatusApplyConfiguration constructs a declarative configuration of the ClusterCatalogStatus type for use with apply.

func (*ClusterCatalogStatusApplyConfiguration) 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 (*ClusterCatalogStatusApplyConfiguration) WithLastUnpacked

WithLastUnpacked sets the LastUnpacked field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUnpacked field is set to the value of the last call.

func (*ClusterCatalogStatusApplyConfiguration) WithResolvedSource

WithResolvedSource sets the ResolvedSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResolvedSource field is set to the value of the last call.

func (*ClusterCatalogStatusApplyConfiguration) WithURLs

WithURLs sets the URLs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URLs field is set to the value of the last call.

type ClusterCatalogURLsApplyConfiguration

type ClusterCatalogURLsApplyConfiguration struct {
	// base is a cluster-internal URL that provides endpoints for accessing the catalog content.
	//
	// Clients should append the path for the endpoint they want to access.
	//
	// Currently, only a single endpoint is served and is accessible at the path /api/v1.
	//
	// The endpoints served for the v1 API are:
	// - /all - this endpoint returns the entire catalog contents in the FBC format
	//
	// New endpoints may be added as needs evolve.
	Base *string `json:"base,omitempty"`
}

ClusterCatalogURLsApplyConfiguration represents a declarative configuration of the ClusterCatalogURLs type for use with apply.

ClusterCatalogURLs contains the URLs that can be used to access the catalog.

func ClusterCatalogURLs

func ClusterCatalogURLs() *ClusterCatalogURLsApplyConfiguration

ClusterCatalogURLsApplyConfiguration constructs a declarative configuration of the ClusterCatalogURLs type for use with apply.

func (*ClusterCatalogURLsApplyConfiguration) WithBase

WithBase sets the Base field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Base field is set to the value of the last call.

type ClusterExtensionApplyConfiguration

type ClusterExtensionApplyConfiguration 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 an optional field that defines the desired state of the ClusterExtension.
	Spec *ClusterExtensionSpecApplyConfiguration `json:"spec,omitempty"`
	// status is an optional field that defines the observed state of the ClusterExtension.
	Status *ClusterExtensionStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterExtensionApplyConfiguration represents a declarative configuration of the ClusterExtension type for use with apply.

ClusterExtension is the Schema for the clusterextensions API

func ClusterExtension

func ClusterExtension(name string) *ClusterExtensionApplyConfiguration

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

func (*ClusterExtensionApplyConfiguration) GetAPIVersion

func (b *ClusterExtensionApplyConfiguration) GetAPIVersion() *string

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

func (*ClusterExtensionApplyConfiguration) GetKind

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

func (*ClusterExtensionApplyConfiguration) GetName

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

func (*ClusterExtensionApplyConfiguration) GetNamespace

func (b *ClusterExtensionApplyConfiguration) GetNamespace() *string

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

func (ClusterExtensionApplyConfiguration) IsApplyConfiguration

func (b ClusterExtensionApplyConfiguration) IsApplyConfiguration()

func (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ClusterExtensionApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterExtensionApplyConfiguration

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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 (*ClusterExtensionApplyConfiguration) 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 ClusterExtensionConfigApplyConfiguration

type ClusterExtensionConfigApplyConfiguration struct {
	// configType is required and specifies the type of configuration source.
	//
	// The only allowed value is "Inline".
	//
	// When set to "Inline", the cluster extension configuration is defined inline within the ClusterExtension resource.
	ConfigType *apiv1.ClusterExtensionConfigType `json:"configType,omitempty"`
	// inline contains JSON or YAML values specified directly in the ClusterExtension.
	//
	// It is used to specify arbitrary configuration values for the ClusterExtension.
	// It must be set if configType is 'Inline' and must be a valid JSON/YAML object containing at least one property.
	// The configuration values are validated at runtime against a JSON schema provided by the bundle.
	Inline *apiextensionsv1.JSON `json:"inline,omitempty"`
}

ClusterExtensionConfigApplyConfiguration represents a declarative configuration of the ClusterExtensionConfig type for use with apply.

ClusterExtensionConfig is a discriminated union which selects the source configuration values to be merged into the ClusterExtension's rendered manifests.

func ClusterExtensionConfig

func ClusterExtensionConfig() *ClusterExtensionConfigApplyConfiguration

ClusterExtensionConfigApplyConfiguration constructs a declarative configuration of the ClusterExtensionConfig type for use with apply.

func (*ClusterExtensionConfigApplyConfiguration) WithConfigType

WithConfigType sets the ConfigType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigType field is set to the value of the last call.

func (*ClusterExtensionConfigApplyConfiguration) WithInline

WithInline sets the Inline field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Inline field is set to the value of the last call.

type ClusterExtensionInstallConfigApplyConfiguration

type ClusterExtensionInstallConfigApplyConfiguration struct {
	// preflight is optional and configures the checks that run before installation or upgrade
	// of the content for the package specified in the packageName field.
	//
	// When specified, it replaces the default preflight configuration for install/upgrade actions.
	// When not specified, the default configuration is used.
	Preflight *PreflightConfigApplyConfiguration `json:"preflight,omitempty"`
}

ClusterExtensionInstallConfigApplyConfiguration represents a declarative configuration of the ClusterExtensionInstallConfig type for use with apply.

ClusterExtensionInstallConfig is a union which selects the clusterExtension installation config. ClusterExtensionInstallConfig requires the namespace and serviceAccount which should be used for the installation of packages.

func ClusterExtensionInstallConfig

func ClusterExtensionInstallConfig() *ClusterExtensionInstallConfigApplyConfiguration

ClusterExtensionInstallConfigApplyConfiguration constructs a declarative configuration of the ClusterExtensionInstallConfig type for use with apply.

func (*ClusterExtensionInstallConfigApplyConfiguration) WithPreflight

WithPreflight sets the Preflight field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Preflight field is set to the value of the last call.

type ClusterExtensionInstallStatusApplyConfiguration

type ClusterExtensionInstallStatusApplyConfiguration struct {
	// bundle is required and represents the identifying attributes of a bundle.
	//
	// A "bundle" is a versioned set of content that represents the resources that need to be applied
	// to a cluster to install a package.
	Bundle *BundleMetadataApplyConfiguration `json:"bundle,omitempty"`
}

ClusterExtensionInstallStatusApplyConfiguration represents a declarative configuration of the ClusterExtensionInstallStatus type for use with apply.

ClusterExtensionInstallStatus is a representation of the status of the identified bundle.

func ClusterExtensionInstallStatus

func ClusterExtensionInstallStatus() *ClusterExtensionInstallStatusApplyConfiguration

ClusterExtensionInstallStatusApplyConfiguration constructs a declarative configuration of the ClusterExtensionInstallStatus type for use with apply.

func (*ClusterExtensionInstallStatusApplyConfiguration) WithBundle

WithBundle sets the Bundle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Bundle field is set to the value of the last call.

type ClusterExtensionSpecApplyConfiguration

type ClusterExtensionSpecApplyConfiguration struct {
	// namespace specifies a Kubernetes namespace.
	// This is the namespace where the provided ServiceAccount must exist.
	// It also designates the default namespace where namespace-scoped resources for the extension are applied to the cluster.
	// Some extensions may contain namespace-scoped resources to be applied in other namespaces.
	// This namespace must exist.
	//
	// The namespace field is required, immutable, and follows the DNS label standard as defined in [RFC 1123].
	// It must contain only lowercase alphanumeric characters or hyphens (-), start and end with an alphanumeric character,
	// and be no longer than 63 characters.
	//
	// [RFC 1123]: https://tools.ietf.org/html/rfc1123
	Namespace *string `json:"namespace,omitempty"`
	// serviceAccount specifies a ServiceAccount used to perform all interactions with the cluster
	// that are required to manage the extension.
	// The ServiceAccount must be configured with the necessary permissions to perform these interactions.
	// The ServiceAccount must exist in the namespace referenced in the spec.
	// The serviceAccount field is required.
	ServiceAccount *ServiceAccountReferenceApplyConfiguration `json:"serviceAccount,omitempty"`
	// source is required and selects the installation source of content for this ClusterExtension.
	// Set the sourceType field to perform the selection.
	//
	// Catalog is currently the only implemented sourceType.
	// Setting sourceType to "Catalog" requires the catalog field to also be defined.
	//
	// Below is a minimal example of a source definition (in yaml):
	//
	// source:
	// sourceType: Catalog
	// catalog:
	// packageName: example-package
	Source *SourceConfigApplyConfiguration `json:"source,omitempty"`
	// install is optional and configures installation options for the ClusterExtension,
	// such as the pre-flight check configuration.
	Install *ClusterExtensionInstallConfigApplyConfiguration `json:"install,omitempty"`
	// config is optional and specifies bundle-specific configuration.
	// Configuration is bundle-specific and a bundle may provide a configuration schema.
	// When not specified, the default configuration of the resolved bundle is used.
	//
	// config is validated against a configuration schema provided by the resolved bundle. If the bundle does not provide
	// a configuration schema the bundle is deemed to not be configurable. More information on how
	// to configure bundles can be found in the OLM documentation associated with your current OLM version.
	//
	// <opcon:experimental>
	Config *ClusterExtensionConfigApplyConfiguration `json:"config,omitempty"`
	// progressDeadlineMinutes is an optional field that defines the maximum period
	// of time in minutes after which an installation should be considered failed and
	// require manual intervention. This functionality is disabled when no value
	// is provided. The minimum period is 10 minutes, and the maximum is 720 minutes (12 hours).
	//
	// <opcon:experimental>
	ProgressDeadlineMinutes *int32 `json:"progressDeadlineMinutes,omitempty"`
}

ClusterExtensionSpecApplyConfiguration represents a declarative configuration of the ClusterExtensionSpec type for use with apply.

ClusterExtensionSpec defines the desired state of ClusterExtension

func ClusterExtensionSpec

func ClusterExtensionSpec() *ClusterExtensionSpecApplyConfiguration

ClusterExtensionSpecApplyConfiguration constructs a declarative configuration of the ClusterExtensionSpec type for use with apply.

func (*ClusterExtensionSpecApplyConfiguration) WithConfig

WithConfig sets the Config field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Config field is set to the value of the last call.

func (*ClusterExtensionSpecApplyConfiguration) WithInstall

WithInstall sets the Install field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Install field is set to the value of the last call.

func (*ClusterExtensionSpecApplyConfiguration) 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 (*ClusterExtensionSpecApplyConfiguration) WithProgressDeadlineMinutes

WithProgressDeadlineMinutes sets the ProgressDeadlineMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProgressDeadlineMinutes field is set to the value of the last call.

func (*ClusterExtensionSpecApplyConfiguration) WithServiceAccount

WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.

func (*ClusterExtensionSpecApplyConfiguration) 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 ClusterExtensionStatusApplyConfiguration

type ClusterExtensionStatusApplyConfiguration struct {
	// conditions represents the current state of the ClusterExtension.
	//
	// The set of condition types which apply to all spec.source variations are Installed and Progressing.
	//
	// The Installed condition represents whether the bundle has been installed for this ClusterExtension:
	// - When Installed is True and the Reason is Succeeded, the bundle has been successfully installed.
	// - When Installed is False and the Reason is Failed, the bundle has failed to install.
	//
	// The Progressing condition represents whether or not the ClusterExtension is advancing towards a new state.
	// When Progressing is True and the Reason is Succeeded, the ClusterExtension is making progress towards a new state.
	// When Progressing is True and the Reason is Retrying, the ClusterExtension has encountered an error that could be resolved on subsequent reconciliation attempts.
	// When Progressing is False and the Reason is Blocked, the ClusterExtension has encountered an error that requires manual intervention for recovery.
	// <opcon:experimental:description>
	// When Progressing is True and Reason is RollingOut, the ClusterExtension has one or more ClusterObjectSets in active roll out.
	// </opcon:experimental:description>
	//
	// When the ClusterExtension is sourced from a catalog, it surfaces deprecation conditions based on catalog metadata.
	// These are indications from a package owner to guide users away from a particular package, channel, or bundle:
	// - BundleDeprecated is True if the installed bundle is marked deprecated, False if not deprecated, or Unknown if no bundle is installed yet or if catalog data is unavailable.
	// - ChannelDeprecated is True if any requested channel is marked deprecated, False if not deprecated, or Unknown if catalog data is unavailable.
	// - PackageDeprecated is True if the requested package is marked deprecated, False if not deprecated, or Unknown if catalog data is unavailable.
	// - Deprecated is a rollup condition that is True when any deprecation exists, False when none exist, or Unknown when catalog data is unavailable.
	Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// install is a representation of the current installation status for this ClusterExtension.
	Install *ClusterExtensionInstallStatusApplyConfiguration `json:"install,omitempty"`
	// activeRevisions holds a list of currently active (non-archived) ClusterObjectSets,
	// including both installed and rolling out revisions.
	// <opcon:experimental>
	ActiveRevisions []RevisionStatusApplyConfiguration `json:"activeRevisions,omitempty"`
}

ClusterExtensionStatusApplyConfiguration represents a declarative configuration of the ClusterExtensionStatus type for use with apply.

ClusterExtensionStatus defines the observed state of a ClusterExtension.

func ClusterExtensionStatus

func ClusterExtensionStatus() *ClusterExtensionStatusApplyConfiguration

ClusterExtensionStatusApplyConfiguration constructs a declarative configuration of the ClusterExtensionStatus type for use with apply.

func (*ClusterExtensionStatusApplyConfiguration) WithActiveRevisions

WithActiveRevisions adds the given value to the ActiveRevisions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ActiveRevisions field.

func (*ClusterExtensionStatusApplyConfiguration) 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 (*ClusterExtensionStatusApplyConfiguration) WithInstall

WithInstall sets the Install field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Install field is set to the value of the last call.

type ClusterObjectSetApplyConfiguration

type ClusterObjectSetApplyConfiguration 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 defines the desired state of the ClusterObjectSet.
	Spec *ClusterObjectSetSpecApplyConfiguration `json:"spec,omitempty"`
	// status is optional and defines the observed state of the ClusterObjectSet.
	Status *ClusterObjectSetStatusApplyConfiguration `json:"status,omitempty"`
}

ClusterObjectSetApplyConfiguration represents a declarative configuration of the ClusterObjectSet type for use with apply.

ClusterObjectSet represents an immutable snapshot of Kubernetes objects for a specific version of a ClusterExtension. Each revision contains objects organized into phases that roll out sequentially. The same object can only be managed by a single revision at a time. Ownership of objects is transitioned from one revision to the next as the extension is upgraded or reconfigured. Once the latest revision has rolled out successfully, previous active revisions are archived for posterity.

func ClusterObjectSet

func ClusterObjectSet(name string) *ClusterObjectSetApplyConfiguration

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

func (*ClusterObjectSetApplyConfiguration) GetAPIVersion

func (b *ClusterObjectSetApplyConfiguration) GetAPIVersion() *string

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

func (*ClusterObjectSetApplyConfiguration) GetKind

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

func (*ClusterObjectSetApplyConfiguration) GetName

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

func (*ClusterObjectSetApplyConfiguration) GetNamespace

func (b *ClusterObjectSetApplyConfiguration) GetNamespace() *string

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

func (ClusterObjectSetApplyConfiguration) IsApplyConfiguration

func (b ClusterObjectSetApplyConfiguration) IsApplyConfiguration()

func (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) WithDeletionGracePeriodSeconds

func (b *ClusterObjectSetApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *ClusterObjectSetApplyConfiguration

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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 (*ClusterObjectSetApplyConfiguration) 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 ClusterObjectSetObjectApplyConfiguration

type ClusterObjectSetObjectApplyConfiguration struct {
	// object is an optional embedded Kubernetes object to be applied.
	//
	// Exactly one of object or ref must be set.
	//
	// This object must be a valid Kubernetes resource with apiVersion, kind, and metadata fields.
	Object *unstructured.Unstructured `json:"object,omitempty"`
	// ref is an optional reference to a Secret that holds the serialized
	// object manifest.
	//
	// Exactly one of object or ref must be set.
	Ref *ObjectSourceRefApplyConfiguration `json:"ref,omitempty"`
	// collisionProtection controls whether the operator can adopt and modify objects
	// that already exist on the cluster.
	//
	// Allowed values are: "Prevent", "IfNoController", and "None".
	//
	// When set to "Prevent", the operator only manages objects it created itself.
	// This prevents ownership collisions.
	//
	// When set to "IfNoController", the operator can adopt and modify pre-existing objects
	// that are not owned by another controller.
	// This is useful for taking over management of manually-created resources.
	//
	// When set to "None", the operator can adopt and modify any pre-existing object, even if
	// owned by another controller.
	// Use this setting with extreme caution as it may cause multiple controllers to fight over
	// the same resource, resulting in increased load on the API server and etcd.
	//
	// When omitted, the value is inherited from the phase, then spec.
	CollisionProtection *apiv1.CollisionProtection `json:"collisionProtection,omitempty"`
}

ClusterObjectSetObjectApplyConfiguration represents a declarative configuration of the ClusterObjectSetObject type for use with apply.

ClusterObjectSetObject represents a Kubernetes object to be applied as part of a phase, along with its collision protection settings.

Exactly one of object or ref must be set.

func ClusterObjectSetObject

func ClusterObjectSetObject() *ClusterObjectSetObjectApplyConfiguration

ClusterObjectSetObjectApplyConfiguration constructs a declarative configuration of the ClusterObjectSetObject type for use with apply.

func (*ClusterObjectSetObjectApplyConfiguration) WithCollisionProtection

WithCollisionProtection sets the CollisionProtection field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CollisionProtection field is set to the value of the last call.

func (*ClusterObjectSetObjectApplyConfiguration) WithObject

WithObject sets the Object field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Object field is set to the value of the last call.

func (*ClusterObjectSetObjectApplyConfiguration) WithRef

WithRef sets the Ref field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ref field is set to the value of the last call.

type ClusterObjectSetPhaseApplyConfiguration

type ClusterObjectSetPhaseApplyConfiguration struct {
	// name is a required identifier for this phase.
	//
	// phase names must follow the DNS label standard as defined in [RFC 1123].
	// They must contain only lowercase alphanumeric characters or hyphens (-),
	// start and end with an alphanumeric character, and be no longer than 63 characters.
	//
	// Common phase names include: namespaces, policies, rbac, crds, storage, deploy, publish.
	//
	// [RFC 1123]: https://tools.ietf.org/html/rfc1123
	Name *string `json:"name,omitempty"`
	// objects is a required list of all Kubernetes objects that belong to this phase.
	//
	// All objects in this list are applied to the cluster in no particular order. The maximum number of objects per phase is 50.
	Objects []ClusterObjectSetObjectApplyConfiguration `json:"objects,omitempty"`
	// collisionProtection specifies the default collision protection strategy for all objects
	// in this phase. Individual objects can override this value.
	//
	// When set, this value is used as the default for any object in this phase that does not
	// explicitly specify its own collisionProtection.
	//
	// When omitted, we use .spec.collistionProtection as the default for any object in this phase that does not
	// explicitly specify its own collisionProtection.
	CollisionProtection *apiv1.CollisionProtection `json:"collisionProtection,omitempty"`
}

ClusterObjectSetPhaseApplyConfiguration represents a declarative configuration of the ClusterObjectSetPhase type for use with apply.

ClusterObjectSetPhase represents a group of objects that are applied together. The phase is considered complete only after all objects pass their status probes.

func ClusterObjectSetPhase

func ClusterObjectSetPhase() *ClusterObjectSetPhaseApplyConfiguration

ClusterObjectSetPhaseApplyConfiguration constructs a declarative configuration of the ClusterObjectSetPhase type for use with apply.

func (*ClusterObjectSetPhaseApplyConfiguration) WithCollisionProtection

WithCollisionProtection sets the CollisionProtection field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CollisionProtection field is set to the value of the last call.

func (*ClusterObjectSetPhaseApplyConfiguration) 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 (*ClusterObjectSetPhaseApplyConfiguration) WithObjects

WithObjects adds the given value to the Objects field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Objects field.

type ClusterObjectSetSpecApplyConfiguration

type ClusterObjectSetSpecApplyConfiguration struct {
	// lifecycleState specifies the lifecycle state of the ClusterObjectSet.
	//
	// When set to "Active", the revision is actively managed and reconciled.
	// When set to "Archived", the revision is inactive and any resources not managed by a subsequent revision are deleted.
	// The revision is removed from the owner list of all objects previously under management.
	// All objects that did not transition to a succeeding revision are deleted.
	//
	// Once a revision is set to "Archived", it cannot be un-archived.
	//
	// It is possible for more than one revision to be "Active" simultaneously. This will occur when
	// moving from one revision to another. The old revision will not be set to "Archived" until the
	// new revision has been completely rolled out.
	LifecycleState *apiv1.ClusterObjectSetLifecycleState `json:"lifecycleState,omitempty"`
	// revision is a required, immutable sequence number representing a specific revision
	// of the parent ClusterExtension.
	//
	// The revision field must be a positive integer.
	// Each ClusterObjectSet belonging to the same parent ClusterExtension must have a unique revision number.
	// The revision number must always be the previous revision number plus one, or 1 for the first revision.
	Revision *int64 `json:"revision,omitempty"`
	// phases is an optional, immutable list of phases that group objects to be applied together.
	//
	// Objects are organized into phases based on their Group-Kind. Common phases include:
	// - namespaces: Namespace objects
	// - policies: ResourceQuota, LimitRange, NetworkPolicy objects
	// - rbac: ServiceAccount, Role, RoleBinding, ClusterRole, ClusterRoleBinding objects
	// - crds: CustomResourceDefinition objects
	// - storage: PersistentVolume, PersistentVolumeClaim, StorageClass objects
	// - deploy: Deployment, StatefulSet, DaemonSet, Service, ConfigMap, Secret objects
	// - publish: Ingress, APIService, Route, Webhook objects
	//
	// All objects in a phase are applied in no particular order.
	// The revision progresses to the next phase only after all objects in the current phase pass their readiness probes.
	//
	// Once set, even if empty, the phases field is immutable.
	//
	// Each phase in the list must have a unique name. The maximum number of phases is 20.
	Phases []ClusterObjectSetPhaseApplyConfiguration `json:"phases,omitempty"`
	// progressDeadlineMinutes is an optional field that defines the maximum period
	// of time in minutes after which an installation should be considered failed and
	// require manual intervention. This functionality is disabled when no value
	// is provided. The minimum period is 10 minutes, and the maximum is 720 minutes (12 hours).
	//
	// <opcon:experimental>
	ProgressDeadlineMinutes *int32 `json:"progressDeadlineMinutes,omitempty"`
	// progressionProbes is an optional field which provides the ability to define custom readiness probes
	// for objects defined within spec.phases. As documented in that field, most kubernetes-native objects
	// within the phases already have some kind of readiness check built-in, but this field allows for checks
	// which are tailored to the objects being rolled out - particularly custom resources.
	//
	// Probes defined within the progressionProbes list will apply to every phase in the revision. However, the probes will only
	// execute against phase objects which are a match for the provided selector type. For instance, a probe using a GroupKind selector
	// for ConfigMaps will automatically be considered to have passed for any non-ConfigMap object, but will halt any phase containing
	// a ConfigMap if that particular object does not pass the probe check.
	//
	// The maximum number of probes is 20.
	//
	// <opcon:experimental>
	ProgressionProbes []ProgressionProbeApplyConfiguration `json:"progressionProbes,omitempty"`
	// collisionProtection specifies the default collision protection strategy for all objects
	// in this revision. Individual phases or objects can override this value.
	//
	// When set, this value is used as the default for any phase or object that does not
	// explicitly specify its own collisionProtection.
	//
	// The resolution order is: object > phase > spec
	CollisionProtection *apiv1.CollisionProtection `json:"collisionProtection,omitempty"`
}

ClusterObjectSetSpecApplyConfiguration represents a declarative configuration of the ClusterObjectSetSpec type for use with apply.

ClusterObjectSetSpec defines the desired state of ClusterObjectSet.

func ClusterObjectSetSpec

func ClusterObjectSetSpec() *ClusterObjectSetSpecApplyConfiguration

ClusterObjectSetSpecApplyConfiguration constructs a declarative configuration of the ClusterObjectSetSpec type for use with apply.

func (*ClusterObjectSetSpecApplyConfiguration) WithCollisionProtection

WithCollisionProtection sets the CollisionProtection field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CollisionProtection field is set to the value of the last call.

func (*ClusterObjectSetSpecApplyConfiguration) WithLifecycleState

WithLifecycleState sets the LifecycleState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LifecycleState field is set to the value of the last call.

func (*ClusterObjectSetSpecApplyConfiguration) WithPhases

WithPhases adds the given value to the Phases field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Phases field.

func (*ClusterObjectSetSpecApplyConfiguration) WithProgressDeadlineMinutes

WithProgressDeadlineMinutes sets the ProgressDeadlineMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProgressDeadlineMinutes field is set to the value of the last call.

func (*ClusterObjectSetSpecApplyConfiguration) WithProgressionProbes

WithProgressionProbes adds the given value to the ProgressionProbes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProgressionProbes field.

func (*ClusterObjectSetSpecApplyConfiguration) WithRevision

WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.

type ClusterObjectSetStatusApplyConfiguration

type ClusterObjectSetStatusApplyConfiguration struct {
	// conditions is an optional list of status conditions describing the state of the
	// ClusterObjectSet.
	//
	// The Progressing condition represents whether the revision is actively rolling out:
	// - When status is True and reason is RollingOut, the ClusterObjectSet rollout is actively making progress and is in transition.
	// - When status is True and reason is Retrying, the ClusterObjectSet has encountered an error that could be resolved on subsequent reconciliation attempts.
	// - When status is True and reason is Succeeded, the ClusterObjectSet has reached the desired state.
	// - When status is False and reason is Blocked, the ClusterObjectSet has encountered an error that requires manual intervention for recovery.
	// - When status is False and reason is Archived, the ClusterObjectSet is archived and not being actively reconciled.
	//
	// The Available condition represents whether the revision has been successfully rolled out and is available:
	// - When status is True and reason is ProbesSucceeded, the ClusterObjectSet has been successfully rolled out and all objects pass their readiness probes.
	// - When status is False and reason is ProbeFailure, one or more objects are failing their readiness probes during rollout.
	// - When status is Unknown and reason is Reconciling, the ClusterObjectSet has encountered an error that prevented it from observing the probes.
	// - When status is Unknown and reason is Archived, the ClusterObjectSet has been archived and its objects have been torn down.
	// - When status is Unknown and reason is Migrated, the ClusterObjectSet was migrated from an existing release and object status probe results have not yet been observed.
	//
	// The Succeeded condition represents whether the revision has successfully completed its rollout:
	// - When status is True and reason is Succeeded, the ClusterObjectSet has successfully completed its rollout. This condition is set once and persists even if the revision later becomes unavailable.
	Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
	// observedPhases records the content hashes of resolved phases
	// at first successful reconciliation. This is used to detect if
	// referenced object sources were deleted and recreated with
	// different content. Each entry covers all fully-resolved object
	// manifests within a phase, making it source-agnostic.
	ObservedPhases []ObservedPhaseApplyConfiguration `json:"observedPhases,omitempty"`
}

ClusterObjectSetStatusApplyConfiguration represents a declarative configuration of the ClusterObjectSetStatus type for use with apply.

ClusterObjectSetStatus defines the observed state of a ClusterObjectSet.

func ClusterObjectSetStatus

func ClusterObjectSetStatus() *ClusterObjectSetStatusApplyConfiguration

ClusterObjectSetStatusApplyConfiguration constructs a declarative configuration of the ClusterObjectSetStatus type for use with apply.

func (*ClusterObjectSetStatusApplyConfiguration) 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 (*ClusterObjectSetStatusApplyConfiguration) WithObservedPhases

WithObservedPhases adds the given value to the ObservedPhases field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ObservedPhases field.

type ConditionEqualProbeApplyConfiguration

type ConditionEqualProbeApplyConfiguration struct {
	// type sets the expected condition type, i.e. "Ready".
	//
	// <opcon:experimental>
	Type *string `json:"type,omitempty"`
	// status sets the expected condition status.
	//
	// Allowed values are "True" and "False".
	//
	// <opcon:experimental>
	Status *string `json:"status,omitempty"`
}

ConditionEqualProbeApplyConfiguration represents a declarative configuration of the ConditionEqualProbe type for use with apply.

ConditionEqualProbe defines the condition type and status required for the probe to succeed.

func ConditionEqualProbe

func ConditionEqualProbe() *ConditionEqualProbeApplyConfiguration

ConditionEqualProbeApplyConfiguration constructs a declarative configuration of the ConditionEqualProbe type for use with apply.

func (*ConditionEqualProbeApplyConfiguration) 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 (*ConditionEqualProbeApplyConfiguration) 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 FieldValueProbeApplyConfiguration

type FieldValueProbeApplyConfiguration struct {
	// fieldPath sets the field path for the field to check, i.e. "status.phase". The probe will fail
	// if the path does not exist.
	//
	// <opcon:experimental>
	FieldPath *string `json:"fieldPath,omitempty"`
	// value sets the expected value found at fieldPath, i.e. "Bound".
	//
	// <opcon:experimental>
	Value *string `json:"value,omitempty"`
}

FieldValueProbeApplyConfiguration represents a declarative configuration of the FieldValueProbe type for use with apply.

FieldValueProbe defines the path and value expected within for the probe to succeed.

func FieldValueProbe

func FieldValueProbe() *FieldValueProbeApplyConfiguration

FieldValueProbeApplyConfiguration constructs a declarative configuration of the FieldValueProbe type for use with apply.

func (*FieldValueProbeApplyConfiguration) WithFieldPath

WithFieldPath sets the FieldPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldPath field is set to the value of the last call.

func (*FieldValueProbeApplyConfiguration) 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 FieldsEqualProbeApplyConfiguration

type FieldsEqualProbeApplyConfiguration struct {
	// fieldA sets the field path for the first field, i.e. "spec.replicas". The probe will fail
	// if the path does not exist.
	//
	// <opcon:experimental>
	FieldA *string `json:"fieldA,omitempty"`
	// fieldB sets the field path for the second field, i.e. "status.readyReplicas". The probe will fail
	// if the path does not exist.
	//
	// <opcon:experimental>
	FieldB *string `json:"fieldB,omitempty"`
}

FieldsEqualProbeApplyConfiguration represents a declarative configuration of the FieldsEqualProbe type for use with apply.

FieldsEqualProbe defines the paths of the two fields required to match for the probe to succeed.

func FieldsEqualProbe

func FieldsEqualProbe() *FieldsEqualProbeApplyConfiguration

FieldsEqualProbeApplyConfiguration constructs a declarative configuration of the FieldsEqualProbe type for use with apply.

func (*FieldsEqualProbeApplyConfiguration) WithFieldA

WithFieldA sets the FieldA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldA field is set to the value of the last call.

func (*FieldsEqualProbeApplyConfiguration) WithFieldB

WithFieldB sets the FieldB field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FieldB field is set to the value of the last call.

type ImageSourceApplyConfiguration

type ImageSourceApplyConfiguration struct {
	// ref is a required field that defines the reference to a container image containing catalog contents.
	// It cannot be more than 1000 characters.
	//
	// A reference has 3 parts: the domain, name, and identifier.
	//
	// The domain is typically the registry where an image is located.
	// It must be alphanumeric characters (lowercase and uppercase) separated by the "." character.
	// Hyphenation is allowed, but the domain must start and end with alphanumeric characters.
	// Specifying a port to use is also allowed by adding the ":" character followed by numeric values.
	// The port must be the last value in the domain.
	// Some examples of valid domain values are "registry.mydomain.io", "quay.io", "my-registry.io:8080".
	//
	// The name is typically the repository in the registry where an image is located.
	// It must contain lowercase alphanumeric characters separated only by the ".", "_", "__", "-" characters.
	// Multiple names can be concatenated with the "/" character.
	// The domain and name are combined using the "/" character.
	// Some examples of valid name values are "operatorhubio/catalog", "catalog", "my-catalog.prod".
	// An example of the domain and name parts of a reference being combined is "quay.io/operatorhubio/catalog".
	//
	// The identifier is typically the tag or digest for an image reference and is present at the end of the reference.
	// It starts with a separator character used to distinguish the end of the name and beginning of the identifier.
	// For a digest-based reference, the "@" character is the separator.
	// For a tag-based reference, the ":" character is the separator.
	// An identifier is required in the reference.
	//
	// Digest-based references must contain an algorithm reference immediately after the "@" separator.
	// The algorithm reference must be followed by the ":" character and an encoded string.
	// The algorithm must start with an uppercase or lowercase alpha character followed by alphanumeric characters and may contain the "-", "_", "+", and "." characters.
	// Some examples of valid algorithm values are "sha256", "sha256+b64u", "multihash+base58".
	// The encoded string following the algorithm must be hex digits (a-f, A-F, 0-9) and must be a minimum of 32 characters.
	//
	// Tag-based references must begin with a word character (alphanumeric + "_") followed by word characters or ".", and "-" characters.
	// The tag must not be longer than 127 characters.
	//
	// An example of a valid digest-based image reference is "quay.io/operatorhubio/catalog@sha256:200d4ddb2a73594b91358fe6397424e975205bfbe44614f5846033cad64b3f05"
	// An example of a valid tag-based image reference is "quay.io/operatorhubio/catalog:latest"
	Ref *string `json:"ref,omitempty"`
	// pollIntervalMinutes is an optional field that sets the interval, in minutes, at which the image source is polled for new content.
	// You cannot specify pollIntervalMinutes when ref is a digest-based reference.
	//
	// When omitted, the image is not polled for new content.
	PollIntervalMinutes *int `json:"pollIntervalMinutes,omitempty"`
}

ImageSourceApplyConfiguration represents a declarative configuration of the ImageSource type for use with apply.

ImageSource enables users to define the information required for sourcing a Catalog from an OCI image

If we see that there is a possibly valid digest-based image reference AND pollIntervalMinutes is specified, reject the resource since there is no use in polling a digest-based image reference.

func ImageSource

func ImageSource() *ImageSourceApplyConfiguration

ImageSourceApplyConfiguration constructs a declarative configuration of the ImageSource type for use with apply.

func (*ImageSourceApplyConfiguration) WithPollIntervalMinutes

func (b *ImageSourceApplyConfiguration) WithPollIntervalMinutes(value int) *ImageSourceApplyConfiguration

WithPollIntervalMinutes sets the PollIntervalMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PollIntervalMinutes field is set to the value of the last call.

func (*ImageSourceApplyConfiguration) WithRef

WithRef sets the Ref field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ref field is set to the value of the last call.

type ObjectSelectorApplyConfiguration

type ObjectSelectorApplyConfiguration struct {
	// type is a required field which specifies the type of selector to use.
	//
	// The allowed selector types are "GroupKind" and "Label".
	//
	// When set to "GroupKind", all objects which match the specified group and kind will be selected.
	// When set to "Label", all objects which match the specified labels and/or expressions will be selected.
	//
	// <opcon:experimental>
	Type *apiv1.SelectorType `json:"type,omitempty"`
	// groupKind specifies the group and kind of objects to select.
	//
	// Required when type is "GroupKind".
	//
	// Uses the Kubernetes format specified here:
	// https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#GroupKind
	//
	// <opcon:experimental>
	GroupKind *metav1.GroupKind `json:"groupKind,omitempty"`
	// label is the label selector definition.
	//
	// Required when type is "Label".
	//
	// A probe using a Label selector will be executed against every object matching the labels or expressions; you must use care
	// when using this type of selector. For example, if multiple Kind objects are selected via labels then the probe is
	// likely to fail because the values of different Kind objects rarely share the same schema.
	//
	// The LabelSelector field uses the following Kubernetes format:
	// https://pkg.go.dev/k8s.io/apimachinery/pkg/apis/meta/v1#LabelSelector
	// Requires exactly one of matchLabels or matchExpressions.
	//
	// <opcon:experimental>
	Label *applyconfigurationsmetav1.LabelSelectorApplyConfiguration `json:"label,omitempty"`
}

ObjectSelectorApplyConfiguration represents a declarative configuration of the ObjectSelector type for use with apply.

ObjectSelector is a discriminated union which defines the method by which we select objects to make assertions against.

func ObjectSelector

func ObjectSelector() *ObjectSelectorApplyConfiguration

ObjectSelectorApplyConfiguration constructs a declarative configuration of the ObjectSelector type for use with apply.

func (*ObjectSelectorApplyConfiguration) WithGroupKind

WithGroupKind sets the GroupKind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GroupKind field is set to the value of the last call.

func (*ObjectSelectorApplyConfiguration) 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 (*ObjectSelectorApplyConfiguration) 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 ObjectSourceRefApplyConfiguration

type ObjectSourceRefApplyConfiguration struct {
	// name is the name of the referenced Secret.
	Name *string `json:"name,omitempty"`
	// namespace is the namespace of the referenced Secret.
	// When empty, defaults to the OLM system namespace during ref resolution.
	Namespace *string `json:"namespace,omitempty"`
	// key is the data key within the referenced Secret containing the
	// object manifest content. The value at this key must be a
	// JSON-serialized Kubernetes object manifest.
	Key *string `json:"key,omitempty"`
}

ObjectSourceRefApplyConfiguration represents a declarative configuration of the ObjectSourceRef type for use with apply.

ObjectSourceRef references content within a Secret that contains a serialized object manifest.

func ObjectSourceRef

func ObjectSourceRef() *ObjectSourceRefApplyConfiguration

ObjectSourceRefApplyConfiguration constructs a declarative configuration of the ObjectSourceRef type for use with apply.

func (*ObjectSourceRefApplyConfiguration) 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 (*ObjectSourceRefApplyConfiguration) 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 (*ObjectSourceRefApplyConfiguration) 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.

type ObservedPhaseApplyConfiguration

type ObservedPhaseApplyConfiguration struct {
	// name is the phase name matching a phase in spec.phases.
	Name *string `json:"name,omitempty"`
	// digest is the digest of the phase's resolved object content
	// at first successful resolution, in the format "<algorithm>:<hex>".
	Digest *string `json:"digest,omitempty"`
}

ObservedPhaseApplyConfiguration represents a declarative configuration of the ObservedPhase type for use with apply.

ObservedPhase records the observed content digest of a resolved phase.

func ObservedPhase

func ObservedPhase() *ObservedPhaseApplyConfiguration

ObservedPhaseApplyConfiguration constructs a declarative configuration of the ObservedPhase type for use with apply.

func (*ObservedPhaseApplyConfiguration) WithDigest

WithDigest sets the Digest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Digest field is set to the value of the last call.

func (*ObservedPhaseApplyConfiguration) 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 PreflightConfigApplyConfiguration

type PreflightConfigApplyConfiguration struct {
	// crdUpgradeSafety configures the CRD Upgrade Safety pre-flight checks that run
	// before upgrades of installed content.
	//
	// The CRD Upgrade Safety pre-flight check safeguards from unintended consequences of upgrading a CRD,
	// such as data loss.
	CRDUpgradeSafety *CRDUpgradeSafetyPreflightConfigApplyConfiguration `json:"crdUpgradeSafety,omitempty"`
}

PreflightConfigApplyConfiguration represents a declarative configuration of the PreflightConfig type for use with apply.

PreflightConfig holds the configuration for the preflight checks. If used, at least one preflight check must be non-nil.

func PreflightConfig

func PreflightConfig() *PreflightConfigApplyConfiguration

PreflightConfigApplyConfiguration constructs a declarative configuration of the PreflightConfig type for use with apply.

func (*PreflightConfigApplyConfiguration) WithCRDUpgradeSafety

WithCRDUpgradeSafety sets the CRDUpgradeSafety field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CRDUpgradeSafety field is set to the value of the last call.

type ProgressionProbeApplyConfiguration

type ProgressionProbeApplyConfiguration struct {
	// selector is a required field which defines the method by which we select objects to apply the below
	// assertions to. Any object which matches the defined selector will have all the associated assertions
	// applied against it.
	//
	// If no objects within a phase are selected by the provided selector, then all assertions defined here
	// are considered to have succeeded.
	//
	// <opcon:experimental>
	Selector *ObjectSelectorApplyConfiguration `json:"selector,omitempty"`
	// assertions is a required list of checks which will run against the objects selected by the selector. If
	// one or more assertions fail then the phase within which the object lives will be not be considered
	// 'Ready', blocking rollout of all subsequent phases.
	//
	// <opcon:experimental>
	Assertions []AssertionApplyConfiguration `json:"assertions,omitempty"`
}

ProgressionProbeApplyConfiguration represents a declarative configuration of the ProgressionProbe type for use with apply.

ProgressionProbe provides a custom probe definition, consisting of an object selection method and assertions.

func ProgressionProbe

func ProgressionProbe() *ProgressionProbeApplyConfiguration

ProgressionProbeApplyConfiguration constructs a declarative configuration of the ProgressionProbe type for use with apply.

func (*ProgressionProbeApplyConfiguration) WithAssertions

WithAssertions adds the given value to the Assertions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Assertions field.

func (*ProgressionProbeApplyConfiguration) 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.

type ResolvedCatalogSourceApplyConfiguration

type ResolvedCatalogSourceApplyConfiguration struct {
	// type is a required field that specifies the type of source for the catalog.
	//
	// The only allowed value is "Image".
	//
	// When set to "Image", information about the resolved image source is set in the image field.
	Type *apiv1.SourceType `json:"type,omitempty"`
	// image contains resolution information for a catalog sourced from an image.
	// It must be set when type is Image, and forbidden otherwise.
	Image *ResolvedImageSourceApplyConfiguration `json:"image,omitempty"`
}

ResolvedCatalogSourceApplyConfiguration represents a declarative configuration of the ResolvedCatalogSource type for use with apply.

ResolvedCatalogSource is a discriminated union of resolution information for a Catalog. ResolvedCatalogSource contains the information about a sourced Catalog

func ResolvedCatalogSource

func ResolvedCatalogSource() *ResolvedCatalogSourceApplyConfiguration

ResolvedCatalogSourceApplyConfiguration constructs a declarative configuration of the ResolvedCatalogSource type for use with apply.

func (*ResolvedCatalogSourceApplyConfiguration) WithImage

WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.

func (*ResolvedCatalogSourceApplyConfiguration) 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 ResolvedImageSourceApplyConfiguration

type ResolvedImageSourceApplyConfiguration struct {
	// ref contains the resolved image digest-based reference.
	// The digest format allows you to use other tooling to fetch the exact OCI manifests
	// that were used to extract the catalog contents.
	Ref *string `json:"ref,omitempty"`
}

ResolvedImageSourceApplyConfiguration represents a declarative configuration of the ResolvedImageSource type for use with apply.

ResolvedImageSource provides information about the resolved source of a Catalog sourced from an image.

func ResolvedImageSource

func ResolvedImageSource() *ResolvedImageSourceApplyConfiguration

ResolvedImageSourceApplyConfiguration constructs a declarative configuration of the ResolvedImageSource type for use with apply.

func (*ResolvedImageSourceApplyConfiguration) WithRef

WithRef sets the Ref field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ref field is set to the value of the last call.

type RevisionStatusApplyConfiguration

type RevisionStatusApplyConfiguration struct {
	// name of the ClusterObjectSet resource
	Name *string `json:"name,omitempty"`
	// conditions optionally expose Progressing and Available condition of the revision,
	// in case when it is not yet marked as successfully installed (condition Succeeded is not set to True).
	// Given that a ClusterExtension should remain available during upgrades, an observer may use these conditions
	// to get more insights about reasons for its current state.
	Conditions []metav1.ConditionApplyConfiguration `json:"conditions,omitempty"`
}

RevisionStatusApplyConfiguration represents a declarative configuration of the RevisionStatus type for use with apply.

RevisionStatus defines the observed state of a ClusterObjectSet.

func RevisionStatus

func RevisionStatus() *RevisionStatusApplyConfiguration

RevisionStatusApplyConfiguration constructs a declarative configuration of the RevisionStatus type for use with apply.

func (*RevisionStatusApplyConfiguration) 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 (*RevisionStatusApplyConfiguration) 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 ServiceAccountReferenceApplyConfiguration

type ServiceAccountReferenceApplyConfiguration struct {
	// name is a required, immutable reference to the name of the ServiceAccount used for installation
	// and management of the content for the package specified in the packageName field.
	//
	// This ServiceAccount must exist in the installNamespace.
	//
	// The name field follows the DNS subdomain standard as defined in [RFC 1123].
	// It must contain only lowercase alphanumeric characters, hyphens (-) or periods (.),
	// start and end with an alphanumeric character, and be no longer than 253 characters.
	//
	// Some examples of valid values are:
	// - some-serviceaccount
	// - 123-serviceaccount
	// - 1-serviceaccount-2
	// - someserviceaccount
	// - some.serviceaccount
	//
	// Some examples of invalid values are:
	// - -some-serviceaccount
	// - some-serviceaccount-
	//
	// [RFC 1123]: https://tools.ietf.org/html/rfc1123
	Name *string `json:"name,omitempty"`
}

ServiceAccountReferenceApplyConfiguration represents a declarative configuration of the ServiceAccountReference type for use with apply.

ServiceAccountReference identifies the serviceAccount used fo install a ClusterExtension.

func ServiceAccountReference

func ServiceAccountReference() *ServiceAccountReferenceApplyConfiguration

ServiceAccountReferenceApplyConfiguration constructs a declarative configuration of the ServiceAccountReference type for use with apply.

func (*ServiceAccountReferenceApplyConfiguration) 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 SourceConfigApplyConfiguration

type SourceConfigApplyConfiguration struct {
	// sourceType is required and specifies the type of install source.
	//
	// The only allowed value is "Catalog".
	//
	// When set to "Catalog", information for determining the appropriate bundle of content to install
	// is fetched from ClusterCatalog resources on the cluster.
	// When using the Catalog sourceType, the catalog field must also be set.
	SourceType *string `json:"sourceType,omitempty"`
	// catalog configures how information is sourced from a catalog.
	// It is required when sourceType is "Catalog", and forbidden otherwise.
	Catalog *CatalogFilterApplyConfiguration `json:"catalog,omitempty"`
}

SourceConfigApplyConfiguration represents a declarative configuration of the SourceConfig type for use with apply.

SourceConfig is a discriminated union which selects the installation source.

func SourceConfig

func SourceConfig() *SourceConfigApplyConfiguration

SourceConfigApplyConfiguration constructs a declarative configuration of the SourceConfig type for use with apply.

func (*SourceConfigApplyConfiguration) WithCatalog

WithCatalog sets the Catalog field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Catalog field is set to the value of the last call.

func (*SourceConfigApplyConfiguration) WithSourceType

WithSourceType sets the SourceType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourceType field is set to the value of the last call.

Jump to

Keyboard shortcuts

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