Versions in this module Expand all Collapse all v0 v0.0.1 Nov 5, 2023 Changes in this version + var DefaultConfig = DeployConfig + func InvalidateCloudFront(ctx context.Context, target *Target) error + func InvalidateGoogleCloudCDN(ctx context.Context, origin string) error + type DeployConfig struct + Confirm bool + DryRun bool + Force bool + InvalidateCDN bool + Matchers []*Matcher + MaxDeletes int + Order []string + Target string + Targets []*Target + Workers int + func DecodeConfig(cfg config.Provider) (DeployConfig, error) + type Deployer struct + func New(cfg config.AllProvider, logger loggers.Logger, localFs afero.Fs) (*Deployer, error) + func (d *Deployer) Deploy(ctx context.Context) error + type Matcher struct + CacheControl string + ContentEncoding string + ContentType string + Force bool + Gzip bool + Pattern string + func (m *Matcher) Matches(path string) bool + type Target struct + CloudFrontDistributionID string + Exclude string + GoogleCloudCDNOrigin string + Include string + Name string + URL string