lakom

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

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

AllowedScopes lists the scopes that can be chosen for lakom.

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 LakomConfig

type LakomConfig struct {
	metav1.TypeMeta

	// The scope in which lakom will verify pods
	Scope *ScopeType
}

LakomConfig contains information about the Lakom service configuration.

func (*LakomConfig) DeepCopy

func (in *LakomConfig) DeepCopy() *LakomConfig

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

func (*LakomConfig) DeepCopyInto

func (in *LakomConfig) DeepCopyInto(out *LakomConfig)

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

func (*LakomConfig) DeepCopyObject

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

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

type ScopeType

type ScopeType string

ScopeType determines the namespaces and labels that will be monitored by lakom webhooks

const (
	// KubeSystem denotes the `kube-system` namespace
	KubeSystem ScopeType = "KubeSystem"
	// KubeSystemManagedByGardener denotes pods in the `kube-system` namespace that have a `managed-by/gardener` label
	KubeSystemManagedByGardener ScopeType = "KubeSystemManagedByGardener"
	// Cluster denotes the whole cluster
	Cluster ScopeType = "Cluster"
)

Directories

Path Synopsis
Package v1alpha1 contains the Lakom Shoot Service extension configuration.
Package v1alpha1 contains the Lakom Shoot Service extension configuration.

Jump to

Keyboard shortcuts

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