util

package
v0.0.491 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(ctx context.Context, accountName, kubeContext, namespace string, insecure bool) (string, error)

GenerateToken runs argocd command to generate an argo-cd access token

func GetClusterList added in v0.0.283

func GetClusterList(ctx context.Context, kubeContext, namespace string, insecure bool) (*v1alpha1.ClusterList, error)

Types

type CreateAppOptions

type CreateAppOptions struct {
	Name        string
	Namespace   string
	Project     string
	SyncWave    int
	RepoURL     string
	Revision    string
	SrcPath     string
	DestServer  string
	NoFinalizer bool
}

Jump to

Keyboard shortcuts

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