configuration

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareTwoContainerEnvs

func CompareTwoContainerEnvs(s1 []v1.EnvVar, s2 []v1.EnvVar) bool

CompareTwoContainerEnvs compares two slices of v1.EnvVar

func Interface2String added in v0.2.6

func Interface2String(v interface{}) (string, error)

Interface2String converts an interface{} type to string

func RawExtension2Map added in v0.2.6

func RawExtension2Map(raw *runtime.RawExtension) (map[string]interface{}, error)

RawExtension2Map will convert rawExtension to map This function is copied from oam-dev/kubevela

func RenderConfiguration added in v0.1.19

func RenderConfiguration(configuration *v1beta1.Configuration, controllerNamespace string, configurationType types.ConfigurationType) (string, error)

RenderConfiguration will compose the Terraform configuration with hcl/json and backend

func RenderTemplate added in v0.2.6

func RenderTemplate(backend *v1beta1.Backend, namespace string) (string, error)

RenderTemplate renders Backend template

func ValidConfigurationObject

func ValidConfigurationObject(configuration *v1beta1.Configuration) (types.ConfigurationType, error)

ValidConfigurationObject will validate a Configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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