Documentation
¶
Index ¶
- Constants
- type Build
- type Chart
- type ChartDependency
- type Configuration
- type Squadron
- func (sq *Squadron) Diff(units map[string]*Unit, helmArgs []string) (string, error)
- func (sq *Squadron) Down(units map[string]*Unit, helmArgs []string) error
- func (sq *Squadron) FilterConfig(units []string) error
- func (sq *Squadron) Generate(units map[string]*Unit) error
- func (sq *Squadron) GetConfig() Configuration
- func (sq *Squadron) GetConfigYAML() string
- func (sq *Squadron) MergeConfigFiles() error
- func (sq *Squadron) Package() error
- func (sq *Squadron) RenderConfig() error
- func (sq *Squadron) Status(units map[string]*Unit, helmArgs []string) error
- func (sq *Squadron) Template(units map[string]*Unit, helmArgs []string) error
- func (sq *Squadron) Up(units map[string]*Unit, helmArgs []string) error
- type TemplateVars
- type Unit
Constants ¶
View Source
const ( TagMap = "!!map" TagString = "!!str" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
Image string `yaml:"image,omitempty"`
Tag string `yaml:"tag,omitempty"`
Context string `yaml:"context,omitempty"`
Dockerfile string `yaml:"dockerfile,omitempty"`
Args []string `yaml:"args,omitempty"`
Secrets []string `yaml:"secrets,omitempty"`
Labels []string `yaml:"labels,omitempty"`
CacheFrom []string `yaml:"cache_from,omitempty"`
Network string `yaml:"network,omitempty"`
Target string `yaml:"target,omitempty"`
ShmSize string `yaml:"shm_size,omitempty"`
ExtraHosts []string `yaml:"extra_hosts,omitempty"`
Isolation string `yaml:"isolation,omitempty"`
}
type ChartDependency ¶
type ChartDependency struct {
Name string `yaml:"name,omitempty"`
Repository string `yaml:"repository,omitempty"`
Version string `yaml:"version,omitempty"`
Alias string `yaml:"alias,omitempty"`
}
func (*ChartDependency) UnmarshalYAML ¶
func (cd *ChartDependency) UnmarshalYAML(value *yaml.Node) error
type Configuration ¶
type Configuration struct {
Name string `yaml:"name,omitempty"`
Version string `yaml:"version,omitempty"`
Prefix string `yaml:"prefix,omitempty"`
Unite bool `yaml:"unite,omitempty"`
Global map[string]interface{} `yaml:"global,omitempty"`
Units map[string]*Unit `yaml:"squadron,omitempty"`
}
func (*Configuration) UnmarshalYAML ¶ added in v1.3.3
func (c *Configuration) UnmarshalYAML(value *yaml.Node) error
UnmarshalYAML ...
type Squadron ¶
type Squadron struct {
// contains filtered or unexported fields
}
func (*Squadron) FilterConfig ¶ added in v1.3.1
func (*Squadron) GetConfig ¶
func (sq *Squadron) GetConfig() Configuration
func (*Squadron) GetConfigYAML ¶
func (*Squadron) MergeConfigFiles ¶
func (*Squadron) RenderConfig ¶
type TemplateVars ¶
type TemplateVars map[string]interface{}
Click to show internal directories.
Click to hide internal directories.