Documentation ¶
Index ¶
- func NewAppsCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command
- func NewDeleteCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command
- func NewEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command
- func NewGetAppCommand(p *config.KfParams, appsClient apps.Client) *cobra.Command
- func NewLogsCommand(p *config.KfParams, tailer logs.Tailer) *cobra.Command
- func NewProxyCommand(p *config.KfParams, appsClient apps.Client, ingressLister istio.IngressLister) *cobra.Command
- func NewPushCommand(p *config.KfParams, client apps.Client, pusher apps.Pusher, b SrcImageBuilder, ...) *cobra.Command
- func NewRestageCommand(p *config.KfParams, client apps.Client) *cobra.Command
- func NewRestartCommand(p *config.KfParams, client apps.Client) *cobra.Command
- func NewScaleCommand(p *config.KfParams, client apps.Client) *cobra.Command
- func NewSetEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command
- func NewStartCommand(p *config.KfParams, client apps.Client) *cobra.Command
- func NewStopCommand(p *config.KfParams, client apps.Client) *cobra.Command
- func NewUnsetEnvCommand(p *config.KfParams, appClient apps.Client) *cobra.Command
- type SrcImageBuilder
- type SrcImageBuilderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppsCommand ¶
NewAppsCommand creates a apps command.
func NewDeleteCommand ¶
NewDeleteCommand creates a delete command.
func NewEnvCommand ¶
NewEnvCommand creates a Env command.
func NewGetAppCommand ¶
NewGetAppCommand creates a command to get details about a single application.
func NewLogsCommand ¶
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 ¶
NewRestageCommand creates a command capable of restaging an app.
func NewRestartCommand ¶
NewRestartCommand creates a command capable of restarting an app.
func NewScaleCommand ¶
NewScaleCommand creates a command capable of scaling an app.
func NewSetEnvCommand ¶
NewSetEnvCommand creates a SetEnv command.
func NewStartCommand ¶
NewStartCommand creates a command capable of starting an app.
func NewStopCommand ¶
NewStopCommand creates a command capable of stopping an app.
Types ¶
type SrcImageBuilder ¶
SrcImageBuilder creates and uploads a container image that contains the contents of the argument 'dir'.
type SrcImageBuilderFunc ¶
SrcImageBuilderFunc converts a func into a SrcImageBuilder.
func (SrcImageBuilderFunc) BuildSrcImage ¶
func (f SrcImageBuilderFunc) BuildSrcImage(dir, srcImage string) error
BuildSrcImage implements SrcImageBuilder.