Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunOptions ¶
type RunOptions struct { // KubeconfigPath is kubeconfig path for running out of cluster KubeconfigPath string // MasterUrl only used for running out of cluster MasterUrl string // QOS of client-go QPS int // Burst of client-go Burst int // Resync period Resync time.Duration // ElectionName is name to identify ElectionName string // ElectionNamespace ElectionNamespace string // ElectionResourceLock can be endpoint, lease and so on ElectionResourceLock string // ShowVersion shows version if true ShowVersion bool // MinPort of dynamic port allocation MinPort int // MaxPort of dynamic port allocation MaxPort int }
RunOptions describes the controller running options
func NewServerRunOptions ¶
func NewServerRunOptions() *RunOptions
NewServerRunOptions initialize the running options
Click to show internal directories.
Click to hide internal directories.