Documentation
¶
Index ¶
- 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) 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) Template(units map[string]Unit, helmArgs []string) error
- func (sq *Squadron) Up(units map[string]Unit, helmArgs []string) error
- type TemplateVars
- type Unit
Constants ¶
This section is empty.
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 Squadron ¶
type Squadron struct {
// contains filtered or unexported fields
}
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.