operator

package
v0.0.0-...-fc21188 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Resync time.Duration = time.Minute
)

Functions

This section is empty.

Types

type Operator

type Operator struct {
	Interval time.Duration
	Timeout  time.Duration
	// contains filtered or unexported fields
}

Inspired by:

https://github.com/rook/rook/blob/master/pkg/operator/operator.go

func Run

func Run(ic preboot.Config) (*Operator, error)

func (*Operator) CreateCRD

func (op *Operator) CreateCRD(recipe *pb.CrdRecipient) error

func (*Operator) CreateCRDorTPR

func (op *Operator) CreateCRDorTPR(recipe crd.Recipient) error

Jump to

Keyboard shortcuts

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