source

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractZip added in v0.7.0

func ExtractZip(dir, fileName string) error

ExtractZip extracts contents of fileName zip file to dir Returns error if there is any error reading from zip file into dir

func ImgpkgPush

func ImgpkgPush(ctx context.Context, dir string, excludedFiles []string, registryOpts *RegistryOpts, image string) (string, error)

func IsDir added in v0.7.0

func IsDir(fileName string) bool

func IsZip added in v0.7.0

func IsZip(fileName string) bool

func RetrieveStashContainerRemoteTransport added in v0.7.0

func RetrieveStashContainerRemoteTransport(ctx context.Context) *http.RoundTripper

func StashContainerRemoteTransport added in v0.7.0

func StashContainerRemoteTransport(ctx context.Context, rTripper http.RoundTripper) context.Context

Types

type RegistryOpts added in v0.8.0

type RegistryOpts struct {
	CACertPaths      []string
	RegistryUsername string
	RegistryPassword string
	RegistryToken    string
}

Jump to

Keyboard shortcuts

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