cmd

package
v0.0.46 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package cmd provides subcommands for the main.go CLI

Index

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 CreateNamespaceForNodepool(sfEnv *cliutils.ENV, nodepoolContext, nodepoolNamespace string, skipProvidersSecrets bool)

func MkBackupCmd

func MkBackupCmd() *cobra.Command

func MkInitCmd added in v0.0.24

func MkInitCmd() *cobra.Command

func MkNodepoolCmd added in v0.0.21

func MkNodepoolCmd() *cobra.Command

func MkRestoreCmd

func MkRestoreCmd() *cobra.Command

func MkSFCmd added in v0.0.22

func MkSFCmd() *cobra.Command

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL