Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDNSRecordResource() resource.Resource
- func NewNameserversDataSource() datasource.DataSource
- func NewNameserversResource() resource.Resource
- type DNSRecordResource
- func (r *DNSRecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DNSRecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DNSRecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DNSRecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DNSRecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DNSRecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DNSRecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DNSRecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DNSRecordResourceModel
- type NameserversDataSource
- func (d *NameserversDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...)
- func (d *NameserversDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *NameserversDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *NameserversDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type NameserversDataSourceModel
- type NameserversResource
- func (r *NameserversResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *NameserversResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *NameserversResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *NameserversResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *NameserversResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *NameserversResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *NameserversResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *NameserversResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type NameserversResourceModel
- type PorkbunProvider
- func (p *PorkbunProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *PorkbunProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *PorkbunProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *PorkbunProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *PorkbunProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type PorkbunProviderConfigurationModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDNSRecordResource ¶
func NewNameserversDataSource ¶
func NewNameserversDataSource() datasource.DataSource
func NewNameserversResource ¶
Types ¶
type DNSRecordResource ¶
type DNSRecordResource struct {
// contains filtered or unexported fields
}
func (*DNSRecordResource) Configure ¶
func (r *DNSRecordResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DNSRecordResource) Create ¶
func (r *DNSRecordResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DNSRecordResource) Delete ¶
func (r *DNSRecordResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DNSRecordResource) ImportState ¶
func (r *DNSRecordResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DNSRecordResource) Metadata ¶
func (r *DNSRecordResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DNSRecordResource) Read ¶
func (r *DNSRecordResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DNSRecordResource) Schema ¶
func (r *DNSRecordResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DNSRecordResource) Update ¶
func (r *DNSRecordResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (d *NameserversDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*NameserversDataSource) Metadata ¶
func (d *NameserversDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*NameserversDataSource) Read ¶
func (d *NameserversDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*NameserversDataSource) Schema ¶
func (d *NameserversDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type NameserversResource ¶
type NameserversResource struct {
// contains filtered or unexported fields
}
func (*NameserversResource) Configure ¶
func (r *NameserversResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*NameserversResource) Create ¶
func (r *NameserversResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*NameserversResource) Delete ¶
func (r *NameserversResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*NameserversResource) ImportState ¶
func (r *NameserversResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*NameserversResource) Metadata ¶
func (r *NameserversResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*NameserversResource) Read ¶
func (r *NameserversResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*NameserversResource) Schema ¶
func (r *NameserversResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*NameserversResource) Update ¶
func (r *NameserversResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type PorkbunProvider ¶
type PorkbunProvider struct {
// contains filtered or unexported fields
}
func (*PorkbunProvider) Configure ¶
func (p *PorkbunProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*PorkbunProvider) DataSources ¶
func (p *PorkbunProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*PorkbunProvider) Metadata ¶
func (p *PorkbunProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*PorkbunProvider) Resources ¶
func (p *PorkbunProvider) Resources(ctx context.Context) []func() resource.Resource
func (*PorkbunProvider) Schema ¶
func (p *PorkbunProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
Click to show internal directories.
Click to hide internal directories.