trigger

package
v0.1.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 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 Trigger

type Trigger struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, restMapper meta.RESTMapper, client dynamic.Interface) *Trigger

func (*Trigger) Clear

func (t *Trigger) Clear(key string) error

func (*Trigger) OnChange

func (t *Trigger) OnChange(key string, defaultNamespace string, trigger func(), objs ...runtime.Object) error

Jump to

Keyboard shortcuts

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