Documentation ¶
Index ¶
Constants ¶
View Source
const CfDockerPassword = "CF_DOCKER_PASSWORD"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFoundry ¶
type CloudFoundry struct {
// contains filtered or unexported fields
}
func NewCloudFoundry ¶
func NewCloudFoundry(verbose bool) *CloudFoundry
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
func NewManifest ¶
func (*Manifest) AddEnvironmentVariable ¶
func (*Manifest) EnvironmentVariables ¶
func (manifest *Manifest) EnvironmentVariables() []map[interface{}]interface{}
type PAAS ¶
type PAAS interface { Login(api string, username string, password string, clientID string, clientSecret string, insecure bool) error Target(organization string, space string) error PushApp(manifest string, path string, currentAppName string, vars map[string]interface{}, varsFiles []string, dockerUser string, showLogs bool, noStart bool) error }
type Params ¶
type Params struct { ManifestPath string `json:"manifest"` Path string `json:"path"` CurrentAppName string `json:"current_app_name"` Vars map[string]interface{} `json:"vars"` VarsFiles []string `json:"vars_files"` EnvironmentVariables map[string]string `json:"environment_variables"` DockerUsername string `json:"docker_username"` DockerPassword string `json:"docker_password"` ShowAppLog bool `json:"show_app_log"` NoStart bool `json:"no_start"` }
Click to show internal directories.
Click to hide internal directories.