argocdapp

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create added in v0.2.0

func Create(options map[string]interface{}) (map[string]interface{}, error)

Create creates an ArgoCD app YAML and applys it.

func Delete added in v0.2.0

func Delete(options map[string]interface{}) (bool, error)

func Read added in v0.2.0

func Read(options map[string]interface{}) (map[string]interface{}, error)

func Update added in v0.2.0

func Update(options map[string]interface{}) (map[string]interface{}, error)

Types

type App

type App struct {
	Name      string
	Namespace string
}

App is the struct for an ArgoCD app.

type Destination

type Destination struct {
	Server    string
	Namespace string
}

Destination is the struct for the destination of an ArgoCD app.

type Options added in v0.3.1

type Options struct {
	App         App
	Destination Destination
	Source      Source
}

Param is the struct for parameters used by the argocdapp package.

type Source

type Source struct {
	Valuefile string
	Path      string
	RepoURL   string
}

Source is the struct for the source of an ArgoCD app.

Jump to

Keyboard shortcuts

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