Documentation ¶
Index ¶
- type GCP
- func (d GCP) Box() *packr.Box
- func (d GCP) Destroy() (err error)
- func (d *GCP) DestroyMessage() string
- func (d *GCP) Enterprise() bool
- func (d *GCP) InitMessage() string
- func (d GCP) Plan() (err error)
- func (d *GCP) SetTerraformExecutor(tf *tfexec.Terraform)
- func (d *GCP) TerraformExecutor() (tf *tfexec.Terraform)
- func (d GCP) TerraformFiles() []string
- func (d GCP) Update() (err error)
- func (d *GCP) UpdateMessage() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCP ¶
type GCP struct {
// contains filtered or unexported fields
}
GCP represents a dummy provisioner
func New ¶
func New(config *configuration.Configuration) *GCP
New instantiates a new GCP provisioner
func (GCP) Box ¶
func (d GCP) Box() *packr.Box
Box returns the box that has the files as binary data
func (*GCP) DestroyMessage ¶
DestroyMessage return a custom provisioner message the user will see once the cluster is destroyed
func (*GCP) Enterprise ¶
Enterprise return a boolean indicating it is an enterprise provisioner
func (*GCP) InitMessage ¶
InitMessage return a custom provisioner message the user will see once the cluster is ready to be updated
func (*GCP) SetTerraformExecutor ¶
SetTerraformExecutor adds the terraform executor to this provisioner
func (*GCP) TerraformExecutor ¶
TerraformExecutor returns the current terraform executor of this provisioner
func (GCP) TerraformFiles ¶
TerraformFiles returns the list of files conforming the terraform project
func (*GCP) UpdateMessage ¶
UpdateMessage return a custom provisioner message the user will see once the cluster is updated