hooks

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreStartHook

type PreStartHook interface {
	Run(ctx context.Context) error
}

PreStartHook hook that should be run before controller start working

func NewSystemCRDValidationHook

func NewSystemCRDValidationHook() PreStartHook

NewSystemCRDValidationHook .

type SystemCRDValidationHook

type SystemCRDValidationHook struct {
	client.Client
}

SystemCRDValidationHook checks if the crd in the system are valid to run the current controller

func (*SystemCRDValidationHook) Run

Run .

Jump to

Keyboard shortcuts

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