app

package
v0.2.7 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 `json:"name"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
}

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"`
	DashBoardRef   DashBoard  `json:"dashboardRef"`
}

CD is information about argoCD.

type Credential added in v0.2.6

type Credential struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Credential ifor login.

type DashBoard added in v0.2.6

type DashBoard struct {
	URL        string     `json:"url"`
	Credential Credential `json:"credential"`
}

DashBoard of some component.

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 {
	Name          string        `json:"name"`
	Visibility    string        `json:"visibility"`
	URL           string        `json:"url"`
	TerraformVars TerraformVars `json:"terraformVars"`
}

Repo is a source code repository.

type SCM added in v0.2.4

type SCM struct {
	Provider     string  `json:"provider"`
	Manager      string  `json:"manager"`
	TfProvider   string  `json:"tfProvider"`
	Organization string  `json:"organization"`
	Repos        []*Repo `json:"repos"`
}

SCM is source code manager like github.

type TerraformVars added in v0.2.6

type TerraformVars struct {
	Suffix    string `json:"suffix"`
	Namespace string `json:"namespace"`
}

TerraformVars for deleting repo.

Jump to

Keyboard shortcuts

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