cleanup

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2018 License: Apache-2.0 Imports: 21 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 ProjectDimgstagesSync

func ProjectDimgstagesSync(commonProjectOptions CommonProjectOptions, commonRepoOptions CommonRepoOptions) error

func ProjectImagesFlush

func ProjectImagesFlush(withDimgs bool, options CommonProjectOptions) error

func RepoImagesFlush

func RepoImagesFlush(withDimgs 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
	DimgsNames []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