Documentation
¶
Index ¶
- Constants
- func CurrentNamespace() string
- func ForEachCommand(cmd *cobra.Command, handler func(c *cobra.Command))
- type CLI
- func (cli *CLI) BucketCreate(args []string)
- func (cli *CLI) BucketDelete(args []string)
- func (cli *CLI) BucketList()
- func (cli *CLI) CrdWaitReady(crd *apiextv1beta1.CustomResourceDefinition) (bool, error)
- func (cli *CLI) CrdsCreate()
- func (cli *CLI) CrdsDelete()
- func (cli *CLI) CrdsStatus()
- func (cli *CLI) CrdsWaitReady()
- func (cli *CLI) CrdsYaml()
- func (cli *CLI) GetNBClient() nb.Client
- func (cli *CLI) HubInstall()
- func (cli *CLI) HubStatus()
- func (cli *CLI) HubUninstall()
- func (cli *CLI) Install()
- func (cli *CLI) OperatorInstall()
- func (cli *CLI) OperatorLocalInstall()
- func (cli *CLI) OperatorLocalReconcile()
- func (cli *CLI) OperatorLocalUninstall()
- func (cli *CLI) OperatorStatus()
- func (cli *CLI) OperatorUninstall()
- func (cli *CLI) OperatorYamls()
- func (cli *CLI) Run()
- func (cli *CLI) Status()
- func (cli *CLI) SystemCreate()
- func (cli *CLI) SystemDelete()
- func (cli *CLI) SystemList()
- func (cli *CLI) SystemStatus()
- func (cli *CLI) SystemWaitReady()
- func (cli *CLI) SystemYaml()
- func (cli *CLI) Uninstall()
- func (cli *CLI) Version()
- type Crds
- type HubConf
- type OperatorConf
- type Runnable
Constants ¶
View Source
const ASCIILogo1 = `` /* 235-byte string literal not displayed */
ASCIILogo1 is an ascii logo of noobaa
View Source
const ASCIILogo2 = `` /* 244-byte string literal not displayed */
ASCIILogo2 is an ascii logo of noobaa
Variables ¶
This section is empty.
Functions ¶
func CurrentNamespace ¶
func CurrentNamespace() string
Types ¶
type CLI ¶
type CLI struct {
Client client.Client
Ctx context.Context
Log *logrus.Entry
Namespace string
SystemName string
StorageClassName string
NooBaaImage string
OperatorImage string
ImagePullSecret string
// Commands
Cmd *cobra.Command
CmdOptions *cobra.Command
CmdVersion *cobra.Command
CmdInstall *cobra.Command
CmdUninstall *cobra.Command
CmdStatus *cobra.Command
CmdBucket *cobra.Command
CmdCrd *cobra.Command
CmdOlmHub *cobra.Command
CmdOlmLocal *cobra.Command
CmdOperator *cobra.Command
CmdSystem *cobra.Command
}
func (*CLI) BucketCreate ¶
func (*CLI) BucketDelete ¶
func (*CLI) BucketList ¶
func (cli *CLI) BucketList()
func (*CLI) CrdWaitReady ¶
func (cli *CLI) CrdWaitReady(crd *apiextv1beta1.CustomResourceDefinition) (bool, error)
func (*CLI) CrdsCreate ¶
func (cli *CLI) CrdsCreate()
func (*CLI) CrdsDelete ¶
func (cli *CLI) CrdsDelete()
func (*CLI) CrdsStatus ¶
func (cli *CLI) CrdsStatus()
func (*CLI) CrdsWaitReady ¶
func (cli *CLI) CrdsWaitReady()
func (*CLI) GetNBClient ¶
func (*CLI) HubInstall ¶
func (cli *CLI) HubInstall()
func (*CLI) HubUninstall ¶
func (cli *CLI) HubUninstall()
func (*CLI) OperatorInstall ¶
func (cli *CLI) OperatorInstall()
func (*CLI) OperatorLocalInstall ¶
func (cli *CLI) OperatorLocalInstall()
func (*CLI) OperatorLocalReconcile ¶
func (cli *CLI) OperatorLocalReconcile()
func (*CLI) OperatorLocalUninstall ¶
func (cli *CLI) OperatorLocalUninstall()
func (*CLI) OperatorStatus ¶
func (cli *CLI) OperatorStatus()
func (*CLI) OperatorUninstall ¶
func (cli *CLI) OperatorUninstall()
func (*CLI) OperatorYamls ¶
func (cli *CLI) OperatorYamls()
func (*CLI) SystemCreate ¶
func (cli *CLI) SystemCreate()
func (*CLI) SystemDelete ¶
func (cli *CLI) SystemDelete()
func (*CLI) SystemList ¶
func (cli *CLI) SystemList()
func (*CLI) SystemStatus ¶
func (cli *CLI) SystemStatus()
func (*CLI) SystemWaitReady ¶
func (cli *CLI) SystemWaitReady()
func (*CLI) SystemYaml ¶
func (cli *CLI) SystemYaml()
type Crds ¶
type Crds struct {
NooBaa *apiextv1beta1.CustomResourceDefinition
BackingStore *apiextv1beta1.CustomResourceDefinition
BucketClass *apiextv1beta1.CustomResourceDefinition
}
type HubConf ¶
type HubConf struct {
Objects []*unstructured.Unstructured
}
type OperatorConf ¶
type OperatorConf struct {
NS *corev1.Namespace
SA *corev1.ServiceAccount
Role *rbacv1.Role
RoleBinding *rbacv1.RoleBinding
ClusterRole *rbacv1.ClusterRole
ClusterRoleBinding *rbacv1.ClusterRoleBinding
Deployment *appsv1.Deployment
}
Click to show internal directories.
Click to hide internal directories.