Documentation ¶
Index ¶
- func Cleanup(options CleanupOptions) error
- func GCRImageRemove(image docker_registry.RepoImage, options CommonRepoOptions) error
- func HostCleanup(options CommonOptions) error
- func HostPurge(options CommonOptions) error
- func ImagesCleanup(options ImagesCleanupOptions) error
- func ImagesPurge(options CommonRepoOptions) error
- func ResetCacheVersion(options CommonOptions) error
- func ResetDevModeCache(options CommonOptions) error
- func StagesCleanup(options StagesCleanupOptions) error
- func StagesPurge(options CommonProjectOptions) error
- type CleanupOptions
- type CommonOptions
- type CommonProjectOptions
- type CommonRepoOptions
- type GitRepo
- type ImagesCleanupOptions
- type ImagesCleanupPolicies
- type StagesCleanupOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(options CleanupOptions) error
func GCRImageRemove ¶
func GCRImageRemove(image docker_registry.RepoImage, options CommonRepoOptions) error
func HostCleanup ¶
func HostCleanup(options CommonOptions) error
func HostPurge ¶
func HostPurge(options CommonOptions) error
func ImagesCleanup ¶
func ImagesCleanup(options ImagesCleanupOptions) error
func ImagesPurge ¶
func ImagesPurge(options CommonRepoOptions) error
func ResetCacheVersion ¶
func ResetCacheVersion(options CommonOptions) error
func ResetDevModeCache ¶
func ResetDevModeCache(options CommonOptions) error
func StagesCleanup ¶
func StagesCleanup(options StagesCleanupOptions) error
func StagesPurge ¶
func StagesPurge(options CommonProjectOptions) error
Types ¶
type CleanupOptions ¶
type CleanupOptions struct { ImagesCleanupOptions ImagesCleanupOptions StagesCleanupOptions StagesCleanupOptions }
type CommonOptions ¶
type CommonProjectOptions ¶
type CommonProjectOptions struct { ProjectName string CommonOptions CommonOptions }
type CommonRepoOptions ¶
type ImagesCleanupOptions ¶
type ImagesCleanupOptions struct { CommonRepoOptions CommonRepoOptions LocalGit GitRepo WithoutKube bool Policies ImagesCleanupPolicies }
type ImagesCleanupPolicies ¶
type ImagesCleanupPolicies struct { GitTagStrategyHasLimit bool // No limit by default! GitTagStrategyLimit int64 GitTagStrategyHasExpiryPeriod bool // No expiration by default! GitTagStrategyExpiryPeriod time.Duration GitCommitStrategyHasLimit bool // No limit by default! GitCommitStrategyLimit int64 GitCommitStrategyHasExpiryPeriod bool // No expiration by default! GitCommitStrategyExpiryPeriod time.Duration }
type StagesCleanupOptions ¶
type StagesCleanupOptions struct { CommonRepoOptions CommonRepoOptions CommonProjectOptions CommonProjectOptions }
Click to show internal directories.
Click to hide internal directories.