Documentation ¶
Index ¶
- Constants
- type CobraFunction
- type CommandRequest
- type CreateEnvironmentRequest
- type CreateEphemeralEnvironmentRequest
- type CreatePluginRequest
- type CreateProjectFromTemplateRequest
- type CreateProjectFromTemplateResult
- type CreateProjectRequest
- type DeleteEnvironmentRequest
- type DeleteVariableRequest
- type DeployEnvironmentTriggersRequest
- type Deployment
- type DeploymentByIDRequest
- type DeploymentGQL
- type DeploymentLogsRequest
- type DeploymentMeta
- type DownRequest
- type Environment
- type Envs
- type GetEnvsForPluginRequest
- type GetEnvsRequest
- type HandlerFunction
- type PanicFunction
- type PanicRequest
- type Plugin
- type PluginList
- type Project
- type ProjectConfig
- type ProjectToken
- type RootConfig
- type Service
- type Starter
- type StarterEnvVar
- type UpRequest
- type UpResponse
- type UpdateEnvsRequest
- type UpdateProjectRequest
- type UploadRequest
- type User
- type UserConfig
- type WorkflowStatus
- type WorkflowStatusResponse
Constants ¶
View Source
const ( STATUS_BUILDING = "BUILDING" STATUS_DEPLOYING = "DEPLOYING" STATUS_SUCCESS = "SUCCESS" STATUS_REMOVED = "REMOVED" STATUS_FAILED = "FAILED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRequest ¶
type CreateEnvironmentRequest ¶ added in v0.2.12
type CreateEphemeralEnvironmentRequest ¶ added in v0.2.12
type CreatePluginRequest ¶
type CreateProjectFromTemplateRequest ¶ added in v0.1.35
type CreateProjectFromTemplateResult ¶ added in v0.1.35
type CreateProjectRequest ¶
type DeleteEnvironmentRequest ¶ added in v0.2.12
type DeleteVariableRequest ¶ added in v0.2.39
type DeployEnvironmentTriggersRequest ¶ added in v0.2.7
type Deployment ¶ added in v0.2.2
type DeploymentByIDRequest ¶ added in v0.2.5
type DeploymentByIDRequest struct { ProjectID string `json:"projectId"` DeploymentID string `json:"deploymentId"` GQL DeploymentGQL }
type DeploymentGQL ¶ added in v0.2.5
type DeploymentLogsRequest ¶ added in v0.2.2
type DeploymentMeta ¶ added in v0.2.7
type DownRequest ¶ added in v1.3.0
type Environment ¶
type GetEnvsForPluginRequest ¶ added in v0.2.1
type GetEnvsRequest ¶
type HandlerFunction ¶
type HandlerFunction func(context.Context, *CommandRequest) error
type PanicFunction ¶
type PanicRequest ¶
type PluginList ¶
type PluginList struct {
Plugins []*Plugin `json:"plugins,omitempty"`
}
type Project ¶
type Project struct { Id string `json:"id,omitempty"` Name string `json:"name,omitempty"` UpdatedAt string `json:"updatedAt,omitempty"` Environments []*Environment `json:"environments,omitempty"` Plugins []*Plugin `json:"plugins,omitempty"` Team *string `json:"team,omitempty"` Services []*Service `json:"services,omitempty"` }
type ProjectConfig ¶
type ProjectToken ¶ added in v0.2.25
type RootConfig ¶
type RootConfig struct { User UserConfig `json:"user"` Projects map[string]ProjectConfig `json:"projects"` }
type StarterEnvVar ¶ added in v0.2.38
type UpResponse ¶
type UpdateEnvsRequest ¶ added in v0.2.0
type UpdateProjectRequest ¶
type UploadRequest ¶ added in v0.2.41
type UserConfig ¶
type UserConfig struct {
Token string `json:"token"`
}
type WorkflowStatus ¶ added in v0.1.35
type WorkflowStatus string
var ( WorkflowRunning WorkflowStatus = "Running" WorkflowComplete WorkflowStatus = "Complete" WorkflowError WorkflowStatus = "Error" )
func (WorkflowStatus) IsComplete ¶ added in v0.1.35
func (s WorkflowStatus) IsComplete() bool
func (WorkflowStatus) IsError ¶ added in v0.1.35
func (s WorkflowStatus) IsError() bool
func (WorkflowStatus) IsRunning ¶ added in v0.1.35
func (s WorkflowStatus) IsRunning() bool
type WorkflowStatusResponse ¶ added in v0.1.35
type WorkflowStatusResponse struct {
Status WorkflowStatus `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.