v1alpha1

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: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the Azure provider configuration API resources. +groupName=shoot-fleet-agent-service.extensions.config.gardener.cloud

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 (
	// 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_FleetAgentConfig_To_v1alpha1_FleetAgentConfig

func Convert_config_FleetAgentConfig_To_v1alpha1_FleetAgentConfig(in *config.FleetAgentConfig, out *FleetAgentConfig, s conversion.Scope) error

Convert_config_FleetAgentConfig_To_v1alpha1_FleetAgentConfig is an autogenerated conversion function.

func Convert_config_ProjectConfig_To_v1alpha1_ProjectConfig

func Convert_config_ProjectConfig_To_v1alpha1_ProjectConfig(in *config.ProjectConfig, out *ProjectConfig, s conversion.Scope) error

Convert_config_ProjectConfig_To_v1alpha1_ProjectConfig is an autogenerated conversion function.

func Convert_v1alpha1_FleetAgentConfig_To_config_FleetAgentConfig

func Convert_v1alpha1_FleetAgentConfig_To_config_FleetAgentConfig(in *FleetAgentConfig, out *config.FleetAgentConfig, s conversion.Scope) error

Convert_v1alpha1_FleetAgentConfig_To_config_FleetAgentConfig is an autogenerated conversion function.

func Convert_v1alpha1_ProjectConfig_To_config_ProjectConfig

func Convert_v1alpha1_ProjectConfig_To_config_ProjectConfig(in *ProjectConfig, out *config.ProjectConfig, s conversion.Scope) error

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

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

	// DefaultConfiguration holds default config applied if no project config found
	DefaultConfiguration ProjectConfig `json:"defaultConfig,omitempty"`

	// ProjectConfiguration holds configuration overrides for each project
	ProjectConfiguration map[string]ProjectConfig `json:"projectConfig,omitempty"`

	HealthCheckConfig *healthcheckconfig.HealthCheckConfig `json:"healthCheckConfig,omitempty"`
}

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 `json:"kubeconfig,omitempty"`

	// labels to use in Fleet Cluster registration
	Labels map[string]string `json:"labels,omitempty"`

	//namespace to store clusters registrations in Fleet managers cluster
	Namespace string `json:"namespace,omitempty"`
}

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.

Jump to

Keyboard shortcuts

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