Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
Name string `json:"name"`
}
Application is info about the application itself.
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.
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 now only support argoCD.
type Credential ¶ added in v0.2.6
Credential for login to dashboard.
type DashBoard ¶ added in v0.2.6
type DashBoard struct {
URL string `json:"url"`
Credential Credential `json:"credential"`
}
DashBoard information of some component.
type Output ¶
type Output struct {
ApplicationRef Application `json:"application"`
Services []Service `json:"services,omitempty"`
CD CD `json:"cd,omitempty"`
SCM SCM `json:"scm,omitempty"`
}
Output defines the output structure of `hln up` command.
func (*Output) PrettyPrint ¶ added in v0.2.8
func (ao *Output) PrettyPrint(streams genericclioptions.IOStreams) error
PrettyPrint format and print the output.
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
TerraformVars for deleting repo.
Click to show internal directories.
Click to hide internal directories.