Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CertificateDescriptionFailure error = errors.New("failed to describe certificate")
View Source
var CertificateNotFound error = errors.New("certificate not found")
Functions ¶
This section is empty.
Types ¶
type CertificateDeleter ¶
type CertificateDeleter struct {
// contains filtered or unexported fields
}
func NewCertificateDeleter ¶
func NewCertificateDeleter(iamClientProvider iamClientProvider) CertificateDeleter
func (CertificateDeleter) Delete ¶
func (c CertificateDeleter) Delete(certificateName string) error
type CertificateDescriber ¶
type CertificateDescriber struct {
// contains filtered or unexported fields
}
func NewCertificateDescriber ¶
func NewCertificateDescriber(iamClientProvider iamClientProvider) CertificateDescriber
func (CertificateDescriber) Describe ¶
func (c CertificateDescriber) Describe(certificateName string) (Certificate, error)
type CertificateManager ¶
type CertificateManager struct {
// contains filtered or unexported fields
}
func NewCertificateManager ¶
func NewCertificateManager(certificateUploader certificateUploader, certificateDescriber certificateDescriber, certificateDeleter certificateDeleter) CertificateManager
func (CertificateManager) Create ¶
func (c CertificateManager) Create(certificatePath, privateKeyPath, chainPath, certificateName string) error
func (CertificateManager) Delete ¶
func (c CertificateManager) Delete(certificateName string) error
func (CertificateManager) Describe ¶
func (c CertificateManager) Describe(certificateName string) (Certificate, error)
type CertificateUploader ¶
type CertificateUploader struct {
// contains filtered or unexported fields
}
func NewCertificateUploader ¶
func NewCertificateUploader(iamClientProvider iamClientProvider) CertificateUploader
func (CertificateUploader) Upload ¶
func (c CertificateUploader) Upload(certificatePath, privateKeyPath, chainPath, certificateName string) error
type CertificateValidator ¶
type CertificateValidator struct{}
func NewCertificateValidator ¶
func NewCertificateValidator() CertificateValidator
func (CertificateValidator) Validate ¶
func (c CertificateValidator) Validate(command, certPath, keyPath, chainPath string) error
type Client ¶
type Client interface { UploadServerCertificate(*awsiam.UploadServerCertificateInput) (*awsiam.UploadServerCertificateOutput, error) GetServerCertificate(*awsiam.GetServerCertificateInput) (*awsiam.GetServerCertificateOutput, error) DeleteServerCertificate(*awsiam.DeleteServerCertificateInput) (*awsiam.DeleteServerCertificateOutput, error) }
Click to show internal directories.
Click to hide internal directories.