Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Defaults = map[string][]byte{
"minimal": minimal,
"satellite-core": satelliteCore,
"satellite-admin": satelliteAdmin,
"db": db,
"postgres": postgres,
"edge": edge,
"tracing": tracing,
"billing": billing,
"gc": gc,
"ranged-loop": rangedLoop,
}
Defaults is a map for recipes included in the binary.
Functions ¶
This section is empty.
Types ¶
type FlagModification ¶
FlagModification represents modification for service command / flags.
type Modification ¶
type Modification struct { Match Matcher Flag FlagModification Config map[string]string Environment map[string]string }
Modification represents a transformation applied to one or more services.
type PortDefinition ¶
PortDefinition gives information about used ports.
type Recipe ¶
type Recipe struct { Name string Description string Add []*Service Modify []*Modification }
Recipe represents all configuration/runtime definition for a service.
type Service ¶
type Service struct { Name string ContainerName string Label []string Instance int Image string Command []string Environment map[string]string Config map[string]string Persistence []string Port []PortDefinition File []File Folder []Folder // port forward outside->inside PortForwards map[int]int // mount rules outside --> inside Mounts map[string]string }
Service contains all the parameters to run one service.
type Stack ¶
type Stack []Recipe
Stack is the list of known recipes.
func GetEmbeddedStack ¶
GetEmbeddedStack returns with a stack includes only embedded recipes.
func (Stack) AllRecipeNames ¶
AllRecipeNames returns with all internal recipe names.
func (Stack) FindRecipeByName ¶
FindRecipeByName returns with the recipe based on a name.
Click to show internal directories.
Click to hide internal directories.