terraform

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTestAwsProvider

func InitTestAwsProvider(providerLibrary *terraform.ProviderLibrary, version string) (*aws.AWSTerraformProvider, error)

func InitTestAzureProvider

func InitTestAzureProvider(providerLibrary *terraform.ProviderLibrary, version string) (*azurerm.AzureTerraformProvider, error)

func InitTestGithubProvider

func InitTestGithubProvider(providerLibrary *terraform.ProviderLibrary, version string) (*github.GithubTerraformProvider, error)

func InitTestGoogleProvider

func InitTestGoogleProvider(providerLibrary *terraform.ProviderLibrary, version string) (*google.GCPTerraformProvider, error)

Types

type FakeTerraformProvider

type FakeTerraformProvider struct {
	// contains filtered or unexported fields
}

func NewFakeTerraformProvider

func NewFakeTerraformProvider(realProvider terraform.TerraformProvider) *FakeTerraformProvider

func (*FakeTerraformProvider) Cleanup

func (p *FakeTerraformProvider) Cleanup()

func (*FakeTerraformProvider) Name

func (p *FakeTerraformProvider) Name() string

func (*FakeTerraformProvider) ReadResource

func (p *FakeTerraformProvider) ReadResource(args terraform.ReadResourceArgs) (*cty.Value, error)

func (*FakeTerraformProvider) Schema

func (p *FakeTerraformProvider) Schema() map[string]providers.Schema

func (*FakeTerraformProvider) ShouldUpdate

func (p *FakeTerraformProvider) ShouldUpdate()

func (*FakeTerraformProvider) Version

func (p *FakeTerraformProvider) Version() string

func (*FakeTerraformProvider) WithResponse

func (p *FakeTerraformProvider) WithResponse(response string) *FakeTerraformProvider

Jump to

Keyboard shortcuts

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