Documentation
¶
Overview ¶
Package v1alpha2 contains the v1alpha2 API implementation.
Package v1alpha2 contains API Schema definitions for the operator v1alpha2 API group +kubebuilder:object:generate=true +groupName=operator.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type AdditionalDeployments
- type AddonProvider
- func (in *AddonProvider) DeepCopy() *AddonProvider
- func (in *AddonProvider) DeepCopyInto(out *AddonProvider)
- func (in *AddonProvider) DeepCopyObject() runtime.Object
- func (b *AddonProvider) GetConditions() clusterv1.Conditions
- func (b *AddonProvider) GetSpec() ProviderSpec
- func (b *AddonProvider) GetStatus() ProviderStatus
- func (b *AddonProvider) GetType() string
- func (b *AddonProvider) SetConditions(conditions clusterv1.Conditions)
- func (b *AddonProvider) SetSpec(in ProviderSpec)
- func (b *AddonProvider) SetStatus(in ProviderStatus)
- type AddonProviderList
- type AddonProviderSpec
- type AddonProviderStatus
- type BootstrapProvider
- func (in *BootstrapProvider) DeepCopy() *BootstrapProvider
- func (in *BootstrapProvider) DeepCopyInto(out *BootstrapProvider)
- func (in *BootstrapProvider) DeepCopyObject() runtime.Object
- func (b *BootstrapProvider) GetConditions() clusterv1.Conditions
- func (b *BootstrapProvider) GetSpec() ProviderSpec
- func (b *BootstrapProvider) GetStatus() ProviderStatus
- func (b *BootstrapProvider) GetType() string
- func (*BootstrapProvider) Hub()
- func (b *BootstrapProvider) SetConditions(conditions clusterv1.Conditions)
- func (b *BootstrapProvider) SetSpec(in ProviderSpec)
- func (b *BootstrapProvider) SetStatus(in ProviderStatus)
- type BootstrapProviderList
- func (in *BootstrapProviderList) DeepCopy() *BootstrapProviderList
- func (in *BootstrapProviderList) DeepCopyInto(out *BootstrapProviderList)
- func (in *BootstrapProviderList) DeepCopyObject() runtime.Object
- func (b *BootstrapProviderList) GetItems() []GenericProvider
- func (*BootstrapProviderList) Hub()
- type BootstrapProviderSpec
- type BootstrapProviderStatus
- type ConfigmapReference
- type ContainerSpec
- type ControlPlaneProvider
- func (in *ControlPlaneProvider) DeepCopy() *ControlPlaneProvider
- func (in *ControlPlaneProvider) DeepCopyInto(out *ControlPlaneProvider)
- func (in *ControlPlaneProvider) DeepCopyObject() runtime.Object
- func (c *ControlPlaneProvider) GetConditions() clusterv1.Conditions
- func (c *ControlPlaneProvider) GetSpec() ProviderSpec
- func (c *ControlPlaneProvider) GetStatus() ProviderStatus
- func (c *ControlPlaneProvider) GetType() string
- func (*ControlPlaneProvider) Hub()
- func (c *ControlPlaneProvider) SetConditions(conditions clusterv1.Conditions)
- func (c *ControlPlaneProvider) SetSpec(in ProviderSpec)
- func (c *ControlPlaneProvider) SetStatus(in ProviderStatus)
- type ControlPlaneProviderList
- func (in *ControlPlaneProviderList) DeepCopy() *ControlPlaneProviderList
- func (in *ControlPlaneProviderList) DeepCopyInto(out *ControlPlaneProviderList)
- func (in *ControlPlaneProviderList) DeepCopyObject() runtime.Object
- func (c *ControlPlaneProviderList) GetItems() []GenericProvider
- func (*ControlPlaneProviderList) Hub()
- type ControlPlaneProviderSpec
- type ControlPlaneProviderStatus
- type ControllerConfigurationSpec
- type ControllerHealth
- type ControllerManagerConfiguration
- type ControllerMetrics
- type ControllerWebhook
- type CoreProvider
- func (in *CoreProvider) DeepCopy() *CoreProvider
- func (in *CoreProvider) DeepCopyInto(out *CoreProvider)
- func (in *CoreProvider) DeepCopyObject() runtime.Object
- func (c *CoreProvider) GetConditions() clusterv1.Conditions
- func (c *CoreProvider) GetSpec() ProviderSpec
- func (c *CoreProvider) GetStatus() ProviderStatus
- func (c *CoreProvider) GetType() string
- func (*CoreProvider) Hub()
- func (c *CoreProvider) SetConditions(conditions clusterv1.Conditions)
- func (c *CoreProvider) SetSpec(in ProviderSpec)
- func (c *CoreProvider) SetStatus(in ProviderStatus)
- type CoreProviderList
- type CoreProviderSpec
- type CoreProviderStatus
- type DeploymentSpec
- type FetchConfiguration
- type GenericProvider
- type GenericProviderList
- type IPAMProvider
- func (in *IPAMProvider) DeepCopy() *IPAMProvider
- func (in *IPAMProvider) DeepCopyInto(out *IPAMProvider)
- func (in *IPAMProvider) DeepCopyObject() runtime.Object
- func (p *IPAMProvider) GetConditions() clusterv1.Conditions
- func (p *IPAMProvider) GetSpec() ProviderSpec
- func (p *IPAMProvider) GetStatus() ProviderStatus
- func (p *IPAMProvider) GetType() string
- func (p *IPAMProvider) SetConditions(conditions clusterv1.Conditions)
- func (p *IPAMProvider) SetSpec(in ProviderSpec)
- func (p *IPAMProvider) SetStatus(in ProviderStatus)
- type IPAMProviderList
- type IPAMProviderSpec
- type IPAMProviderStatus
- type InfrastructureProvider
- func (in *InfrastructureProvider) DeepCopy() *InfrastructureProvider
- func (in *InfrastructureProvider) DeepCopyInto(out *InfrastructureProvider)
- func (in *InfrastructureProvider) DeepCopyObject() runtime.Object
- func (c *InfrastructureProvider) GetConditions() clusterv1.Conditions
- func (c *InfrastructureProvider) GetSpec() ProviderSpec
- func (c *InfrastructureProvider) GetStatus() ProviderStatus
- func (c *InfrastructureProvider) GetType() string
- func (*InfrastructureProvider) Hub()
- func (c *InfrastructureProvider) SetConditions(conditions clusterv1.Conditions)
- func (c *InfrastructureProvider) SetSpec(in ProviderSpec)
- func (c *InfrastructureProvider) SetStatus(in ProviderStatus)
- type InfrastructureProviderList
- func (in *InfrastructureProviderList) DeepCopy() *InfrastructureProviderList
- func (in *InfrastructureProviderList) DeepCopyInto(out *InfrastructureProviderList)
- func (in *InfrastructureProviderList) DeepCopyObject() runtime.Object
- func (c *InfrastructureProviderList) GetItems() []GenericProvider
- func (*InfrastructureProviderList) Hub()
- type InfrastructureProviderSpec
- type InfrastructureProviderStatus
- type ManagerSpec
- type OCIConfiguration
- type ProviderSpec
- type ProviderStatus
- type RuntimeExtensionProvider
- func (in *RuntimeExtensionProvider) DeepCopy() *RuntimeExtensionProvider
- func (in *RuntimeExtensionProvider) DeepCopyInto(out *RuntimeExtensionProvider)
- func (in *RuntimeExtensionProvider) DeepCopyObject() runtime.Object
- func (p *RuntimeExtensionProvider) GetConditions() clusterv1.Conditions
- func (p *RuntimeExtensionProvider) GetSpec() ProviderSpec
- func (p *RuntimeExtensionProvider) GetStatus() ProviderStatus
- func (p *RuntimeExtensionProvider) GetType() string
- func (p *RuntimeExtensionProvider) SetConditions(conditions clusterv1.Conditions)
- func (p *RuntimeExtensionProvider) SetSpec(in ProviderSpec)
- func (p *RuntimeExtensionProvider) SetStatus(in ProviderStatus)
- type RuntimeExtensionProviderList
- func (in *RuntimeExtensionProviderList) DeepCopy() *RuntimeExtensionProviderList
- func (in *RuntimeExtensionProviderList) DeepCopyInto(out *RuntimeExtensionProviderList)
- func (in *RuntimeExtensionProviderList) DeepCopyObject() runtime.Object
- func (p *RuntimeExtensionProviderList) GetItems() []GenericProvider
- type RuntimeExtensionProviderSpec
- type RuntimeExtensionProviderStatus
- type SecretReference
Constants ¶
const (
// PreflightCheckCondition documents a Provider that has not passed preflight checks.
PreflightCheckCondition clusterv1.ConditionType = "PreflightCheckPassed"
// MoreThanOneProviderInstanceExistsReason (Severity=Info) documents that more than one instance of provider
// exists in the cluster.
MoreThanOneProviderInstanceExistsReason = "MoreThanOneExists"
// IncorrectVersionFormatReason documents that the provider version is in the incorrect format.
IncorrectVersionFormatReason = "IncorrectVersionFormat"
// IncorrectCoreProviderNameReason documents that the Core provider name is incorrect.
IncorrectCoreProviderNameReason = "IncorrectCoreProviderNameReason"
// EmptyVersionReason documents that the provider version is in the incorrect format.
EmptyVersionReason = "EmptyVersionReason"
// FetchConfigValidationErrorReason documents that the FetchConfig is configured incorrectly.
FetchConfigValidationErrorReason = "FetchConfigValidationError"
// UnknownProviderReason documents that the provider name is not the name of a known provider.
UnknownProviderReason = "UnknownProvider"
// CAPIVersionIncompatibilityReason documents that the provider version is incompatible with operator.
CAPIVersionIncompatibilityReason = "CAPIVersionIncompatibility"
// ComponentsFetchErrorReason documents that an error occurred fetching the components.
ComponentsFetchErrorReason = "ComponentsFetchError"
// ComponentsUpgradeErrorReason documents that an error occurred while upgrading the components.
ComponentsUpgradeErrorReason = "ComponentsUpgradeError"
// OldComponentsDeletionErrorReason documents that an error occurred deleting the old components prior to upgrading.
OldComponentsDeletionErrorReason = "OldComponentsDeletionError"
// WaitingForCoreProviderReadyReason documents that the provider is waiting for the core provider to be ready.
WaitingForCoreProviderReadyReason = "WaitingForCoreProviderReady"
// InvalidGithubTokenReason documents that the provided github token is invalid.
InvalidGithubTokenReason = "InvalidGithubTokenError"
// NoDeploymentAvailableConditionReason documents that there is no Available condition for provider deployment yet.
NoDeploymentAvailableConditionReason = "NoDeploymentAvailableConditionReason"
// UnsupportedProviderDowngradeReason documents that the provider downgrade is not supported.
UnsupportedProviderDowngradeReason = "UnsupportedProviderDowngradeReason"
)
const (
// ProviderInstalledCondition documents a Provider that has been installed.
ProviderInstalledCondition clusterv1.ConditionType = "ProviderInstalled"
// ProviderUpgradedCondition documents a Provider that has been recently upgraded.
ProviderUpgradedCondition clusterv1.ConditionType = "ProviderUpgraded"
)
const (
ProviderFinalizer = "provider.cluster.x-k8s.io"
ConfigMapVersionLabelName = "provider.cluster.x-k8s.io/version"
ConfigMapTypeLabel = "provider.cluster.x-k8s.io/type"
ConfigMapNameLabel = "provider.cluster.x-k8s.io/name"
CompressedAnnotation = "provider.cluster.x-k8s.io/compressed"
MetadataConfigMapKey = "metadata"
ComponentsConfigMapKey = "components"
AdditionalManifestsConfigMapKey = "manifests"
)
Variables ¶
var (
// GroupVersion is group version used to register these objects.
GroupVersion = schema.GroupVersion{Group: "operator.cluster.x-k8s.io", Version: "v1alpha2"}
// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
Providers = []GenericProvider{}
ProviderLists = []GenericProviderList{}
)
Functions ¶
This section is empty.
Types ¶
type AdditionalDeployments ¶ added in v0.12.0
type AdditionalDeployments struct {
// Manager defines the properties that can be enabled on the controller manager for the additional provider deployment.
// +optional
Manager *ManagerSpec `json:"manager,omitempty"`
// Deployment defines the properties that can be enabled on the deployment for the additional provider deployment.
// +optional
Deployment *DeploymentSpec `json:"deployment,omitempty"`
}
AdditionalDeployments defines the properties that can be enabled on the controller manager and deployment for the provider if the provider is managing additional deployments.
func (*AdditionalDeployments) DeepCopy ¶ added in v0.12.0
func (in *AdditionalDeployments) DeepCopy() *AdditionalDeployments
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalDeployments.
func (*AdditionalDeployments) DeepCopyInto ¶ added in v0.12.0
func (in *AdditionalDeployments) DeepCopyInto(out *AdditionalDeployments)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonProvider ¶
type AddonProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AddonProviderSpec `json:"spec,omitempty"`
Status AddonProviderStatus `json:"status,omitempty"`
}
AddonProvider is the Schema for the addonproviders API.
func (*AddonProvider) DeepCopy ¶
func (in *AddonProvider) DeepCopy() *AddonProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonProvider.
func (*AddonProvider) DeepCopyInto ¶
func (in *AddonProvider) DeepCopyInto(out *AddonProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddonProvider) DeepCopyObject ¶
func (in *AddonProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AddonProvider) GetConditions ¶ added in v0.8.0
func (b *AddonProvider) GetConditions() clusterv1.Conditions
func (*AddonProvider) GetStatus ¶ added in v0.8.0
func (b *AddonProvider) GetStatus() ProviderStatus
func (*AddonProvider) SetConditions ¶ added in v0.8.0
func (b *AddonProvider) SetConditions(conditions clusterv1.Conditions)
type AddonProviderList ¶
type AddonProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AddonProvider `json:"items"`
}
AddonProviderList contains a list of AddonProvider.
func (*AddonProviderList) DeepCopy ¶
func (in *AddonProviderList) DeepCopy() *AddonProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonProviderList.
func (*AddonProviderList) DeepCopyInto ¶
func (in *AddonProviderList) DeepCopyInto(out *AddonProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AddonProviderList) DeepCopyObject ¶
func (in *AddonProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AddonProviderSpec ¶
type AddonProviderSpec struct {
ProviderSpec `json:",inline"`
}
AddonProviderSpec defines the desired state of AddonProvider.
func (*AddonProviderSpec) DeepCopy ¶
func (in *AddonProviderSpec) DeepCopy() *AddonProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonProviderSpec.
func (*AddonProviderSpec) DeepCopyInto ¶
func (in *AddonProviderSpec) DeepCopyInto(out *AddonProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AddonProviderStatus ¶
type AddonProviderStatus struct {
ProviderStatus `json:",inline"`
}
AddonProviderStatus defines the observed state of AddonProvider.
func (*AddonProviderStatus) DeepCopy ¶
func (in *AddonProviderStatus) DeepCopy() *AddonProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddonProviderStatus.
func (*AddonProviderStatus) DeepCopyInto ¶
func (in *AddonProviderStatus) DeepCopyInto(out *AddonProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapProvider ¶
type BootstrapProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec BootstrapProviderSpec `json:"spec,omitempty"`
Status BootstrapProviderStatus `json:"status,omitempty"`
}
BootstrapProvider is the Schema for the bootstrapproviders API.
func (*BootstrapProvider) DeepCopy ¶
func (in *BootstrapProvider) DeepCopy() *BootstrapProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapProvider.
func (*BootstrapProvider) DeepCopyInto ¶
func (in *BootstrapProvider) DeepCopyInto(out *BootstrapProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapProvider) DeepCopyObject ¶
func (in *BootstrapProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*BootstrapProvider) GetConditions ¶ added in v0.8.0
func (b *BootstrapProvider) GetConditions() clusterv1.Conditions
func (*BootstrapProvider) GetSpec ¶ added in v0.8.0
func (b *BootstrapProvider) GetSpec() ProviderSpec
func (*BootstrapProvider) GetStatus ¶ added in v0.8.0
func (b *BootstrapProvider) GetStatus() ProviderStatus
func (*BootstrapProvider) Hub ¶
func (*BootstrapProvider) Hub()
Hub marks this API version as a conversion hub for BootstrapProvider.
func (*BootstrapProvider) SetConditions ¶ added in v0.8.0
func (b *BootstrapProvider) SetConditions(conditions clusterv1.Conditions)
type BootstrapProviderList ¶
type BootstrapProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []BootstrapProvider `json:"items"`
}
BootstrapProviderList contains a list of BootstrapProvider.
func (*BootstrapProviderList) DeepCopy ¶
func (in *BootstrapProviderList) DeepCopy() *BootstrapProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapProviderList.
func (*BootstrapProviderList) DeepCopyInto ¶
func (in *BootstrapProviderList) DeepCopyInto(out *BootstrapProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapProviderList) DeepCopyObject ¶
func (in *BootstrapProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BootstrapProviderSpec ¶
type BootstrapProviderSpec struct {
ProviderSpec `json:",inline"`
}
BootstrapProviderSpec defines the desired state of BootstrapProvider.
func (*BootstrapProviderSpec) DeepCopy ¶
func (in *BootstrapProviderSpec) DeepCopy() *BootstrapProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapProviderSpec.
func (*BootstrapProviderSpec) DeepCopyInto ¶
func (in *BootstrapProviderSpec) DeepCopyInto(out *BootstrapProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapProviderStatus ¶
type BootstrapProviderStatus struct {
ProviderStatus `json:",inline"`
}
BootstrapProviderStatus defines the observed state of BootstrapProvider.
func (*BootstrapProviderStatus) DeepCopy ¶
func (in *BootstrapProviderStatus) DeepCopy() *BootstrapProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapProviderStatus.
func (*BootstrapProviderStatus) DeepCopyInto ¶
func (in *BootstrapProviderStatus) DeepCopyInto(out *BootstrapProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigmapReference ¶
type ConfigmapReference struct {
// Name defines the name of the configmap.
Name string `json:"name"`
// Namespace defines the namespace of the configmap.
// +optional
Namespace string `json:"namespace,omitempty"`
}
ConfigmapReference contains enough information to locate the configmap.
func (*ConfigmapReference) DeepCopy ¶
func (in *ConfigmapReference) DeepCopy() *ConfigmapReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigmapReference.
func (*ConfigmapReference) DeepCopyInto ¶
func (in *ConfigmapReference) DeepCopyInto(out *ConfigmapReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerSpec ¶
type ContainerSpec struct {
// Name of the container. Cannot be updated.
Name string `json:"name"`
// Container Image URL
// +optional
ImageURL *string `json:"imageUrl,omitempty"`
// Args represents extra provider specific flags that are not encoded as fields in this API.
// Explicit controller manager properties defined in the `Provider.ManagerSpec`
// will have higher precedence than those defined in `ContainerSpec.Args`.
// For example, `ManagerSpec.SyncPeriod` will be used instead of the
// container arg `--sync-period` if both are defined.
// The same holds for `ManagerSpec.FeatureGates` and `--feature-gates`.
// +optional
Args map[string]string `json:"args,omitempty"`
// List of environment variables to set in the container.
// +optional
Env []corev1.EnvVar `json:"env,omitempty"`
// Compute resources required by this container.
// +optional
Resources *corev1.ResourceRequirements `json:"resources,omitempty"`
// Command allows override container's entrypoint array.
Command []string `json:"command,omitempty"`
}
ContainerSpec defines the properties available to override for each container in a provider deployment such as Image and Args to the container’s entrypoint.
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneProvider ¶
type ControlPlaneProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ControlPlaneProviderSpec `json:"spec,omitempty"`
Status ControlPlaneProviderStatus `json:"status,omitempty"`
}
ControlPlaneProvider is the Schema for the controlplaneproviders API.
func (*ControlPlaneProvider) DeepCopy ¶
func (in *ControlPlaneProvider) DeepCopy() *ControlPlaneProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneProvider.
func (*ControlPlaneProvider) DeepCopyInto ¶
func (in *ControlPlaneProvider) DeepCopyInto(out *ControlPlaneProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneProvider) DeepCopyObject ¶
func (in *ControlPlaneProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlaneProvider) GetConditions ¶ added in v0.8.0
func (c *ControlPlaneProvider) GetConditions() clusterv1.Conditions
func (*ControlPlaneProvider) GetSpec ¶ added in v0.8.0
func (c *ControlPlaneProvider) GetSpec() ProviderSpec
func (*ControlPlaneProvider) GetStatus ¶ added in v0.8.0
func (c *ControlPlaneProvider) GetStatus() ProviderStatus
func (*ControlPlaneProvider) GetType ¶ added in v0.8.0
func (c *ControlPlaneProvider) GetType() string
func (*ControlPlaneProvider) Hub ¶
func (*ControlPlaneProvider) Hub()
Hub marks this API version as a conversion hub for ControlPlaneProvider.
func (*ControlPlaneProvider) SetConditions ¶ added in v0.8.0
func (c *ControlPlaneProvider) SetConditions(conditions clusterv1.Conditions)
type ControlPlaneProviderList ¶
type ControlPlaneProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []ControlPlaneProvider `json:"items"`
}
ControlPlaneProviderList contains a list of ControlPlaneProvider.
func (*ControlPlaneProviderList) DeepCopy ¶
func (in *ControlPlaneProviderList) DeepCopy() *ControlPlaneProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneProviderList.
func (*ControlPlaneProviderList) DeepCopyInto ¶
func (in *ControlPlaneProviderList) DeepCopyInto(out *ControlPlaneProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneProviderList) DeepCopyObject ¶
func (in *ControlPlaneProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControlPlaneProviderSpec ¶
type ControlPlaneProviderSpec struct {
ProviderSpec `json:",inline"`
}
ControlPlaneProviderSpec defines the desired state of ControlPlaneProvider.
func (*ControlPlaneProviderSpec) DeepCopy ¶
func (in *ControlPlaneProviderSpec) DeepCopy() *ControlPlaneProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneProviderSpec.
func (*ControlPlaneProviderSpec) DeepCopyInto ¶
func (in *ControlPlaneProviderSpec) DeepCopyInto(out *ControlPlaneProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneProviderStatus ¶
type ControlPlaneProviderStatus struct {
ProviderStatus `json:",inline"`
}
ControlPlaneProviderStatus defines the observed state of ControlPlaneProvider.
func (*ControlPlaneProviderStatus) DeepCopy ¶
func (in *ControlPlaneProviderStatus) DeepCopy() *ControlPlaneProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneProviderStatus.
func (*ControlPlaneProviderStatus) DeepCopyInto ¶
func (in *ControlPlaneProviderStatus) DeepCopyInto(out *ControlPlaneProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerConfigurationSpec ¶
type ControllerConfigurationSpec struct {
// GroupKindConcurrency is a map from a Kind to the number of concurrent reconciliation
// allowed for that controller.
//
// When a controller is registered within this manager using the builder utilities,
// users have to specify the type the controller reconciles in the For(...) call.
// If the object's kind passed matches one of the keys in this map, the concurrency
// for that controller is set to the number specified.
//
// The key is expected to be consistent in form with GroupKind.String(),
// e.g. ReplicaSet in apps group (regardless of version) would be `ReplicaSet.apps`.
//
// +optional
GroupKindConcurrency map[string]int `json:"groupKindConcurrency,omitempty"`
// CacheSyncTimeout refers to the time limit set to wait for syncing caches.
// Defaults to 2 minutes if not set.
// +optional
CacheSyncTimeout *time.Duration `json:"cacheSyncTimeout,omitempty"`
// RecoverPanic indicates if panics should be recovered.
// +optional
RecoverPanic *bool `json:"recoverPanic,omitempty"`
}
ControllerConfigurationSpec defines the global configuration for controllers registered with the manager.
func (*ControllerConfigurationSpec) DeepCopy ¶
func (in *ControllerConfigurationSpec) DeepCopy() *ControllerConfigurationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfigurationSpec.
func (*ControllerConfigurationSpec) DeepCopyInto ¶
func (in *ControllerConfigurationSpec) DeepCopyInto(out *ControllerConfigurationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerHealth ¶
type ControllerHealth struct {
// HealthProbeBindAddress is the TCP address that the controller should bind to
// for serving health probes
// It can be set to "0" or "" to disable serving the health probe.
// +optional
HealthProbeBindAddress string `json:"healthProbeBindAddress,omitempty"`
// ReadinessEndpointName, defaults to "readyz"
// +optional
ReadinessEndpointName string `json:"readinessEndpointName,omitempty"`
// LivenessEndpointName, defaults to "healthz"
// +optional
LivenessEndpointName string `json:"livenessEndpointName,omitempty"`
}
ControllerHealth defines the health configs.
func (*ControllerHealth) DeepCopy ¶
func (in *ControllerHealth) DeepCopy() *ControllerHealth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerHealth.
func (*ControllerHealth) DeepCopyInto ¶
func (in *ControllerHealth) DeepCopyInto(out *ControllerHealth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerManagerConfiguration ¶
type ControllerManagerConfiguration struct {
// SyncPeriod determines the minimum frequency at which watched resources are
// reconciled. A lower period will correct entropy more quickly, but reduce
// responsiveness to change if there are many watched resources. Change this
// value only if you know what you are doing. Defaults to 10 hours if unset.
// there will a 10 percent jitter between the SyncPeriod of all controllers
// so that all controllers will not send list requests simultaneously.
// +optional
SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`
// LeaderElection is the LeaderElection config to be used when configuring
// the manager.Manager leader election
// +optional
LeaderElection *configv1alpha1.LeaderElectionConfiguration `json:"leaderElection,omitempty"`
// CacheNamespace if specified restricts the manager's cache to watch objects in
// the desired namespace Defaults to all namespaces
//
// Note: If a namespace is specified, controllers can still Watch for a
// cluster-scoped resource (e.g Node). For namespaced resources the cache
// will only hold objects from the desired namespace.
// +optional
CacheNamespace string `json:"cacheNamespace,omitempty"`
// GracefulShutdownTimeout is the duration given to runnable to stop before the manager actually returns on stop.
// To disable graceful shutdown, set to time.Duration(0)
// To use graceful shutdown without timeout, set to a negative duration, e.G. time.Duration(-1)
// The graceful shutdown is skipped for safety reasons in case the leader election lease is lost.
GracefulShutdownTimeout *metav1.Duration `json:"gracefulShutDown,omitempty"`
// Controller contains global configuration options for controllers
// registered within this manager.
// +optional
Controller *ControllerConfigurationSpec `json:"controller,omitempty"`
// Metrics contains thw controller metrics configuration
// +optional
Metrics ControllerMetrics `json:"metrics,omitempty"`
// Health contains the controller health configuration
// +optional
Health ControllerHealth `json:"health,omitempty"`
// Webhook contains the controllers webhook configuration
// +optional
Webhook ControllerWebhook `json:"webhook,omitempty"`
}
ControllerManagerConfiguration defines the desired state of GenericControllerManagerConfiguration.
func (*ControllerManagerConfiguration) DeepCopy ¶
func (in *ControllerManagerConfiguration) DeepCopy() *ControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerManagerConfiguration.
func (*ControllerManagerConfiguration) DeepCopyInto ¶
func (in *ControllerManagerConfiguration) DeepCopyInto(out *ControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerMetrics ¶
type ControllerMetrics struct {
// BindAddress is the TCP address that the controller should bind to
// for serving prometheus metrics.
// It can be set to "0" to disable the metrics serving.
// +optional
BindAddress string `json:"bindAddress,omitempty"`
}
ControllerMetrics defines the metrics configs.
func (*ControllerMetrics) DeepCopy ¶
func (in *ControllerMetrics) DeepCopy() *ControllerMetrics
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerMetrics.
func (*ControllerMetrics) DeepCopyInto ¶
func (in *ControllerMetrics) DeepCopyInto(out *ControllerMetrics)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerWebhook ¶
type ControllerWebhook struct {
// Port is the port that the webhook server serves at.
// It is used to set webhook.Server.Port.
// +optional
Port *int `json:"port,omitempty"`
// Host is the hostname that the webhook server binds to.
// It is used to set webhook.Server.Host.
// +optional
Host string `json:"host,omitempty"`
// CertDir is the directory that contains the server key and certificate.
// if not set, webhook server would look up the server key and certificate in
// {TempDir}/k8s-webhook-server/serving-certs. The server key and certificate
// must be named tls.key and tls.crt, respectively.
// +optional
CertDir string `json:"certDir,omitempty"`
}
ControllerWebhook defines the webhook server for the controller.
func (*ControllerWebhook) DeepCopy ¶
func (in *ControllerWebhook) DeepCopy() *ControllerWebhook
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerWebhook.
func (*ControllerWebhook) DeepCopyInto ¶
func (in *ControllerWebhook) DeepCopyInto(out *ControllerWebhook)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreProvider ¶
type CoreProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec CoreProviderSpec `json:"spec,omitempty"`
Status CoreProviderStatus `json:"status,omitempty"`
}
CoreProvider is the Schema for the coreproviders API.
func (*CoreProvider) DeepCopy ¶
func (in *CoreProvider) DeepCopy() *CoreProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreProvider.
func (*CoreProvider) DeepCopyInto ¶
func (in *CoreProvider) DeepCopyInto(out *CoreProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CoreProvider) DeepCopyObject ¶
func (in *CoreProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CoreProvider) GetConditions ¶ added in v0.8.0
func (c *CoreProvider) GetConditions() clusterv1.Conditions
func (*CoreProvider) Hub ¶
func (*CoreProvider) Hub()
Hub marks this API version as a conversion hub for CoreProvider.
func (*CoreProvider) SetConditions ¶ added in v0.8.0
func (c *CoreProvider) SetConditions(conditions clusterv1.Conditions)
type CoreProviderList ¶
type CoreProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CoreProvider `json:"items"`
}
CoreProviderList contains a list of CoreProvider.
func (*CoreProviderList) DeepCopy ¶
func (in *CoreProviderList) DeepCopy() *CoreProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreProviderList.
func (*CoreProviderList) DeepCopyInto ¶
func (in *CoreProviderList) DeepCopyInto(out *CoreProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CoreProviderList) DeepCopyObject ¶
func (in *CoreProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CoreProviderSpec ¶
type CoreProviderSpec struct {
ProviderSpec `json:",inline"`
}
CoreProviderSpec defines the desired state of CoreProvider.
func (*CoreProviderSpec) DeepCopy ¶
func (in *CoreProviderSpec) DeepCopy() *CoreProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreProviderSpec.
func (*CoreProviderSpec) DeepCopyInto ¶
func (in *CoreProviderSpec) DeepCopyInto(out *CoreProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CoreProviderStatus ¶
type CoreProviderStatus struct {
ProviderStatus `json:",inline"`
}
CoreProviderStatus defines the observed state of CoreProvider.
func (*CoreProviderStatus) DeepCopy ¶
func (in *CoreProviderStatus) DeepCopy() *CoreProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CoreProviderStatus.
func (*CoreProviderStatus) DeepCopyInto ¶
func (in *CoreProviderStatus) DeepCopyInto(out *CoreProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentSpec ¶
type DeploymentSpec struct {
// Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
// +optional
// +kubebuilder:validation:Minimum=0
Replicas *int `json:"replicas,omitempty"`
// NodeSelector is a selector which must be true for the pod to fit on a node.
// Selector which must match a node's labels for the pod to be scheduled on that node.
// More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// If specified, the pod's tolerations.
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// If specified, the pod's scheduling constraints
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// List of containers specified in the Deployment
// +optional
Containers []ContainerSpec `json:"containers,omitempty"`
// If specified, the pod's service account
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty"`
// List of image pull secrets specified in the Deployment
// +optional
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}
DeploymentSpec defines the properties that can be enabled on the Deployment for the provider.
func (*DeploymentSpec) DeepCopy ¶
func (in *DeploymentSpec) DeepCopy() *DeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentSpec.
func (*DeploymentSpec) DeepCopyInto ¶
func (in *DeploymentSpec) DeepCopyInto(out *DeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FetchConfiguration ¶
type FetchConfiguration struct {
// OCI configurations to be used for fetching the provider’s components and metadata from an OCI artifact.
OCIConfiguration `json:",inline"`
// URL to be used for fetching the provider’s components and metadata from a remote Github repository.
// For example, https://github.com/{owner}/{repository}/releases
// You must set `providerSpec.Version` field for operator to pick up
// desired version of the release from GitHub.
// +optional
URL string `json:"url,omitempty"`
// Selector to be used for fetching provider’s components and metadata from
// ConfigMaps stored inside the cluster. Each ConfigMap is expected to contain
// components and metadata for a specific version only.
// Note: the name of the ConfigMap should be set to the version or to override this
// add a label like the following: provider.cluster.x-k8s.io/version=v1.4.3
// +optional
Selector *metav1.LabelSelector `json:"selector,omitempty"`
}
FetchConfiguration determines the way to fetch the components and metadata for the provider. +kubebuilder:validation:XValidation:rule="[has(self.oci), has(self.url), has(self.selector)].exists_one(x,x)", message="Must specify one and only one of {oci, url, selector}"
func (*FetchConfiguration) DeepCopy ¶
func (in *FetchConfiguration) DeepCopy() *FetchConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FetchConfiguration.
func (*FetchConfiguration) DeepCopyInto ¶
func (in *FetchConfiguration) DeepCopyInto(out *FetchConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericProvider ¶ added in v0.8.0
type GenericProvider interface {
conditions.Setter
GetSpec() ProviderSpec
SetSpec(in ProviderSpec)
GetStatus() ProviderStatus
SetStatus(in ProviderStatus)
GetType() string
}
GenericProvider interface describes operations applicable to the provider type.
+kubebuilder:object:generate=false
type GenericProviderList ¶ added in v0.8.0
type GenericProviderList interface {
GetItems() []GenericProvider
}
GenericProviderList interface describes operations applicable to the provider list type.
+kubebuilder:object:generate=false
type IPAMProvider ¶ added in v0.8.0
type IPAMProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec IPAMProviderSpec `json:"spec,omitempty"`
Status IPAMProviderStatus `json:"status,omitempty"`
}
IPAMProvider is the Schema for the IPAMProviders API.
func (*IPAMProvider) DeepCopy ¶ added in v0.8.0
func (in *IPAMProvider) DeepCopy() *IPAMProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMProvider.
func (*IPAMProvider) DeepCopyInto ¶ added in v0.8.0
func (in *IPAMProvider) DeepCopyInto(out *IPAMProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAMProvider) DeepCopyObject ¶ added in v0.8.0
func (in *IPAMProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IPAMProvider) GetConditions ¶ added in v0.8.0
func (p *IPAMProvider) GetConditions() clusterv1.Conditions
func (*IPAMProvider) SetConditions ¶ added in v0.8.0
func (p *IPAMProvider) SetConditions(conditions clusterv1.Conditions)
type IPAMProviderList ¶ added in v0.8.0
type IPAMProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []IPAMProvider `json:"items"`
}
IPAMProviderList contains a list of IPAMProvider.
func (*IPAMProviderList) DeepCopy ¶ added in v0.8.0
func (in *IPAMProviderList) DeepCopy() *IPAMProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMProviderList.
func (*IPAMProviderList) DeepCopyInto ¶ added in v0.8.0
func (in *IPAMProviderList) DeepCopyInto(out *IPAMProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPAMProviderList) DeepCopyObject ¶ added in v0.8.0
func (in *IPAMProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IPAMProviderSpec ¶ added in v0.8.0
type IPAMProviderSpec struct {
ProviderSpec `json:",inline"`
}
IPAMProviderSpec defines the desired state of IPAMProvider.
func (*IPAMProviderSpec) DeepCopy ¶ added in v0.8.0
func (in *IPAMProviderSpec) DeepCopy() *IPAMProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMProviderSpec.
func (*IPAMProviderSpec) DeepCopyInto ¶ added in v0.8.0
func (in *IPAMProviderSpec) DeepCopyInto(out *IPAMProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IPAMProviderStatus ¶ added in v0.8.0
type IPAMProviderStatus struct {
ProviderStatus `json:",inline"`
}
IPAMProviderStatus defines the observed state of IPAMProvider.
func (*IPAMProviderStatus) DeepCopy ¶ added in v0.8.0
func (in *IPAMProviderStatus) DeepCopy() *IPAMProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMProviderStatus.
func (*IPAMProviderStatus) DeepCopyInto ¶ added in v0.8.0
func (in *IPAMProviderStatus) DeepCopyInto(out *IPAMProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureProvider ¶
type InfrastructureProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InfrastructureProviderSpec `json:"spec,omitempty"`
Status InfrastructureProviderStatus `json:"status,omitempty"`
}
InfrastructureProvider is the Schema for the infrastructureproviders API.
func (*InfrastructureProvider) DeepCopy ¶
func (in *InfrastructureProvider) DeepCopy() *InfrastructureProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProvider.
func (*InfrastructureProvider) DeepCopyInto ¶
func (in *InfrastructureProvider) DeepCopyInto(out *InfrastructureProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureProvider) DeepCopyObject ¶
func (in *InfrastructureProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InfrastructureProvider) GetConditions ¶ added in v0.8.0
func (c *InfrastructureProvider) GetConditions() clusterv1.Conditions
func (*InfrastructureProvider) GetSpec ¶ added in v0.8.0
func (c *InfrastructureProvider) GetSpec() ProviderSpec
func (*InfrastructureProvider) GetStatus ¶ added in v0.8.0
func (c *InfrastructureProvider) GetStatus() ProviderStatus
func (*InfrastructureProvider) GetType ¶ added in v0.8.0
func (c *InfrastructureProvider) GetType() string
func (*InfrastructureProvider) Hub ¶
func (*InfrastructureProvider) Hub()
Hub marks this API version as a conversion hub for InfrastructureProvider.
func (*InfrastructureProvider) SetConditions ¶ added in v0.8.0
func (c *InfrastructureProvider) SetConditions(conditions clusterv1.Conditions)
type InfrastructureProviderList ¶
type InfrastructureProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []InfrastructureProvider `json:"items"`
}
InfrastructureProviderList contains a list of InfrastructureProvider.
func (*InfrastructureProviderList) DeepCopy ¶
func (in *InfrastructureProviderList) DeepCopy() *InfrastructureProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProviderList.
func (*InfrastructureProviderList) DeepCopyInto ¶
func (in *InfrastructureProviderList) DeepCopyInto(out *InfrastructureProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InfrastructureProviderList) DeepCopyObject ¶
func (in *InfrastructureProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InfrastructureProviderSpec ¶
type InfrastructureProviderSpec struct {
ProviderSpec `json:",inline"`
}
InfrastructureProviderSpec defines the desired state of InfrastructureProvider.
func (*InfrastructureProviderSpec) DeepCopy ¶
func (in *InfrastructureProviderSpec) DeepCopy() *InfrastructureProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProviderSpec.
func (*InfrastructureProviderSpec) DeepCopyInto ¶
func (in *InfrastructureProviderSpec) DeepCopyInto(out *InfrastructureProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InfrastructureProviderStatus ¶
type InfrastructureProviderStatus struct {
ProviderStatus `json:",inline"`
}
InfrastructureProviderStatus defines the observed state of InfrastructureProvider.
func (*InfrastructureProviderStatus) DeepCopy ¶
func (in *InfrastructureProviderStatus) DeepCopy() *InfrastructureProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InfrastructureProviderStatus.
func (*InfrastructureProviderStatus) DeepCopyInto ¶
func (in *InfrastructureProviderStatus) DeepCopyInto(out *InfrastructureProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagerSpec ¶
type ManagerSpec struct {
// ControllerManagerConfiguration defines the desired state of GenericControllerManagerConfiguration.
ControllerManagerConfiguration `json:",inline"`
// ProfilerAddress defines the bind address to expose the pprof profiler (e.g. localhost:6060).
// Default empty, meaning the profiler is disabled.
// Controller Manager flag is --profiler-address.
// +optional
ProfilerAddress string `json:"profilerAddress,omitempty"`
// MaxConcurrentReconciles is the maximum number of concurrent Reconciles
// which can be run.
// +optional
// +kubebuilder:validation:Minimum=1
MaxConcurrentReconciles int `json:"maxConcurrentReconciles,omitempty"`
// Verbosity set the logs verbosity. Defaults to 1.
// Controller Manager flag is --verbosity.
// +optional
// +kubebuilder:default=1
// +kubebuilder:validation:Minimum=0
Verbosity int `json:"verbosity,omitempty"`
// FeatureGates define provider specific feature flags that will be passed
// in as container args to the provider's controller manager.
// Controller Manager flag is --feature-gates.
FeatureGates map[string]bool `json:"featureGates,omitempty"`
}
ManagerSpec defines the properties that can be enabled on the controller manager for the provider.
func (*ManagerSpec) DeepCopy ¶
func (in *ManagerSpec) DeepCopy() *ManagerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagerSpec.
func (*ManagerSpec) DeepCopyInto ¶
func (in *ManagerSpec) DeepCopyInto(out *ManagerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OCIConfiguration ¶ added in v0.16.0
type OCIConfiguration struct {
// OCI to be used for fetching the provider’s components and metadata from an OCI artifact.
// You must set `providerSpec.Version` field for operator to pick up desired version of the release from GitHub.
// If the providerSpec.Version is missing, latest provider version from clusterctl defaults is used.
// +optional
OCI string `json:"oci,omitempty"`
}
func (*OCIConfiguration) DeepCopy ¶ added in v0.16.0
func (in *OCIConfiguration) DeepCopy() *OCIConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OCIConfiguration.
func (*OCIConfiguration) DeepCopyInto ¶ added in v0.16.0
func (in *OCIConfiguration) DeepCopyInto(out *OCIConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderSpec ¶
type ProviderSpec struct {
// Version indicates the provider version.
// +optional
Version string `json:"version,omitempty"`
// Manager defines the properties that can be enabled on the controller manager for the provider.
// +optional
Manager *ManagerSpec `json:"manager,omitempty"`
// Deployment defines the properties that can be enabled on the deployment for the provider.
// +optional
Deployment *DeploymentSpec `json:"deployment,omitempty"`
// ConfigSecret is the object with name and namespace of the Secret providing
// the configuration variables for the current provider instance, like e.g. credentials.
// Such configurations will be used when creating or upgrading provider components.
// The contents of the secret will be treated as immutable. If changes need
// to be made, a new object can be created and the name should be updated.
// The contents should be in the form of key:value. This secret must be in
// the same namespace as the provider.
// +optional
ConfigSecret *SecretReference `json:"configSecret,omitempty"`
// FetchConfig determines how the operator will fetch the components and metadata for the provider.
// If nil, the operator will try to fetch components according to default
// embedded fetch configuration for the given kind and `ObjectMeta.Name`.
// For example, the infrastructure name `aws` will fetch artifacts from
// https://github.com/kubernetes-sigs/cluster-api-provider-aws/releases.
// +optional
FetchConfig *FetchConfiguration `json:"fetchConfig,omitempty"`
// AdditionalManifests is reference to configmap that contains additional manifests that will be applied
// together with the provider components. The key for storing these manifests has to be `manifests`.
// The manifests are applied only once when a certain release is installed/upgraded. If namespace is not specified, the
// namespace of the provider will be used. There is no validation of the yaml content inside the configmap.
// +optional
AdditionalManifestsRef *ConfigmapReference `json:"additionalManifests,omitempty"`
// ManifestPatches are applied to rendered provider manifests to customize the
// provider manifests. Patches are applied in the order they are specified.
// The `kind` field must match the target object, and
// if `apiVersion` is specified it will only be applied to matching objects.
// This should be an inline yaml blob-string https://datatracker.ietf.org/doc/html/rfc7396
// +optional
ManifestPatches []string `json:"manifestPatches,omitempty"`
// AdditionalDeployments is a map of additional deployments that the provider
// should manage. The key is the name of the deployment and the value is the
// DeploymentSpec.
// +optional
AdditionalDeployments map[string]AdditionalDeployments `json:"additionalDeployments,omitempty"`
}
ProviderSpec is the desired state of the Provider.
func (*ProviderSpec) DeepCopy ¶
func (in *ProviderSpec) DeepCopy() *ProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderSpec.
func (*ProviderSpec) DeepCopyInto ¶
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderStatus ¶
type ProviderStatus struct {
// Contract will contain the core provider contract that the provider is
// abiding by, like e.g. v1alpha4.
// +optional
Contract *string `json:"contract,omitempty"`
// Conditions define the current service state of the provider.
// +optional
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
// ObservedGeneration is the latest generation observed by the controller.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// InstalledVersion is the version of the provider that is installed.
// +optional
InstalledVersion *string `json:"installedVersion,omitempty"`
}
ProviderStatus defines the observed state of the Provider.
func (*ProviderStatus) DeepCopy ¶
func (in *ProviderStatus) DeepCopy() *ProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus.
func (*ProviderStatus) DeepCopyInto ¶
func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeExtensionProvider ¶ added in v0.10.0
type RuntimeExtensionProvider struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RuntimeExtensionProviderSpec `json:"spec,omitempty"`
Status RuntimeExtensionProviderStatus `json:"status,omitempty"`
}
RuntimeExtensionProvider is the Schema for the RuntimeExtensionProviders API.
func (*RuntimeExtensionProvider) DeepCopy ¶ added in v0.10.0
func (in *RuntimeExtensionProvider) DeepCopy() *RuntimeExtensionProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeExtensionProvider.
func (*RuntimeExtensionProvider) DeepCopyInto ¶ added in v0.10.0
func (in *RuntimeExtensionProvider) DeepCopyInto(out *RuntimeExtensionProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeExtensionProvider) DeepCopyObject ¶ added in v0.10.0
func (in *RuntimeExtensionProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RuntimeExtensionProvider) GetConditions ¶ added in v0.10.0
func (p *RuntimeExtensionProvider) GetConditions() clusterv1.Conditions
func (*RuntimeExtensionProvider) GetSpec ¶ added in v0.10.0
func (p *RuntimeExtensionProvider) GetSpec() ProviderSpec
func (*RuntimeExtensionProvider) GetStatus ¶ added in v0.10.0
func (p *RuntimeExtensionProvider) GetStatus() ProviderStatus
func (*RuntimeExtensionProvider) GetType ¶ added in v0.10.0
func (p *RuntimeExtensionProvider) GetType() string
func (*RuntimeExtensionProvider) SetConditions ¶ added in v0.10.0
func (p *RuntimeExtensionProvider) SetConditions(conditions clusterv1.Conditions)
type RuntimeExtensionProviderList ¶ added in v0.10.0
type RuntimeExtensionProviderList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RuntimeExtensionProvider `json:"items"`
}
RuntimeExtensionProviderList contains a list of RuntimeExtensionProviders.
func (*RuntimeExtensionProviderList) DeepCopy ¶ added in v0.10.0
func (in *RuntimeExtensionProviderList) DeepCopy() *RuntimeExtensionProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeExtensionProviderList.
func (*RuntimeExtensionProviderList) DeepCopyInto ¶ added in v0.10.0
func (in *RuntimeExtensionProviderList) DeepCopyInto(out *RuntimeExtensionProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuntimeExtensionProviderList) DeepCopyObject ¶ added in v0.10.0
func (in *RuntimeExtensionProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuntimeExtensionProviderSpec ¶ added in v0.10.0
type RuntimeExtensionProviderSpec struct {
ProviderSpec `json:",inline"`
}
RuntimeExtensionProviderSpec defines the desired state of RuntimeExtensionProvider.
func (*RuntimeExtensionProviderSpec) DeepCopy ¶ added in v0.10.0
func (in *RuntimeExtensionProviderSpec) DeepCopy() *RuntimeExtensionProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeExtensionProviderSpec.
func (*RuntimeExtensionProviderSpec) DeepCopyInto ¶ added in v0.10.0
func (in *RuntimeExtensionProviderSpec) DeepCopyInto(out *RuntimeExtensionProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeExtensionProviderStatus ¶ added in v0.10.0
type RuntimeExtensionProviderStatus struct {
ProviderStatus `json:",inline"`
}
RuntimeExtensionProviderStatus defines the observed state of RuntimeExtensionProvider.
func (*RuntimeExtensionProviderStatus) DeepCopy ¶ added in v0.10.0
func (in *RuntimeExtensionProviderStatus) DeepCopy() *RuntimeExtensionProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeExtensionProviderStatus.
func (*RuntimeExtensionProviderStatus) DeepCopyInto ¶ added in v0.10.0
func (in *RuntimeExtensionProviderStatus) DeepCopyInto(out *RuntimeExtensionProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReference ¶
type SecretReference struct {
// Name defines the name of the secret.
Name string `json:"name"`
// Namespace defines the namespace of the secret.
// +optional
Namespace string `json:"namespace,omitempty"`
}
SecretReference contains enough information to locate the referenced secret.
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files
¶
- addonprovider_types.go
- addonprovider_wrapper.go
- bootstrapprovider_types.go
- bootstrapprovider_wrapper.go
- conditions_consts.go
- controllermanagerconfig_types.go
- controlplaneprovider_types.go
- controlplaneprovider_wrapper.go
- coreprovider_types.go
- coreprovider_wrapper.go
- doc.go
- genericprovider_interfaces.go
- groupversion_info.go
- infrastructureprovider_types.go
- infrastructureprovider_wrapper.go
- ipamprovider_types.go
- ipamprovider_wrapper.go
- provider_conversion.go
- provider_types.go
- runtimeextensionprovider_types.go
- runtimeextensionprovider_wrapper.go
- zz_generated.deepcopy.go