webhook

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionController

type AdmissionController struct {
	Client         kubernetes.Interface
	ISBSVCClient   v1alpha1.InterStepBufferServiceInterface
	PipelineClient v1alpha1.PipelineInterface

	Options  Options
	Handlers map[schema.GroupVersionKind]runtime.Object

	Logger *zap.SugaredLogger
}

Controller for validation webhook

func (*AdmissionController) Run

func (*AdmissionController) ServeHTTP

func (ac *AdmissionController) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP implements the validating admission webhook

type Options

type Options struct {
	WebhookName     string
	ServiceName     string
	DeploymentName  string
	ClusterRoleName string
	SecretName      string
	Namespace       string
	Port            int
	ClientAuth      tls.ClientAuthType
}

Webhook configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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