operator

package
v0.0.0-...-f5b0e82 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCSISnapshotControllerOperator

func NewCSISnapshotControllerOperator(
	client OperatorClient,
	versionGetter status.VersionGetter,
	recorder events.Recorder,
) operator.Runner

func RunOperator

func RunOperator(ctx *controllercmd.ControllerContext) error

Types

type OperatorClient

func (OperatorClient) GetOperatorState

func (OperatorClient) Informer

func (OperatorClient) UpdateOperatorSpec

func (c OperatorClient) UpdateOperatorSpec(resourceVersion string, spec *operatorv1.OperatorSpec) (*operatorv1.OperatorSpec, string, error)

func (OperatorClient) UpdateOperatorStatus

func (c OperatorClient) UpdateOperatorStatus(resourceVersion string, status *operatorv1.OperatorStatus) (*operatorv1.OperatorStatus, error)

Jump to

Keyboard shortcuts

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