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 Condition
- type ConditionType
- type ControllerDeployment
- type ControllerInstallation
- type ControllerInstallationList
- type ControllerInstallationSpec
- type ControllerInstallationStatus
- type ControllerRegistration
- type ControllerRegistrationList
- type ControllerRegistrationSpec
- type ControllerResource
- type ProviderConfig
Constants ¶
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 Condition ¶
type Condition struct { // Type of the Shoot condition. Type ConditionType // Status of the condition, one of True, False, Unknown. Status corev1.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 ( // ConditionAvailable is a condition type for indicating availability. ConditionAvailable ConditionType = "Available" )
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 (DNS, 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 }
ControllerResource is a combination of a kind (DNS, 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 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.