Documentation ¶
Index ¶
- Constants
- func GetProviderVersion(providerName string) string
- type ProviderWrapper
- func (p *ProviderWrapper) GetReadOnlyAttributes(resourceTypes []string) (map[string][]string, error)
- func (p *ProviderWrapper) GetSchema() *providers.GetSchemaResponse
- func (p *ProviderWrapper) Kill()
- func (p *ProviderWrapper) Refresh(info *terraform.InstanceInfo, state *terraform.InstanceState) (*terraform.InstanceState, error)
Constants ¶
View Source
const DefaultDataDir = ".terraform"
DefaultDataDir is the default directory for storing local data.
View Source
const DefaultPluginVendorDirV12 = "terraform.d/plugins/" + pluginMachineName
DefaultPluginVendorDir is the location in the config directory to look for user-added plugin binaries. Terraform only reads from this path if it exists, it is never created by terraform.
Variables ¶
This section is empty.
Functions ¶
func GetProviderVersion ¶
Types ¶
type ProviderWrapper ¶
type ProviderWrapper struct { Provider *tfplugin.GRPCProvider // contains filtered or unexported fields }
func NewProviderWrapper ¶
func (*ProviderWrapper) GetReadOnlyAttributes ¶
func (p *ProviderWrapper) GetReadOnlyAttributes(resourceTypes []string) (map[string][]string, error)
func (*ProviderWrapper) GetSchema ¶
func (p *ProviderWrapper) GetSchema() *providers.GetSchemaResponse
func (*ProviderWrapper) Kill ¶
func (p *ProviderWrapper) Kill()
func (*ProviderWrapper) Refresh ¶
func (p *ProviderWrapper) Refresh(info *terraform.InstanceInfo, state *terraform.InstanceState) (*terraform.InstanceState, error)
Click to show internal directories.
Click to hide internal directories.