v1alpha1

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the Lakom Shoot Service extension configuration. +groupName=lakom.extensions.config.gardener.cloud

Index

Constants

View Source
const GroupName = "lakom.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 = 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_Configuration_To_v1alpha1_Configuration

func Convert_config_Configuration_To_v1alpha1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error

Convert_config_Configuration_To_v1alpha1_Configuration is an autogenerated conversion function.

func Convert_config_DebugConfig_To_v1alpha1_DebugConfig

func Convert_config_DebugConfig_To_v1alpha1_DebugConfig(in *config.DebugConfig, out *DebugConfig, s conversion.Scope) error

Convert_config_DebugConfig_To_v1alpha1_DebugConfig is an autogenerated conversion function.

func Convert_config_SeedBootstrap_To_v1alpha1_SeedBootstrap

func Convert_config_SeedBootstrap_To_v1alpha1_SeedBootstrap(in *config.SeedBootstrap, out *SeedBootstrap, s conversion.Scope) error

Convert_config_SeedBootstrap_To_v1alpha1_SeedBootstrap is an autogenerated conversion function.

func Convert_v1alpha1_Configuration_To_config_Configuration

func Convert_v1alpha1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error

Convert_v1alpha1_Configuration_To_config_Configuration is an autogenerated conversion function.

func Convert_v1alpha1_DebugConfig_To_config_DebugConfig

func Convert_v1alpha1_DebugConfig_To_config_DebugConfig(in *DebugConfig, out *config.DebugConfig, s conversion.Scope) error

Convert_v1alpha1_DebugConfig_To_config_DebugConfig is an autogenerated conversion function.

func Convert_v1alpha1_SeedBootstrap_To_config_SeedBootstrap

func Convert_v1alpha1_SeedBootstrap_To_config_SeedBootstrap(in *SeedBootstrap, out *config.SeedBootstrap, s conversion.Scope) error

Convert_v1alpha1_SeedBootstrap_To_config_SeedBootstrap is an autogenerated conversion function.

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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 Configuration

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

	// HealthCheckConfig is the config for the health check controller.
	// +optional
	HealthCheckConfig *healthcheckconfigv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"`
	// CosignPublicKeys is the cosign public keys used to verify image signatures.
	CosignPublicKeys []string `json:"cosignPublicKeys,omitempty"`
	// DebugConfig contains debug configurations for the controller.
	// +optional
	DebugConfig *DebugConfig `json:"debugConfig,omitempty"`
	// SeedBootstrap configures the seed bootstrap controller.
	SeedBootstrap SeedBootstrap `json:"seedBootstrap"`
	// UseOnlyImagePullSecrets sets lakom to use only the image pull secrets of the pod to access the OCI registry.
	// Otherwise, also the node identity and docker config file are used.
	UseOnlyImagePullSecrets bool `json:"useOnlyImagePullSecrets"`
	// AllowUntrustedImages sets lakom webhook to allow images without trusted signature.
	// Instead to deny the request, the webhook will allow it with a warning.
	AllowUntrustedImages bool `json:"allowUntrustedImages"`
}

Configuration contains information about the Lakom service configuration.

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

type DebugConfig

type DebugConfig struct {
	// EnableProfiling enables profiling via web interface host:port/debug/pprof/.
	EnableProfiling bool `json:"enableProfiling"`
	// EnableContentionProfiling enables lock contention profiling, if
	// enableProfiling is true.
	EnableContentionProfiling bool `json:"enableContentionProfiling"`
}

DebugConfig contains debug configurations for the controller.

func (*DebugConfig) DeepCopy

func (in *DebugConfig) DeepCopy() *DebugConfig

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

func (*DebugConfig) DeepCopyInto

func (in *DebugConfig) DeepCopyInto(out *DebugConfig)

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

type SeedBootstrap

type SeedBootstrap struct {
	// OwnerNamespace is the name of the namespace owning the resources related
	// to the seed bootstrap, as well as where the managed resources are deployed.
	OwnerNamespace string `json:"ownerNamespace"`
}

SeedBootstrap holds configurations for the seed bootstrap controller.

func (*SeedBootstrap) DeepCopy

func (in *SeedBootstrap) DeepCopy() *SeedBootstrap

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

func (*SeedBootstrap) DeepCopyInto

func (in *SeedBootstrap) DeepCopyInto(out *SeedBootstrap)

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