handlers

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionResponse

type AdmissionResponse func(ctx context.Context, req admission.Request) ([]jsonpatch.JsonPatchOperation, error)

type DataStoreSecretValidation

type DataStoreSecretValidation struct {
	Client client.Client
}

func (DataStoreSecretValidation) OnCreate

func (DataStoreSecretValidation) OnDelete

func (DataStoreSecretValidation) OnUpdate

type DataStoreValidation

type DataStoreValidation struct {
	Client client.Client
}

func (DataStoreValidation) OnCreate

func (DataStoreValidation) OnDelete

func (DataStoreValidation) OnUpdate

type Freeze

type Freeze struct{}

func (Freeze) OnCreate

func (f Freeze) OnCreate(runtime.Object) AdmissionResponse

func (Freeze) OnDelete

func (f Freeze) OnDelete(runtime.Object) AdmissionResponse

func (Freeze) OnUpdate

type Handler

type Handler interface {
	OnCreate(runtime.Object) AdmissionResponse
	OnDelete(runtime.Object) AdmissionResponse
	OnUpdate(newObject runtime.Object, prevObject runtime.Object) AdmissionResponse
}

type TenantControlPlaneDataStore

type TenantControlPlaneDataStore struct {
	Client client.Client
}

func (TenantControlPlaneDataStore) OnCreate

func (TenantControlPlaneDataStore) OnDelete

func (TenantControlPlaneDataStore) OnUpdate

type TenantControlPlaneDefaults

type TenantControlPlaneDefaults struct {
	DefaultDatastore string
}

func (TenantControlPlaneDefaults) OnCreate

func (TenantControlPlaneDefaults) OnDelete

func (TenantControlPlaneDefaults) OnUpdate

type TenantControlPlaneDeployment

type TenantControlPlaneDeployment struct {
	Client              client.Client
	DeploymentBuilder   controlplane.Deployment
	KonnectivityBuilder controlplane.Konnectivity
}

func (TenantControlPlaneDeployment) OnCreate

func (TenantControlPlaneDeployment) OnDelete

func (TenantControlPlaneDeployment) OnUpdate

type TenantControlPlaneKubeletAddresses

type TenantControlPlaneKubeletAddresses struct{}

func (TenantControlPlaneKubeletAddresses) OnCreate

func (TenantControlPlaneKubeletAddresses) OnDelete

func (TenantControlPlaneKubeletAddresses) OnUpdate

type TenantControlPlaneName added in v0.3.1

type TenantControlPlaneName struct{}

func (TenantControlPlaneName) OnCreate added in v0.3.1

func (TenantControlPlaneName) OnDelete added in v0.3.1

func (TenantControlPlaneName) OnUpdate added in v0.3.1

type TenantControlPlaneServiceCIDR added in v0.6.1

type TenantControlPlaneServiceCIDR struct{}

func (TenantControlPlaneServiceCIDR) OnCreate added in v0.6.1

func (TenantControlPlaneServiceCIDR) OnDelete added in v0.6.1

func (TenantControlPlaneServiceCIDR) OnUpdate added in v0.6.1

type TenantControlPlaneTelemetry added in v1.0.0

type TenantControlPlaneTelemetry struct {
	Enabled           bool
	TelemetryClient   kamajitelemetry.Client
	KamajiVersion     string
	KubernetesVersion string
}

func (TenantControlPlaneTelemetry) OnCreate added in v1.0.0

func (TenantControlPlaneTelemetry) OnDelete added in v1.0.0

func (TenantControlPlaneTelemetry) OnUpdate added in v1.0.0

func (t TenantControlPlaneTelemetry) OnUpdate(newObject runtime.Object, prevObject runtime.Object) AdmissionResponse

type TenantControlPlaneVersion

type TenantControlPlaneVersion struct{}

func (TenantControlPlaneVersion) OnCreate

func (TenantControlPlaneVersion) OnDelete

func (TenantControlPlaneVersion) OnUpdate

Jump to

Keyboard shortcuts

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