Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { Apply(*config.InfraModule) error Destroy() GetArg(arg string) (string, error) }
func GetProvider ¶
Currently registering of new providers is manual. Need to think an auto way of doing this.
type TerraformProvider ¶
type TerraformProvider struct { TerraformStates map[string]terraform.Options ModuleStatus map[string]string T *testing.T OutputFn func(t ttesting.TestingT, options *terraform.Options, key string) (string, error) ApplyFn func(t ttesting.TestingT, options *terraform.Options) (string, error) InitFn func(t ttesting.TestingT, options *terraform.Options) (string, error) ApplyAndIdempotentFn func(t ttesting.TestingT, options *terraform.Options) (string, error) DestroyFn func(t ttesting.TestingT, options *terraform.Options) (string, error) }
func NewTerraformProvider ¶
func NewTerraformProvider() *TerraformProvider
func (TerraformProvider) Apply ¶
func (s TerraformProvider) Apply(module *config.InfraModule) error
func (TerraformProvider) Destroy ¶
func (s TerraformProvider) Destroy()
Click to show internal directories.
Click to hide internal directories.