argocd

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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
}

Jump to

Keyboard shortcuts

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