Documentation ¶
Index ¶
- func InitTestAwsProvider(providerLibrary *terraform.ProviderLibrary, version string) (*aws.AWSTerraformProvider, error)
- func InitTestAzureProvider(providerLibrary *terraform.ProviderLibrary, version string) (*azurerm.AzureTerraformProvider, error)
- func InitTestGithubProvider(providerLibrary *terraform.ProviderLibrary, version string) (*github.GithubTerraformProvider, error)
- func InitTestGoogleProvider(providerLibrary *terraform.ProviderLibrary, version string) (*google.GCPTerraformProvider, error)
- type FakeTerraformProvider
- func (p *FakeTerraformProvider) Cleanup()
- func (p *FakeTerraformProvider) Name() string
- func (p *FakeTerraformProvider) ReadResource(args terraform.ReadResourceArgs) (*cty.Value, error)
- func (p *FakeTerraformProvider) Schema() map[string]providers.Schema
- func (p *FakeTerraformProvider) ShouldUpdate()
- func (p *FakeTerraformProvider) Version() string
- func (p *FakeTerraformProvider) WithResponse(response string) *FakeTerraformProvider
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
Click to show internal directories.
Click to hide internal directories.