Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintUsageAndExit ¶
func PrintUsageAndExit()
PrintUsageAndExit is used to print out command line options.
func PrintVersionAndExit ¶
func PrintVersionAndExit()
PrintVersionAndExit prints the version of the server then exits.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an instance of a connection to the server.
type Options ¶
type Options struct { Name string `json:"name"` // The name of the service to deploy. Version string `json:"version"` // The version of the service. ImageVersion string `json:"imageVersion"` // The version of the docker image. NumInstances int `json:"numInstances"` // The number of instances to deploy. TemplateFilePath string `json:"templateFilePath"` // The path to the unit .service file source file. Etcd2FilePath string `json:"etcd2FilePath"` // The path to the etcd2 key/value source file. Token string `json:"bearerToken"` // The API authorization token to the server. Url string `json:"URL"` // The URL to the coreos-deploy endpoint. DeployID string `json:"deployID"` // The Deploy ID to query. Debug bool `json:"debugEnabled"` // Is debugging enabled in the application? }
Options represents parameters that are passed to the application.
type ServiceTemplateVars ¶
type ServiceTemplateVars struct { Name string `json:"name"` // The name of the service to deploy. Version string `json:"version"` // The version of the service. ImageVersion string `json:"imageVersion"` // The version of the docker image. NumInstances int `json:"numInstances"` // The number of instances to deploy. }
Text template variables to substitute in the .service template.
Click to show internal directories.
Click to hide internal directories.