autoprovisioning

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBackendDataSource added in v0.3.0

func NewBackendDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewBackendResource

func NewBackendResource() resource.Resource

helper function to simplify the provider implementation.

func NewBackendsDataSource

func NewBackendsDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewCertReqDNSCNAMEVerifDataSource added in v0.5.0

func NewCertReqDNSCNAMEVerifDataSource() datasource.DataSource

NewCertReqDNSCNAMEVerifDataSource is a helper function to simplify the provider implementation.

func NewCertReqDNSCredentialDataSource added in v0.5.0

func NewCertReqDNSCredentialDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewCertReqDNSCredentialResource added in v0.5.0

func NewCertReqDNSCredentialResource() resource.Resource

helper function to simplify the provider implementation.

func NewCertReqDNSDataSource added in v0.5.0

func NewCertReqDNSDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewCertReqDNSProvidersDataSource added in v0.5.0

func NewCertReqDNSProvidersDataSource() datasource.DataSource

helper function to simplify the provider implementation.

func NewCertReqDNSResource added in v0.5.0

func NewCertReqDNSResource() resource.Resource

func NewCertReqHTTPDataSource added in v0.5.0

func NewCertReqHTTPDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewCertReqHTTPResource added in v0.5.0

func NewCertReqHTTPResource() resource.Resource

func NewCertificatesDataSource added in v0.1.5

func NewCertificatesDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewCustomCertificate added in v0.2.0

func NewCustomCertificate() resource.Resource

helper function to simplify the provider implementation.

func NewSiteResource

func NewSiteResource() resource.Resource

NewSiteResource is a helper function to simplify the provider implementation.

func NewSiteVerifyDataSource

func NewSiteVerifyDataSource() datasource.DataSource

NewSiteVerifyDataSource is a helper function to simplify the provider implementation.

func NewSitesDataSource

func NewSitesDataSource() datasource.DataSource

NewSitesDataSource is a helper function to simplify the provider implementation.

func NewVclconfDataSource added in v0.1.1

func NewVclconfDataSource() datasource.DataSource

Helper function to simplify the provider implementation.

func NewVclconfResource added in v0.1.2

func NewVclconfResource() resource.Resource

helper function to simplify the provider implementation.

Types

type Backend added in v0.2.0

type Backend struct {
	ID           types.Int64  `tfsdk:"id"`
	Company      types.Int64  `tfsdk:"company"`
	Name         types.String `tfsdk:"name"`
	VclName      types.String `tfsdk:"vclname"`
	Origin       types.String `tfsdk:"origin"`
	Ssl          types.Bool   `tfsdk:"ssl"`
	Port         types.Int64  `tfsdk:"port"`
	HCHost       types.String `tfsdk:"hchost"`
	HCPath       types.String `tfsdk:"hcpath"`
	HCStatusCode types.Int64  `tfsdk:"hcstatuscode"`
}

type Backends added in v0.2.0

type Backends struct {
	Backends []Backend `tfsdk:"backends"`
}

type CertReqCNAMEVerify added in v0.5.0

type CertReqCNAMEVerify struct {
	CNAME types.String `tfsdk:"cname"`
}

type CertReqDNS added in v0.5.0

type CertReqDNS struct {
	ID            types.Int64  `tfsdk:"id"`
	Domains       types.Set    `tfsdk:"domains"`
	Credential    types.Int64  `tfsdk:"credential"`
	CertificateID types.Int64  `tfsdk:"certificate_id"`
	CreatedAt     types.String `tfsdk:"created_at"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
	StatusMessage types.String `tfsdk:"status_message"`
}

type CertReqDNSCredential added in v0.5.0

type CertReqDNSCredential struct {
	ID          types.Int64  `tfsdk:"id"`
	Alias       types.String `tfsdk:"alias"`
	DNSProvider types.String `tfsdk:"dns_provider"`
	Parameters  types.Map    `tfsdk:"parameters"`
}

type CertReqDNSProvider added in v0.5.0

type CertReqDNSProvider struct {
	DNSProvider types.String `tfsdk:"dns_provider"`
	Parameters  types.List   `tfsdk:"parameters"`
}

DNS Certificate Requests

type CertReqDNSProviders added in v0.5.0

type CertReqDNSProviders struct {
	Providers []CertReqDNSProvider `tfsdk:"providers"`
}

type CertReqHTTP added in v0.5.0

type CertReqHTTP struct {
	ID            types.Int64  `tfsdk:"id"`
	Domains       types.Set    `tfsdk:"domains"`
	Standalone    types.Bool   `tfsdk:"standalone"`
	CertificateID types.Int64  `tfsdk:"certificate_id"`
	CreatedAt     types.String `tfsdk:"created_at"`
	UpdatedAt     types.String `tfsdk:"updated_at"`
	StatusMessage types.String `tfsdk:"status_message"`
}

HTTP Certificate requests

type Certificate added in v0.2.0

type Certificate struct {
	ID            types.Int64  `tfsdk:"id"`
	Company       types.Int64  `tfsdk:"company"`
	CommonName    types.String `tfsdk:"commonname"`
	Domains       types.String `tfsdk:"domains"`
	Expiration    types.String `tfsdk:"expiration"`
	Autogenerated types.Bool   `tfsdk:"autogenerated"`
	Standalone    types.Bool   `tfsdk:"standalone"`
	DNSChallenge  types.Bool   `tfsdk:"dnschallenge"`
	PublicKey     types.String `tfsdk:"publickey"`
	PrivateKey    types.String `tfsdk:"privatekey"`
}

type Certificates added in v0.2.0

type Certificates struct {
	Certificates []Certificate `tfsdk:"certificates"`
}

type CustomCertificate added in v0.2.0

type CustomCertificate struct {
	ID         types.Int64  `tfsdk:"id"`
	CommonName types.String `tfsdk:"commonname"`
	Domains    types.String `tfsdk:"domains"`
	Expiration types.String `tfsdk:"expiration"`
	PublicKey  types.String `tfsdk:"publickey"`
	PrivateKey types.String `tfsdk:"privatekey"`
}

type Site added in v0.2.0

type Site struct {
	Timeouts timeouts.Value `tfsdk:"timeouts"`
	ID       types.Int64    `tfsdk:"id"`
	Domain   types.String   `tfsdk:"domain"`
	Active   types.Bool     `tfsdk:"active"`
}

type SiteDataSourceModel added in v0.2.0

type SiteDataSourceModel struct {
	ID      types.Int64  `tfsdk:"id"`
	Company types.Int64  `tfsdk:"company"`
	Domain  types.String `tfsdk:"domain"`
	Active  types.Bool   `tfsdk:"active"`
	Ssl     types.Bool   `tfsdk:"ssl"`
}

type SiteVerify added in v0.2.0

type SiteVerify struct {
	Domain              types.String `tfsdk:"domain"`
	VerificantionString types.String `tfsdk:"verification_string"`
}

type Sites added in v0.2.0

type Sites struct {
	Sites []SiteDataSourceModel `tfsdk:"sites"`
}

type VCLConf added in v0.2.0

type VCLConf struct {
	ID             types.Int64  `tfsdk:"id"`
	Company        types.Int64  `tfsdk:"company"`
	VCLCode        types.String `tfsdk:"vclcode"`
	UploadDate     types.String `tfsdk:"uploaddate"`
	ProductionDate types.String `tfsdk:"productiondate"`
	User           types.String `tfsdk:"user"`
}

Jump to

Keyboard shortcuts

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