commands

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 72 Imported by: 0

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 NewAccountCommand added in v0.6.0

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

func NewAccountGetUserInfoCommand

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

func NewAccountUpdatePasswordCommand added in v0.6.0

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 added in v0.3.0

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

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

func NewApplicationDeleteCommand added in v0.3.0

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 added in v0.12.0

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 added in v0.3.1

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 NewApplicationManifestsCommand added in v0.5.0

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

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

func NewApplicationPatchCommand added in v0.12.0

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

func NewApplicationPatchResourceCommand added in v0.12.0

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

func NewApplicationResourceActionsCommand added in v1.0.0

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

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

func NewApplicationResourceActionsListCommand added in v1.0.0

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

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

func NewApplicationResourceActionsRunCommand added in v1.0.0

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

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

func NewApplicationRollbackCommand added in v0.3.1

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

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

func NewApplicationSetCommand added in v0.3.0

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 added in v0.6.0

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

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

func NewApplicationUnsetCommand added in v0.4.5

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

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

func NewApplicationWaitCommand added in v0.4.1

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

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

func NewCertAddSSHCommand added in v1.2.0

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

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

func NewCertAddTLSCommand added in v1.2.0

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

func NewCertCommand added in v1.2.0

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

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

func NewCertListCommand added in v1.2.0

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

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

func NewCertRemoveCommand added in v1.2.0

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

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

func NewCluster

func NewCluster(name string, conf *rest.Config, managerBearerToken string, awsAuthConf *argoappv1.AWSAuthConfig) *argoappv1.Cluster

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 added in v1.1.0

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 added in v1.2.0

func NewCompletionCommand() *cobra.Command

func NewContextCommand added in v0.3.2

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

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

func NewLoginCommand added in v0.3.0

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

NewLoginCommand returns a new instance of `argocd login` command

func NewLogoutCommand added in v1.1.0

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

NewLogoutCommand returns a new instance of `argocd logout` command

func NewProjectAddDestinationCommand added in v0.6.0

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

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

func NewProjectAddSourceCommand added in v0.6.0

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

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

func NewProjectAllowClusterResourceCommand added in v0.9.0

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

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

func NewProjectAllowNamespaceResourceCommand added in v0.9.0

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

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

func NewProjectCommand added in v0.6.0

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

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

func NewProjectCreateCommand added in v0.6.0

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

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

func NewProjectDeleteCommand added in v0.6.0

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

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

func NewProjectDenyClusterResourceCommand added in v0.9.0

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

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

func NewProjectDenyNamespaceResourceCommand added in v0.9.0

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

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

func NewProjectEditCommand added in v0.12.0

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

func NewProjectGetCommand added in v0.11.0

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

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

func NewProjectListCommand added in v0.6.0

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

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

func NewProjectRemoveDestinationCommand added in v0.6.0

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

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

func NewProjectRemoveSourceCommand added in v0.6.0

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

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

func NewProjectRoleAddGroupCommand added in v0.11.0

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

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

func NewProjectRoleAddPolicyCommand added in v0.8.0

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

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

func NewProjectRoleCommand added in v0.8.0

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

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

func NewProjectRoleCreateCommand added in v0.8.0

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

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

func NewProjectRoleCreateTokenCommand added in v0.8.0

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

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

func NewProjectRoleDeleteCommand added in v0.8.0

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

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

func NewProjectRoleDeleteTokenCommand added in v0.8.0

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

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

func NewProjectRoleGetCommand added in v0.8.0

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

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

func NewProjectRoleListCommand added in v0.8.0

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

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

func NewProjectRoleRemoveGroupCommand added in v0.11.0

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

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

func NewProjectRoleRemovePolicyCommand added in v0.8.0

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

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

func NewProjectSetCommand added in v0.6.0

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 added in v0.7.0

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 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 added in v0.3.0

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

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

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