Documentation ¶
Index ¶
- func New() provider.Provider
- type PrefectProvider
- func (p *PrefectProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PrefectProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *PrefectProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *PrefectProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *PrefectProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type PrefectProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrefectProvider ¶
type PrefectProvider struct {
// contains filtered or unexported fields
}
PrefectProvider implements the Prefect Terraform provider.
func (*PrefectProvider) Configure ¶
func (p *PrefectProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
Configure configures the provider's internal client.
func (*PrefectProvider) DataSources ¶
func (p *PrefectProvider) DataSources(_ context.Context) []func() datasource.DataSource
DataSources defines the data sources implemented in the provider.
func (*PrefectProvider) Metadata ¶
func (p *PrefectProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
Metadata returns the provider type name.
func (*PrefectProvider) Resources ¶
func (p *PrefectProvider) Resources(_ context.Context) []func() resource.Resource
Resources defines the resources implemented in the provider.
func (*PrefectProvider) Schema ¶
func (p *PrefectProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
Schema defines the provider-level schema for configuration data.
type PrefectProviderModel ¶
type PrefectProviderModel struct { Endpoint types.String `tfsdk:"endpoint"` APIKey types.String `tfsdk:"api_key"` AccountID customtypes.UUIDValue `tfsdk:"account_id"` WorkspaceID customtypes.UUIDValue `tfsdk:"workspace_id"` }
PrefectProviderModel maps provider schema data to a Go type.
Click to show internal directories.
Click to hide internal directories.