Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlControllerOptions ¶
type MysqlControllerOptions struct {
APIServerHost string
Namespace string
ClusterResourceNamespace string
LeaderElect bool
LeaderElectionNamespace string
LeaderElectionLeaseDuration time.Duration
LeaderElectionRenewDeadline time.Duration
LeaderElectionRetryPeriod time.Duration
// The number of workers
NoWorkers int
InstallCRDs bool
}
func NewControllerOptions ¶
func NewControllerOptions() *MysqlControllerOptions
func (*MysqlControllerOptions) AddFlags ¶
func (s *MysqlControllerOptions) AddFlags(fs *pflag.FlagSet)
Click to show internal directories.
Click to hide internal directories.