Documentation ¶
Index ¶
- func DiffTags(spec []v1beta1.Tag, current []acmtypes.Tag) (addTags []acmtypes.Tag, remove []acmtypes.Tag)
- func GenerateCertificateStatus(certificate types.CertificateDetail) v1beta1.CertificateExternalStatus
- func GenerateCreateCertificateInput(p v1beta1.CertificateParameters) *acm.RequestCertificateInput
- func IsCertificateUpToDate(p v1beta1.CertificateParameters, cd types.CertificateDetail, tags []types.Tag) bool
- func IsErrorNotFound(err error) bool
- func LateInitializeCertificate(in *v1beta1.CertificateParameters, certificate *types.CertificateDetail)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiffTags ¶
func DiffTags(spec []v1beta1.Tag, current []acmtypes.Tag) (addTags []acmtypes.Tag, remove []acmtypes.Tag)
DiffTags returns tags that should be added or removed.
func GenerateCertificateStatus ¶
func GenerateCertificateStatus(certificate types.CertificateDetail) v1beta1.CertificateExternalStatus
GenerateCertificateStatus is used to produce CertificateExternalStatus from acm.certificateStatus
func GenerateCreateCertificateInput ¶
func GenerateCreateCertificateInput(p v1beta1.CertificateParameters) *acm.RequestCertificateInput
GenerateCreateCertificateInput from CertificateSpec
func IsCertificateUpToDate ¶
func IsCertificateUpToDate(p v1beta1.CertificateParameters, cd types.CertificateDetail, tags []types.Tag) bool
IsCertificateUpToDate checks whether there is a change in any of the modifiable fields.
func IsErrorNotFound ¶
IsErrorNotFound returns true if the error code indicates that the item was not found
func LateInitializeCertificate ¶
func LateInitializeCertificate(in *v1beta1.CertificateParameters, certificate *types.CertificateDetail)
LateInitializeCertificate fills the empty fields in *v1beta1.CertificateParameters with the values seen in iam.Certificate.
Types ¶
type Client ¶
type Client interface { DescribeCertificate(context.Context, *acm.DescribeCertificateInput, ...func(*acm.Options)) (*acm.DescribeCertificateOutput, error) RequestCertificate(context.Context, *acm.RequestCertificateInput, ...func(*acm.Options)) (*acm.RequestCertificateOutput, error) DeleteCertificate(context.Context, *acm.DeleteCertificateInput, ...func(*acm.Options)) (*acm.DeleteCertificateOutput, error) UpdateCertificateOptions(context.Context, *acm.UpdateCertificateOptionsInput, ...func(*acm.Options)) (*acm.UpdateCertificateOptionsOutput, error) ListTagsForCertificate(context.Context, *acm.ListTagsForCertificateInput, ...func(*acm.Options)) (*acm.ListTagsForCertificateOutput, error) AddTagsToCertificate(context.Context, *acm.AddTagsToCertificateInput, ...func(*acm.Options)) (*acm.AddTagsToCertificateOutput, error) RemoveTagsFromCertificate(context.Context, *acm.RemoveTagsFromCertificateInput, ...func(*acm.Options)) (*acm.RemoveTagsFromCertificateOutput, error) }
Client defines the CertificateManager operations
Click to show internal directories.
Click to hide internal directories.