commands

package
v1.0.0-rc1.0...-38aa631 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

func ModelToJson

func ModelToJson(in any) string

func NewAppGroupCommand

func NewAppGroupCommand(globalOpts *GlobalOptions) *cobra.Command

func NewAppGroupCreateCommand

func NewAppGroupCreateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewAppGroupDeleteCommand

func NewAppGroupDeleteCommand(globalOpts *GlobalOptions) *cobra.Command

func NewAppGroupListCommand

func NewAppGroupListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewAppServeListCmd

func NewAppServeListCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppServeShowCmd

func NewAppServeShowCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveAbortCmd

func NewAppserveAbortCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveCommand

func NewAppserveCommand(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveCreateCmd

func NewAppserveCreateCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveDeleteCmd

func NewAppserveDeleteCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppservePromoteCmd

func NewAppservePromoteCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveRollbackCmd

func NewAppserveRollbackCmd(globalOpts *GlobalOptions) *cobra.Command

func NewAppserveUpdateCmd

func NewAppserveUpdateCmd(globalOpts *GlobalOptions) *cobra.Command

func NewCloudAccountCommand

func NewCloudAccountCommand(globalOpts *GlobalOptions) *cobra.Command

func NewCloudAccountCreateCommand

func NewCloudAccountCreateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewCloudAccountListCommand

func NewCloudAccountListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterCommand

func NewClusterCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterCreateCommand

func NewClusterCreateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterDeleteCommand

func NewClusterDeleteCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterImportCommand

func NewClusterImportCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterInstallCommand

func NewClusterInstallCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterListCommand

func NewClusterListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterNodeCommand

func NewClusterNodeCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterNodeGetCommand

func NewClusterNodeGetCommand(globalOpts *GlobalOptions) *cobra.Command

func NewClusterNodeListCommand

func NewClusterNodeListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewCommand

func NewCommand() *cobra.Command

func NewLoginCommand

func NewLoginCommand(globalOpts *GlobalOptions) *cobra.Command

func NewMyProfileCommand

func NewMyProfileCommand(globalOpts *GlobalOptions) *cobra.Command

func NewMyProfileUpdatePasswordCommand

func NewMyProfileUpdatePasswordCommand(globalOpts *GlobalOptions) *cobra.Command

func NewOrganizationCommand

func NewOrganizationCommand(globalOpts *GlobalOptions) *cobra.Command

func NewOrganizationCreateCommand

func NewOrganizationCreateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewOrganizationListCommand

func NewOrganizationListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewStackTemplateCommand

func NewStackTemplateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewStackTemplateListCommand

func NewStackTemplateListCommand(globalOpts *GlobalOptions) *cobra.Command

func NewUserCommand

func NewUserCommand(globalOpts *GlobalOptions) *cobra.Command

func NewUserCreateCommand

func NewUserCreateCommand(globalOpts *GlobalOptions) *cobra.Command

func NewUserDeleteCommand

func NewUserDeleteCommand(globalOpts *GlobalOptions) *cobra.Command

func NewUserListCommand

func NewUserListCommand(globalOpts *GlobalOptions) *cobra.Command

func PromptCredentials

func PromptCredentials(organizationId string, accountId string, password string) (string, string, string)

func PromptMessage

func PromptMessage(message, value string) string

func PromptOrganizationId

func PromptOrganizationId(organizationId string) string

func PromptPassword

func PromptPassword(password string) string

func PromptUsername

func PromptUsername(accountId string) string

Types

type GlobalOptions

type GlobalOptions struct {
	ServerAddr            string
	AuthToken             string
	ConfigPath            string
	CurrentOrganizationId string
}

type LocalConfig

type LocalConfig struct {
	Server      string       `yaml:"server"`
	Token       string       `yaml:"token"`
	CurrentUser *config.User `yaml:"user"`
}

Jump to

Keyboard shortcuts

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