Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoMatchingCert any matching certificate error ErrNoMatchingCert = errors.New("could not find any matching certificate") )
Functions ¶
This section is empty.
Types ¶
type CertFilter ¶
type CertFilter func(c Certificate) bool
CertFilter type represents a certificate filter interface
type Certificate ¶
type Certificate struct {
// contains filtered or unexported fields
}
Certificate represents a basic certificate
func New ¶
func New(arn, domainName string, alternativeNames []string) Certificate
New creates a Certificate
func (Certificate) AlternativeNames ¶
func (c Certificate) AlternativeNames() []string
AlternativeNames returns a list of certificate subject alternative names
func (Certificate) DomainName ¶
func (c Certificate) DomainName() string
DomainName returns the main certificate domain name
type Repository ¶
type Repository interface {
FindByFilter(CertFilter) ([]Certificate, error)
}
Repository provides methods for manipulating Custom domain names on AWS
func NewRepository ¶
func NewRepository(c acmiface.ACMAPI) Repository
NewRepository creates a new Repository
type Service ¶
type Service interface {
DiscoverByHost(string) (Certificate, error)
}
Service handle the certificate actions as discovery
func NewService ¶
func NewService(c Repository) Service
NewService creates a new Certificate Service
Click to show internal directories.
Click to hide internal directories.