Documentation
¶
Index ¶
- func Cleanup(options CleanupOptions) error
- func GCRImageRemove(image docker_registry.RepoImage, options CommonRepoOptions) error
- func HostCleanup(options HostCleanupOptions) error
- func HostPurge(options HostPurgeOptions) error
- func ImagesCleanup(options ImagesCleanupOptions) error
- func ImagesPurge(options ImagesPurgeOptions) error
- func Purge(options PurgeOptions) error
- func StagesCleanup(options StagesCleanupOptions) error
- func StagesPurge(options StagesPurgeOptions) error
- type CleanupOptions
- type CommonOptions
- type CommonProjectOptions
- type CommonRepoOptions
- type GitRepo
- type HostCleanupOptions
- type HostPurgeOptions
- type ImagesCleanupOptions
- type ImagesCleanupPolicies
- type ImagesPurgeOptions
- type ImagesRepoManager
- type PurgeOptions
- type StagesCleanupOptions
- type StagesPurgeOptions
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 HostCleanupOptions) error
func HostPurge ¶
func HostPurge(options HostPurgeOptions) error
func ImagesCleanup ¶
func ImagesCleanup(options ImagesCleanupOptions) error
func ImagesPurge ¶
func ImagesPurge(options ImagesPurgeOptions) error
func Purge ¶
func Purge(options PurgeOptions) error
func StagesCleanup ¶
func StagesCleanup(options StagesCleanupOptions) error
func StagesPurge ¶
func StagesPurge(options StagesPurgeOptions) 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 CommonRepoOptions struct {
StagesStorage storage.StagesStorage
ImagesRepoManager ImagesRepoManager
ImagesNames []string
DryRun bool
}
type HostCleanupOptions ¶
type HostCleanupOptions struct {
DryRun bool
}
type HostPurgeOptions ¶
type ImagesCleanupOptions ¶
type ImagesCleanupOptions struct {
CommonRepoOptions CommonRepoOptions
LocalGit GitRepo
KubernetesContextsClients map[string]kubernetes.Interface
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
StagesSignatureStrategyHasLimit bool // No limit by default!
StagesSignatureStrategyLimit int64
StagesSignatureStrategyHasExpiryPeriod bool // No expiration by default!
StagesSignatureStrategyExpiryPeriod time.Duration
}
type ImagesPurgeOptions ¶
type ImagesPurgeOptions struct {
ImagesRepoManager ImagesRepoManager
ImagesNames []string
DryRun bool
}
type ImagesRepoManager ¶
type PurgeOptions ¶
type PurgeOptions struct {
ImagesPurgeOptions
StagesPurgeOptions
}
type StagesCleanupOptions ¶
type StagesCleanupOptions struct {
ProjectName string
ImagesRepoManager ImagesRepoManager
StagesStorage storage.StagesStorage
ImagesNames []string
DryRun bool
}
type StagesPurgeOptions ¶
Click to show internal directories.
Click to hide internal directories.