Documentation
¶
Index ¶
Constants ¶
View Source
const ManifestEntry = "manifest/plugin.yml"
Variables ¶
This section is empty.
Functions ¶
func IsPluginDir ¶
Types ¶
type ActiveState ¶
type ActiveState byte
const ( StateNew ActiveState = iota StateStarting StateRestarting StateRunning StateStopping StateStopped StateBuilding StateFailed StateUnknown )
func (ActiveState) String ¶
func (s ActiveState) String() string
type Endpoint ¶
type Endpoint struct {
PrivateHostName string `yaml:"Private-Host-Name"`
PrivatePortName string `yaml:"Private-Port-Name"`
PublicHost string `yaml:"-" json:"-"`
ServiceName string `yaml:"-" json:"-"`
PrivateHost string `yaml:"-" json:"-"`
PrivatePort int32 `yaml:"Private-Port"`
ProxyMappings []*ProxyMapping `yaml:"Proxy-Mappings,omitempty" json:",omitempty"`
}
type Plugin ¶
type Plugin struct {
Path string `yaml:"-" json:",omitempty"`
Tag string `yaml:"-" json:",omitempty"`
Name string `yaml:"Name"`
DisplayName string `yaml:"Display-Name"`
Description string `yaml:"Description,omitempty"`
Version string `yaml:"Version"`
Vendor string `yaml:"Vendor"`
Logo string `yaml:"Logo,omitempty" json:",omitempty"`
Category Category `yaml:"Category"`
BaseImage string `yaml:"Base-Image"`
BuildCache []string `yaml:"Build-Cache" json:",omitempty"`
DependsOn []string `yaml:"Depends-On,omitempty" json:",omitempty"`
User string `yaml:"User,omitempty" json:",omitempty"`
Endpoints []*Endpoint `yaml:"Endpoints,omitempty" json:",omitempty"`
}
func (*Plugin) GetEndpoints ¶
func (*Plugin) IsFramework ¶
type ProxyMapping ¶
type SandboxInfo ¶
type SandboxInfo struct {
Env map[string]string
Endpoints []*Endpoint
Plugins []*Plugin
State ActiveState
}
Click to show internal directories.
Click to hide internal directories.