argocd

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppSyncWaitFunc added in v0.2.9

func GetAppSyncWaitFunc(revision string, waitForCreation bool) kube.WaitFunc

GetAppSyncWaitFunc returns a WaitFunc that will return true when the Application is in Sync + Healthy state, and at the specific revision (if supplied. If revision is "", no revision check is made)

func Login

func Login(opts *LoginOptions) error

Types

type AddClusterCmd

type AddClusterCmd interface {
	Execute(ctx context.Context, clusterName string) error
}

AddClusterCmd when executed calls the 'argocd cluster add' command

func AddClusterAddFlags

func AddClusterAddFlags(cmd *cobra.Command) (AddClusterCmd, error)

type LoginOptions

type LoginOptions struct {
	Namespace   string
	Username    string
	Password    string
	KubeConfig  string
	KubeContext string
	Insecure    bool
}

Jump to

Keyboard shortcuts

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