Documentation ¶
Index ¶
Constants ¶
View Source
const ( RunAsStaticPod = "pod" RunAsControllerPod = "controller" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneConfig ¶
ControlPlaneConfig has the information that required by node-servant config control-plane operation
type ControlPlaneOptions ¶
ControlPlaneOptions has the information that required by node-servant config control-plane
func NewControlPlaneOptions ¶
func NewControlPlaneOptions() *ControlPlaneOptions
NewControlPlaneOptions creates a new Options
func (*ControlPlaneOptions) AddFlags ¶
func (o *ControlPlaneOptions) AddFlags(fs *pflag.FlagSet)
AddFlags sets flags.
func (*ControlPlaneOptions) Validate ¶
func (o *ControlPlaneOptions) Validate() error
Validate validates Options
type Runner ¶
type Runner interface {
Do() error
}
func NewControlPlaneRunner ¶
func NewControlPlaneRunner(o *ControlPlaneOptions) (Runner, error)
Click to show internal directories.
Click to hide internal directories.