provider

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 22 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 NewDNSRecordResource

func NewDNSRecordResource() resource.Resource

func NewNameserversDataSource

func NewNameserversDataSource() datasource.DataSource

func NewNameserversResource

func NewNameserversResource() resource.Resource

Types

type DNSRecordResource

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

func (*DNSRecordResource) Configure

func (*DNSRecordResource) Create

func (*DNSRecordResource) Delete

func (*DNSRecordResource) ImportState

func (*DNSRecordResource) Metadata

func (*DNSRecordResource) Read

func (*DNSRecordResource) Schema

func (*DNSRecordResource) Update

type DNSRecordResourceModel

type DNSRecordResourceModel struct {
	ID       types.String `tfsdk:"id"`
	Domain   types.String `tfsdk:"domain"`
	Name     types.String `tfsdk:"name"`
	Type     types.String `tfsdk:"type"`
	Content  types.String `tfsdk:"content"`
	TTL      types.Int64  `tfsdk:"ttl"`
	Priority types.Int64  `tfsdk:"priority"`
	Notes    types.String `tfsdk:"notes"`
}

type NameserversDataSource

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

func (*NameserversDataSource) Configure

func (*NameserversDataSource) Metadata

func (*NameserversDataSource) Read

func (*NameserversDataSource) Schema

type NameserversDataSourceModel

type NameserversDataSourceModel struct {
	Domain      types.String   `tfsdk:"domain"`
	Nameservers []types.String `tfsdk:"nameservers"`
}

type NameserversResource

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

func (*NameserversResource) Configure

func (*NameserversResource) Create

func (*NameserversResource) Delete

func (*NameserversResource) ImportState

func (*NameserversResource) Metadata

func (*NameserversResource) Read

func (*NameserversResource) Schema

func (*NameserversResource) Update

type NameserversResourceModel

type NameserversResourceModel struct {
	Domain      types.String   `tfsdk:"domain"`
	Nameservers []types.String `tfsdk:"nameservers"`
}

type PorkbunProvider

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

func (*PorkbunProvider) Configure

func (*PorkbunProvider) DataSources

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

func (*PorkbunProvider) Metadata

func (*PorkbunProvider) Resources

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

func (*PorkbunProvider) Schema

type PorkbunProviderConfigurationModel

type PorkbunProviderConfigurationModel struct {
	APIKey        types.String `tfsdk:"api_key"`
	SecretAPIKey  types.String `tfsdk:"secret_api_key"`
	CustomBaseURL types.String `tfsdk:"custom_base_url"`
	MaxRetries    types.Int64  `tfsdk:"max_retries"`
}

Jump to

Keyboard shortcuts

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