pull

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 25 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanPullUpstream added in v0.9.0

func CanPullUpstream(upstreamURI string, pullOptions PullOptions) (bool, error)

CanPullUpstream will return a bool indicating if the specified upstream is accessible and authenticed for us.

func Pull

func Pull(upstreamURI string, pullOptions PullOptions) (string, error)

Pull will download the application specified in upstreamURI using the options specified in pullOptions. It returns the directory that the app was pulled to

func PullApplicationMetadata

func PullApplicationMetadata(upstreamURI string) ([]byte, error)

PullApplicationMetadata will return the application metadata yaml, if one is available for the upstream

Types

type PullOptions

type PullOptions struct {
	HelmRepoURI         string
	RootDir             string
	Namespace           string
	Downstreams         []string
	LocalPath           string
	LicenseFile         string
	ExcludeKotsKinds    bool
	ExcludeAdminConsole bool
	SharedPassword      string
	CreateAppDir        bool
	Silent              bool
	RewriteImages       bool
	RewriteImageOptions RewriteImageOptions
}

type RewriteImageOptions

type RewriteImageOptions struct {
	ImageFiles string
	Host       string
	Namespace  string
}

Jump to

Keyboard shortcuts

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