Documentation ¶
Index ¶
- Constants
- type Assembler
- func (a *Assembler) ApplyContainer(executionType types.TerraformExecutionType, resourceQuota types.ResourceQuota) v1.Container
- func (a *Assembler) GitContainer() v1.Container
- func (a *Assembler) GitCredReference(ptr *v1.SecretReference) *Assembler
- func (a *Assembler) InitContainer() v1.Container
- func (a *Assembler) InputContainer() v1.Container
- func (a *Assembler) SetBusyboxImage(image string) *Assembler
- func (a *Assembler) SetEnvs(envs []v1.EnvVar) *Assembler
- func (a *Assembler) SetGit(git types.Git) *Assembler
- func (a *Assembler) SetGitImage(image string) *Assembler
- func (a *Assembler) SetTerraformImage(image string) *Assembler
- func (a *Assembler) TerraformCredReference(ptr *v1.SecretReference) *Assembler
- func (a *Assembler) TerraformCredentialsHelperReference(ptr *v1.SecretReference) *Assembler
- func (a *Assembler) TerraformRCReference(ptr *v1.SecretReference) *Assembler
Constants ¶
View Source
const GitContainerName = "git-configuration"
View Source
const InputContainerName = "prepare-input-terraform-configurations"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assembler ¶
type Assembler struct { Name string GitCredential bool TerraformCredential bool TerraformRC bool TerraformCredentialsHelper bool TerraformImage string BusyboxImage string GitImage string Git types.Git Envs []v1.EnvVar }
Assembler helps to assemble the init containers
func NewAssembler ¶
func (*Assembler) ApplyContainer ¶
func (a *Assembler) ApplyContainer(executionType types.TerraformExecutionType, resourceQuota types.ResourceQuota) v1.Container
func (*Assembler) GitContainer ¶
GitContainer will clone the git repository, and copy the files to the working directory
func (*Assembler) GitCredReference ¶
func (a *Assembler) GitCredReference(ptr *v1.SecretReference) *Assembler
func (*Assembler) InitContainer ¶
InitContainer will run terraform init
func (*Assembler) InputContainer ¶
InputContainer prepare input .tf files, copy them to the working directory
func (*Assembler) SetBusyboxImage ¶
func (*Assembler) SetGitImage ¶
func (*Assembler) SetTerraformImage ¶
func (*Assembler) TerraformCredReference ¶
func (a *Assembler) TerraformCredReference(ptr *v1.SecretReference) *Assembler
func (*Assembler) TerraformCredentialsHelperReference ¶
func (a *Assembler) TerraformCredentialsHelperReference(ptr *v1.SecretReference) *Assembler
func (*Assembler) TerraformRCReference ¶
func (a *Assembler) TerraformRCReference(ptr *v1.SecretReference) *Assembler
Click to show internal directories.
Click to hide internal directories.