orchestration

package
v0.0.72 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UseOrchestrator              = true
	RenderOrchestratorDeployment = false
)
View Source
var UsePinnedOrchestrator = true

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 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