crd_watch

package
v0.20.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrdList added in v0.18.0

type CrdList interface {
	CrdExists(crdName string) bool
	MissingCrds() []string
}

type CrdWatch

type CrdWatch struct {
	AllCrdsAddedHandler   func()
	SomeCrdRemovedHandler func()
	// contains filtered or unexported fields
}

func New

func New(cache ctrlcache.Cache, requiredCrds ...string) *CrdWatch

func (*CrdWatch) CrdExists

func (c *CrdWatch) CrdExists(crdName string) bool

func (*CrdWatch) Init

func (c *CrdWatch) Init(ctx context.Context, reader client.Reader) error

func (*CrdWatch) MissingCrds

func (c *CrdWatch) MissingCrds() []string

func (*CrdWatch) Start

func (c *CrdWatch) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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