orchestration

package
v0.0.137 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UseOrchestrator              = true
	UseHeadOrchestrator          = false
	SkipVersionCache             = false
	RenderOrchestratorDeployment = false
)

Functions

func CallDeploy

func CallDeploy(ctx context.Context, env cfg.Context, conn *grpc.ClientConn, plan *schema.DeployPlan) (string, error)

func Deploy

func Deploy(ctx context.Context, env cfg.Context, cluster runtime.ClusterNamespace, plan *schema.DeployPlan, wait, outputProgress bool) error

func ExecuteOpts added in v0.0.124

func ExecuteOpts() execution.ExecuteOpts

func MakeOrchestratorContext

func MakeOrchestratorContext(ctx context.Context, conf cfg.Configuration) (cfg.Context, error)

func MakeSyntheticConfiguration

func MakeSyntheticConfiguration(wsproto *schema.Workspace, envName string, hostEnv *client.HostEnv, extra ...proto.Message) cfg.Configuration

func MakeSyntheticContext

func MakeSyntheticContext(wsproto *schema.Workspace, env *schema.Environment, hostEnv *client.HostEnv, extra ...proto.Message) cfg.Context

func PrepareOrchestrator

func PrepareOrchestrator(ctx context.Context, targetEnv cfg.Configuration, cluster runtime.Cluster, wait bool) (any, error)

func RegisterPrepare

func RegisterPrepare()

func WireDeploymentStatus

func WireDeploymentStatus(ctx context.Context, conn *grpc.ClientConn, id string, ch chan *orchestration.Event) error

Types

type RemoteOrchestrator

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

func (*RemoteOrchestrator) Connect

func (c *RemoteOrchestrator) Connect(ctx context.Context) (*grpc.ClientConn, error)

Directories

Path Synopsis
This file was automatically generated by Namespace.
This file was automatically generated by Namespace.

Jump to

Keyboard shortcuts

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