package acmapi

import "github.com/oslokommune/okctl/pkg/acmapi"

Package acmapi knows how to interact with AWS ACM API

Index

Variables

var ErrNotFound = errors.New("not found")

ErrNotFound is a not found error

Types

type ACMAPI

type ACMAPI struct {
	// contains filtered or unexported fields
}

ACMAPI contains state for interacting with the API

func New

func New(provider v1alpha1.CloudProvider) *ACMAPI

New returns an initialised ACM API client

func (*ACMAPI) CertificateARNForDomain

func (a *ACMAPI) CertificateARNForDomain(domain string) (string, error)

CertificateARNForDomain returns the certificate arn for the domain

func (*ACMAPI) InUseBy

func (a *ACMAPI) InUseBy(certificateARN string) ([]string, error)

InUseBy returns the list of ARNs that are currently using a certificate

Source Files

acmapi.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
5 packages
Last checked
8 hours ago

Tools for package owners.