Documentation ¶
Index ¶
- Constants
- Variables
- type Build
- type Chart
- type ChartDependency
- type Configuration
- type Squadron
- func (sq *Squadron) Diff(ctx context.Context, units Units, helmArgs []string) (string, error)
- func (sq *Squadron) Down(ctx context.Context, units Units, helmArgs []string) error
- func (sq *Squadron) FilterConfig(units []string) error
- func (sq *Squadron) Generate(ctx context.Context, units Units) error
- func (sq *Squadron) GetConfig() Configuration
- func (sq *Squadron) GetConfigYAML() string
- func (sq *Squadron) MergeConfigFiles() error
- func (sq *Squadron) Name() string
- func (sq *Squadron) Package(ctx context.Context) error
- func (sq *Squadron) RenderConfig(ctx context.Context) error
- func (sq *Squadron) Rollback(ctx context.Context, units Units, revision string, helmArgs []string) error
- func (sq *Squadron) Status(ctx context.Context, units Units, helmArgs []string) error
- func (sq *Squadron) Template(ctx context.Context, units Units, helmArgs []string) error
- func (sq *Squadron) Up(ctx context.Context, units Units, helmArgs []string, ...) error
- type TemplateVars
- type Unit
- type Units
Constants ¶
View Source
const ( TagMap = "!!map" TagString = "!!str" )
Variables ¶
View Source
var ErrOnePasswordNotSignedIn = errors.New("not signed in")
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Args []string `yaml:"args,omitempty"` Builder string `yaml:"builder,omitempty"` CacheFrom string `yaml:"cache_from,omitempty"` CacheTo string `yaml:"cache_to,omitempty"` Context string `yaml:"context,omitempty"` Dockerfile string `yaml:"dockerfile,omitempty"` ExtraHosts []string `yaml:"extra_hosts,omitempty"` Image string `yaml:"image,omitempty"` IIDFile string `yaml:"iidfile,omitempty"` Labels []string `yaml:"labels,omitempty"` Load bool `yaml:"load,omitempty"` MetadataFile string `yaml:"metadata_file,omitempty"` Network string `yaml:"network,omitempty"` NoCache bool `yaml:"no_cache,omitempty"` Output string `yaml:"output,omitempty"` Platform string `yaml:"platform,omitempty"` Platforms []string `yaml:"platforms,omitempty"` Secrets []string `yaml:"secrets,omitempty"` ShmSize string `yaml:"shm_size,omitempty"` SSH string `yaml:"ssh,omitempty"` Tag string `yaml:"tag,omitempty"` Target string `yaml:"target,omitempty"` ULimit string `yaml:"ulimit,omitempty"` }
func (*Build) UnmarshalYAML ¶
UnmarshalYAML ...
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 Units `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 ¶
type TemplateVars ¶
type TemplateVars map[string]interface{}
type Unit ¶
type Unit struct { Chart ChartDependency `yaml:"chart,omitempty"` Builds map[string]Build `yaml:"builds,omitempty"` Values map[string]interface{} `yaml:"values,omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.