v1alpha1

package
v0.0.0-...-44ba42e Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 is a version of the API. +groupName=core.gardener.cloud

Index

Constants

View Source
const (
	// SecretNameCACluster is a constant for the name of a Kubernetes secret object that contains the CA
	// certificate of a shoot cluster.
	SecretNameCACluster = "ca"
	// SecretNameCAETCD is a constant for the name of a Kubernetes secret object that contains the CA
	// certificate of the etcd of a shoot cluster.
	SecretNameCAETCD = "ca-etcd"
	// SecretNameCAFrontProxy is a constant for the name of a Kubernetes secret object that contains the CA
	// certificate of the kube-aggregator a shoot cluster.
	SecretNameCAFrontProxy = "ca-front-proxy"
	// SecretNameCAKubelet is a constant for the name of a Kubernetes secret object that contains the CA
	// certificate of the kubelet of a shoot cluster.
	SecretNameCAKubelet = "ca-kubelet"
	// SecretNameCAMetricsServer is a constant for the name of a Kubernetes secret object that contains the CA
	// certificate of the metrics-server of a shoot cluster.
	SecretNameCAMetricsServer = "ca-metrics-server"
	// SecretNameCloudProvider is a constant for the name of a Kubernetes secret object that contains the provider
	// specific credentials that shall be used to create/delete the shoot.
	SecretNameCloudProvider = "cloudprovider"
	// SecretNameSSHKeyPair is a constant for the name of a Kubernetes secret object that contains the SSH key pair
	// (public and private key) that can be used to SSH into the shoot nodes.
	SecretNameSSHKeyPair = "ssh-keypair"

	// SecretNameGardener is a constant for the name of a Kubernetes secret object that contains the client
	// certificate and a kubeconfig for a shoot cluster. It is used by Gardener and can be used by extension
	// controllers in order to communicate with the shoot's API server. The client certificate has administrator
	// privileges.
	SecretNameGardener = "gardener"

	// DeploymentNameClusterAutoscaler is a constant for the name of a Kubernetes deployment object that contains
	// the cluster-autoscaler pod.
	DeploymentNameClusterAutoscaler = "cluster-autoscaler"

	// GardenPurpose is a constant for the key in a label describing the purpose of the respective object.
	GardenPurpose = "garden.sapcloud.io/purpose"
	// GardenerPurpose is a constant for the key in a label describing the purpose of the respective object.
	GardenerPurpose = "gardener.cloud/purpose"
	// GardenPurposeMachineClass is a constant for the 'machineclass' value in a label.
	GardenPurposeMachineClass = "machineclass"

	// GardenerOperation is a constant for an annotation on a resource that describes a desired operation.
	GardenerOperation = "gardener.cloud/operation"
	// GardenerOperationReconcile is a constant for the value of the operation annotation describing a reconcile
	// operation.
	GardenerOperationReconcile = "reconcile"

	// BackupProvider is used to identify the backup provider.
	BackupProvider = "backup.gardener.cloud/provider"
	// SeedProvider is used to identify the seed provider.
	SeedProvider = "seed.gardener.cloud/provider"
	// ShootProvider is used to identify the shoot provider.
	ShootProvider = "shoot.gardener.cloud/provider"
)
View Source
const (
	// DefaultPodNetworkCIDR is a constant for the default pod network CIDR of a Shoot cluster.
	DefaultPodNetworkCIDR = CIDR("100.96.0.0/11")
	// DefaultServiceNetworkCIDR is a constant for the default service network CIDR of a Shoot cluster.
	DefaultServiceNetworkCIDR = CIDR("100.64.0.0/13")
)
View Source
const GroupName = "core.gardener.cloud"

GroupName is the name of the core API group.

Variables

View Source
var (
	// SchemeBuilder is a new Scheme Builder which registers our API.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs)

	// AddToScheme is a reference to the Scheme Builder's AddToScheme function.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_core_Cloud_To_v1alpha1_Cloud

func Convert_core_Cloud_To_v1alpha1_Cloud(in *core.Cloud, out *Cloud, s conversion.Scope) error

Convert_core_Cloud_To_v1alpha1_Cloud is an autogenerated conversion function.

func Convert_core_ClusterInfo_To_v1alpha1_ClusterInfo

func Convert_core_ClusterInfo_To_v1alpha1_ClusterInfo(in *core.ClusterInfo, out *ClusterInfo, s conversion.Scope) error

Convert_core_ClusterInfo_To_v1alpha1_ClusterInfo is an autogenerated conversion function.

func Convert_core_Condition_To_v1alpha1_Condition

func Convert_core_Condition_To_v1alpha1_Condition(in *core.Condition, out *Condition, s conversion.Scope) error

Convert_core_Condition_To_v1alpha1_Condition is an autogenerated conversion function.

func Convert_core_ControllerDeployment_To_v1alpha1_ControllerDeployment

func Convert_core_ControllerDeployment_To_v1alpha1_ControllerDeployment(in *core.ControllerDeployment, out *ControllerDeployment, s conversion.Scope) error

Convert_core_ControllerDeployment_To_v1alpha1_ControllerDeployment is an autogenerated conversion function.

func Convert_core_ControllerInstallationList_To_v1alpha1_ControllerInstallationList

func Convert_core_ControllerInstallationList_To_v1alpha1_ControllerInstallationList(in *core.ControllerInstallationList, out *ControllerInstallationList, s conversion.Scope) error

Convert_core_ControllerInstallationList_To_v1alpha1_ControllerInstallationList is an autogenerated conversion function.

func Convert_core_ControllerInstallationSpec_To_v1alpha1_ControllerInstallationSpec

func Convert_core_ControllerInstallationSpec_To_v1alpha1_ControllerInstallationSpec(in *core.ControllerInstallationSpec, out *ControllerInstallationSpec, s conversion.Scope) error

Convert_core_ControllerInstallationSpec_To_v1alpha1_ControllerInstallationSpec is an autogenerated conversion function.

func Convert_core_ControllerInstallationStatus_To_v1alpha1_ControllerInstallationStatus

func Convert_core_ControllerInstallationStatus_To_v1alpha1_ControllerInstallationStatus(in *core.ControllerInstallationStatus, out *ControllerInstallationStatus, s conversion.Scope) error

Convert_core_ControllerInstallationStatus_To_v1alpha1_ControllerInstallationStatus is an autogenerated conversion function.

func Convert_core_ControllerInstallation_To_v1alpha1_ControllerInstallation

func Convert_core_ControllerInstallation_To_v1alpha1_ControllerInstallation(in *core.ControllerInstallation, out *ControllerInstallation, s conversion.Scope) error

Convert_core_ControllerInstallation_To_v1alpha1_ControllerInstallation is an autogenerated conversion function.

func Convert_core_ControllerRegistrationList_To_v1alpha1_ControllerRegistrationList

func Convert_core_ControllerRegistrationList_To_v1alpha1_ControllerRegistrationList(in *core.ControllerRegistrationList, out *ControllerRegistrationList, s conversion.Scope) error

Convert_core_ControllerRegistrationList_To_v1alpha1_ControllerRegistrationList is an autogenerated conversion function.

func Convert_core_ControllerRegistrationSpec_To_v1alpha1_ControllerRegistrationSpec

func Convert_core_ControllerRegistrationSpec_To_v1alpha1_ControllerRegistrationSpec(in *core.ControllerRegistrationSpec, out *ControllerRegistrationSpec, s conversion.Scope) error

Convert_core_ControllerRegistrationSpec_To_v1alpha1_ControllerRegistrationSpec is an autogenerated conversion function.

func Convert_core_ControllerRegistration_To_v1alpha1_ControllerRegistration

func Convert_core_ControllerRegistration_To_v1alpha1_ControllerRegistration(in *core.ControllerRegistration, out *ControllerRegistration, s conversion.Scope) error

Convert_core_ControllerRegistration_To_v1alpha1_ControllerRegistration is an autogenerated conversion function.

func Convert_core_ControllerResource_To_v1alpha1_ControllerResource

func Convert_core_ControllerResource_To_v1alpha1_ControllerResource(in *core.ControllerResource, out *ControllerResource, s conversion.Scope) error

Convert_core_ControllerResource_To_v1alpha1_ControllerResource is an autogenerated conversion function.

func Convert_core_Endpoint_To_v1alpha1_Endpoint

func Convert_core_Endpoint_To_v1alpha1_Endpoint(in *core.Endpoint, out *Endpoint, s conversion.Scope) error

Convert_core_Endpoint_To_v1alpha1_Endpoint is an autogenerated conversion function.

func Convert_core_K8SNetworks_To_v1alpha1_K8SNetworks

func Convert_core_K8SNetworks_To_v1alpha1_K8SNetworks(in *core.K8SNetworks, out *K8SNetworks, s conversion.Scope) error

Convert_core_K8SNetworks_To_v1alpha1_K8SNetworks is an autogenerated conversion function.

func Convert_core_Kubernetes_To_v1alpha1_Kubernetes

func Convert_core_Kubernetes_To_v1alpha1_Kubernetes(in *core.Kubernetes, out *Kubernetes, s conversion.Scope) error

Convert_core_Kubernetes_To_v1alpha1_Kubernetes is an autogenerated conversion function.

func Convert_core_LastError_To_v1alpha1_LastError

func Convert_core_LastError_To_v1alpha1_LastError(in *core.LastError, out *LastError, s conversion.Scope) error

Convert_core_LastError_To_v1alpha1_LastError is an autogenerated conversion function.

func Convert_core_LastOperation_To_v1alpha1_LastOperation

func Convert_core_LastOperation_To_v1alpha1_LastOperation(in *core.LastOperation, out *LastOperation, s conversion.Scope) error

Convert_core_LastOperation_To_v1alpha1_LastOperation is an autogenerated conversion function.

func Convert_core_PlantList_To_v1alpha1_PlantList

func Convert_core_PlantList_To_v1alpha1_PlantList(in *core.PlantList, out *PlantList, s conversion.Scope) error

Convert_core_PlantList_To_v1alpha1_PlantList is an autogenerated conversion function.

func Convert_core_PlantSpec_To_v1alpha1_PlantSpec

func Convert_core_PlantSpec_To_v1alpha1_PlantSpec(in *core.PlantSpec, out *PlantSpec, s conversion.Scope) error

Convert_core_PlantSpec_To_v1alpha1_PlantSpec is an autogenerated conversion function.

func Convert_core_PlantStatus_To_v1alpha1_PlantStatus

func Convert_core_PlantStatus_To_v1alpha1_PlantStatus(in *core.PlantStatus, out *PlantStatus, s conversion.Scope) error

Convert_core_PlantStatus_To_v1alpha1_PlantStatus is an autogenerated conversion function.

func Convert_core_Plant_To_v1alpha1_Plant

func Convert_core_Plant_To_v1alpha1_Plant(in *core.Plant, out *Plant, s conversion.Scope) error

Convert_core_Plant_To_v1alpha1_Plant is an autogenerated conversion function.

func Convert_core_ProviderConfig_To_v1alpha1_ProviderConfig

func Convert_core_ProviderConfig_To_v1alpha1_ProviderConfig(in *core.ProviderConfig, out *ProviderConfig, s conversion.Scope) error

Convert_core_ProviderConfig_To_v1alpha1_ProviderConfig is an autogenerated conversion function.

func Convert_v1alpha1_Cloud_To_core_Cloud

func Convert_v1alpha1_Cloud_To_core_Cloud(in *Cloud, out *core.Cloud, s conversion.Scope) error

Convert_v1alpha1_Cloud_To_core_Cloud is an autogenerated conversion function.

func Convert_v1alpha1_ClusterInfo_To_core_ClusterInfo

func Convert_v1alpha1_ClusterInfo_To_core_ClusterInfo(in *ClusterInfo, out *core.ClusterInfo, s conversion.Scope) error

Convert_v1alpha1_ClusterInfo_To_core_ClusterInfo is an autogenerated conversion function.

func Convert_v1alpha1_Condition_To_core_Condition

func Convert_v1alpha1_Condition_To_core_Condition(in *Condition, out *core.Condition, s conversion.Scope) error

Convert_v1alpha1_Condition_To_core_Condition is an autogenerated conversion function.

func Convert_v1alpha1_ControllerDeployment_To_core_ControllerDeployment

func Convert_v1alpha1_ControllerDeployment_To_core_ControllerDeployment(in *ControllerDeployment, out *core.ControllerDeployment, s conversion.Scope) error

Convert_v1alpha1_ControllerDeployment_To_core_ControllerDeployment is an autogenerated conversion function.

func Convert_v1alpha1_ControllerInstallationList_To_core_ControllerInstallationList

func Convert_v1alpha1_ControllerInstallationList_To_core_ControllerInstallationList(in *ControllerInstallationList, out *core.ControllerInstallationList, s conversion.Scope) error

Convert_v1alpha1_ControllerInstallationList_To_core_ControllerInstallationList is an autogenerated conversion function.

func Convert_v1alpha1_ControllerInstallationSpec_To_core_ControllerInstallationSpec

func Convert_v1alpha1_ControllerInstallationSpec_To_core_ControllerInstallationSpec(in *ControllerInstallationSpec, out *core.ControllerInstallationSpec, s conversion.Scope) error

Convert_v1alpha1_ControllerInstallationSpec_To_core_ControllerInstallationSpec is an autogenerated conversion function.

func Convert_v1alpha1_ControllerInstallationStatus_To_core_ControllerInstallationStatus

func Convert_v1alpha1_ControllerInstallationStatus_To_core_ControllerInstallationStatus(in *ControllerInstallationStatus, out *core.ControllerInstallationStatus, s conversion.Scope) error

Convert_v1alpha1_ControllerInstallationStatus_To_core_ControllerInstallationStatus is an autogenerated conversion function.

func Convert_v1alpha1_ControllerInstallation_To_core_ControllerInstallation

func Convert_v1alpha1_ControllerInstallation_To_core_ControllerInstallation(in *ControllerInstallation, out *core.ControllerInstallation, s conversion.Scope) error

Convert_v1alpha1_ControllerInstallation_To_core_ControllerInstallation is an autogenerated conversion function.

func Convert_v1alpha1_ControllerRegistrationList_To_core_ControllerRegistrationList

func Convert_v1alpha1_ControllerRegistrationList_To_core_ControllerRegistrationList(in *ControllerRegistrationList, out *core.ControllerRegistrationList, s conversion.Scope) error

Convert_v1alpha1_ControllerRegistrationList_To_core_ControllerRegistrationList is an autogenerated conversion function.

func Convert_v1alpha1_ControllerRegistrationSpec_To_core_ControllerRegistrationSpec

func Convert_v1alpha1_ControllerRegistrationSpec_To_core_ControllerRegistrationSpec(in *ControllerRegistrationSpec, out *core.ControllerRegistrationSpec, s conversion.Scope) error

Convert_v1alpha1_ControllerRegistrationSpec_To_core_ControllerRegistrationSpec is an autogenerated conversion function.

func Convert_v1alpha1_ControllerRegistration_To_core_ControllerRegistration

func Convert_v1alpha1_ControllerRegistration_To_core_ControllerRegistration(in *ControllerRegistration, out *core.ControllerRegistration, s conversion.Scope) error

Convert_v1alpha1_ControllerRegistration_To_core_ControllerRegistration is an autogenerated conversion function.

func Convert_v1alpha1_ControllerResource_To_core_ControllerResource

func Convert_v1alpha1_ControllerResource_To_core_ControllerResource(in *ControllerResource, out *core.ControllerResource, s conversion.Scope) error

Convert_v1alpha1_ControllerResource_To_core_ControllerResource is an autogenerated conversion function.

func Convert_v1alpha1_Endpoint_To_core_Endpoint

func Convert_v1alpha1_Endpoint_To_core_Endpoint(in *Endpoint, out *core.Endpoint, s conversion.Scope) error

Convert_v1alpha1_Endpoint_To_core_Endpoint is an autogenerated conversion function.

func Convert_v1alpha1_K8SNetworks_To_core_K8SNetworks

func Convert_v1alpha1_K8SNetworks_To_core_K8SNetworks(in *K8SNetworks, out *core.K8SNetworks, s conversion.Scope) error

Convert_v1alpha1_K8SNetworks_To_core_K8SNetworks is an autogenerated conversion function.

func Convert_v1alpha1_Kubernetes_To_core_Kubernetes

func Convert_v1alpha1_Kubernetes_To_core_Kubernetes(in *Kubernetes, out *core.Kubernetes, s conversion.Scope) error

Convert_v1alpha1_Kubernetes_To_core_Kubernetes is an autogenerated conversion function.

func Convert_v1alpha1_LastError_To_core_LastError

func Convert_v1alpha1_LastError_To_core_LastError(in *LastError, out *core.LastError, s conversion.Scope) error

Convert_v1alpha1_LastError_To_core_LastError is an autogenerated conversion function.

func Convert_v1alpha1_LastOperation_To_core_LastOperation

func Convert_v1alpha1_LastOperation_To_core_LastOperation(in *LastOperation, out *core.LastOperation, s conversion.Scope) error

Convert_v1alpha1_LastOperation_To_core_LastOperation is an autogenerated conversion function.

func Convert_v1alpha1_PlantList_To_core_PlantList

func Convert_v1alpha1_PlantList_To_core_PlantList(in *PlantList, out *core.PlantList, s conversion.Scope) error

Convert_v1alpha1_PlantList_To_core_PlantList is an autogenerated conversion function.

func Convert_v1alpha1_PlantSpec_To_core_PlantSpec

func Convert_v1alpha1_PlantSpec_To_core_PlantSpec(in *PlantSpec, out *core.PlantSpec, s conversion.Scope) error

Convert_v1alpha1_PlantSpec_To_core_PlantSpec is an autogenerated conversion function.

func Convert_v1alpha1_PlantStatus_To_core_PlantStatus

func Convert_v1alpha1_PlantStatus_To_core_PlantStatus(in *PlantStatus, out *core.PlantStatus, s conversion.Scope) error

Convert_v1alpha1_PlantStatus_To_core_PlantStatus is an autogenerated conversion function.

func Convert_v1alpha1_Plant_To_core_Plant

func Convert_v1alpha1_Plant_To_core_Plant(in *Plant, out *core.Plant, s conversion.Scope) error

Convert_v1alpha1_Plant_To_core_Plant is an autogenerated conversion function.

func Convert_v1alpha1_ProviderConfig_To_core_ProviderConfig

func Convert_v1alpha1_ProviderConfig_To_core_ProviderConfig(in *ProviderConfig, out *core.ProviderConfig, s conversion.Scope) error

Convert_v1alpha1_ProviderConfig_To_core_ProviderConfig is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource.

Types

type CIDR

type CIDR string

CIDR is a string alias.

type Cloud

type Cloud struct {
	// Type is the cloud type
	Type string `json:"type"`
	// Region is the cloud region
	Region string `json:"region"`
}

Cloud contains information about the cloud

func (*Cloud) DeepCopy

func (in *Cloud) DeepCopy() *Cloud

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cloud.

func (*Cloud) DeepCopyInto

func (in *Cloud) DeepCopyInto(out *Cloud)

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 Cloud `json:"cloud"`
	// Kubernetes describes kubernetes meta information (e.g., version)
	Kubernetes Kubernetes `json:"kubernetes"`
}

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 `json:"type"`
	// Status of the condition, one of True, False, Unknown.
	Status ConditionStatus `json:"status"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`
	// Last time the condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message"`
}

Condition holds the information about the state of a resource.

func (*Condition) DeepCopy

func (in *Condition) DeepCopy() *Condition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.

func (*Condition) DeepCopyInto

func (in *Condition) DeepCopyInto(out *Condition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ConditionStatus

type ConditionStatus string

ConditionStatus is the status of a condition.

const (
	// 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"
)

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 `json:"type"`
	// ProviderConfig contains type-specific configuration.
	// +optional
	ProviderConfig *ProviderConfig `json:"providerConfig,omitempty"`
}

ControllerDeployment contains information for how this controller is deployed.

func (*ControllerDeployment) DeepCopy

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 `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Spec contains the specification of this installation.
	Spec ControllerInstallationSpec `json:"spec,omitempty"`
	// Status contains the status of this installation.
	Status ControllerInstallationStatus `json:"status,omitempty"`
}

ControllerInstallation represents an installation request for an external controller.

func (*ControllerInstallation) DeepCopy

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 `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is the list of ControllerInstallations.
	Items []ControllerInstallation `json:"items"`
}

ControllerInstallationList is a collection of ControllerInstallations.

func (*ControllerInstallationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationList.

func (*ControllerInstallationList) DeepCopyInto

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 `json:"registrationRef"`
	// SeedRef is used to reference a Seed resources.
	SeedRef corev1.ObjectReference `json:"seedRef"`
}

ControllerInstallationSpec is the specification of a ControllerInstallation.

func (*ControllerInstallationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationSpec.

func (*ControllerInstallationSpec) DeepCopyInto

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.
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
	// ProviderStatus contains type-specific status.
	// +optional
	ProviderStatus *ProviderConfig `json:"providerStatus,omitempty"`
}

ControllerInstallationStatus is the status of a ControllerInstallation.

func (*ControllerInstallationStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerInstallationStatus.

func (*ControllerInstallationStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerRegistration

type ControllerRegistration struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Spec contains the specification of this registration.
	Spec ControllerRegistrationSpec `json:"spec,omitempty"`
}

ControllerRegistration represents a registration of an external controller.

func (*ControllerRegistration) DeepCopy

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 `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is the list of ControllerRegistrations.
	Items []ControllerRegistration `json:"items"`
}

ControllerRegistrationList is a collection of ControllerRegistrations.

func (*ControllerRegistrationList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistrationList.

func (*ControllerRegistrationList) DeepCopyInto

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 `json:"resources"`
	// Deployment contains information for how this controller is deployed.
	// +optional
	Deployment *ControllerDeployment `json:"deployment,omitempty"`
}

ControllerRegistrationSpec is the specification of a ControllerRegistration.

func (*ControllerRegistrationSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerRegistrationSpec.

func (*ControllerRegistrationSpec) DeepCopyInto

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, for example "OperatingSystemConfig".
	Kind string `json:"kind"`
	// Type is the resource type, for example "coreos" or "ubuntu".
	Type string `json:"type"`
	// GloballyEnabled determines if this ControllerResource is required by all Shoot clusters.
	// +optional
	GloballyEnabled *bool `json:"globallyEnabled,omitempty"`
	// ReconcileTimeout defines how long Gardener should wait for the resource reconciliation.
	// +optional
	ReconcileTimeout *metav1.Duration `json:"reconcileTimeout,omitempty"`
}

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 `json:"name"`
	// URL is the url of the endpoint
	URL string `json:"url"`
	// Purpose is the purpose of the endpoint
	Purpose string `json:"purpose"`
}

Endpoint is an endpoint for monitoring, logging and other services around the plant.

func (*Endpoint) DeepCopy

func (in *Endpoint) DeepCopy() *Endpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

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 indicates that the last error occurred due to invalid cloud provider credentials.
	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 K8SNetworks

type K8SNetworks struct {
	// Nodes is the CIDR of the node network.
	// +optional
	Nodes *CIDR `json:"nodes,omitempty"`
	// Pods is the CIDR of the pod network.
	// +optional
	Pods *CIDR `json:"pods,omitempty"`
	// Services is the CIDR of the service network.
	// +optional
	Services *CIDR `json:"services,omitempty"`
}

K8SNetworks contains CIDRs for the pod, service and node networks of a Kubernetes cluster.

func (*K8SNetworks) DeepCopy

func (in *K8SNetworks) DeepCopy() *K8SNetworks

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K8SNetworks.

func (*K8SNetworks) DeepCopyInto

func (in *K8SNetworks) DeepCopyInto(out *K8SNetworks)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Kubernetes

type Kubernetes struct {
	// Version is the semantic Kubernetes version to use for the Plant cluster.
	Version string `json:"version"`
}

Kubernetes contains the version and configuration variables for the Plant cluster.

func (*Kubernetes) DeepCopy

func (in *Kubernetes) DeepCopy() *Kubernetes

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.

func (*Kubernetes) DeepCopyInto

func (in *Kubernetes) DeepCopyInto(out *Kubernetes)

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 `json:"description"`
	// Well-defined error codes of the last error(s).
	// +optional
	Codes []ErrorCode `json:"codes,omitempty"`
}

LastError indicates the last occurred error for an operation on a resource.

func (*LastError) DeepCopy

func (in *LastError) DeepCopy() *LastError

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LastError.

func (*LastError) DeepCopyInto

func (in *LastError) DeepCopyInto(out *LastError)

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 `json:"description"`
	// Last time the operation state transitioned from one to another.
	LastUpdateTime metav1.Time `json:"lastUpdateTime"`
	// The progress in percentage (0-100) of the last operation.
	Progress int `json:"progress"`
	// Status of the last operation, one of Aborted, Processing, Succeeded, Error, Failed.
	State LastOperationState `json:"state"`
	// Type of the last operation, one of Create, Reconcile, Delete.
	Type LastOperationType `json:"type"`
}

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 (
	// LastOperationTypeCreate indicates a 'create' operation.
	LastOperationTypeCreate LastOperationType = "Create"
	// LastOperationTypeReconcile indicates a 'reconcile' operation.
	LastOperationTypeReconcile LastOperationType = "Reconcile"
	// LastOperationTypeDelete indicates a 'delete' operation.
	LastOperationTypeDelete LastOperationType = "Delete"
)

type Plant

type Plant struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object metadata.
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// Spec contains the specification of this Plant.
	Spec PlantSpec `json:"spec,omitempty"`
	// Status contains the status of this Plant.
	Status PlantStatus `json:"status,omitempty"`
}

func (*Plant) DeepCopy

func (in *Plant) DeepCopy() *Plant

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Plant.

func (*Plant) DeepCopyInto

func (in *Plant) DeepCopyInto(out *Plant)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Plant) DeepCopyObject

func (in *Plant) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type PlantList

type PlantList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard list object metadata.
	// +optional
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is the list of Plants.
	Items []Plant `json:"items"`
}

PlantList is a collection of Plants.

func (*PlantList) DeepCopy

func (in *PlantList) DeepCopy() *PlantList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantList.

func (*PlantList) DeepCopyInto

func (in *PlantList) DeepCopyInto(out *PlantList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*PlantList) DeepCopyObject

func (in *PlantList) DeepCopyObject() runtime.Object

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 `json:"secretRef"`
	// Endpoints is the configuration plant endpoints
	// +optional
	Endpoints []Endpoint `json:"endpoints,omitempty"`
}

PlantSpec is the specification of a Plant.

func (*PlantSpec) DeepCopy

func (in *PlantSpec) DeepCopy() *PlantSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlantSpec.

func (*PlantSpec) DeepCopyInto

func (in *PlantSpec) DeepCopyInto(out *PlantSpec)

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.
	// +optional
	Conditions []Condition `json:"conditions,omitempty"`
	// 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.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`
	// ClusterInfo is additional computed information about the newly added cluster (Plant)
	ClusterInfo *ClusterInfo `json:"clusterInfo,omitempty"`
}

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 `json:",inline"`
}

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.

func (ProviderConfig) OpenAPISchemaFormat

func (ProviderConfig) OpenAPISchemaFormat() string

OpenAPISchemaFormat is used by the kube-openapi generator when constructing the OpenAPI spec of this type.

func (ProviderConfig) OpenAPISchemaType

func (ProviderConfig) OpenAPISchemaType() []string

OpenAPISchemaType is used by the kube-openapi generator when constructing the OpenAPI spec of this type. See: https://github.com/kubernetes/kube-openapi/tree/master/pkg/generators

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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