argocd

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectName

func GetProjectName(target gitops.Target) string

Types

type Destination

type Destination struct {
	Server    string `yaml:"server"`
	Namespace string `yaml:"namespace"`
}

type Values

type Values struct {
	Destinations []Destination `yaml:"destinations"`
}

func GetDestinationValues

func GetDestinationValues(target gitops.Target) Values

Generate a set of values with a list of ArgoCD project destinations, in the form:

destinations:

  • server: https://<cluster api address>/ namespace: namespace1
  • server: https://<cluster api address>/ namespace: namespace2

Jump to

Keyboard shortcuts

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