iam

package
v2.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

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 Certificate

type Certificate struct {
	Name  string
	Body  string
	ARN   string
	Chain string
}

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

func NewClient

func NewClient(config aws.Config) Client

Jump to

Keyboard shortcuts

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