weight

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 License: Apache-2.0 Imports: 13 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, rollout 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"`
	Rollout          bool `desc:"Whether to rollout gradually"`
}

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