Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the operator v1alpha1 API group +kubebuilder:object:generate=true +groupName=operator.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- type BootstrapProvider
- type BootstrapProviderList
- type BootstrapProviderSpec
- type BootstrapProviderStatus
- type ContainerSpec
- type ControlPlaneProvider
- type ControlPlaneProviderList
- type ControlPlaneProviderSpec
- type ControlPlaneProviderStatus
- type CoreProvider
- type CoreProviderList
- type CoreProviderSpec
- type CoreProviderStatus
- type DeploymentSpec
- type FetchConfiguration
- type ImageMeta
- type InfrastructureProvider
- type InfrastructureProviderList
- type InfrastructureProviderSpec
- type InfrastructureProviderStatus
- type ManagerSpec
- type ProviderSpec
- type ProviderStatus
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" // EmptyVersionReason documents that the provider version is in the incorrect format. EmptyVersionReason = "EmptyVersionReason" // FetchConfigValidationError 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 componets. ComponentsFetchErrorReason = "ComponentsFetchError" // 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" )
const ( ProviderFinalizer = "provider.cluster.x-k8s.io" ConfigMapVersionLabelName = "provider.cluster.x-k8s.io/version" )
const ( // ProviderInstalledCondition documents a Provider that has been installed. ProviderInstalledCondition clusterv1.ConditionType = "ProviderInstalled" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "operator.cluster.x-k8s.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
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.
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 ContainerSpec ¶
type ContainerSpec struct {
// Name of the container. Cannot be updated.
Name string `json:"name"`
// Container Image Name
// +optional
Image *ImageMeta `json:"image,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.
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 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.
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"`
}
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 {
// 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.
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 ImageMeta ¶
type ImageMeta struct {
// Repository sets the container registry to pull images from.
// +optional
Repository string `json:"repository,omitempty"`
// Name allows to specify a name for the image.
// +optional
Name string `json:"name,omitempty"`
// Tag allows to specify a tag for the image.
// +optional
Tag string `json:"tag,omitempty"`
}
ImageMeta allows to customize the image used.
func (*ImageMeta) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageMeta.
func (*ImageMeta) DeepCopyInto ¶
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.
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 {
// ControllerManagerConfigurationSpec defines the desired state of GenericControllerManagerConfiguration.
ctrlconfigv1.ControllerManagerConfigurationSpec `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 ProviderSpec ¶
type ProviderSpec struct {
// Version indicates the provider version.
Version string `json:"version"`
// 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"`
// SecretName is the name 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
SecretName string `json:"secretName,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"`
}
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.