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