provider

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() provider.Provider

New returns a new Prefect Provider instance.

Types

type PrefectProvider

type PrefectProvider struct {
	// contains filtered or unexported fields
}

PrefectProvider implements the Prefect Terraform provider.

func (*PrefectProvider) Configure

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

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

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL