list_images

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerImage

type DockerImage struct {
	Registry string `mapstructure:"registry"`
	Repo     string `mapstructure:"repo"`
	Image    string `mapstructure:"image"`
	Tag      string `mapstructure:"tag"`
	ShaRef   string `mapstructure:"sharef"`
}

func ListChartImages

func ListChartImages(helmPath string, chartPath string, args []string) (images []DockerImage, err error)

func NewDockerImage

func NewDockerImage(imageMap map[string]string) (DockerImage, error)

func NewDockerImageFromString added in v0.2.0

func NewDockerImageFromString(input string) (DockerImage, error)

func ParseImages

func ParseImages(buf *bytes.Buffer) (images []DockerImage, err error)

func (DockerImage) PullReference

func (image DockerImage) PullReference(includeRegistry bool) string

Returns a valid docker pull reference including the sha reference in case there is one

func (DockerImage) PushReference

func (image DockerImage) PushReference(includeRegistry bool) string

Returns a valid docker push reference using the sha as tag if the sha reference was present

func (*DockerImage) RepoAddress

func (image *DockerImage) RepoAddress() string

Returns only the registry and the repository

Jump to

Keyboard shortcuts

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