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 UpErrorResponse
- 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 CreatePluginRequest ¶
type CreateProjectRequest ¶
type DeleteVariableRequest ¶
type Deployment ¶
type DeploymentByIDRequest ¶
type DeploymentByIDRequest struct { ProjectID string `json:"projectId"` DeploymentID string `json:"deploymentId"` GQL DeploymentGQL }
type DeploymentGQL ¶
type DeploymentLogsRequest ¶
type DeploymentMeta ¶
type DownRequest ¶
type Environment ¶
type GetEnvsForPluginRequest ¶
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 ¶
type RootConfig ¶
type RootConfig struct { User UserConfig `json:"user"` Projects map[string]ProjectConfig `json:"projects"` }
type StarterEnvVar ¶
type UpErrorResponse ¶
type UpResponse ¶
type UpdateEnvsRequest ¶
type UpdateProjectRequest ¶
type UploadRequest ¶
type UserConfig ¶
type UserConfig struct {
Token string `json:"token"`
}
type WorkflowStatus ¶
type WorkflowStatus string
var ( WorkflowRunning WorkflowStatus = "Running" WorkflowComplete WorkflowStatus = "Complete" WorkflowError WorkflowStatus = "Error" )
func (WorkflowStatus) IsComplete ¶
func (s WorkflowStatus) IsComplete() bool
func (WorkflowStatus) IsError ¶
func (s WorkflowStatus) IsError() bool
func (WorkflowStatus) IsRunning ¶
func (s WorkflowStatus) IsRunning() bool
type WorkflowStatusResponse ¶
type WorkflowStatusResponse struct {
Status WorkflowStatus `json:"status"`
}
Click to show internal directories.
Click to hide internal directories.