Documentation ¶
Index ¶
- func NewBackendTemplateSecret(namespace, name string) *v1.Secret
- func NewCostsReport(configuration *terraformv1alphav1.Configuration) *v1.Secret
- func NewCostsSecret(namespace, name string) *v1.Secret
- func NewJobTemplateConfigmap(namespace, name string) *v1.ConfigMap
- func NewMatchAllPolicyConstraint(name string) *terraformv1alphav1.Policy
- func NewNamespace(name string) *v1.Namespace
- func NewPolicy(name string) *terraformv1alphav1.Policy
- func NewTerraformJob(configuration *terraformv1alphav1.Configuration, namespace, stage string) *batchv1.Job
- func NewTerraformState(configuration *terraformv1alphav1.Configuration) *v1.Secret
- func NewValidAWSNotReadyProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
- func NewValidAWSProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
- func NewValidAWSProviderSecret(namespace, name string) *v1.Secret
- func NewValidAWSReadyProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
- func NewValidBucketConfiguration(namespace, name string) *terraformv1alphav1.Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBackendTemplateSecret ¶ added in v0.3.1
NewBackendTemplateSecret returns a fake backend template secret
func NewCostsReport ¶
func NewCostsReport(configuration *terraformv1alphav1.Configuration) *v1.Secret
NewCostsReport returns a secret used to mock a cost report for a configuration
func NewCostsSecret ¶
NewCostsSecret returns a fake costs secret
func NewJobTemplateConfigmap ¶
NewJobTemplateConfigmap returns a custom job template configmap
func NewMatchAllPolicyConstraint ¶
func NewMatchAllPolicyConstraint(name string) *terraformv1alphav1.Policy
NewMatchAllPolicyConstraint returns a policy which matches all configurations
func NewNamespace ¶
NewNamespace returns a new namespace
func NewPolicy ¶
func NewPolicy(name string) *terraformv1alphav1.Policy
NewPolicy returns an empty policy
func NewTerraformJob ¶
func NewTerraformJob(configuration *terraformv1alphav1.Configuration, namespace, stage string) *batchv1.Job
NewTerraformJob returns a new terraform job
func NewTerraformState ¶
func NewTerraformState(configuration *terraformv1alphav1.Configuration) *v1.Secret
NewTerraformState returns a fake state
func NewValidAWSNotReadyProvider ¶
func NewValidAWSNotReadyProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
NewValidAWSNotReadyProvider returns a ready aws provider
func NewValidAWSProvider ¶
func NewValidAWSProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
NewValidAWSProvider returns a valid provider for aws
func NewValidAWSProviderSecret ¶
NewValidAWSProviderSecret returns a valid provider secret for aws
func NewValidAWSReadyProvider ¶
func NewValidAWSReadyProvider(name string, secret *v1.Secret) *terraformv1alphav1.Provider
NewValidAWSReadyProvider returns a ready aws provider
func NewValidBucketConfiguration ¶
func NewValidBucketConfiguration(namespace, name string) *terraformv1alphav1.Configuration
NewValidBucketConfiguration returns a valid configuration for aws bucket
Types ¶
This section is empty.