storageclasschange

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHook

func RegisterHook(args Args) bool

Types

type Args

type Args struct {
	ModuleName                    string `json:"moduleName"`
	Namespace                     string `json:"namespace"`
	LabelSelectorKey              string `json:"labelSelectorKey"`
	LabelSelectorValue            string `json:"labelSelectorValue"`
	ObjectKind                    string `json:"objectKind"`
	ObjectName                    string `json:"objectName"`
	InternalValuesSubPath         string `json:"internalValuesSubPath,omitempty"`
	D8ConfigStorageClassParamName string `json:"d8ConfigStorageClassParamName,omitempty"`

	// if return value is false - hook will stop its execution
	BeforeHookCheck func(input *pkg.HookInput) bool
}

Jump to

Keyboard shortcuts

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