cmd

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD    permissionAction = 0
	DELETE permissionAction = 1
)

Variables

View Source
var (

	// DefaultApiClient will use APICluster from ao config as default values
	// if persistent token and/or server api url is specified these will override default values
	DefaultApiClient *client.ApiClient
	AO               *config.AOConfig
	ConfigLocation   string
)
View Source
var (
	ErrEmptyGroups            = errors.New("Cannot find groups in permissions")
	ErrNotValidSecretArgument = errors.New("not a valid argument, must be <vaultname/secret>")
)
View Source
var RootCmd = &cobra.Command{
	Use:   "ao",
	Short: "Aurora OpenShift CLI",
	Long:  rootLong,

	PersistentPreRunE: initialize,
}

Functions

func Add

func Add(cmd *cobra.Command, args []string) error

func AddSecret

func AddSecret(cmd *cobra.Command, args []string) error

func BashCompletion

func BashCompletion(cmd *cobra.Command, args []string) error

func Checkout

func Checkout(cmd *cobra.Command, args []string) error

func CreateVault

func CreateVault(cmd *cobra.Command, args []string) error

func DefaultTablePrinter

func DefaultTablePrinter(header string, rows []string, out io.Writer)

func DeleteApplication

func DeleteApplication(cmd *cobra.Command, args []string) error

func DeleteEnvironment

func DeleteEnvironment(cmd *cobra.Command, args []string) error

func DeleteFile

func DeleteFile(cmd *cobra.Command, args []string) error

func DeleteSecret

func DeleteSecret(cmd *cobra.Command, args []string) error

func DeleteVault

func DeleteVault(cmd *cobra.Command, args []string) error

func EditFile

func EditFile(cmd *cobra.Command, args []string) error

func EditSecret

func EditSecret(cmd *cobra.Command, args []string) error

func GetApplicationIdTable

func GetApplicationIdTable(deployments []string) (string, []string)

func GetFilesTable

func GetFilesTable(files []string) (string, []string)

func GetSecret added in v1.2.0

func GetSecret(cmd *cobra.Command, args []string) error

func ListVaults

func ListVaults(cmd *cobra.Command, args []string) error

func Login

func Login(cmd *cobra.Command, args []string) error

func Logout

func Logout(cmd *cobra.Command, args []string) error

func PrintAffiliations added in v1.2.3

func PrintAffiliations(cmd *cobra.Command, args []string)

func PrintAll

func PrintAll(cmd *cobra.Command, args []string) error

func PrintApplications

func PrintApplications(cmd *cobra.Command, args []string) error

func PrintClusters

func PrintClusters(cmd *cobra.Command, args []string)

func PrintDeploySpec

func PrintDeploySpec(cmd *cobra.Command, args []string) error

func PrintEnvironments

func PrintEnvironments(cmd *cobra.Command, args []string) error

func PrintFile

func PrintFile(cmd *cobra.Command, args []string) error

func Pull

func Pull(cmd *cobra.Command, args []string) error

func RecreateConfig

func RecreateConfig(cmd *cobra.Command, args []string) error

func RenameSecret

func RenameSecret(cmd *cobra.Command, args []string) error

func RenameVault

func RenameVault(cmd *cobra.Command, args []string) error

func Save

func Save(cmd *cobra.Command, args []string) error

func Set

func Set(cmd *cobra.Command, args []string) error

func Unset

func Unset(cmd *cobra.Command, args []string) error

func Update

func Update(cmd *cobra.Command, args []string) error

func UpdateClusters

func UpdateClusters(cmd *cobra.Command, args []string) error

func Validate

func Validate(cmd *cobra.Command, args []string) error

func VaultAddPermissions

func VaultAddPermissions(cmd *cobra.Command, args []string) error

func VaultRemovePermissions

func VaultRemovePermissions(cmd *cobra.Command, args []string) error

func Version

func Version(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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