MCPcopy Create free account
hub / github.com/bep/s3deploy / CreateInvalidation

Method CreateInvalidation

lib/cloudfront.go:54–54  ·  view source on GitHub ↗
(ctx context.Context, params *cloudfront.CreateInvalidationInput, optFns ...func(*cloudfront.Options))

Source from the content-addressed store, hash-verified

52type cloudfrontHandler interface {
53 GetDistribution(ctx context.Context, params *cloudfront.GetDistributionInput, optFns ...func(*cloudfront.Options)) (*cloudfront.GetDistributionOutput, error)
54 CreateInvalidation(ctx context.Context, params *cloudfront.CreateInvalidationInput, optFns ...func(*cloudfront.Options)) (*cloudfront.CreateInvalidationOutput, error)
55}
56
57func (c *cloudFrontClient) InvalidateCDNCache(ctx context.Context, paths ...string) error {

Callers 1

InvalidateCDNCacheMethod · 0.65

Implementers 1

mockCloudfrontHandlerlib/cloudfront_test.go

Calls

no outgoing calls

Tested by

no test coverage detected