Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI is a wrapper around os.execs.
type JobListOutput ¶
type JobListOutput struct {
Jobs []wkldDescription `json:"jobs"`
}
JobListOutput contains summaries of jobs.
func ToJobListOutput ¶
func ToJobListOutput(jsonInput string) (*JobListOutput, error)
ToJobListOutput unmarshal a JSON string to a JobListOutput struct.
type SvcListOutput ¶
type SvcListOutput struct {
Services []wkldDescription `json:"services"`
}
SvcListOutput contains summaries of services.
func ToSvcListOutput ¶
func ToSvcListOutput(jsonInput string) (*SvcListOutput, error)
ToSvcListOutput unmarshal a JSON string to a SvcListOutput struct.
type SvcShowOutput ¶
type SvcShowOutput struct {
SvcName string `json:"service"`
Type string `json:"type"`
AppName string `json:"application"`
Configs []svcShowConfigurations `json:"configurations"`
ServiceDiscoveries []svcShowServiceDiscoveries `json:"serviceDiscovery"`
Routes []svcShowRoutes `json:"routes"`
Variables []svcShowVariables `json:"variables"`
Resources map[string][]*svcShowResourceInfo `json:"resources"`
}
SvcShowOutput contains detailed information about a service.
func ToSvcShowOutput ¶
func ToSvcShowOutput(jsonInput string) (*SvcShowOutput, error)
ToSvcShowOutput unmarshal a JSON string to a SvcShowOutput struct.
Click to show internal directories.
Click to hide internal directories.