workload

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkloadWebhook

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

WorkloadWebhook avoids the bidirectional conversion needed for GenericWebhooks. Only supports workload types.

func NewWorkloadWebhook

func NewWorkloadWebhook(
	plural schema.GroupVersionResource,
	singular string,
	kind string,
	factory api.GetterFactory,
	handler admission.ResourceHandler,
) *WorkloadWebhook

func (*WorkloadWebhook) Admit

func (*WorkloadWebhook) Initialize

func (h *WorkloadWebhook) Initialize(config *rest.Config, stopCh <-chan struct{}) error

func (*WorkloadWebhook) Resource

Jump to

Keyboard shortcuts

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