Documentation ¶
Index ¶
- type AddCertificateParams
- type AddDomainsParams
- type AddTempCertificateParams
- type Certificate
- type CertificateDomain
- type CheckCertOwnerRow
- type DBTX
- type DnsAcme
- type FindNextCertRow
- type FindOwnedCertsRow
- type GetDomainStatesForCertRow
- type Queries
- func (q *Queries) AddCertificate(ctx context.Context, arg AddCertificateParams) error
- func (q *Queries) AddDomains(ctx context.Context, arg AddDomainsParams) error
- func (q *Queries) AddTempCertificate(ctx context.Context, arg AddTempCertificateParams) error
- func (q *Queries) CheckCertOwner(ctx context.Context, id int64) (CheckCertOwnerRow, error)
- func (q *Queries) FindNextCert(ctx context.Context) (FindNextCertRow, error)
- func (q *Queries) FindOwnedCerts(ctx context.Context) ([]FindOwnedCertsRow, error)
- func (q *Queries) GetDomainStatesForCert(ctx context.Context, certID int64) ([]GetDomainStatesForCertRow, error)
- func (q *Queries) GetDomainsForCertificate(ctx context.Context, certID int64) ([]string, error)
- func (q *Queries) RemoveCertificate(ctx context.Context, id int64) error
- func (q *Queries) SetDomainStateForCert(ctx context.Context, arg SetDomainStateForCertParams) error
- func (q *Queries) UpdateCertAfterRenewal(ctx context.Context, arg UpdateCertAfterRenewalParams) error
- func (q *Queries) UpdateDomains(ctx context.Context, arg UpdateDomainsParams) error
- func (q *Queries) UpdateRenewingState(ctx context.Context, arg UpdateRenewingStateParams) error
- func (q *Queries) UseTx(ctx context.Context, cb func(tx *Queries) error) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type SetDomainStateForCertParams
- type UpdateCertAfterRenewalParams
- type UpdateDomainsParams
- type UpdateRenewingStateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCertificateParams ¶
type AddDomainsParams ¶
type Certificate ¶
type Certificate struct { ID int64 `json:"id"` Owner string `json:"owner"` Dns sql.NullInt64 `json:"dns"` AutoRenew bool `json:"auto_renew"` Active bool `json:"active"` Renewing bool `json:"renewing"` RenewFailed bool `json:"renew_failed"` NotAfter time.Time `json:"not_after"` UpdatedAt time.Time `json:"updated_at"` TempParent sql.NullInt64 `json:"temp_parent"` }
type CertificateDomain ¶
type CheckCertOwnerRow ¶
type FindNextCertRow ¶
type FindNextCertRow struct { ID int64 `json:"id"` NotAfter time.Time `json:"not_after"` Type sql.NullString `json:"type"` Token sql.NullString `json:"token"` TempParent sql.NullInt64 `json:"temp_parent"` }
type FindOwnedCertsRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AddCertificate ¶
func (q *Queries) AddCertificate(ctx context.Context, arg AddCertificateParams) error
func (*Queries) AddDomains ¶
func (q *Queries) AddDomains(ctx context.Context, arg AddDomainsParams) error
func (*Queries) AddTempCertificate ¶
func (q *Queries) AddTempCertificate(ctx context.Context, arg AddTempCertificateParams) error
func (*Queries) CheckCertOwner ¶
func (*Queries) FindNextCert ¶
func (q *Queries) FindNextCert(ctx context.Context) (FindNextCertRow, error)
func (*Queries) FindOwnedCerts ¶
func (q *Queries) FindOwnedCerts(ctx context.Context) ([]FindOwnedCertsRow, error)
func (*Queries) GetDomainStatesForCert ¶
func (*Queries) GetDomainsForCertificate ¶
func (*Queries) RemoveCertificate ¶
func (*Queries) SetDomainStateForCert ¶
func (q *Queries) SetDomainStateForCert(ctx context.Context, arg SetDomainStateForCertParams) error
func (*Queries) UpdateCertAfterRenewal ¶
func (q *Queries) UpdateCertAfterRenewal(ctx context.Context, arg UpdateCertAfterRenewalParams) error
func (*Queries) UpdateDomains ¶
func (q *Queries) UpdateDomains(ctx context.Context, arg UpdateDomainsParams) error
func (*Queries) UpdateRenewingState ¶
func (q *Queries) UpdateRenewingState(ctx context.Context, arg UpdateRenewingStateParams) error
type UpdateDomainsParams ¶
Click to show internal directories.
Click to hide internal directories.