jobconfigmutatingwebhook

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct{}

func NewFactory

func NewFactory() *Factory

func (*Factory) Name

func (f *Factory) Name() string

func (*Factory) New

type Webhook

type Webhook struct {
	controllercontext.Context
}

func NewWebhook

func NewWebhook(ctrlContext controllercontext.Context) (*Webhook, error)

func (*Webhook) Handle

func (*Webhook) Name

func (w *Webhook) Name() string

func (*Webhook) Patch

Patch returns the result after mutating a JobConfig in-place.

func (*Webhook) Path

func (w *Webhook) Path() string

func (*Webhook) Ready

func (w *Webhook) Ready() bool

func (*Webhook) Shutdown

func (w *Webhook) Shutdown(ctx context.Context)

func (*Webhook) Start

func (w *Webhook) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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