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
Click to show internal directories.
Click to hide internal directories.