Documentation ¶
Index ¶
- func NewCertificate(p *provider.Provider) resource.Resource
- func NewDnsRecord(p *provider.Provider) resource.Resource
- func NewGroup(p *provider.Provider) resource.Resource
- func NewHost(p *provider.Provider) resource.Resource
- func NewService(p *provider.Provider) resource.Resource
- func Resources() []func(p *provider.Provider) resource.Resource
- type Certificate
- func (r *Certificate) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Certificate) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Certificate) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Certificate) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *Certificate) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Certificate) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Certificate) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CertificateModel
- type DnsRecord
- func (r *DnsRecord) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DnsRecord) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DnsRecord) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DnsRecord) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DnsRecord) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DnsRecord) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DnsRecord) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r *DnsRecord) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
- type DnsRecordModel
- type Group
- func (r *Group) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Group) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Group) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Group) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *Group) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Group) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Group) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type GroupModel
- type Host
- func (r *Host) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Host) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Host) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Host) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *Host) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *Host) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Host) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Host) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r *Host) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader
- func (r *Host) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type HostModel
- type Service
- func (r *Service) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Service) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Service) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Service) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *Service) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Service) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Service) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ServiceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶ added in v1.0.0
type Certificate struct {
// contains filtered or unexported fields
}
func (*Certificate) Create ¶ added in v1.0.0
func (r *Certificate) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Certificate) Delete ¶ added in v1.0.0
func (r *Certificate) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Certificate) ImportState ¶ added in v1.0.0
func (r *Certificate) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Certificate) Metadata ¶ added in v1.0.0
func (r *Certificate) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*Certificate) Read ¶ added in v1.0.0
func (r *Certificate) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*Certificate) Schema ¶ added in v1.0.0
func (r *Certificate) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Certificate) Update ¶ added in v1.0.0
func (r *Certificate) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CertificateModel ¶ added in v1.0.0
type DnsRecord ¶
type DnsRecord struct {
// contains filtered or unexported fields
}
func (*DnsRecord) Create ¶
func (r *DnsRecord) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DnsRecord) Delete ¶
func (r *DnsRecord) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DnsRecord) ImportState ¶
func (r *DnsRecord) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DnsRecord) Metadata ¶
func (r *DnsRecord) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DnsRecord) Read ¶
func (r *DnsRecord) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DnsRecord) Schema ¶
func (r *DnsRecord) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DnsRecord) Update ¶
func (r *DnsRecord) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*DnsRecord) UpgradeState ¶
type DnsRecordModel ¶
type Group ¶ added in v1.0.0
type Group struct {
// contains filtered or unexported fields
}
func (*Group) Create ¶ added in v1.0.0
func (r *Group) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Group) Delete ¶ added in v1.0.0
func (r *Group) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Group) ImportState ¶ added in v1.0.0
func (r *Group) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Group) Metadata ¶ added in v1.0.0
func (r *Group) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*Group) Read ¶ added in v1.0.0
func (r *Group) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*Group) Schema ¶ added in v1.0.0
func (r *Group) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Group) Update ¶ added in v1.0.0
func (r *Group) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type GroupModel ¶ added in v1.0.0
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
func (*Host) Create ¶
func (r *Host) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Host) Delete ¶
func (r *Host) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Host) ImportState ¶
func (r *Host) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Host) Metadata ¶
func (r *Host) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*Host) ModifyPlan ¶
func (r *Host) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*Host) Read ¶
func (r *Host) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*Host) Schema ¶
func (r *Host) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Host) Update ¶
func (r *Host) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (*Host) UpgradeState ¶
func (*Host) ValidateConfig ¶
func (r *Host) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
type HostModel ¶
type HostModel struct { Fqdn types.String `tfsdk:"fqdn"` Description types.String `tfsdk:"description"` Random types.Bool `tfsdk:"random"` UserPassword types.String `tfsdk:"userpassword"` RandomPassword types.String `tfsdk:"randompassword"` ManagedByHosts types.Set `tfsdk:"managedby_hosts"` Force types.Bool `tfsdk:"force"` }
type Service ¶ added in v1.0.0
type Service struct {
// contains filtered or unexported fields
}
func (*Service) Create ¶ added in v1.0.0
func (r *Service) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Service) Delete ¶ added in v1.0.0
func (r *Service) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Service) ImportState ¶ added in v1.0.0
func (r *Service) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Service) Metadata ¶ added in v1.0.0
func (r *Service) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*Service) Read ¶ added in v1.0.0
func (r *Service) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*Service) Schema ¶ added in v1.0.0
func (r *Service) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Service) Update ¶ added in v1.0.0
func (r *Service) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.