package
Version:
v0.3.5-rc15
Opens a new window with list of versions in this module.
Published: Sep 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
StepTypeTerraform StepType = "terraform"
StepTypeArgoCD = "argocd-apps"
StepTypeAgent = "agent"
)
View Source
const (
ApproveMinor Approve = "minor"
ApproveMajor = "major"
ApproveAlways = "always"
ApproveNever = "never"
)
type Config struct {
Prefix string `yaml:"prefix"`
Source string `yaml:"source"`
Version string `yaml:"version"`
AgentVersion string `yaml:"agent_version"`
Steps []Step `yaml:"steps"`
}
type Module struct {
Name string `yaml:"name"`
Source string `yaml:"source"`
Version string `yaml:"version"`
Inputs map[string]interface{} `yaml:"inputs,omitempty"`
}
func (s Set[T]) Add(item T)
func (s Set[T]) Contains(item T) bool
func (s Set[T]) Remove(item T)
func (s Set[T]) ToSlice() []T
type State struct {
Steps []*StateStep `yaml:"steps"`
}
type StateModule struct {
Name string `yaml:"name"`
Version *version.Version `yaml:"version,omitempty"`
AutoApprove bool `yaml:"-"`
}
type StateStep struct {
Name string `yaml:"name"`
Workspace string `yaml:"workspace"`
AppliedAt time.Time `yaml:"applied_at,omitempty"`
Modules []*StateModule `yaml:"modules"`
}
type Step struct {
Name string `yaml:"name"`
Type StepType `yaml:"type"`
Workspace string `yaml:"workspace"`
Approve Approve `yaml:"approve,omitempty"`
Modules []Module `yaml:"modules"`
Version string `yaml:"version,omitempty"`
VpcPrefix string `yaml:"vpc_prefix,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.