Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { NewForConfig(logger logrus.FieldLogger, config *rest.Config, purpose, namespace, name, image string) (Interface, error) New(logger logrus.FieldLogger, client client.Client, coreV1Client corev1client.CoreV1Interface, purpose, namespace, name, image string) Interface DefaultInitializer(c client.Client, main, variables string, tfVars []byte) Initializer }
Factory is a factory that can produce Interface and Initializer.
type Initializer ¶
type Initializer interface {
Initialize(config *gardenerterraformer.InitializerConfig) error
}
Initializer can initialize an Interface.
type Interface ¶
type Interface interface { SetVariablesEnvironment(tfVarsEnvironment map[string]string) Interface InitializeWith(initializer Initializer) Interface Apply() error Destroy() error GetStateOutputVariables(variables ...string) (map[string]string, error) ConfigExists() (bool, error) }
Interface is the terraformer interface.
Click to show internal directories.
Click to hide internal directories.