seed

package
v2.17.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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(irozzo) check how this is useful.

Jump to

Keyboard shortcuts

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