weight

package
v0.1.1 Latest Latest
Warning

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

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

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, noRollout bool, increment, interval int) error

Types

type Weight

type Weight struct {
	RolloutIncrement int  `desc:"Rollout increment value" default:"5"`
	RolloutInterval  int  `desc:"Rollout interval value" default:"5"`
	NoRollout        bool `desc:"Don't rollout"`
}

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