handlers

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PatchResponse

func PatchResponse(raw []byte, v interface{}) admission.Response

Types

type AllVersionSupporter

type AllVersionSupporter struct{}

func (*AllVersionSupporter) VersionSupported

func (s *AllVersionSupporter) VersionSupported(v string) bool

type CronjobHandler

type CronjobHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*CronjobHandler) Handle

func (*CronjobHandler) Kind

func (c *CronjobHandler) Kind() string

type DaemonSetHandler

type DaemonSetHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*DaemonSetHandler) Handle

func (*DaemonSetHandler) Kind

func (d *DaemonSetHandler) Kind() string

type DefaultDecoderInjector

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

func (*DefaultDecoderInjector) InjectDecoder

func (d *DefaultDecoderInjector) InjectDecoder(decoder *admission.Decoder) error

type DeploymentHandler

type DeploymentHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*DeploymentHandler) Handle

func (*DeploymentHandler) Kind

func (d *DeploymentHandler) Kind() string

type JobHandler

type JobHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*JobHandler) Handle

func (*JobHandler) Kind

func (j *JobHandler) Kind() string

type PodHandler

type PodHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*PodHandler) Handle

func (*PodHandler) Kind

func (p *PodHandler) Kind() string

type ReplicaSetHandler

type ReplicaSetHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*ReplicaSetHandler) Handle

func (*ReplicaSetHandler) Kind

func (r *ReplicaSetHandler) Kind() string

type ReplicationControllerHandler

type ReplicationControllerHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*ReplicationControllerHandler) Handle

func (*ReplicationControllerHandler) Kind

type StatefulSetHandler

type StatefulSetHandler struct {
	DefaultDecoderInjector
	AllVersionSupporter
	// contains filtered or unexported fields
}

func (*StatefulSetHandler) Handle

func (*StatefulSetHandler) Kind

func (sts *StatefulSetHandler) Kind() string

Jump to

Keyboard shortcuts

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