curator

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CuratorStatus

CuratorStatus evaluates the current status of a Curator deployment with respect to its specified resource object. It return the status and a list of pods that are not updated.

func ListOptions

func ListOptions(name string) metav1.ListOptions

Types

type ConfigMapReference

type ConfigMapReference struct {
	Key      string `json:"key"`
	Checksum string `json:"checksum"`
}

type ConfigMapReferenceList

type ConfigMapReferenceList struct {
	Items []*ConfigMapReference `json:"items"`
}

func (*ConfigMapReferenceList) Len

func (l *ConfigMapReferenceList) Len() int

func (*ConfigMapReferenceList) Less

func (l *ConfigMapReferenceList) Less(i, j int) bool

func (*ConfigMapReferenceList) Swap

func (l *ConfigMapReferenceList) Swap(i, j int)

type Operator

type Operator struct {
	// contains filtered or unexported fields
}

Operator manages lify cycle of Curator deployments and monitoring configurations.

func New

func New(conf config.Config, logger log.Logger) (*Operator, error)

New creates a new controller.

func (*Operator) Run

func (c *Operator) Run(stopc <-chan struct{}) error

Run the controller.

Jump to

Keyboard shortcuts

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