Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Certificate ¶
type Certificate struct { GormModel database.Certificate }
Certificate is the implementation for the Certificate struct in the database package
type CertificateRepository ¶
type CertificateRepository struct {
// contains filtered or unexported fields
}
CertificateRepository implements the CertificateRepository interface from database package
func (*CertificateRepository) Create ¶
func (repo *CertificateRepository) Create(certificate *database.Certificate) error
Create creates a certificate
func (*CertificateRepository) DeleteByNameSerialNumber ¶
func (repo *CertificateRepository) DeleteByNameSerialNumber(nameSerialNumber string) error
DeleteByNameSerialNumber deletes a certificate by NameSerialNumber
func (*CertificateRepository) GetByNameSerialNumber ¶
func (repo *CertificateRepository) GetByNameSerialNumber(nameSerialNumber string) (*database.Certificate, error)
GetByNameSerialNumber gets a certificate by NameSerialNumber
Source Files ¶
Click to show internal directories.
Click to hide internal directories.