Documentation
¶
Index ¶
- Constants
- func ExecBranchCheckout(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecClone(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecGetCommitID(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecGitPull(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecReadState(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecRecoverState(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecRevertCommit(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecTerraformApply(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecTerraformDestroy(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecTerraformDownload(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecTerraformInit(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func ExecTerraformPlan(client kubernetes.Interface, config *restclient.Config, podName string, ...) error
- func GetTerraformVariables(tfapply *claimv1alpha1.TFApplyClaim) string
- func LowestNonZeroResult(i, j ctrl.Result) ctrl.Result
- func ReadIDFromFile(filename string) (string, error)
Constants ¶
View Source
const ( HCL_DIR = "HCL_DIR" TERRAFORM_VERSION = "0.12.20" TERRAFORM_BINARY_NAME = "terraform" TERRAFORM_BINARY_URL = "https://releases.hashicorp.com/terraform" )
Variables ¶
This section is empty.
Functions ¶
func ExecBranchCheckout ¶
func ExecBranchCheckout(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecClone ¶
func ExecClone(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecGetCommitID ¶
func ExecGetCommitID(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecGitPull ¶
func ExecGitPull(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecReadState ¶
func ExecReadState(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecRecoverState ¶
func ExecRecoverState(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecRevertCommit ¶
func ExecRevertCommit(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecTerraformApply ¶
func ExecTerraformApply(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecTerraformDestroy ¶
func ExecTerraformDestroy(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecTerraformDownload ¶
func ExecTerraformDownload(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecTerraformInit ¶
func ExecTerraformInit(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func ExecTerraformPlan ¶
func ExecTerraformPlan(client kubernetes.Interface, config *restclient.Config, podName string, podNamespace string, stdin io.Reader, stdout io.Writer, stderr io.Writer, apply *claimv1alpha1.TFApplyClaim) error
func GetTerraformVariables ¶
func GetTerraformVariables(tfapply *claimv1alpha1.TFApplyClaim) string
func LowestNonZeroResult ¶
LowestNonZeroResult compares two reconciliation results and returns the one with lowest requeue time.
func ReadIDFromFile ¶
ReadIDFromFile returns a Cloud Resource ID from Terraform State File
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.