commands

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0 Imports: 82 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// DefaultSSOLocalPort is the localhost port to listen on for the temporary web server performing
	// the OAuth2 login flow.
	DefaultSSOLocalPort = 8085
)

Variables

This section is empty.

Functions

func NewAccountCanICommand

func NewAccountCanICommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountCommand

func NewAccountCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountDeleteTokenCommand

func NewAccountDeleteTokenCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountGenerateTokenCommand

func NewAccountGenerateTokenCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountGetCommand

func NewAccountGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountGetUserInfoCommand

func NewAccountGetUserInfoCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountListCommand

func NewAccountListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewAccountUpdatePasswordCommand

func NewAccountUpdatePasswordCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewApplicationCommand

func NewApplicationCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationCommand returns a new instance of an `argocd app` command

func NewApplicationCreateCommand

func NewApplicationCreateCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationCreateCommand returns a new instance of an `argocd app create` command

func NewApplicationDeleteCommand

func NewApplicationDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationDeleteCommand returns a new instance of an `argocd app delete` command

func NewApplicationDiffCommand

func NewApplicationDiffCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationDiffCommand returns a new instance of an `argocd app diff` command

func NewApplicationEditCommand

func NewApplicationEditCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewApplicationGetCommand

func NewApplicationGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationGetCommand returns a new instance of an `argocd app get` command

func NewApplicationHistoryCommand

func NewApplicationHistoryCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationHistoryCommand returns a new instance of an `argocd app history` command

func NewApplicationListCommand

func NewApplicationListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationListCommand returns a new instance of an `argocd app list` command

func NewApplicationListResourcesCommand

func NewApplicationListResourcesCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewApplicationLogsCommand

func NewApplicationLogsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationLogsCommand returns logs of application pods

func NewApplicationManifestsCommand

func NewApplicationManifestsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationManifestsCommand returns a new instance of an `argocd app manifests` command

func NewApplicationPatchCommand

func NewApplicationPatchCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewApplicationPatchResourceCommand

func NewApplicationPatchResourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewApplicationResourceActionsCommand

func NewApplicationResourceActionsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationResourceActionsCommand returns a new instance of an `argocd app actions` command

func NewApplicationResourceActionsListCommand

func NewApplicationResourceActionsListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationResourceActionsListCommand returns a new instance of an `argocd app actions list` command

func NewApplicationResourceActionsRunCommand

func NewApplicationResourceActionsRunCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationResourceActionsRunCommand returns a new instance of an `argocd app actions run` command

func NewApplicationRollbackCommand

func NewApplicationRollbackCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationRollbackCommand returns a new instance of an `argocd app rollback` command

func NewApplicationSetCommand

func NewApplicationSetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationSetCommand returns a new instance of an `argocd app set` command

func NewApplicationSyncCommand

func NewApplicationSyncCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationSyncCommand returns a new instance of an `argocd app sync` command

func NewApplicationTerminateOpCommand

func NewApplicationTerminateOpCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationTerminateOpCommand returns a new instance of an `argocd app terminate-op` command

func NewApplicationUnsetCommand

func NewApplicationUnsetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationUnsetCommand returns a new instance of an `argocd app unset` command

func NewApplicationWaitCommand

func NewApplicationWaitCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewApplicationWaitCommand returns a new instance of an `argocd app wait` command

func NewCertAddSSHCommand

func NewCertAddSSHCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewCertAddCommand returns a new instance of an `argocd cert add` command

func NewCertAddTLSCommand

func NewCertAddTLSCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewCertCommand

func NewCertCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewCertCommand returns a new instance of an `argocd repo` command

func NewCertListCommand

func NewCertListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewCertListCommand returns a new instance of an `argocd cert rm` command

func NewCertRemoveCommand

func NewCertRemoveCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewCertRemoveCommand returns a new instance of an `argocd cert rm` command

func NewClusterAddCommand

func NewClusterAddCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientcmd.PathOptions) *cobra.Command

NewClusterAddCommand returns a new instance of an `argocd cluster add` command

func NewClusterCommand

func NewClusterCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientcmd.PathOptions) *cobra.Command

NewClusterCommand returns a new instance of an `argocd cluster` command

func NewClusterGetCommand

func NewClusterGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewClusterGetCommand returns a new instance of an `argocd cluster get` command

func NewClusterListCommand

func NewClusterListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewClusterListCommand returns a new instance of an `argocd cluster rm` command

func NewClusterRemoveCommand

func NewClusterRemoveCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewClusterRemoveCommand returns a new instance of an `argocd cluster list` command

func NewClusterRotateAuthCommand

func NewClusterRotateAuthCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewClusterRotateAuthCommand returns a new instance of an `argocd cluster rotate-auth` command

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns a new instance of an argocd command

func NewCompletionCommand

func NewCompletionCommand() *cobra.Command

func NewContextCommand

func NewContextCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewContextCommand returns a new instance of an `argocd ctx` command

func NewGPGAddCommand

func NewGPGAddCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGPGAddCommand adds a public key to the server's configuration

func NewGPGCommand

func NewGPGCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGPGCommand returns a new instance of an `argocd repo` command

func NewGPGDeleteCommand

func NewGPGDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGPGDeleteCommand removes a key from the server's keyring

func NewGPGGetCommand

func NewGPGGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGPGGetCommand retrieves a single public key from the server

func NewGPGListCommand

func NewGPGListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewGPGListCommand lists all configured public keys from the server

func NewLoginCommand

func NewLoginCommand(globalClientOpts *argocdclient.ClientOptions) *cobra.Command

NewLoginCommand returns a new instance of `argocd login` command

func NewLogoutCommand

func NewLogoutCommand(globalClientOpts *argocdclient.ClientOptions) *cobra.Command

NewLogoutCommand returns a new instance of `argocd logout` command

func NewProjectAddDestinationCommand

func NewProjectAddDestinationCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAddDestinationCommand returns a new instance of an `argocd proj add-destination` command

func NewProjectAddOrphanedIgnoreCommand

func NewProjectAddOrphanedIgnoreCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAddOrphanedIgnoreCommand returns a new instance of an `argocd proj add-orphaned-ignore` command

func NewProjectAddSignatureKeyCommand

func NewProjectAddSignatureKeyCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAddSignatureKeyCommand returns a new instance of an `argocd proj add-signature-key` command

func NewProjectAddSourceCommand

func NewProjectAddSourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAddSourceCommand returns a new instance of an `argocd proj add-src` command

func NewProjectAllowClusterResourceCommand

func NewProjectAllowClusterResourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAllowClusterResourceCommand returns a new instance of an `argocd proj allow-cluster-resource` command

func NewProjectAllowNamespaceResourceCommand

func NewProjectAllowNamespaceResourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectAllowNamespaceResourceCommand returns a new instance of an `deny-cluster-resources` command

func NewProjectCommand

func NewProjectCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectCommand returns a new instance of an `argocd proj` command

func NewProjectCreateCommand

func NewProjectCreateCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectCreateCommand returns a new instance of an `argocd proj create` command

func NewProjectDeleteCommand

func NewProjectDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectDeleteCommand returns a new instance of an `argocd proj delete` command

func NewProjectDenyClusterResourceCommand

func NewProjectDenyClusterResourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectDenyClusterResourceCommand returns a new instance of an `deny-cluster-resource` command

func NewProjectDenyNamespaceResourceCommand

func NewProjectDenyNamespaceResourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectDenyNamespaceResourceCommand returns a new instance of an `argocd proj deny-namespace-resource` command

func NewProjectEditCommand

func NewProjectEditCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewProjectGetCommand

func NewProjectGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectGetCommand returns a new instance of an `argocd proj get` command

func NewProjectListCommand

func NewProjectListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectListCommand returns a new instance of an `argocd proj list` command

func NewProjectRemoveDestinationCommand

func NewProjectRemoveDestinationCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRemoveDestinationCommand returns a new instance of an `argocd proj remove-destination` command

func NewProjectRemoveOrphanedIgnoreCommand

func NewProjectRemoveOrphanedIgnoreCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRemoveOrphanedIgnoreCommand returns a new instance of an `argocd proj remove-orphaned-ignore` command

func NewProjectRemoveSignatureKeyCommand

func NewProjectRemoveSignatureKeyCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRemoveSignatureKeyCommand returns a new instance of an `argocd proj remove-signature-key` command

func NewProjectRemoveSourceCommand

func NewProjectRemoveSourceCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRemoveSourceCommand returns a new instance of an `argocd proj remove-src` command

func NewProjectRoleAddGroupCommand

func NewProjectRoleAddGroupCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleAddGroupCommand returns a new instance of an `argocd proj role add-group` command

func NewProjectRoleAddPolicyCommand

func NewProjectRoleAddPolicyCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleAddPolicyCommand returns a new instance of an `argocd proj role add-policy` command

func NewProjectRoleCommand

func NewProjectRoleCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleCommand returns a new instance of the `argocd proj role` command

func NewProjectRoleCreateCommand

func NewProjectRoleCreateCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleCreateCommand returns a new instance of an `argocd proj role create` command

func NewProjectRoleCreateTokenCommand

func NewProjectRoleCreateTokenCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleCreateTokenCommand returns a new instance of an `argocd proj role create-token` command

func NewProjectRoleDeleteCommand

func NewProjectRoleDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleDeleteCommand returns a new instance of an `argocd proj role delete` command

func NewProjectRoleDeleteTokenCommand

func NewProjectRoleDeleteTokenCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleDeleteTokenCommand returns a new instance of an `argocd proj role delete-token` command

func NewProjectRoleGetCommand

func NewProjectRoleGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleGetCommand returns a new instance of an `argocd proj roles get` command

func NewProjectRoleListCommand

func NewProjectRoleListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleListCommand returns a new instance of an `argocd proj roles list` command

func NewProjectRoleListTokensCommand

func NewProjectRoleListTokensCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewProjectRoleRemoveGroupCommand

func NewProjectRoleRemoveGroupCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleRemoveGroupCommand returns a new instance of an `argocd proj role remove-group` command

func NewProjectRoleRemovePolicyCommand

func NewProjectRoleRemovePolicyCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectRoleRemovePolicyCommand returns a new instance of an `argocd proj role remove-policy` command

func NewProjectSetCommand

func NewProjectSetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectSetCommand returns a new instance of an `argocd proj set` command

func NewProjectWindowsAddWindowCommand

func NewProjectWindowsAddWindowCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsAddWindowCommand returns a new instance of an `argocd proj windows add` command

func NewProjectWindowsCommand

func NewProjectWindowsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsCommand returns a new instance of the `argocd proj windows` command

func NewProjectWindowsDeleteCommand

func NewProjectWindowsDeleteCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsAddWindowCommand returns a new instance of an `argocd proj windows delete` command

func NewProjectWindowsDisableManualSyncCommand

func NewProjectWindowsDisableManualSyncCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectSyncWindowsDisableManualSyncCommand returns a new instance of an `argocd proj windows disable-manual-sync` command

func NewProjectWindowsEnableManualSyncCommand

func NewProjectWindowsEnableManualSyncCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsEnableManualSyncCommand returns a new instance of an `argocd proj windows enable-manual-sync` command

func NewProjectWindowsListCommand

func NewProjectWindowsListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsListCommand returns a new instance of an `argocd proj windows list` command

func NewProjectWindowsUpdateCommand

func NewProjectWindowsUpdateCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewProjectWindowsUpdateCommand returns a new instance of an `argocd proj windows update` command

func NewReloginCommand

func NewReloginCommand(globalClientOpts *argocdclient.ClientOptions) *cobra.Command

NewReloginCommand returns a new instance of `argocd relogin` command

func NewRepoAddCommand

func NewRepoAddCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoAddCommand returns a new instance of an `argocd repo add` command

func NewRepoCommand

func NewRepoCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoCommand returns a new instance of an `argocd repo` command

func NewRepoCredsAddCommand

func NewRepoCredsAddCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoCredsAddCommand returns a new instance of an `argocd repocreds add` command

func NewRepoCredsCommand

func NewRepoCredsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoCredsCommand returns a new instance of an `argocd repocreds` command

func NewRepoCredsListCommand

func NewRepoCredsListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoCredsListCommand returns a new instance of an `argocd repo list` command

func NewRepoCredsRemoveCommand

func NewRepoCredsRemoveCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoCredsRemoveCommand returns a new instance of an `argocd repocreds rm` command

func NewRepoGetCommand

func NewRepoGetCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoGetCommand returns a new instance of an `argocd repo rm` command

func NewRepoListCommand

func NewRepoListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoListCommand returns a new instance of an `argocd repo rm` command

func NewRepoRemoveCommand

func NewRepoRemoveCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewRepoRemoveCommand returns a new instance of an `argocd repo list` command

func NewVersionCmd

func NewVersionCmd(clientOpts *argocdclient.ClientOptions) *cobra.Command

NewVersionCmd returns a new `version` command to be used as a sub-command to root

func PrintResource

func PrintResource(resource interface{}, output string) error

PrintResource prints a single resource in YAML or JSON format to stdout according to the output format

func PrintResourceList

func PrintResourceList(resources interface{}, output string, single bool) error

PrintResourceList marshals & prints a list of resources to stdout according to the output format

Types

type DisplayedAction

type DisplayedAction struct {
	Group    string
	Kind     string
	Name     string
	Action   string
	Disabled bool
}

Jump to

Keyboard shortcuts

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