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" yaml:"name"`
Username string `json:"username,omitempty" yaml:"username"`
Password string `json:"password,omitempty" yaml:"password"`
URL string `json:"url,omitempty" yaml:"url,omitempty"`
Infra string `json:"infra,omitempty" yaml:"infra,omitempty"`
Prompt string `json:"prompt,omitempty" yaml:"prompt,omitempty"`
Type string `json:"type" yaml:"type"`
Annotations string `json:"annotations" yaml:"annotations"`
}
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" yaml:"applicationRef"`
DashBoardRef DashBoard `json:"dashboardRef" yaml:"dashboardRef"`
}
CD now only support argoCD.
type CDInfo ¶ added in v0.3.0
type CDInfo struct {
Provider string `json:"provider" yaml:"provider"`
URL string `json:"url" yaml:"url"`
Username string `json:"username" yaml:"username"`
Password string `json:"password" yaml:"password"`
}
CDInfo CD info
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" yaml:"cd"`
SCM SCM `json:"scm,omitempty" yaml:"scm"`
}
Output defines the output structure of `hln up` command.
func (*Output) ConvertOutputToStatus ¶ added in v0.3.0
ConvertOutputToStatus Convert Output To Status
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" yaml:"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" yaml:"tfProvider"`
Organization string `json:"organization"`
Repos []*Repo `json:"repos"`
}
SCM is source code manager like github.
type Service ¶ added in v0.2.8
type Service struct {
Name string `json:"name"`
URL string `json:"url" yaml:"url"`
Type string `json:"type" yaml:"type"`
}
Service of your app.
type ServiceInfo ¶ added in v0.3.3
type ServiceInfo struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
URL string `json:"url"`
Infra string `json:"infra"`
Prompt string `json:"prompt"`
}
ServiceInfo service info
type Status ¶ added in v0.3.0
type Status struct {
AppName string // Heighliner app name
CD CDInfo
Services []ServiceInfo // addon service
UserServices []UserService
SCM SCM
TFConfigMapName string
}
Status app status
type TerraformVars ¶ added in v0.2.6
TerraformVars for deleting repo.
type UserService ¶ added in v0.3.3
UserService user service
Click to show internal directories.
Click to hide internal directories.