package deploy
import "github.com/gohugoio/hugo/deploy"
Index ¶
- func InvalidateCloudFront(ctx context.Context, target *deployconfig.Target) error
- func InvalidateGoogleCloudCDN(ctx context.Context, origin string) error
- type Deployer
Functions ¶
func InvalidateCloudFront ¶
func InvalidateCloudFront(ctx context.Context, target *deployconfig.Target) error
InvalidateCloudFront invalidates the CloudFront cache for distributionID. Uses AWS credentials config from the bucket URL.
func InvalidateGoogleCloudCDN ¶
Invalidate all of the content in a Google Cloud CDN distribution.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Deployer supports deploying the site to target cloud providers.
func New ¶
New constructs a new *Deployer.
func (*Deployer) Deploy ¶
Deploy deploys the site to a target.
Source Files ¶
cloudfront.go deploy.go deploy_azure.go google.go
Directories ¶
Path | Synopsis |
---|---|
deploy/deployconfig |
- Version
- v0.134.3
- Published
- Sep 19, 2024
- Platform
- windows/amd64
- Imports
- 37 packages
- Last checked
- 32 minutes ago –
Tools for package owners.