ensure_crds

package
v1.74.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureCRDs added in v1.51.0

func EnsureCRDs(crdsGlob string, dc dependency.Container) error

func EnsureCRDsHandler added in v0.0.6

func EnsureCRDsHandler(crdsGlob string) func(_ context.Context, input *go_hook.HookInput, dc dependency.Container) error

func RegisterEnsureCRDsHook

func RegisterEnsureCRDsHook(crdsGlob string) bool

Types

type CRDsInstaller added in v1.56.9

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

CRDsInstaller simultaneously installs CRDs from specified directory

func NewCRDsInstaller added in v1.56.9

func NewCRDsInstaller(client k8s.Client, crdsGlob string) (*CRDsInstaller, error)

NewCRDsInstaller creates new installer for CRDs crdsGlob example: "/deckhouse/modules/002-deckhouse/crds/*.yaml"

func (*CRDsInstaller) DeleteCRDs added in v1.64.0

func (cp *CRDsInstaller) DeleteCRDs(ctx context.Context, crdsToDelete []string) ([]string, error)

func (*CRDsInstaller) Run added in v1.56.9

func (cp *CRDsInstaller) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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