config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "shoot-fleet-agent-service.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// 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 FleetAgentConfig

type FleetAgentConfig struct {
	metav1.TypeMeta

	// DefaultConfiguration holds default config applied if no project config found
	DefaultConfiguration ProjectConfig

	// ProjectConfiguration holds configuration overrides for each project
	ProjectConfiguration map[string]ProjectConfig

	HealthCheckConfig *healthcheckconfig.HealthCheckConfig
}

FleetAgentConfig configuration resource

func (*FleetAgentConfig) DeepCopy

func (in *FleetAgentConfig) DeepCopy() *FleetAgentConfig

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

func (*FleetAgentConfig) DeepCopyInto

func (in *FleetAgentConfig) DeepCopyInto(out *FleetAgentConfig)

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

func (*FleetAgentConfig) DeepCopyObject

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

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

type ProjectConfig

type ProjectConfig struct {
	// Kubeconfig contains base64 encoded kubeconfig
	Kubeconfig string

	// labels to use in Fleet Cluster registration
	Labels map[string]string

	//namespace to store clusters registrations in Fleet managers cluster
	Namespace string
}

ProjectConfig holds configuration for single project

func (*ProjectConfig) DeepCopy

func (in *ProjectConfig) DeepCopy() *ProjectConfig

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

func (*ProjectConfig) DeepCopyInto

func (in *ProjectConfig) DeepCopyInto(out *ProjectConfig)

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

Directories

Path Synopsis
Package v1alpha1 contains the Azure provider configuration API resources.
Package v1alpha1 contains the Azure provider configuration API resources.

Jump to

Keyboard shortcuts

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