execution

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//ActionCreate for terraform
	ActionCreate = "create"
	//ActionDestroy for terraform
	ActionDestroy = "destroy"
	//Default Image
	DefaultExecutorImage = "rancher/terraform-controller-executor"
)

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	ctx context.Context,
	modules tfv1.ModuleController,
	executions tfv1.ExecutionController,
	executionRuns tfv1.ExecutionRunController,
	clusterRoles rbacv1.ClusterRoleController,
	clusterRoleBindings rbacv1.ClusterRoleBindingController,
	secrets corev1.SecretController,
	configMaps corev1.ConfigMapController,
	serviceAccounts corev1.ServiceAccountController,
	jobs batchv1.JobController,
) *handler

Types

type Input

type Input struct {
	Configs    []*coreV1.ConfigMap
	EnvVars    []coreV1.EnvVar
	Executions map[string]string
	Image      string
	Module     *v1.Module
	Secrets    []*coreV1.Secret
}

Jump to

Keyboard shortcuts

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