metadata

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mutator

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

func NewMutator

func NewMutator(webhookNamespace string, client client.Client, apiReader client.Reader, metaClient client.Client) *Mutator

func (*Mutator) Enabled

func (mut *Mutator) Enabled(request *dtwebhook.BaseRequest) bool

func (*Mutator) Injected

func (mut *Mutator) Injected(request *dtwebhook.BaseRequest) bool

func (*Mutator) Mutate

func (mut *Mutator) Mutate(ctx context.Context, request *dtwebhook.MutationRequest) error

func (*Mutator) Reinvoke

func (mut *Mutator) Reinvoke(request *dtwebhook.ReinvocationRequest) bool

Jump to

Keyboard shortcuts

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