apps

package
v0.0.0-...-8f52349 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppsCommand

func NewAppsCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command

NewAppsCommand creates a apps command.

func NewDeleteCommand

func NewDeleteCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command

NewDeleteCommand creates a delete command.

func NewEnvCommand

func NewEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command

NewEnvCommand creates a Env command.

func NewGetAppCommand

func NewGetAppCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command

NewGetAppCommand creates a command to get details about a single application.

func NewLogsCommand

func NewLogsCommand(p *config.KfParams, tailer logs.Tailer) *cobra.Command

NewLogsCommand creates a Logs command.

func NewProxyCommand

func NewProxyCommand(p *config.KfParams, appsClient apps.Client, ingressLister istio.IngressLister) *cobra.Command

NewProxyCommand creates a command capable of proxying a remote server locally.

func NewPushCommand

func NewPushCommand(
	p *config.KfParams,
	client apps.Client,
	pusher apps.Pusher,
	b SrcImageBuilder,
	serviceBindingClient servicebindings.ClientInterface,
) *cobra.Command

NewPushCommand creates a push command.

func NewRestageCommand

func NewRestageCommand(
	p *config.KfParams,
	client apps.Client,
) *cobra.Command

NewRestageCommand creates a command capable of restaging an app.

func NewRestartCommand

func NewRestartCommand(
	p *config.KfParams,
	client apps.Client,
) *cobra.Command

NewRestartCommand creates a command capable of restarting an app.

func NewScaleCommand

func NewScaleCommand(
	p *config.KfParams,
	client apps.Client,
) *cobra.Command

NewScaleCommand creates a command capable of scaling an app.

func NewSetEnvCommand

func NewSetEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command

NewSetEnvCommand creates a SetEnv command.

func NewStartCommand

func NewStartCommand(
	p *config.KfParams,
	client apps.Client,
) *cobra.Command

NewStartCommand creates a command capable of starting an app.

func NewStopCommand

func NewStopCommand(
	p *config.KfParams,
	client apps.Client,
) *cobra.Command

NewStopCommand creates a command capable of stopping an app.

func NewUnsetEnvCommand

func NewUnsetEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command

NewUnsetEnvCommand creates a SetEnv command.

Types

type SrcImageBuilder

type SrcImageBuilder interface {
	BuildSrcImage(dir, srcImage string) error
}

SrcImageBuilder creates and uploads a container image that contains the contents of the argument 'dir'.

type SrcImageBuilderFunc

type SrcImageBuilderFunc func(dir, srcImage string, rebase bool) error

SrcImageBuilderFunc converts a func into a SrcImageBuilder.

func (SrcImageBuilderFunc) BuildSrcImage

func (f SrcImageBuilderFunc) BuildSrcImage(dir, srcImage string) error

BuildSrcImage implements SrcImageBuilder.

Jump to

Keyboard shortcuts

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