Documentation ¶
Overview ¶
Package imageswriter provides different implementations of Helm chart images' writers
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractImages ¶
extractImages extracts the images from the templatized Helm chart Ref: https://mikeperry.io/posts/copy-helm-images/ helm template . \ | yq '..|.image? | select(.)' \ | sort \ | uniq \ | xargs -I % -n 1 -P 4 bash -c "docker pull % && docker tag % my.registry.com/% docker push my.registry.com/%"
func NewFileImagesWriter ¶
func NewFileImagesWriter(toDir string) *fileimageswriter
func NewNilImagesWriter ¶
func NewNilImagesWriter() *nilimageswriter
func NewStdoutImagesWriter ¶
func NewStdoutImagesWriter() *stdoutimageswriter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.