Documentation ¶
Index ¶
- type Client
- type Environments
- func (e *Environments) AddEnvironmentVariableToEnvironment(projectName string, environmentName string, envVar api.EnvVariable) ([]byte, error)
- func (e *Environments) DeleteEnvironment(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) DeleteEnvironmentVariableFromEnvironment(projectName string, environmentName string, envVar api.EnvVariable) ([]byte, error)
- func (e *Environments) DeployEnvironmentBranch(projectName string, branchName string) ([]byte, error)
- func (e *Environments) GetDeploymentLog(deploymentID string) ([]byte, error)
- func (e *Environments) GetEnvironmentDeployments(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) GetEnvironmentInfo(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) GetEnvironmentTasks(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) InvokeAdvancedTaskDefinition(projectName string, environmentName string, advancedTaskName string) ([]byte, error)
- func (e *Environments) ListEnvironmentVariables(projectName string, environmentName string, revealValue bool) ([]byte, error)
- func (e *Environments) ListInvokableAdvancedTaskDefinitions(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) PromoteEnvironment(projectName string, sourceEnv string, destEnv string) ([]byte, error)
- func (e *Environments) RunCustomTask(projectName string, environmentName string, task api.Task) ([]byte, error)
- func (e *Environments) RunDrushArchiveDump(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) RunDrushCacheClear(projectName string, environmentName string) ([]byte, error)
- func (e *Environments) RunDrushSQLDump(projectName string, environmentName string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { DeployEnvironmentBranch(string, string) ([]byte, error) DeleteEnvironment(string, string) ([]byte, error) GetDeploymentLog(string) ([]byte, error) GetEnvironmentInfo(string, string) ([]byte, error) ListEnvironmentVariables(string, string, bool) ([]byte, error) GetEnvironmentDeployments(string, string) ([]byte, error) GetEnvironmentTasks(string, string) ([]byte, error) RunDrushArchiveDump(string, string) ([]byte, error) RunDrushSQLDump(string, string) ([]byte, error) RunDrushCacheClear(string, string) ([]byte, error) RunCustomTask(string, string, api.Task) ([]byte, error) AddEnvironmentVariableToEnvironment(string, string, api.EnvVariable) ([]byte, error) DeleteEnvironmentVariableFromEnvironment(string, string, api.EnvVariable) ([]byte, error) PromoteEnvironment(string, string, string) ([]byte, error) InvokeAdvancedTaskDefinition(string, string, string) ([]byte, error) ListInvokableAdvancedTaskDefinitions(string, string) ([]byte, error) }
Client .
type Environments ¶
type Environments struct {
// contains filtered or unexported fields
}
Environments .
func (*Environments) AddEnvironmentVariableToEnvironment ¶
func (e *Environments) AddEnvironmentVariableToEnvironment(projectName string, environmentName string, envVar api.EnvVariable) ([]byte, error)
AddEnvironmentVariableToEnvironment will list all environments for a project
func (*Environments) DeleteEnvironment ¶
func (e *Environments) DeleteEnvironment(projectName string, environmentName string) ([]byte, error)
DeleteEnvironment .
func (*Environments) DeleteEnvironmentVariableFromEnvironment ¶
func (e *Environments) DeleteEnvironmentVariableFromEnvironment(projectName string, environmentName string, envVar api.EnvVariable) ([]byte, error)
DeleteEnvironmentVariableFromEnvironment .
func (*Environments) DeployEnvironmentBranch ¶
func (e *Environments) DeployEnvironmentBranch(projectName string, branchName string) ([]byte, error)
DeployEnvironmentBranch .
func (*Environments) GetDeploymentLog ¶
func (e *Environments) GetDeploymentLog(deploymentID string) ([]byte, error)
GetDeploymentLog .
func (*Environments) GetEnvironmentDeployments ¶
func (e *Environments) GetEnvironmentDeployments(projectName string, environmentName string) ([]byte, error)
GetEnvironmentDeployments .
func (*Environments) GetEnvironmentInfo ¶
func (e *Environments) GetEnvironmentInfo(projectName string, environmentName string) ([]byte, error)
GetEnvironmentInfo will get basic info about a project
func (*Environments) GetEnvironmentTasks ¶
func (e *Environments) GetEnvironmentTasks(projectName string, environmentName string) ([]byte, error)
GetEnvironmentTasks .
func (*Environments) InvokeAdvancedTaskDefinition ¶
func (e *Environments) InvokeAdvancedTaskDefinition(projectName string, environmentName string, advancedTaskName string) ([]byte, error)
InvokeAdvancedTaskDefinition will attempt to invoke an advanced task definition on an environment
func (*Environments) ListEnvironmentVariables ¶
func (e *Environments) ListEnvironmentVariables(projectName string, environmentName string, revealValue bool) ([]byte, error)
ListEnvironmentVariables will list the environment variables for a project and all environments attached
func (*Environments) ListInvokableAdvancedTaskDefinitions ¶
func (e *Environments) ListInvokableAdvancedTaskDefinitions(projectName string, environmentName string) ([]byte, error)
ListInvokableAdvancedTaskDefinitions returns a list of tasks invokable against an environment
func (*Environments) PromoteEnvironment ¶
func (e *Environments) PromoteEnvironment(projectName string, sourceEnv string, destEnv string) ([]byte, error)
PromoteEnvironment .
func (*Environments) RunCustomTask ¶
func (e *Environments) RunCustomTask(projectName string, environmentName string, task api.Task) ([]byte, error)
RunCustomTask will trigger a drush archive dump task
func (*Environments) RunDrushArchiveDump ¶
func (e *Environments) RunDrushArchiveDump(projectName string, environmentName string) ([]byte, error)
RunDrushArchiveDump will trigger a drush archive dump task
func (*Environments) RunDrushCacheClear ¶
func (e *Environments) RunDrushCacheClear(projectName string, environmentName string) ([]byte, error)
RunDrushCacheClear will trigger a drush archive dump task
func (*Environments) RunDrushSQLDump ¶
func (e *Environments) RunDrushSQLDump(projectName string, environmentName string) ([]byte, error)
RunDrushSQLDump will trigger a drush archive dump task