ensure_crds

package
v1.59.8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 19 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) *multierror.Error

func EnsureCRDsHandler added in v0.0.6

func EnsureCRDsHandler(crdsGlob string) func(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) Run added in v1.56.9

func (cp *CRDsInstaller) Run(ctx context.Context) *multierror.Error

Jump to

Keyboard shortcuts

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