cleanup

package
v1.0.0-alpha.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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 ProjectImageStagesSync

func ProjectImageStagesSync(commonProjectOptions CommonProjectOptions, commonRepoOptions CommonRepoOptions) error

func ProjectImagesFlush

func ProjectImagesFlush(withImages bool, options CommonProjectOptions) error

func RemoveLostTmpWerfFiles

func RemoveLostTmpWerfFiles() error

func RepoImagesFlush

func RepoImagesFlush(withImages bool, options CommonRepoOptions) error

func ResetAll

func ResetAll(options CommonOptions) error

func ResetCacheVersion

func ResetCacheVersion(options CommonOptions) error

func ResetDevModeCache

func ResetDevModeCache(options CommonOptions) error

Types

type CleanupOptions

type CleanupOptions struct {
	CommonRepoOptions CommonRepoOptions
	LocalRepo         GitRepo
	WithoutKube       bool
}

type CommonOptions

type CommonOptions struct {
	DryRun bool
}

type CommonProjectOptions

type CommonProjectOptions struct {
	ProjectName   string
	CommonOptions CommonOptions
}

type CommonRepoOptions

type CommonRepoOptions struct {
	Repository  string
	ImagesNames []string
	DryRun      bool
}

type GitRepo

type GitRepo interface {
	IsCommitExists(commit string) (bool, error)
	TagsList() ([]string, error)
	RemoteBranchesList() ([]string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL