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 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 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.