acm

package
v0.27.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Client acmiface.ACMAPI
	// contains filtered or unexported fields
}

Service holds a collection of interfaces.

func NewService

func NewService(clusterScope scope.IAMScope) *Service

NewService returns a new service given the Cloudfront api client.

func (*Service) DeleteCertificate

func (s *Service) DeleteCertificate(domain string) error

func (*Service) EnsureCertificate

func (s *Service) EnsureCertificate(domain string, customerTags map[string]string) (*string, error)

func (*Service) GetCertificateExpirationTS added in v0.27.0

func (s *Service) GetCertificateExpirationTS(arn string) (*time.Time, error)

func (*Service) GetValidationCNAME

func (s *Service) GetValidationCNAME(arn string) (*route53.CNAME, error)

GetValidationCNAME returns a CNAME record that needs to be created in order for automated domain ownership validation to work.

func (*Service) IsCertificateIssued

func (s *Service) IsCertificateIssued(arn string) (bool, error)

IsCertificateIssued checks if an ACM certificate is issued.

func (*Service) IsValidated

func (s *Service) IsValidated(arn string) (bool, error)

IsValidated checks wheter an ACM certificate's ownership is already validated or not.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL