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