Documentation ¶
Index ¶
- func ExtractZip(dir, fileName string) error
- func FetchResourceObjects(builder *resource.Builder, namespace string, labelSelectorParam string, ...) (runtime.Object, error)
- func ImgpkgPush(ctx context.Context, dir string, excludedFiles []string, ...) (string, error)
- func IsDir(fileName string) bool
- func IsZip(fileName string) bool
- func NewRegistry(ctx context.Context, registryOpts *RegistryOpts) (registry.Registry, error)
- func NewRegistryWithProgress(ctx context.Context, registryOpts *RegistryOpts) (*registry.WithProgress, error)
- func RetrieveContainerRemoteTransport(ctx context.Context) *http.RoundTripper
- func StashContainerRemoteTransport(ctx context.Context, rTripper http.RoundTripper) context.Context
- type RegistryOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractZip ¶ added in v0.7.0
ExtractZip extracts contents of fileName zip file to dir Returns error if there is any error reading from zip file into dir
func FetchResourceObjects ¶ added in v0.9.0
func ImgpkgPush ¶
func ImgpkgPush(ctx context.Context, dir string, excludedFiles []string, reg plainimage.ImagesWriter, image string) (string, error)
func NewRegistry ¶ added in v0.11.0
func NewRegistryWithProgress ¶ added in v0.10.0
func NewRegistryWithProgress(ctx context.Context, registryOpts *RegistryOpts) (*registry.WithProgress, error)
NewRegistryWithProgress creates new registry instance that provides progress updates to the logger
func RetrieveContainerRemoteTransport ¶ added in v0.9.0
func RetrieveContainerRemoteTransport(ctx context.Context) *http.RoundTripper
func StashContainerRemoteTransport ¶ added in v0.7.0
Types ¶
Click to show internal directories.
Click to hide internal directories.