util

package
v0.0.199 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(opts *CreateAppOptions) *cdv1alpha1.Application

func GenerateToken

func GenerateToken(ctx context.Context, namespace string, account string, expires *time.Duration, insecure bool) (string, error)

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

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