2022-11-08 00:03:45 +00:00
|
|
|
package certificate
|
|
|
|
|
|
|
|
// Template is the model given to the template parser, converted from the Model
|
|
|
|
type Template struct {
|
2023-05-26 01:04:43 +00:00
|
|
|
ID uint
|
|
|
|
CreatedAt string
|
|
|
|
UpdatedAt string
|
2022-11-08 00:03:45 +00:00
|
|
|
ExpiresOn string
|
|
|
|
Type string
|
2023-05-26 01:04:43 +00:00
|
|
|
UserID uint
|
|
|
|
CertificateAuthorityID uint
|
|
|
|
DNSProviderID uint
|
2022-11-08 00:03:45 +00:00
|
|
|
Name string
|
|
|
|
DomainNames []string
|
|
|
|
Status string
|
2023-02-28 10:55:40 +00:00
|
|
|
IsECC bool
|
2022-11-08 00:03:45 +00:00
|
|
|
// These are helpers for template generation
|
|
|
|
IsCustom bool
|
|
|
|
IsAcme bool // non-custom
|
|
|
|
IsProvided bool
|
|
|
|
Folder string
|
|
|
|
}
|