config

package
v0.16.6 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "metal.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.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AccountingExporterClientConfiguration added in v0.15.1

type AccountingExporterClientConfiguration struct {
	// Hostname is the hostname of the accounting api
	Hostname string
	// Port is the port of the accounting api
	Port int
	// CA is the ca certificate used for communicating with the accounting api
	CA string
	// Cert is the client certificate used for communicating with the accounting api
	Cert string
	// CertKey is the client certificate key used for communicating with the accounting api
	CertKey string
}

AccountingExporterClientConfiguration contains the configuration for the accounting exporter client

func (*AccountingExporterClientConfiguration) DeepCopy added in v0.15.1

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

func (*AccountingExporterClientConfiguration) DeepCopyInto added in v0.15.1

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

type AccountingExporterConfiguration added in v0.15.1

type AccountingExporterConfiguration struct {
	// Enabled enables the deployment of the accounting exporter when set to true.
	Enabled bool
	// NetworkTraffic contains the configuration for accounting network traffic
	NetworkTraffic AccountingExporterNetworkTrafficConfiguration
	// Client contains the configuration for the accounting exporter client.
	Client AccountingExporterClientConfiguration
}

AccountingExporterConfiguration contains the configuration for the accounting exporter.

func (*AccountingExporterConfiguration) DeepCopy added in v0.15.1

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

func (*AccountingExporterConfiguration) DeepCopyInto added in v0.15.1

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

type AccountingExporterNetworkTrafficConfiguration added in v0.15.1

type AccountingExporterNetworkTrafficConfiguration struct {
	// Enabled enables network traffic accounting of the accounting exporter when set to true.
	Enabled bool
	// InternalNetworks defines the networks for the firewall that are considered internal (which can be accounted differently)
	InternalNetworks []string
}

AccountingExporterClientConfiguration contains the configuration for the network traffic accounting.

func (*AccountingExporterNetworkTrafficConfiguration) DeepCopy added in v0.15.1

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

func (*AccountingExporterNetworkTrafficConfiguration) DeepCopyInto added in v0.15.1

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

type Auth added in v0.15.1

type Auth struct {
	// Enabled enables the deployment of metal stack specific cluster authentication when set to true.
	Enabled bool
	// ProviderTenant is the name of the provider tenant who has special privileges.
	ProviderTenant string
}

Auth contains the configuration for metal stack specific user authentication in the cluster.

func (*Auth) DeepCopy added in v0.15.1

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto added in v0.15.1

func (in *Auth) DeepCopyInto(out *Auth)

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

type ClusterAudit added in v0.15.5

type ClusterAudit struct {
	// Enabled enables collecting of the kube-apiserver auditlog.
	Enabled bool
}

ClusterAudit is the configuration for cluster auditing.

func (*ClusterAudit) DeepCopy added in v0.15.5

func (in *ClusterAudit) DeepCopy() *ClusterAudit

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

func (*ClusterAudit) DeepCopyInto added in v0.15.5

func (in *ClusterAudit) DeepCopyInto(out *ClusterAudit)

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

type ControllerConfiguration

type ControllerConfiguration struct {
	metav1.TypeMeta

	// MachineImages is the list of machine images that are understood by the controller. It maps
	// logical names and versions to metal-specific identifiers, i.e. AMIs.
	MachineImages []MachineImage

	// ETCD is the etcd configuration.
	ETCD ETCD

	// ClusterAudit is the configuration for cluster auditing.
	ClusterAudit ClusterAudit

	// Auth is the configuration for metal stack specific user authentication in the cluster.
	Auth Auth

	// AccountingExporter is the configuration for the accounting exporter
	AccountingExporter AccountingExporterConfiguration

	// HealthCheckConfig is the config for the health check controller
	HealthCheckConfig *healthcheckconfig.HealthCheckConfig

	// Storage is the configuration for storage.
	Storage StorageConfiguration

	// ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments
	ImagePullSecret *ImagePullSecret
}

ControllerConfiguration defines the configuration for the metal 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 DurosConfiguration added in v0.15.1

type DurosConfiguration struct {
	// Enabled enables duros storage when set to true.
	Enabled bool
	// SeedConfig is a map of a seed name to the duros seed configuration
	SeedConfig map[string]DurosSeedConfiguration
}

DurosConfiguration contains the configuration for lightbits duros storage.

func (*DurosConfiguration) DeepCopy added in v0.15.1

func (in *DurosConfiguration) DeepCopy() *DurosConfiguration

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

func (*DurosConfiguration) DeepCopyInto added in v0.15.1

func (in *DurosConfiguration) DeepCopyInto(out *DurosConfiguration)

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

type DurosSeedConfiguration added in v0.15.1

type DurosSeedConfiguration struct {
	// Endpoints is the list of endpoints of the duros API
	Endpoints []string
	// AdminKey is the key used for generating storage credentials
	AdminKey string
	// AdminToken is the token used by the duros-controller to authenticate against the duros API
	AdminToken string
	// StorageClasses contain information on the storage classes that the duros-controller creates in the shoot cluster
	StorageClasses []DurosSeedStorageClass
}

DurosSeedConfiguration is the configuration for duros for a particular seed

func (*DurosSeedConfiguration) DeepCopy added in v0.15.1

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

func (*DurosSeedConfiguration) DeepCopyInto added in v0.15.1

func (in *DurosSeedConfiguration) DeepCopyInto(out *DurosSeedConfiguration)

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

type DurosSeedStorageClass added in v0.15.1

type DurosSeedStorageClass struct {
	// Name is the name of the storage class
	Name string
	// ReplicaCount is the amount of replicas in the storage backend for this storage class
	ReplicaCount int
	// Compression enables compression for this storage class
	Compression bool
}

func (*DurosSeedStorageClass) DeepCopy added in v0.15.1

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

func (*DurosSeedStorageClass) DeepCopyInto added in v0.15.1

func (in *DurosSeedStorageClass) DeepCopyInto(out *DurosSeedStorageClass)

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

type ETCD

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

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.
	Schedule *string
	// DeltaSnapshotPeriod is the time for delta snapshots to be made
	DeltaSnapshotPeriod *string
}

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.
	ClassName *string
	// Capacity is the storage capacity used in etcd-main volume claims.
	Capacity *resource.Quantity
}

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 ImagePullSecret added in v0.15.6

type ImagePullSecret struct {
	// DockerConfigJSON contains the already base64 encoded JSON content for the image pull secret
	DockerConfigJSON string
}

ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments

func (*ImagePullSecret) DeepCopy added in v0.15.6

func (in *ImagePullSecret) DeepCopy() *ImagePullSecret

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

func (*ImagePullSecret) DeepCopyInto added in v0.15.6

func (in *ImagePullSecret) DeepCopyInto(out *ImagePullSecret)

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

type MachineImage

type MachineImage struct {
	// Name is the logical name of the machine image.
	Name string
	// Version is the logical version of the machine image.
	Version string
	// Image is the path to the image.
	Image string
}

MachineImage is a mapping from logical names and versions to GCP-specific identifiers.

func (*MachineImage) DeepCopy

func (in *MachineImage) DeepCopy() *MachineImage

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

func (*MachineImage) DeepCopyInto

func (in *MachineImage) DeepCopyInto(out *MachineImage)

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

type StorageConfiguration added in v0.15.1

type StorageConfiguration struct {
	// Duros contains the configuration for duros cloud storage
	Duros DurosConfiguration
}

StorageConfiguration contains the configuration for provider specfic storage solutions.

func (*StorageConfiguration) DeepCopy added in v0.15.1

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

func (*StorageConfiguration) DeepCopyInto added in v0.15.1

func (in *StorageConfiguration) DeepCopyInto(out *StorageConfiguration)

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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