seed

package
v2.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionHandler

type AdmissionHandler interface {
	webhook.AdmissionHandler
	inject.Logger
	admission.DecoderInjector
	SetupWebhookWithManager(mgr ctrlruntime.Manager)
}

AdmissionHandler for Kubermatic Seed CRD.

type ValidationHandlerBuilder

type ValidationHandlerBuilder struct {
	// contains filtered or unexported fields
}

func (*ValidationHandlerBuilder) AllowedSeed

func (v *ValidationHandlerBuilder) AllowedSeed(namespace string, name string) *ValidationHandlerBuilder

AllowedSeed sets name and namespace of the single seed that will be allowed to be created by the admission handler.

func (*ValidationHandlerBuilder) Build

Build returns an AdmissionHandler for Seed CRs.

func (*ValidationHandlerBuilder) Client

Client sets the client to get API resources on the cluster the handler is used for.

func (*ValidationHandlerBuilder) FeatureGates

FeatureGates sets the feature gates.

func (*ValidationHandlerBuilder) SeedName

SeedName sets the name of the Seed cluster the admission handler is used for.

func (*ValidationHandlerBuilder) WorkerName

func (v *ValidationHandlerBuilder) WorkerName(workerName string) *ValidationHandlerBuilder

WorkerName sets the workerName value to be used to list clusters. TODO check how this is useful.

Jump to

Keyboard shortcuts

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