crd_watch

package
v0.18.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 10 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(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) InjectCache

func (c *CrdWatch) InjectCache(cache ctrlcache.Cache) 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