weight

package
v0.6.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScaleAndAllocate added in v0.1.0

func ScaleAndAllocate(ctx *clicontext.CLIContext, args []string, pause bool, increment, interval int) error

Types

type Weight

type Weight struct {
	Increment int  `desc:"Increment value" default:"5"`
	Interval  int  `desc:"Interval value" default:"5"`
	Pause     bool `desc:"Whether to pause rollout or continue it. Default to false" default:"false"`
}

func (*Weight) Run

func (w *Weight) Run(ctx *clicontext.CLIContext) error

Jump to

Keyboard shortcuts

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