Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OriginBuilder ¶
type OriginBuilder struct {
// contains filtered or unexported fields
}
func NewOriginBuilder ¶
func NewOriginBuilder(host string) OriginBuilder
func (OriginBuilder) Build ¶
func (b OriginBuilder) Build() Origin
func (OriginBuilder) WithBehavior ¶
func (b OriginBuilder) WithBehavior(pathPattern string) OriginBuilder
type OriginRepository ¶
type OriginRepository interface { // Save ensures the given origin exists on the CloudFront distribution of given ID Save(id string, o Origin) error }
OriginRepository provides a repository for manipulating CloudFront distributions to match desired configuration
func NewOriginRepository ¶
func NewOriginRepository(awsClient cloudfrontiface.CloudFrontAPI) OriginRepository
NewOriginRepository creates a new AWS CloudFront Origin repository
Click to show internal directories.
Click to hide internal directories.