operator

package
Version: 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(rabbitmqConfig rabbitmq.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

Source Files

Jump to

Keyboard shortcuts

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