Documentation ¶
Index ¶
- type DockerImage
- func ListChartImages(helmPath string, chartPath string, args []string) (images []DockerImage, err error)
- func NewDockerImage(imageMap map[string]string) (DockerImage, error)
- func NewDockerImageFromString(input string) (DockerImage, error)
- func ParseImages(buf *bytes.Buffer) (images []DockerImage, err error)
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
Click to show internal directories.
Click to hide internal directories.