store

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = struct {
	BootsrtrapDir        string
	AppsDir              string
	OverlaysDir          string
	BaseDir              string
	ArgoCDName           string
	ArgoCDNamespace      string
	BootsrtrapAppName    string
	DummyName            string
	ProjectsDir          string
	ManagedBy            string
	RootAppName          string
	RepoCredsSecretName  string
	GitUsername          string
	WaitInterval         time.Duration
	DestServer           string
	DestServerAnnotation string
}{
	AppsDir:              "apps",
	BootsrtrapDir:        "bootstrap",
	OverlaysDir:          "overlays",
	BaseDir:              "base",
	ArgoCDName:           "argo-cd",
	ArgoCDNamespace:      "argocd",
	BootsrtrapAppName:    "autopilot-bootstrap",
	ProjectsDir:          "projects",
	ManagedBy:            "argo-autopilot",
	RootAppName:          "root",
	RepoCredsSecretName:  "autopilot-secret",
	GitUsername:          "username",
	WaitInterval:         time.Second * 3,
	DestServer:           "https://kubernetes.default.svc",
	DestServerAnnotation: "argocd-autopilot.argoproj-labs.io/default-dest-server",
}

Functions

This section is empty.

Types

type Store

type Store struct {
	BinaryName                         string
	Version                            Version
	InstallationManifestsURL           string
	InstallationManifestsNamespacedURL 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
JackTT - Gopher 🇻🇳