Documentation ¶
Index ¶
- type Release
- func (r *Release) Cleanup(keep int) error
- func (r *Release) Create(originPath string) error
- func (r *Release) Deploy(originPath string, keep int, prune bool) error
- func (r *Release) PrunedDirs(keep int) ([]string, error)
- func (r *Release) Rollback() error
- func (r *Release) SetReleasePath(timestamp string)
- func (r *Release) Symlink() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Release ¶
type Release struct { Timestamp string DeployPath string ReleasesPath string ReleasePath string CurrentPath string }
func NewRelease ¶
func (*Release) PrunedDirs ¶
PrunedDirs returns the string slice of directories that it will be pruned.
func (*Release) SetReleasePath ¶
Click to show internal directories.
Click to hide internal directories.