handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeRolloutHandler

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

NodeRolloutHandler handles the business logic within the NodeRollout controller.

func NewNodeRolloutHandler

func NewNodeRolloutHandler(c client.Client, opts *Options) *NodeRolloutHandler

NewNodeRolloutHandler creates a new NodeRolloutHandler

func (*NodeRolloutHandler) Handle

Handle performs the business logic of the NodeRollout and returns information in a Result

type Options

type Options struct {
	// MaxAge determines the maximum age a NodeRollout should be before it is
	// garbage collected
	MaxAge *time.Duration
}

Options are used to configure the NodeRolloutHandler

func (*Options) Complete

func (o *Options) Complete()

Complete defaults any values that are not explicitly set

Jump to

Keyboard shortcuts

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