provider

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewEndpointResource

func NewEndpointResource() resource.Resource

Types

type EndpointResource

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

EndpointResource defines the resource implementation.

func (*EndpointResource) Configure

func (*EndpointResource) Create

func (*EndpointResource) Delete

func (*EndpointResource) ImportState

func (*EndpointResource) Metadata

func (*EndpointResource) ModifyPlan added in v0.3.0

func (*EndpointResource) Read

func (*EndpointResource) Schema

func (*EndpointResource) Update

type EndpointResourceModel

type EndpointResourceModel struct {
	Label    types.String `tfsdk:"label"`
	Chain    types.String `tfsdk:"chain"`
	Network  types.String `tfsdk:"network"`
	Url      types.String `tfsdk:"url"`
	Id       types.String `tfsdk:"id"`
	Security types.Object `tfsdk:"security"`
}

EndpointResourceModel describes the resource data model.

type EndpointResourceSecurityToken

type EndpointResourceSecurityToken struct {
	Id    types.String
	Token types.String
}

type QuickNodeData added in v0.4.0

type QuickNodeData struct {
	Client quicknode.ClientWithResponsesInterface
	Chains []quicknode.Chain
}

QuickNodeData is provided in the DataSourceData and ResourceData to be made accessible by data and resources.

type QuickNodeProvider

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

QuickNodeProvider defines the provider implementation.

func (*QuickNodeProvider) Configure

func (*QuickNodeProvider) DataSources

func (p *QuickNodeProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*QuickNodeProvider) Functions

func (p *QuickNodeProvider) Functions(ctx context.Context) []func() function.Function

func (*QuickNodeProvider) Metadata

func (*QuickNodeProvider) Resources

func (p *QuickNodeProvider) Resources(ctx context.Context) []func() resource.Resource

func (*QuickNodeProvider) Schema

type QuickNodeProviderModel

type QuickNodeProviderModel struct {
	Endpoint          types.String `tfsdk:"endpoint"`
	ApiKey            types.String `tfsdk:"apikey"`
	RequestsPerSecond types.Int64  `tfsdk:"requests_per_second"`
}

QuickNodeProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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