entity

package
v0.1.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2020 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CobraFunction

type CobraFunction func(cmd *cobra.Command, args []string) error

type CommandRequest

type CommandRequest struct {
	Cmd  *cobra.Command
	Args []string
}

type CreatePluginRequest

type CreatePluginRequest struct {
	ProjectID string
	Plugin    string
}

type CreateProjectRequest

type CreateProjectRequest struct {
	Name        *string  // Optional
	Description *string  // Optional
	Plugins     []string // Optional
}

type Environment

type Environment struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type Envs

type Envs map[string]string

type GetEnvsRequest

type GetEnvsRequest struct {
	ProjectID     string
	EnvironmentID string
}

type HandlerFunction

type HandlerFunction func(context.Context, *CommandRequest) error

type PanicFunction

type PanicFunction func(context.Context, string, string, string, []string) error

type PanicRequest

type PanicRequest struct {
	Command       string
	PanicError    string
	Stacktrace    string
	ProjectID     string
	EnvironmentID string
}

type Plugin

type Plugin struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

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 ProjectConfig struct {
	ProjectPath string `json:"projectPath,omitempty"`
	Project     string `json:"project,omitempty"`
	Environment string `json:"environment,omitempty"`
}

type RootConfig

type RootConfig struct {
	User     UserConfig               `json:"user"`
	Projects map[string]ProjectConfig `json:"projects"`
}

type UpRequest

type UpRequest struct {
	Data          bytes.Buffer
	ProjectID     string
	EnvironmentID string
}

type UpResponse

type UpResponse struct {
	URL string
}

type UpdateProjectRequest

type UpdateProjectRequest struct {
	Id          string  // Required
	Name        *string // Optional
	Description *string // Optional
}

type User

type User struct {
	Id       string    `json:"id,omitempty"`
	Name     string    `json:"name,omitempty"`
	Email    string    `json:"email,omitempty"`
	Avatar   string    `json:"avatar,omitempty"`
	Projects []Project `json:"projects,omitempty"`
}

type UserConfig

type UserConfig struct {
	Token string `json:"token"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL