Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOption ¶
type ServerOption struct { KubeConfig string // QPS indicates the maximum QPS to the master from this client. // If it's zero, the created RESTClient will use DefaultQPS: 5 QPS int // Maximum burst for throttle. // If it's zero, the created RESTClient will use DefaultBurst: 10. Burst int // Pod in the backoffQ init duration PodInitialBackoffSeconds int // Pod in the backoffQ max duration PodMaxBackoffSeconds int }
ServerOption is the main context object for the queue controller.
func NewServerOption ¶
func NewServerOption() *ServerOption
func (*ServerOption) AddFlags ¶
func (s *ServerOption) AddFlags(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.