Documentation ¶
Index ¶
- func New(version string) *schema.Provider
- func NewFrameworkProvider(version string) fwprovider.Provider
- func ProtoV6ProviderServerFactory(ctx context.Context, version string) (func() tfprotov6.ProviderServer, error)
- type Provider
- func (p *Provider) Configure(ctx context.Context, req fwprovider.ConfigureRequest, ...)
- func (p *Provider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *Provider) Metadata(_ context.Context, _ fwprovider.MetadataRequest, ...)
- func (p *Provider) Resources(ctx context.Context) []func() resource.Resource
- func (p *Provider) Schema(ctx context.Context, req fwprovider.SchemaRequest, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFrameworkProvider ¶ added in v0.10.0
func NewFrameworkProvider(version string) fwprovider.Provider
NewFrameworkProvider instantiates plugin framework's provider
func ProtoV6ProviderServerFactory ¶ added in v0.11.0
Types ¶
type Provider ¶ added in v0.10.0
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) Configure ¶ added in v0.10.0
func (p *Provider) Configure(ctx context.Context, req fwprovider.ConfigureRequest, res *fwprovider.ConfigureResponse)
func (*Provider) DataSources ¶ added in v0.10.0
func (p *Provider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*Provider) Metadata ¶ added in v0.10.0
func (p *Provider) Metadata(_ context.Context, _ fwprovider.MetadataRequest, res *fwprovider.MetadataResponse)
func (*Provider) Schema ¶ added in v0.10.0
func (p *Provider) Schema(ctx context.Context, req fwprovider.SchemaRequest, res *fwprovider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.