Documentation ¶
Overview ¶
Package provider exposes types that implement a Terraform provider.
Index ¶
- Variables
- func New(version string) func() provider.Provider
- func TestAccPreCheck(t *testing.T)
- type FastlyProvider
- func (p *FastlyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *FastlyProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *FastlyProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *FastlyProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *FastlyProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type FastlyProviderModel
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "fastly": providerserver.NewProtocol6WithError(New("test")()), }
TestAccProtoV6ProviderFactories are used to instantiate a provider during acceptance testing. The factory function will be invoked for every Terraform CLI command executed to create a provider server to which the CLI can reattach.
Functions ¶
func TestAccPreCheck ¶
Types ¶
type FastlyProvider ¶
type FastlyProvider struct {
// contains filtered or unexported fields
}
FastlyProvider defines the provider implementation.
func (*FastlyProvider) Configure ¶
func (p *FastlyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*FastlyProvider) DataSources ¶
func (p *FastlyProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*FastlyProvider) Metadata ¶
func (p *FastlyProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*FastlyProvider) Resources ¶
func (p *FastlyProvider) Resources(_ context.Context) []func() resource.Resource
func (*FastlyProvider) Schema ¶
func (p *FastlyProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type FastlyProviderModel ¶
type FastlyProviderModel struct{}
FastlyProviderModel describes the provider data model.
Directories ¶
Path | Synopsis |
---|---|
Package datasources implements example data sources.
|
Package datasources implements example data sources. |
Package interfaces exposes types that are used as interfaces.
|
Package interfaces exposes types that are used as interfaces. |
Package models exposes reusable models across resources and data sources.
|
Package models exposes reusable models across resources and data sources. |
resources
|
|
domain
Package domain implements a domain resource.
|
Package domain implements a domain resource. |
servicevcl
Package servicevcl implements a service resource.
|
Package servicevcl implements a service resource. |
Package schemas exposes reusable schemas across resources and data sources.
|
Package schemas exposes reusable schemas across resources and data sources. |
tests
|
|
datasources
Package datasources defines data source tests.
|
Package datasources defines data source tests. |
resources
Package resources defines resource tests.
|
Package resources defines resource tests. |
Click to show internal directories.
Click to hide internal directories.