remoterun

package
v0.0.0-...-fa857ea Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(ctx context.Context, k8sLogger *io.K8sLogger) *cobra.Command

Deploy starts the deploy command remotely. This is the command executed in the remote environment when okteto deploy is executed with the remote flag

func Destroy

func Destroy(ctx context.Context) *cobra.Command

Destroy starts the destroy command remotely. This is the command executed in the remote environment when destroy deploy is executed with the remote flag

func RemoteRun

func RemoteRun(ctx context.Context, k8sLogger *io.K8sLogger) *cobra.Command

RemoteRun starts the remote run command. This is the command executed in the remote environment when okteto deploy is executed with the remote flag

func Test

func Test(ctx context.Context) *cobra.Command

Test starts the test command remotely. This is the command executed in the remote environment when running okteto test

Types

type DeployCommand

type DeployCommand struct {
	// contains filtered or unexported fields
}

DeployCommand struct with the dependencies needed to run the deploy operation

func (*DeployCommand) Run

type DeployOptions

type DeployOptions struct {
	Name      string
	Variables []string
}

DeployOptions flags accepted by the remote-run deploy command

type DestroyCommand

type DestroyCommand struct {
	// contains filtered or unexported fields
}

DestroyCommand struct with the dependencies needed to run the destroy operation

func (*DestroyCommand) Run

type DestroyOptions

type DestroyOptions struct {
	Name         string
	Variables    []string
	ForceDestroy bool
}

DestroyOptions flags accepted by the remote-run destroy command

type TestOptions

type TestOptions struct {
	Name      string
	Variables []string
}

TestOptions flags accepted by the remote-run test command

Jump to

Keyboard shortcuts

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