Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "kubectl-stand"
)
Variables ¶
View Source
var Version = "undefined"
Version is variable to show version
Functions ¶
Types ¶
type Handler ¶
type Handler struct { Type apis.ConditionScheduleType Stand string Wait bool WaitTimeout time.Duration // contains filtered or unexported fields }
func NewShutdownHandler ¶
func NewShutdownHandler() *Handler
func NewStartupHandler ¶
func NewStartupHandler() *Handler
func (*Handler) SetupFlags ¶
func (*Handler) WaitPolicyReady ¶
type Patch ¶
type Patch struct {
Spec apis.StandSchedulePolicySpec `json:"spec"`
}
Click to show internal directories.
Click to hide internal directories.