Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplyOptions ¶ added in v0.2.6
ApplyOptions controls the behavior of terraform.
func NewApplyOptions ¶ added in v0.2.6
func NewApplyOptions(dir, suffix, namespace, kubeconfig string) *ApplyOptions
NewApplyOptions returns an ApplyOption.
type Client ¶
type Client struct { // Path to the executable binary file of terraform. Binary string genericclioptions.IOStreams }
Client interactive with terraform
func NewDefaultClient ¶
func NewDefaultClient(streams genericclioptions.IOStreams) (*Client, error)
NewDefaultClient creates a default terraform client.
func (*Client) CheckAndInstall ¶
CheckAndInstall will install terraform if necessary.
func (*Client) Destroy ¶
func (c *Client) Destroy(o *ApplyOptions) error
Destroy executes terraform destroy.
Click to show internal directories.
Click to hide internal directories.