Documentation
¶
Overview ¶
Perform CDN Invalidations on specific distributions.
Scheme: https Security:
- jwt
SecurityDefinitions: jwt:
type: Bearer name: Authorization in: header
swagger:meta
Index ¶
Constants ¶
View Source
const ErrUserNotEntitled = "User is not entitled to the CloudFront Invalidation service"
View Source
const PathPrefix = "/api/v1beta1"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DistributionService ¶
type DistributionService interface { List(ctx context.Context) ([]string, error) CreateInvalidation(ctx context.Context, distributionName string, paths []string) (*v1beta1.InvalidationResponse, error) GetInvalidationStatus(ctx context.Context, distributionName string, invalidationID string) (*v1beta1.InvalidationResponse, error) }
Click to show internal directories.
Click to hide internal directories.