app

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgoApp added in v0.2.4

type ArgoApp struct {
	Name string `yaml:"name"`
}

ArgoApp is argoCD application CRD.

type CD added in v0.2.4

type CD struct {
	Provider       string     `json:"provider"`
	Namespace      string     `json:"namespace"`
	Type           string     `json:"type"`
	ApplicationRef []*ArgoApp `json:"applicationRef"`
}

CD is information about argoCD.

type Output

type Output struct {
	CD  CD  `json:"cd"`
	SCM SCM `json:"scm"`
}

Output defines the format of the output from `up` command.

func Load added in v0.2.4

func Load(path string) (*Output, error)

Load read and marshal the output yaml file.

type Repo added in v0.2.4

type Repo struct {
	SecrectSuffix  string `json:"secretSuffix"`
	NameSpace      string `json:"namespace"`
	RepoName       string `json:"repoName"`
	RepoVisibility string `json:"repoVisibility"`
}

Repo is a source code repository.

type SCM added in v0.2.4

type SCM struct {
	Repos []*Repo `json:"repos"`
}

SCM is source code manager like github.

Jump to

Keyboard shortcuts

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