Documentation
¶
Overview ¶
Package core is the internal version of the API. +groupName=core.gardener.cloud
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type BackupBucket
- type BackupBucketList
- type BackupBucketProvider
- type BackupBucketSpec
- type BackupBucketStatus
- type BackupEntry
- type BackupEntryList
- type BackupEntrySpec
- type BackupEntryStatus
- type CloudInfo
- type ClusterInfo
- type Condition
- type ConditionStatus
- type ConditionType
- type ControllerDeployment
- type ControllerInstallation
- type ControllerInstallationList
- type ControllerInstallationSpec
- type ControllerInstallationStatus
- type ControllerRegistration
- type ControllerRegistrationList
- type ControllerRegistrationSpec
- type ControllerResource
- type Endpoint
- type ErrorCode
- type KubernetesInfo
- type LastError
- type LastOperation
- type LastOperationState
- type LastOperationType
- type Plant
- type PlantList
- type PlantSpec
- type PlantStatus
- type ProviderConfig
Constants ¶
const ( // ConditionAvailable is a condition type for indicating availability. ConditionAvailable ConditionType = "Available" // ConditionTrue means a resource is in the condition. ConditionTrue ConditionStatus = "True" // ConditionFalse means a resource is not in the condition. ConditionFalse ConditionStatus = "False" // ConditionUnknown means Gardener can't decide if a resource is in the condition or not. ConditionUnknown ConditionStatus = "Unknown" // ConditionProgressing means the condition was seen true, failed but stayed within a predefined failure threshold. // In the future, we could add other intermediate conditions, e.g. ConditionDegraded. ConditionProgressing ConditionStatus = "Progressing" // ConditionCheckError is a constant for a reason in condition. ConditionCheckError = "ConditionCheckError" )
const (
// BackupEntryForceDeletion is a constant for an annotation on a BackupEntry indicating that it should be force deleted.
BackupEntryForceDeletion = "backupentry.core.gardener.cloud/force-deletion"
)
const GroupName = "core.gardener.cloud"
GroupName is the name of the core API group.
Variables ¶
var ( // SchemeBuilder is a new Scheme Builder which registers our API. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a reference to the Scheme Builder's AddToScheme function. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects.
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource.
Types ¶
type BackupBucket ¶
type BackupBucket struct {
metav1.TypeMeta
// Standard object metadata.
metav1.ObjectMeta
// Specification of the Backup Bucket.
Spec BackupBucketSpec
// Most recently observed status of the Backup Bucket.
Status BackupBucketStatus
}
BackupBucket holds details about backup bucket
func (*BackupBucket) DeepCopy ¶
func (in *BackupBucket) DeepCopy() *BackupBucket
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucket.
func (*BackupBucket) DeepCopyInto ¶
func (in *BackupBucket) DeepCopyInto(out *BackupBucket)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBucket) DeepCopyObject ¶
func (in *BackupBucket) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupBucketList ¶
type BackupBucketList struct {
metav1.TypeMeta
// Standard list object metadata.
metav1.ListMeta
// Items is the list of BackupBucket.
Items []BackupBucket
}
BackupBucketList is a list of BackupBucket objects.
func (*BackupBucketList) DeepCopy ¶
func (in *BackupBucketList) DeepCopy() *BackupBucketList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketList.
func (*BackupBucketList) DeepCopyInto ¶
func (in *BackupBucketList) DeepCopyInto(out *BackupBucketList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupBucketList) DeepCopyObject ¶
func (in *BackupBucketList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupBucketProvider ¶
type BackupBucketProvider struct {
// Type is the type of provider.
Type string
// Region is the region of the bucket.
Region string
}
BackupBucketProvider holds the details of cloud provider of the object store.
func (*BackupBucketProvider) DeepCopy ¶
func (in *BackupBucketProvider) DeepCopy() *BackupBucketProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketProvider.
func (*BackupBucketProvider) DeepCopyInto ¶
func (in *BackupBucketProvider) DeepCopyInto(out *BackupBucketProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBucketSpec ¶
type BackupBucketSpec struct {
// Provider holds the details of cloud provider of the object store.
Provider BackupBucketProvider
// SecretRef is a reference to a secret that contains the credentials to access object store.
SecretRef corev1.SecretReference
// Seed holds the name of the seed allocated to BackupBucket for running controller.
Seed *string
}
BackupBucketSpec is the specification of a Backup Bucket.
func (*BackupBucketSpec) DeepCopy ¶
func (in *BackupBucketSpec) DeepCopy() *BackupBucketSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketSpec.
func (*BackupBucketSpec) DeepCopyInto ¶
func (in *BackupBucketSpec) DeepCopyInto(out *BackupBucketSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupBucketStatus ¶
type BackupBucketStatus struct {
// LastOperation holds information about the last operation on the BackupBucket.
LastOperation *LastOperation
// LastError holds information about the last occurred error during an operation.
LastError *LastError
// ObservedGeneration is the most recent generation observed for this BackupBucket. It corresponds to the
// BackupBucket's generation, which is updated on mutation by the API Server.
ObservedGeneration int64
// GeneratedSecretRef is reference to the secret generated by backup bucket, which
// will have object store specific credentials.
GeneratedSecretRef *corev1.SecretReference
}
BackupBucketStatus holds the most recently observed status of the Backup Bucket.
func (*BackupBucketStatus) DeepCopy ¶
func (in *BackupBucketStatus) DeepCopy() *BackupBucketStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupBucketStatus.
func (*BackupBucketStatus) DeepCopyInto ¶
func (in *BackupBucketStatus) DeepCopyInto(out *BackupBucketStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupEntry ¶
type BackupEntry struct {
metav1.TypeMeta
// Standard object metadata.
metav1.ObjectMeta
// Spec contains the specification of the Backup Entry.
Spec BackupEntrySpec
// Status contains the most recently observed status of the Backup Entry.
Status BackupEntryStatus
}
BackupEntry holds details about shoot backup.
func (*BackupEntry) DeepCopy ¶
func (in *BackupEntry) DeepCopy() *BackupEntry
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntry.
func (*BackupEntry) DeepCopyInto ¶
func (in *BackupEntry) DeepCopyInto(out *BackupEntry)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupEntry) DeepCopyObject ¶
func (in *BackupEntry) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupEntryList ¶
type BackupEntryList struct {
metav1.TypeMeta
// Standard list object metadata.
metav1.ListMeta
// Items is the list of BackupEntry.
Items []BackupEntry
}
BackupEntryList is a list of BackupEntry objects.
func (*BackupEntryList) DeepCopy ¶
func (in *BackupEntryList) DeepCopy() *BackupEntryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntryList.
func (*BackupEntryList) DeepCopyInto ¶
func (in *BackupEntryList) DeepCopyInto(out *BackupEntryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BackupEntryList) DeepCopyObject ¶
func (in *BackupEntryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BackupEntrySpec ¶
type BackupEntrySpec struct {
// BucketName is the name of backup bucket for this Backup Entry.
BucketName string
// Seed holds the name of the seed allocated to BackupBucket for running controller.
Seed *string
}
BackupEntrySpec is the specification of a Backup Entry.
func (*BackupEntrySpec) DeepCopy ¶
func (in *BackupEntrySpec) DeepCopy() *BackupEntrySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntrySpec.
func (*BackupEntrySpec) DeepCopyInto ¶
func (in *BackupEntrySpec) DeepCopyInto(out *BackupEntrySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BackupEntryStatus ¶
type BackupEntryStatus struct {
// LastOperation holds information about the last operation on the BackupEntry.
LastOperation *LastOperation
// LastError holds information about the last occurred error during an operation.
LastError *LastError
// ObservedGeneration is the most recent generation observed for this BackupEntry. It corresponds to the
// BackupEntry's generation, which is updated on mutation by the API Server.
ObservedGeneration int64
}
BackupEntryStatus holds the most recently observed status of the Backup Entry.
func (*BackupEntryStatus) DeepCopy ¶
func (in *BackupEntryStatus) DeepCopy() *BackupEntryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupEntryStatus.
func (*BackupEntryStatus) DeepCopyInto ¶
func (in *BackupEntryStatus) DeepCopyInto(out *BackupEntryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudInfo ¶
type CloudInfo struct {
// Type is the cloud type
Type string
// Region is the cloud region
Region string
}
CloudInfo contains information about the cloud
func (*CloudInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudInfo.
func (*CloudInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterInfo ¶
type ClusterInfo struct {
// Cloud describes the cloud information
Cloud CloudInfo
// Kubernetes describes kubernetes meta information (e.g., version)
Kubernetes KubernetesInfo
}
ClusterInfo contains information about the Plant cluster
func (*ClusterInfo) DeepCopy ¶
func (in *ClusterInfo) DeepCopy() *ClusterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.
func (*ClusterInfo) DeepCopyInto ¶
func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Condition ¶
type Condition struct {
// Type of the Shoot condition.
Type ConditionType
// Status of the condition, one of True, False, Unknown.
Status ConditionStatus
// Last time the condition transitioned from one status to another.
LastTransitionTime metav1.Time
// Last time the condition was updated.
LastUpdateTime metav1.Time
// The reason for the condition's last transition.
Reason string
// A human readable message indicating details about the transition.
Message string
}
Condition holds the information about the state of a resource.
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConditionType ¶
type ConditionType string
ConditionType is a string alias.
const ( // ControllerInstallationValid is a condition type for indicating whether the installation request is valid. ControllerInstallationValid ConditionType = "Valid" // ControllerInstallationInstalled is a condition type for indicating whether the controller has been installed. ControllerInstallationInstalled ConditionType = "Installed" )
const ( // PlantEveryNodeReady is a constant for a condition type indicating the node health. PlantEveryNodeReady ConditionType = "EveryNodeReady" // PlantAPIServerAvailable is a constant for a condition type indicating that the Plant cluster API server is available. PlantAPIServerAvailable ConditionType = "APIServerAvailable" )
type ControllerDeployment ¶
type ControllerDeployment struct {
// Type is the deployment type.
Type string
// ProviderConfig contains type-specific configuration.
ProviderConfig *ProviderConfig
}
ControllerDeployment contains information for how this controller is deployed.
func (*ControllerDeployment) DeepCopy ¶
func (in *ControllerDeployment) DeepCopy() *ControllerDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerDeployment.
func (*ControllerDeployment) DeepCopyInto ¶
func (in *ControllerDeployment) DeepCopyInto(out *ControllerDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerInstallation ¶
type ControllerInstallation struct {
metav1.TypeMeta
// Standard object metadata.
metav1.ObjectMeta
// Spec contains the specification of this installation.
Spec ControllerInstallationSpec
// Status contains the status of this installation.
Status ControllerInstallationStatus
}
ControllerInstallation represents an installation request for an external controller.
func (*ControllerInstallation) DeepCopy ¶
func (in *ControllerInstallation) DeepCopy() *ControllerInstallation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallation.
func (*ControllerInstallation) DeepCopyInto ¶
func (in *ControllerInstallation) DeepCopyInto(out *ControllerInstallation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerInstallation) DeepCopyObject ¶
func (in *ControllerInstallation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerInstallationList ¶
type ControllerInstallationList struct {
metav1.TypeMeta
// Standard list object metadata.
metav1.ListMeta
// Items is the list of ControllerInstallations.
Items []ControllerInstallation
}
ControllerInstallationList is a collection of ControllerInstallations.
func (*ControllerInstallationList) DeepCopy ¶
func (in *ControllerInstallationList) DeepCopy() *ControllerInstallationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationList.
func (*ControllerInstallationList) DeepCopyInto ¶
func (in *ControllerInstallationList) DeepCopyInto(out *ControllerInstallationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerInstallationList) DeepCopyObject ¶
func (in *ControllerInstallationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerInstallationSpec ¶
type ControllerInstallationSpec struct {
// RegistrationRef is used to reference a ControllerRegistration resources.
RegistrationRef corev1.ObjectReference
// SeedRef is used to reference a Seed resources.
SeedRef corev1.ObjectReference
}
ControllerInstallationSpec is the specification of a ControllerInstallation.
func (*ControllerInstallationSpec) DeepCopy ¶
func (in *ControllerInstallationSpec) DeepCopy() *ControllerInstallationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationSpec.
func (*ControllerInstallationSpec) DeepCopyInto ¶
func (in *ControllerInstallationSpec) DeepCopyInto(out *ControllerInstallationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerInstallationStatus ¶
type ControllerInstallationStatus struct {
// Conditions represents the latest available observations of a ControllerInstallations's current state.
Conditions []Condition
// ProviderStatus contains type-specific status.
// +optional
ProviderStatus *ProviderConfig
}
ControllerInstallationStatus is the status of a ControllerInstallation.
func (*ControllerInstallationStatus) DeepCopy ¶
func (in *ControllerInstallationStatus) DeepCopy() *ControllerInstallationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationStatus.
func (*ControllerInstallationStatus) DeepCopyInto ¶
func (in *ControllerInstallationStatus) DeepCopyInto(out *ControllerInstallationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerRegistration ¶
type ControllerRegistration struct {
metav1.TypeMeta
// Standard object metadata.
metav1.ObjectMeta
// Spec contains the specification of this registration.
Spec ControllerRegistrationSpec
}
ControllerRegistration represents a registration of an external controller.
func (*ControllerRegistration) DeepCopy ¶
func (in *ControllerRegistration) DeepCopy() *ControllerRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistration.
func (*ControllerRegistration) DeepCopyInto ¶
func (in *ControllerRegistration) DeepCopyInto(out *ControllerRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerRegistration) DeepCopyObject ¶
func (in *ControllerRegistration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerRegistrationList ¶
type ControllerRegistrationList struct {
metav1.TypeMeta
// Standard list object metadata.
metav1.ListMeta
// Items is the list of ControllerRegistrations.
Items []ControllerRegistration
}
ControllerRegistrationList is a collection of ControllerRegistrations.
func (*ControllerRegistrationList) DeepCopy ¶
func (in *ControllerRegistrationList) DeepCopy() *ControllerRegistrationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistrationList.
func (*ControllerRegistrationList) DeepCopyInto ¶
func (in *ControllerRegistrationList) DeepCopyInto(out *ControllerRegistrationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerRegistrationList) DeepCopyObject ¶
func (in *ControllerRegistrationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerRegistrationSpec ¶
type ControllerRegistrationSpec struct {
// Resources is a list of combinations of kinds (DNSProvider, Infrastructure, Generic, ...) and their actual types
// (aws-route53, gcp, auditlog, ...).
Resources []ControllerResource
// Deployment contains information for how this controller is deployed.
Deployment *ControllerDeployment
}
ControllerRegistrationSpec is the specification of a ControllerRegistration.
func (*ControllerRegistrationSpec) DeepCopy ¶
func (in *ControllerRegistrationSpec) DeepCopy() *ControllerRegistrationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistrationSpec.
func (*ControllerRegistrationSpec) DeepCopyInto ¶
func (in *ControllerRegistrationSpec) DeepCopyInto(out *ControllerRegistrationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerResource ¶
type ControllerResource struct {
// Kind is the resource kind.
Kind string
// Type is the resource type.
Type string
// GloballyEnabled determines if this resource is required by all Shoot clusters.
GloballyEnabled *bool
// ReconcileTimeout defines how long Gardener should wait for the resource reconciliation.
ReconcileTimeout *metav1.Duration
}
ControllerResource is a combination of a kind (DNSProvider, Infrastructure, Generic, ...) and the actual type for this kind (aws-route53, gcp, auditlog, ...).
func (*ControllerResource) DeepCopy ¶
func (in *ControllerResource) DeepCopy() *ControllerResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerResource.
func (*ControllerResource) DeepCopyInto ¶
func (in *ControllerResource) DeepCopyInto(out *ControllerResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Endpoint ¶
type Endpoint struct {
// Name is the name of the endpoint
Name string
// URL is the url of the endpoint
URL string
// Purpose is the purpose of the endpoint
Purpose string
}
Endpoint is an endpoint for monitoring, logging and other services around the plant.
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorCode ¶
type ErrorCode string
ErrorCode is a string alias.
const ( ErrorInfraUnauthorized ErrorCode = "ERR_INFRA_UNAUTHORIZED" // ErrorInfraInsufficientPrivileges indicates that the last error occurred due to insufficient cloud provider privileges. ErrorInfraInsufficientPrivileges ErrorCode = "ERR_INFRA_INSUFFICIENT_PRIVILEGES" // ErrorInfraQuotaExceeded indicates that the last error occurred due to cloud provider quota limits. ErrorInfraQuotaExceeded ErrorCode = "ERR_INFRA_QUOTA_EXCEEDED" // ErrorInfraDependencies indicates that the last error occurred due to dependent objects on the cloud provider level. ErrorInfraDependencies ErrorCode = "ERR_INFRA_DEPENDENCIES" )
type KubernetesInfo ¶
type KubernetesInfo struct {
// Version is the semantic Kubernetes version to use for the Plant cluster.
Version string
}
KubernetesInfo contains the version and configuration variables for the Plant cluster.
func (*KubernetesInfo) DeepCopy ¶
func (in *KubernetesInfo) DeepCopy() *KubernetesInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesInfo.
func (*KubernetesInfo) DeepCopyInto ¶
func (in *KubernetesInfo) DeepCopyInto(out *KubernetesInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastError ¶
type LastError struct {
// A human readable message indicating details about the last error.
Description string
// ID of the task which caused this last error
TaskID *string
// Well-defined error codes of the last error(s).
// +optional
Codes []ErrorCode
// Last time the error was reported
LastUpdateTime *metav1.Time
}
LastError indicates the last occurred error for an operation on a resource.
func (*LastError) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastError.
func (*LastError) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperation ¶
type LastOperation struct {
// A human readable message indicating details about the last operation.
Description string
// Last time the operation state transitioned from one to another.
LastUpdateTime metav1.Time
// The progress in percentage (0-100) of the last operation.
Progress int
// Status of the last operation, one of Aborted, Processing, Succeeded, Error, Failed.
State LastOperationState
// Type of the last operation, one of Create, Reconcile, Delete.
Type LastOperationType
}
LastOperation indicates the type and the state of the last operation, along with a description message and a progress indicator.
func (*LastOperation) DeepCopy ¶
func (in *LastOperation) DeepCopy() *LastOperation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastOperation.
func (*LastOperation) DeepCopyInto ¶
func (in *LastOperation) DeepCopyInto(out *LastOperation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LastOperationState ¶
type LastOperationState string
LastOperationState is a string alias.
const ( // LastOperationStateProcessing indicates that an operation is ongoing. LastOperationStateProcessing LastOperationState = "Processing" // LastOperationStateSucceeded indicates that an operation has completed successfully. LastOperationStateSucceeded LastOperationState = "Succeeded" // LastOperationStateError indicates that an operation is completed with errors and will be retried. LastOperationStateError LastOperationState = "Error" // LastOperationStateFailed indicates that an operation is completed with errors and won't be retried. LastOperationStateFailed LastOperationState = "Failed" // LastOperationStatePending indicates that an operation cannot be done now, but will be tried in future. LastOperationStatePending LastOperationState = "Pending" // LastOperationStateAborted indicates that an operation has been aborted. LastOperationStateAborted LastOperationState = "Aborted" )
type LastOperationType ¶
type LastOperationType string
LastOperationType is a string alias.
const ( // LastOperationTypeReconcile indicates a 'reconcile' operation. LastOperationTypeReconcile LastOperationType = "Reconcile" // LastOperationTypeDelete indicates a 'delete' operation. LastOperationTypeDelete LastOperationType = "Delete" )
type Plant ¶
type Plant struct {
metav1.TypeMeta
// Standard object metadata.
metav1.ObjectMeta
// Spec contains the specification of this Plant.
Spec PlantSpec
// Status contains the status of this Plant.
Status PlantStatus
}
Plant represents an external kubernetes cluster.
func (*Plant) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plant.
func (*Plant) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Plant) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlantList ¶
type PlantList struct {
metav1.TypeMeta
// Standard list object metadata.
metav1.ListMeta
// Items is the list of Plants.
Items []Plant
}
PlantList is a collection of Plants.
func (*PlantList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantList.
func (*PlantList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PlantList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PlantSpec ¶
type PlantSpec struct {
// SecretRef is a reference to a Secret object containing the Kubeconfig of the external kubernetes
// clusters to be added to Gardener.
SecretRef corev1.LocalObjectReference
// Endpoints is the configuration plant endpoints
Endpoints []Endpoint
}
PlantSpec is the specification of a Plant.
func (*PlantSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantSpec.
func (*PlantSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PlantStatus ¶
type PlantStatus struct {
// Conditions represents the latest available observations of a Plant's current state.
Conditions []Condition
// ObservedGeneration is the most recent generation observed for this Plant. It corresponds to the
// Plant's generation, which is updated on mutation by the API Server.
ObservedGeneration *int64
// ClusterInfo is additional computed information about the newly added cluster (Plant)
ClusterInfo *ClusterInfo
}
PlantStatus is the status of a Plant.
func (*PlantStatus) DeepCopy ¶
func (in *PlantStatus) DeepCopy() *PlantStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantStatus.
func (*PlantStatus) DeepCopyInto ¶
func (in *PlantStatus) DeepCopyInto(out *PlantStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderConfig ¶
type ProviderConfig struct {
runtime.RawExtension
}
ProviderConfig is a workaround for missing OpenAPI functions on runtime.RawExtension struct. https://github.com/kubernetes/kubernetes/issues/55890 https://github.com/kubernetes-sigs/cluster-api/issues/137
func (*ProviderConfig) DeepCopy ¶
func (in *ProviderConfig) DeepCopy() *ProviderConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfig.
func (*ProviderConfig) DeepCopyInto ¶
func (in *ProviderConfig) DeepCopyInto(out *ProviderConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.