Documentation ¶
Index ¶
- Variables
- func CanPullUpstream(upstreamURI string, pullOptions PullOptions) (bool, error)
- func Pull(upstreamURI string, pullOptions PullOptions) (string, error)
- func PullApplicationMetadata(upstreamURI string) ([]byte, error)
- func RewriteUpstream(upstreamURI string) string
- type KeySignature
- type PullOptions
- type RewriteImageOptions
- type Signature
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSignatureInvalid = errors.New("license signature is invalid") ErrSignatureMissing = errors.New("license signature is missing") )
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 authenticated 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 ¶
PullApplicationMetadata will return the application metadata yaml, if one is available for the upstream
func RewriteUpstream ¶
Types ¶
type KeySignature ¶ added in v0.9.15
type PullOptions ¶
type PullOptions struct { HelmRepoURI string RootDir string Namespace string Downstreams []string LocalPath string LicenseFile string ExcludeKotsKinds bool ExcludeAdminConsole bool CreateAppDir bool Silent bool RewriteImages bool RewriteImageOptions RewriteImageOptions HelmOptions []string ReportWriter io.Writer }
type RewriteImageOptions ¶
Click to show internal directories.
Click to hide internal directories.