Documentation
¶
Index ¶
- func ErrorHandler() gin.HandlerFunc
- func Run() error
- func SetUpRouter() *gin.Engine
- type Aws
- type Azure
- type Configuration
- type ConfigurationUpdate
- type Credentials
- type Gcp
- type GitConfiguration
- type GitInfo
- type NetworkConfiguration
- type SetupRequest
- type User
- type Workspace
- type WorkspaceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorHandler ¶
func ErrorHandler() gin.HandlerFunc
func SetUpRouter ¶
Types ¶
type Configuration ¶
type Configuration struct {
Workspace WorkspaceConfiguration `json:"workspace"`
Git GitConfiguration `json:"git"`
ContextConfiguration map[string]map[string]interface{} `json:"context_configuration,omitempty"`
Buckets []string `json:"buckets"`
Domains []string `json:"domains"`
}
type ConfigurationUpdate ¶
type Credentials ¶
type GitConfiguration ¶
type NetworkConfiguration ¶
type SetupRequest ¶
type SetupRequest struct {
Workspace *Workspace `json:"workspace"`
Credentials *Credentials `json:"credentials"`
User *User `json:"user"`
Provider string `json:"provider"`
AesKey string `json:"aes_key"`
GitUrl string `json:"git_url"`
GitInfo *GitInfo `json:"git_info"`
SshPublicKey string `json:"ssh_public_key"`
SshPrivateKey string `json:"ssh_private_key"`
IsDemo bool `json:"is_demo"`
Context map[string]interface{}
}
type WorkspaceConfiguration ¶
type WorkspaceConfiguration struct {
Network *NetworkConfiguration `json:"network,omitempty"`
BucketPrefix string `json:"bucket_prefix,omitempty"`
Cluster string `json:"cluster,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.