v1alpha1

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the AliCloud provider configuration API resources. +groupName=alicloud.provider.extensions.config.gardener.cloud

Index

Constants

View Source
const GroupName = "alicloud.provider.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration

func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, s conversion.Scope) error

Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration is an autogenerated conversion function.

func Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup

func Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup(in *config.ETCDBackup, out *ETCDBackup, s conversion.Scope) error

Convert_config_ETCDBackup_To_v1alpha1_ETCDBackup is an autogenerated conversion function.

func Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage

func Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage(in *config.ETCDStorage, out *ETCDStorage, s conversion.Scope) error

Convert_config_ETCDStorage_To_v1alpha1_ETCDStorage is an autogenerated conversion function.

func Convert_config_ETCD_To_v1alpha1_ETCD

func Convert_config_ETCD_To_v1alpha1_ETCD(in *config.ETCD, out *ETCD, s conversion.Scope) error

Convert_config_ETCD_To_v1alpha1_ETCD is an autogenerated conversion function.

func Convert_config_KubeAPIServer_To_v1alpha1_KubeAPIServer added in v1.16.2

func Convert_config_KubeAPIServer_To_v1alpha1_KubeAPIServer(in *config.KubeAPIServer, out *KubeAPIServer, s conversion.Scope) error

Convert_config_KubeAPIServer_To_v1alpha1_KubeAPIServer is an autogenerated conversion function.

func Convert_config_Service_To_v1alpha1_Service added in v1.18.1

func Convert_config_Service_To_v1alpha1_Service(in *config.Service, out *Service, s conversion.Scope) error

Convert_config_Service_To_v1alpha1_Service is an autogenerated conversion function.

func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration

func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, s conversion.Scope) error

Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup

func Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup(in *ETCDBackup, out *config.ETCDBackup, s conversion.Scope) error

Convert_v1alpha1_ETCDBackup_To_config_ETCDBackup is an autogenerated conversion function.

func Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage

func Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage(in *ETCDStorage, out *config.ETCDStorage, s conversion.Scope) error

Convert_v1alpha1_ETCDStorage_To_config_ETCDStorage is an autogenerated conversion function.

func Convert_v1alpha1_ETCD_To_config_ETCD

func Convert_v1alpha1_ETCD_To_config_ETCD(in *ETCD, out *config.ETCD, s conversion.Scope) error

Convert_v1alpha1_ETCD_To_config_ETCD is an autogenerated conversion function.

func Convert_v1alpha1_KubeAPIServer_To_config_KubeAPIServer added in v1.16.2

func Convert_v1alpha1_KubeAPIServer_To_config_KubeAPIServer(in *KubeAPIServer, out *config.KubeAPIServer, s conversion.Scope) error

Convert_v1alpha1_KubeAPIServer_To_config_KubeAPIServer is an autogenerated conversion function.

func Convert_v1alpha1_Service_To_config_Service added in v1.18.1

func Convert_v1alpha1_Service_To_config_Service(in *Service, out *config.Service, s conversion.Scope) error

Convert_v1alpha1_Service_To_config_Service is an autogenerated conversion function.

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 ControllerConfiguration

type ControllerConfiguration struct {
	metav1.TypeMeta `json:",inline"`

	// ClientConnection specifies the kubeconfig file and client connection
	// settings for the proxy server to use when communicating with the apiserver.
	// +optional
	ClientConnection *componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"clientConnection,omitempty"`
	// MachineImageOwnerSecretRef is the secret reference which contains credential of AliCloud subaccount for customized images.
	// We currently assume multiple customized images should always be under this account.
	MachineImageOwnerSecretRef *corev1.SecretReference `json:"machineImageOwnerSecretRef,omitempty"`
	// WhitelistedImageIDs specifies an array of image IDs that will bypass image sharing.
	WhitelistedImageIDs []string `json:"whitelistedImageIDs,omitempty"`
	// KubeAPIServer is the KubeAPIServer configuration.
	KubeAPIServer *KubeAPIServer `json:"kubeAPIServer,omitempty"`
	// Service is the service configuration
	Service Service `json:"service"`
	// ETCD is the etcd configuration.
	ETCD ETCD `json:"etcd"`
	// HealthCheckConfig is the config for the health check controller
	// +optional
	HealthCheckConfig *healthcheckconfigv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"`
}

ControllerConfiguration defines the configuration for the Alicloud provider.

func (*ControllerConfiguration) DeepCopy

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

func (*ControllerConfiguration) DeepCopyInto

func (in *ControllerConfiguration) DeepCopyInto(out *ControllerConfiguration)

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

func (*ControllerConfiguration) DeepCopyObject

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

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

type ETCD

type ETCD struct {
	// ETCDStorage is the etcd storage configuration.
	Storage ETCDStorage `json:"storage"`
	// ETCDBackup is the etcd backup configuration.
	Backup ETCDBackup `json:"backup"`
}

ETCD is an etcd configuration.

func (*ETCD) DeepCopy

func (in *ETCD) DeepCopy() *ETCD

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

func (*ETCD) DeepCopyInto

func (in *ETCD) DeepCopyInto(out *ETCD)

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

type ETCDBackup

type ETCDBackup struct {
	// Schedule is the etcd backup schedule.
	// +optional
	Schedule *string `json:"schedule,omitempty"`
}

ETCDBackup is an etcd backup configuration.

func (*ETCDBackup) DeepCopy

func (in *ETCDBackup) DeepCopy() *ETCDBackup

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

func (*ETCDBackup) DeepCopyInto

func (in *ETCDBackup) DeepCopyInto(out *ETCDBackup)

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

type ETCDStorage

type ETCDStorage struct {
	// ClassName is the name of the storage class used in etcd-main volume claims.
	// +optional
	ClassName *string `json:"className,omitempty"`
	// Capacity is the storage capacity used in etcd-main volume claims.
	// +optional
	Capacity *resource.Quantity `json:"capacity,omitempty"`
}

ETCDStorage is an etcd storage configuration.

func (*ETCDStorage) DeepCopy

func (in *ETCDStorage) DeepCopy() *ETCDStorage

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

func (*ETCDStorage) DeepCopyInto

func (in *ETCDStorage) DeepCopyInto(out *ETCDStorage)

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

type KubeAPIServer added in v1.16.2

type KubeAPIServer struct {
	// MutateExternalTrafficPolicy specifies whether to mutate KubeAPIServer Service's ExternalTrafficPolicy to Local
	MutateExternalTrafficPolicy bool `json:"mutateExternalTrafficPolicy"`
}

KubeAPIServer is a KubeAPIServer configuration.

func (*KubeAPIServer) DeepCopy added in v1.16.2

func (in *KubeAPIServer) DeepCopy() *KubeAPIServer

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

func (*KubeAPIServer) DeepCopyInto added in v1.16.2

func (in *KubeAPIServer) DeepCopyInto(out *KubeAPIServer)

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

type Service added in v1.18.1

type Service struct {
	// BackendLoadBalancerSpec specifies the type of backend Alicloud load balancer, default is slb.s1.small.
	BackendLoadBalancerSpec string `json:"backendLoadBalancerSpec"`
}

LoadBalancerService specifies Service configuration

func (*Service) DeepCopy added in v1.18.1

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto added in v1.18.1

func (in *Service) DeepCopyInto(out *Service)

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

Jump to

Keyboard shortcuts

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