tools

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfIncludeTag

func CheckIfIncludeTag(repository string) bool

Types

type RepoUrl

type RepoUrl struct {
	// contains filtered or unexported fields
}

The RepoUrl will divide a images url to <registry>/<namespace>/<repo>:<tag>

func NewRepoUrl

func NewRepoUrl(url string) (*RepoUrl, error)

func (*RepoUrl) GetNamespace

func (r *RepoUrl) GetNamespace() string

func (*RepoUrl) GetRegistry

func (r *RepoUrl) GetRegistry() string

func (*RepoUrl) GetRepo

func (r *RepoUrl) GetRepo() string

func (*RepoUrl) GetRepoWithNamespace

func (r *RepoUrl) GetRepoWithNamespace() string

func (*RepoUrl) GetRepoWithTag

func (r *RepoUrl) GetRepoWithTag() string

func (*RepoUrl) GetTag

func (r *RepoUrl) GetTag() string

func (*RepoUrl) GetUrl

func (r *RepoUrl) GetUrl() string

func (*RepoUrl) GetUrlWithoutTag

func (r *RepoUrl) GetUrlWithoutTag() string

Jump to

Keyboard shortcuts

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