controllers

package
v0.1.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkingVolumeMountPath              = "/data"
	InputTFConfigurationVolumeName      = "tf-input-configuration"
	InputTFConfigurationVolumeMountPath = "/opt/tfconfiguration"
)
View Source
const (
	TerraformJSONConfigurationName = "main.tf.json"
	TerraformHCLConfigurationName  = "main.tf"
	TerraformStateNameInSecret     = "tfstate"
	TFInputConfigMapName           = "%s-tf-input"
)
View Source
const (
	MessageDestroyJobNotCompleted = "configuration deletion isn't completed"
	MessageApplyJobNotCompleted   = "cloud resources are not created completed"
)
View Source
const (
	TerraformWorkspace = "default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigurationReconciler

type ConfigurationReconciler struct {
	client.Client
	Log          logr.Logger
	Scheme       *runtime.Scheme
	ProviderName string
}

ConfigurationReconciler reconciles a Configuration object.

func (*ConfigurationReconciler) Reconcile

func (r *ConfigurationReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*ConfigurationReconciler) SetupWithManager

func (r *ConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error

type ProviderReconciler

type ProviderReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ProviderReconciler reconciles a Provider object

func (*ProviderReconciler) Reconcile

func (r *ProviderReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

func (*ProviderReconciler) SetupWithManager

func (r *ProviderReconciler) SetupWithManager(mgr ctrl.Manager) error

type TFState

type TFState struct {
	Outputs map[string]v1beta1.Property `json:"outputs"`
}

type TerraformExecutionType

type TerraformExecutionType string
const (
	TerraformApply   TerraformExecutionType = "apply"
	TerraformDestroy TerraformExecutionType = "destroy"
)

type Variable

type Variable map[string]interface{}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL