provider

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: MPL-2.0 Imports: 15 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 NewApiKeyResource

func NewApiKeyResource() resource.Resource

func NewDomainResource

func NewDomainResource() resource.Resource

Types

type ApiKeyResource

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

ApiKeyResource defines the resource implementation.

func (*ApiKeyResource) Configure

func (*ApiKeyResource) Create

func (*ApiKeyResource) Delete

func (*ApiKeyResource) ImportState

func (*ApiKeyResource) Metadata

func (*ApiKeyResource) Read

func (*ApiKeyResource) Schema

func (*ApiKeyResource) Update

type ApiKeyResourceModel

type ApiKeyResourceModel struct {
	Id         types.String `tfsdk:"id"`
	Token      types.String `tfsdk:"token"`
	Name       types.String `tfsdk:"name"`
	Permission types.String `tfsdk:"permission"`
	DomainId   types.String `tfsdk:"domain_id"`
}

ApiKeyResourceModel describes the resource data model.

type DomainResource

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

DomainResource defines the resource implementation.

func (*DomainResource) Configure

func (*DomainResource) Create

func (*DomainResource) Delete

func (*DomainResource) ImportState

func (*DomainResource) Metadata

func (*DomainResource) Read

func (*DomainResource) Schema

func (*DomainResource) Update

type DomainResourceModel

type DomainResourceModel struct {
	Id          types.String `tfsdk:"id"`
	Name        types.String `tfsdk:"name"`
	Region      types.String `tfsdk:"region"`
	CreatedAt   types.String `tfsdk:"created_at"`
	Status      types.String `tfsdk:"status"`
	DnsProvider types.String `tfsdk:"dns_provider"`
}

DomainResourceModel describes the resource data model.

type Record added in v0.0.3

type Record struct {
	Record   types.String `tfsdk:"record"`
	Name     types.String `tfsdk:"name"`
	Type     types.String `tfsdk:"type"`
	Value    types.String `tfsdk:"value"`
	Ttl      types.String `tfsdk:"ttl"`
	Status   types.String `tfsdk:"status"`
	Priority types.Int64  `tfsdk:"priority"`
}

type ResendProvider

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

ResendProvider defines the provider implementation.

func (*ResendProvider) Configure

func (*ResendProvider) DataSources

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

func (*ResendProvider) Metadata

func (*ResendProvider) Resources

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

func (*ResendProvider) Schema

type ResendProviderModel

type ResendProviderModel struct {
	ApiKey types.String `tfsdk:"api_key"`
}

ResendProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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