Documentation ¶
Index ¶
- func Cmd() *cobra.Command
- func CmdInstall() *cobra.Command
- func CmdRun() *cobra.Command
- func CmdStatus() *cobra.Command
- func CmdUninstall() *cobra.Command
- func CmdYaml() *cobra.Command
- func DetectClusterRole(c *Conf)
- func DetectRole(c *Conf)
- func RunInstall(cmd *cobra.Command, args []string)
- func RunOperator(cmd *cobra.Command, args []string)
- func RunStatus(cmd *cobra.Command, args []string)
- func RunUninstall(cmd *cobra.Command, args []string)
- func RunYaml(cmd *cobra.Command, args []string)
- type Conf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectClusterRole ¶ added in v2.0.8
func DetectClusterRole(c *Conf)
DetectClusterRole looks up a cluster role binding referencing our service account
func DetectRole ¶ added in v2.0.8
func DetectRole(c *Conf)
DetectRole looks up a role binding referencing our service account
func RunOperator ¶
RunOperator is the main function of the operator but it is called from a cobra.Command
func RunUninstall ¶
RunUninstall runs a CLI command
Types ¶
type Conf ¶
type Conf struct { NS *corev1.Namespace SA *corev1.ServiceAccount Role *rbacv1.Role RoleBinding *rbacv1.RoleBinding ClusterRole *rbacv1.ClusterRole ClusterRoleBinding *rbacv1.ClusterRoleBinding Deployment *appsv1.Deployment }
Conf struct holds all the objects needed to install the operator
func LoadOperatorConf ¶
LoadOperatorConf loads and initializes all the objects needed to install the operator
Click to show internal directories.
Click to hide internal directories.