Documentation ¶
Overview ¶
Package cmd provides subcommands for the main.go CLI
Index ¶
- Constants
- Variables
- func CreateNamespaceForNodepool(sfEnv *cliutils.ENV, nodepoolContext, nodepoolNamespace string, ...)
- func MkBackupCmd() *cobra.Command
- func MkInitCmd() *cobra.Command
- func MkNodepoolCmd() *cobra.Command
- func MkRestoreCmd() *cobra.Command
- func MkSFCmd() *cobra.Command
- type SFManifest
Constants ¶
View Source
const ( DBBackupPath = "mariadb/db-zuul.sql" ZuulBackupPath = "zuul/zuul.keys" SecretsBackupPath = "secrets/" )
Variables ¶
View Source
var SecretsToBackup = []string{
"ca-cert",
"zookeeper-client-tls",
"zookeeper-server-tls",
"nodepool-builder-ssh-key",
"zuul-ssh-key",
"zuul-keystore-password",
"zuul-auth-secret",
"logserver-keys",
}
Functions ¶
func CreateNamespaceForNodepool ¶ added in v0.0.24
func MkBackupCmd ¶
func MkNodepoolCmd ¶ added in v0.0.21
func MkRestoreCmd ¶
Types ¶
type SFManifest ¶ added in v0.0.24
type SFManifest struct { APIVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata struct { Name string `json:"name"` } `json:"metadata"` Spec sfv1.SoftwareFactorySpec `json:"spec"` }
Directories ¶
Path | Synopsis |
---|---|
Package bootstraptenantconfigrepo provides facilities for the sfconfig CLI Generates pipelines, jobs and playbooks for zuul
|
Package bootstraptenantconfigrepo provides facilities for the sfconfig CLI Generates pipelines, jobs and playbooks for zuul |
Package dev subcommands can be used to manage a development environment and run tests.
|
Package dev subcommands can be used to manage a development environment and run tests. |
gerrit
Package gerrit provides gerrit related functions for the CLI
|
Package gerrit provides gerrit related functions for the CLI |
microshift
Package microshift provides tools to deploy a MicroShift host via Ansible
|
Package microshift provides tools to deploy a MicroShift host via Ansible |
Package utils provides CLI utility functions and structs
|
Package utils provides CLI utility functions and structs |
Package zuul deals with zuul-related subcommands.
|
Package zuul deals with zuul-related subcommands. |
Click to show internal directories.
Click to hide internal directories.