resources

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificate added in v1.0.0

func NewCertificate(p *provider.Provider) resource.Resource

func NewDnsRecord

func NewDnsRecord(p *provider.Provider) resource.Resource

func NewGroup added in v1.0.0

func NewGroup(p *provider.Provider) resource.Resource

func NewHost

func NewHost(p *provider.Provider) resource.Resource

func NewService added in v1.0.0

func NewService(p *provider.Provider) resource.Resource

func Resources

func Resources() []func(p *provider.Provider) resource.Resource

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 (*Certificate) Delete added in v1.0.0

func (*Certificate) ImportState added in v1.0.0

func (*Certificate) Metadata added in v1.0.0

func (*Certificate) Read added in v1.0.0

func (*Certificate) Schema added in v1.0.0

func (*Certificate) Update added in v1.0.0

type CertificateModel added in v1.0.0

type CertificateModel struct {
	Principal    types.String `tfsdk:"principal"`
	CSR          types.String `tfsdk:"csr"`
	SerialNumber types.Int64  `tfsdk:"serial_number"`
}

type DnsRecord

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

func (*DnsRecord) Create

func (*DnsRecord) Delete

func (*DnsRecord) ImportState

func (*DnsRecord) Metadata

func (*DnsRecord) Read

func (*DnsRecord) Schema

func (*DnsRecord) Update

func (*DnsRecord) UpgradeState

func (r *DnsRecord) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader

type DnsRecordModel

type DnsRecordModel struct {
	Name     types.String `tfsdk:"idnsname"`
	ZoneName types.String `tfsdk:"dnszoneidnsname"`
	Class    types.String `tfsdk:"dnsclass"`
	Type     types.String `tfsdk:"type"`
	TTL      types.Int64  `tfsdk:"dnsttl"`
	Records  types.Set    `tfsdk:"records"`
}

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 (*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 GroupModel struct {
	Name        types.String `tfsdk:"cn"`
	Description types.String `tfsdk:"description"`
	GID         types.Int64  `tfsdk:"gidnumber"`
	NonPosix    types.Bool   `tfsdk:"nonposix"`
	External    types.Bool   `tfsdk:"external"`
}

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 (*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 (r *Host) UpgradeState(ctx context.Context) map[int64]resource.StateUpgrader

func (*Host) ValidateConfig

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 (*Service) Delete added in v1.0.0

func (*Service) ImportState added in v1.0.0

func (*Service) Metadata added in v1.0.0

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 (*Service) Update added in v1.0.0

type ServiceModel added in v1.0.0

type ServiceModel struct {
	KrbHostname   types.String `tfsdk:"krb_hostname"`
	Force         types.Bool   `tfsdk:"force"`
	SkipHostCheck types.Bool   `tfsdk:"skip_host_check"`
}

Jump to

Keyboard shortcuts

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