Documentation
¶
Index ¶
- type CobraFunction
- type CommandRequest
- type CreatePluginRequest
- type CreateProjectFromTemplateRequest
- type CreateProjectFromTemplateResult
- type CreateProjectRequest
- type Environment
- type Envs
- type GetEnvsRequest
- type HandlerFunction
- type PanicFunction
- type PanicRequest
- type Plugin
- type PluginList
- type Project
- type ProjectConfig
- type RootConfig
- type Template
- type TemplateEnvVar
- type UpRequest
- type UpResponse
- type UpdateEnvsRequest
- type UpdateProjectRequest
- type User
- type UserConfig
- type WorkflowStatus
- type WorkflowStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRequest ¶
type CreatePluginRequest ¶
type CreateProjectFromTemplateRequest ¶ added in v0.1.35
type CreateProjectFromTemplateResult ¶ added in v0.1.35
type CreateProjectRequest ¶
type Environment ¶
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"`
Environments []*Environment `json:"environments,omitempty"`
Plugins []*Plugin `json:"plugins,omitempty"`
Team *string `json:"team,omitempty"`
}
type ProjectConfig ¶
type RootConfig ¶
type RootConfig struct {
User UserConfig `json:"user"`
Projects map[string]ProjectConfig `json:"projects"`
}
type TemplateEnvVar ¶ added in v0.1.35
type UpResponse ¶
type UpResponse struct {
URL string
}
type UpdateEnvsRequest ¶ added in v0.2.0
type UpdateProjectRequest ¶
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.