util

package
v0.0.500 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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