interfaces

package
v0.0.0-...-1e18dc2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudfrontDistribution

type CloudfrontDistribution interface {
	Create(callerReference string, domains []string, origin, path string, insecureOrigin bool, forwardedHeaders types.Headers, forwardCookies bool, tags map[string]string) (*cloudfront.Distribution, error)
	Update(distId string, domains []string, origin, path string, insecureOrigin bool, forwardedHeaders types.Headers, forwardCookies bool) (*cloudfront.Distribution, error)
	Get(distId string) (*cloudfront.Distribution, error)
	SetCertificate(distId, certId string) error
	SetCertificateAndCname(distId, certId string, domains []string) error
	Disable(distId string) error
	Delete(distId string) (bool, error)
	ListDistributions(callback func(cloudfront.DistributionSummary) bool) error
}

type IamCertificateManager

type IamCertificateManager interface {
	UploadCertificate(name string, resource certificate.Resource) (string, error)
	DeleteCertificate(name string) error
	ListCertificates(callback func(iam.ServerCertificateMetadata) bool) error
}

type RouteManager

type RouteManager interface {
	Create(instanceId string, domainOpts types.DomainPlanOptions, cdnOpts types.CdnPlanOptions, tags map[string]string) (*models.DomainRoute, error)
	Update(instanceId string, domainOpts types.DomainPlanOptions, cdnOpts types.CdnPlanOptions) error
	Get(instanceId string) (models.DomainRoute, error)
	Poll(route *models.DomainRoute) error
	Disable(route *models.DomainRoute) error
	Renew(route *models.DomainRoute) error
	RenewAll()
	DeleteOrphanedCerts()
	GetDNSInstructions(route *models.DomainRoute) (le_providers.DomainMessenger, error)
	Populate() error
}

Jump to

Keyboard shortcuts

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