Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RuntimeEnv string DrainConditions DrainConditions KubeConfig *rest.Config NodeName string EnableTracing bool }
Config is a struct that holds the configuration for the application
type ContextValues ¶ added in v0.2.0
ContextValues is a struct that holds the logger and state of the application for use in the shared application context
type DrainConditions ¶
type DrainConditions struct { DrainOnFreeze bool DrainOnReboot bool DrainOnRedeploy bool DrainOnPreempt bool DrainOnTerminate bool }
DrainConditions is a struct that holds the VM scheduled event types that would trigger a drain
func (*DrainConditions) DrainableConditions ¶ added in v1.0.0
func (dc *DrainConditions) DrainableConditions() []string
Click to show internal directories.
Click to hide internal directories.