Documentation
¶
Index ¶
Constants ¶
View Source
const MissingTarget = "MISSING-TARGET-SHORTCIRCUIT.example.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckRequest ¶
func NewCheckRequest ¶
func NewCheckRequest(request []byte) (CheckRequest, error)
type CompiledRelease ¶
type DeleteParams ¶
type InParams ¶
type InParams struct {
CompiledReleases []CompiledRelease `json:"compiled_releases,omitempty"`
}
type InRequest ¶
type InRequest struct {
Source Source `json:"source"`
Version Version `json:"version"`
Params InParams `json:"params"`
}
func NewInRequest ¶
type OutParams ¶
type OutParams struct {
Manifest string `json:"manifest"`
NoRedact bool `json:"no_redact,omitempty"`
DryRun bool `json:"dry_run,omitempty"`
MaxInFlight int `json:"max_in_flight,omitempty"`
Recreate bool `json:"recreate,omitempty"`
SkipDrain []string `json:"skip_drain,omitempty"`
Cleanup bool `json:"cleanup,omitempty"`
Releases []string `json:"releases,omitempty"`
Stemcells []string `json:"stemcells,omitempty"`
Vars map[string]interface{} `json:"vars,omitempty"`
VarsFiles []string `json:"vars_files,omitempty"`
VarFiles map[string]string `json:"var_files,omitempty"`
OpsFiles []string `json:"ops_files,omitempty"`
Delete DeleteParams `json:"delete,omitempty"`
}
type OutRequest ¶
func NewOutRequest ¶
func NewOutRequest(request []byte, sourcesDir string) (OutRequest, error)
type Source ¶
type Source struct {
Deployment string `json:"deployment,omitempty" yaml:"deployment"`
Client string `json:"client,omitempty" yaml:"client"`
ClientSecret string `json:"client_secret,omitempty" yaml:"client_secret"`
Target string `json:"target,omitempty" yaml:"target"`
CACert string `json:"ca_cert,omitempty" yaml:"ca_cert"`
JumpboxSSHKey string `json:"jumpbox_ssh_key,omitempty" yaml:"jumpbox_ssh_key"`
JumpboxURL string `json:"jumpbox_url,omitempty" yaml:"jumpbox_url"`
JumpboxUsername string `json:"jumpbox_username,omitempty" yaml:"jumpbox_username"`
VarsStore VarsStore `json:"vars_store,omitempty" yaml:"vars_store"`
SkipCheck bool `json:"skip_check,omitempty" yaml:"skip_check"`
}
Click to show internal directories.
Click to hide internal directories.