upload

package
v1.7.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPortForward

func StartPortForward(namespace string, kubeconfig string, stopCh <-chan struct{}) (<-chan error, error)

func Upload

func Upload(path string, uploadOptions UploadOptions) error

Upload will upload the application version at path using the options in uploadOptions

func UploadLicense

func UploadLicense(path string, uploadLicenseOptions UploadLicenseOptions) error

Types

type UploadLicenseOptions

type UploadLicenseOptions struct {
	Namespace  string
	Kubeconfig string
	NewAppName string
}

type UploadOptions

type UploadOptions struct {
	Namespace       string
	UpstreamURI     string
	Kubeconfig      string
	ExistingAppSlug string
	NewAppName      string
	RegistryOptions registry.RegistryOptions
	Endpoint        string
	Silent          bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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