Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployedFiles ¶
DeployedFiles is a map of file keys to file hashes.
type Deployer ¶
Deployer is a client for deploying artifacts.
func (*Deployer) NewDeployment ¶
func (d *Deployer) NewDeployment(sourceBucket string, targetBucket string, targetRegion string) *Deployment
type Deployment ¶
type Deployment struct { SourceBucket string TargetBucket string // contains filtered or unexported fields }
Deployment is responsible for deploying artifacts from a source bucket to a target bucket.
func (*Deployment) Deploy ¶
func (d *Deployment) Deploy(key string, version *string) (DeployedFiles, error)
Deploy deploys the artifact with the given key from the source bucket to the target bucket.
func (*Deployment) HashesForArtifact ¶
func (d *Deployment) HashesForArtifact(key string, version *string) (DeployedFiles, error)
HashesForArtifact returns all files that are in the given zip.
func (*Deployment) HashesForDeployedFiles ¶
func (d *Deployment) HashesForDeployedFiles() (DeployedFiles, error)
HashesForDeployedFiles returns all files that have been deployed to the target bucket.
Click to show internal directories.
Click to hide internal directories.