Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKubernetesClients ¶
func CreateKubernetesClients(flags *CMDFlags) (kubernetes.Interface, redisfailoverclientset.Interface, apiextensionsclientset.Interface, error)
CreateKubernetesClients create the clients to connect to kubernetes
Types ¶
type CMDFlags ¶
type CMDFlags struct { KubeConfig string Development bool Debug bool ListenAddr string MetricsPath string }
CMDFlags are the flags used by the cmd TODO: improve flags.
func (*CMDFlags) ToRedisOperatorConfig ¶
func (c *CMDFlags) ToRedisOperatorConfig() redisfailover.Config
ToRedisOperatorConfig convert the flags to redisfailover config
Click to show internal directories.
Click to hide internal directories.