upload

package
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartPortForward

func StartPortForward(namespace string, kubernetesConfigFlags *genericclioptions.ConfigFlags, stopCh <-chan struct{}, log *logger.Logger) (int, <-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
	KubernetesConfigFlags *genericclioptions.ConfigFlags
	NewAppName            string
}

type UploadOptions

type UploadOptions struct {
	Namespace             string
	UpstreamURI           string
	KubernetesConfigFlags *genericclioptions.ConfigFlags
	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