store

package
v0.2.31 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = struct {
	AppsDir              string
	ArgoCDName           string
	ArgoCDNamespace      string
	BaseDir              string
	BootsrtrapAppName    string
	BootsrtrapDir        string
	ClusterContextName   string
	ClusterResourcesDir  string
	DestServer           string
	DummyName            string
	DestServerAnnotation string
	GitHubUsername       string
	LabelKeyAppName      string
	LabelKeyAppManagedBy string
	LabelKeyAppPartOf    string
	LabelValueManagedBy  string
	OverlaysDir          string
	ProjectsDir          string
	RootAppName          string
	RepoCredsSecretName  string
	ArgoCDApplicationSet string
	WaitInterval         time.Duration
}{
	AppsDir:              "apps",
	ArgoCDName:           "argo-cd",
	ArgoCDNamespace:      "argocd",
	BaseDir:              "base",
	BootsrtrapAppName:    "autopilot-bootstrap",
	BootsrtrapDir:        "bootstrap",
	ClusterContextName:   "in-cluster",
	ClusterResourcesDir:  "cluster-resources",
	DestServer:           "https://kubernetes.default.svc",
	DestServerAnnotation: "argocd-autopilot.argoproj-labs.io/default-dest-server",
	DummyName:            "DUMMY",
	GitHubUsername:       "username",
	LabelKeyAppName:      "app.kubernetes.io/name",
	LabelKeyAppManagedBy: "app.kubernetes.io/managed-by",
	LabelKeyAppPartOf:    "app.kubernetes.io/part-of",
	LabelValueManagedBy:  "argocd-autopilot",
	OverlaysDir:          "overlays",
	ProjectsDir:          "projects",
	RootAppName:          "root",
	RepoCredsSecretName:  "autopilot-secret",
	ArgoCDApplicationSet: "argocd-applicationset",
	WaitInterval:         time.Second * 3,
}

Functions

This section is empty.

Types

type Store

type Store struct {
	BinaryName                       string
	Version                          Version
	InstallationManifestsURL         string
	InstallationManifestsInsecureURL string
}

func Get

func Get() *Store

Get returns the global store

type Version

type Version struct {
	Version    string
	BuildDate  string
	GitCommit  string
	GoVersion  string
	GoCompiler string
	Platform   string
}

Jump to

Keyboard shortcuts

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