Documentation ¶
Index ¶
- type CobraFunction
- type CommandRequest
- type CreatePluginRequest
- 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 UpRequest
- type UpResponse
- type UpdateProjectRequest
- type User
- type UserConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRequest ¶
type CreatePluginRequest ¶
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"` }
type ProjectConfig ¶
type RootConfig ¶
type RootConfig struct { User UserConfig `json:"user"` Projects map[string]ProjectConfig `json:"projects"` }
type UpResponse ¶
type UpResponse struct {
URL string
}
type UpdateProjectRequest ¶
type UserConfig ¶
type UserConfig struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.