sandbox

package
v0.8.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	K8sEndpoint = "https://127.0.0.1:6443"

	DefaultFlyteConfig = "/opt/flyte/defaults.flyte.yaml"
)

Variables

This section is empty.

Functions

func MountVolume

func MountVolume(file, destination string) (*mount.Mount, error)

func PrintStatus added in v0.6.19

func PrintStatus(ctx context.Context, cli docker.Docker) error

func StartCluster

func StartCluster(ctx context.Context, args []string, sandboxConfig *sandboxCmdConfig.Config, defaultImageName string, defaultImagePrefix string, exposedPorts map[nat.Port]struct{}, portBindings map[nat.Port][]nat.PortBinding, consolePort int) error

func StartClusterForSandbox added in v0.6.24

func StartClusterForSandbox(ctx context.Context, args []string, sandboxConfig *sandboxCmdConfig.Config, defaultImageName string, defaultImagePrefix string, exposedPorts map[nat.Port]struct{}, portBindings map[nat.Port][]nat.PortBinding, consolePort int) error

StartClusterForSandbox is the code for the original multi deploy version of sandbox, should be removed once we document the new development experience for plugins.

func StartDemoCluster

func StartDemoCluster(ctx context.Context, args []string, sandboxConfig *sandboxCmdConfig.Config) error

func StartSandboxCluster

func StartSandboxCluster(ctx context.Context, args []string, sandboxConfig *sandboxCmdConfig.Config) error

func Teardown added in v0.6.4

func Teardown(ctx context.Context, cli docker.Docker, teardownFlags *sandboxCmdConfig.TeardownFlags) error

func UpdateLocalKubeContext

func UpdateLocalKubeContext(k8sCtxMgr k8s.ContextOps, dockerCtx string, contextName string, kubeConfigPath string) error

func WatchFlyteDeployment

func WatchFlyteDeployment(ctx context.Context, appsClient corev1.CoreV1Interface) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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