steps

package
v0.0.0-...-8540621 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployStep

type DeployStep interface {
	// Prepare runs any preparation steps that don't require an assigned cluster.
	Prepare() error
	// Deploy runs the deploy step, and returns any namespaces that should be deleted on Close.
	Deploy(*cluster.Context) ([]string, error)
	// Name returns a printable name for the deploy step.
	Name() string
}

DeployStep is the interface for running a stage in a given workloads deploy process.

func NewPrerenderedDeploy

func NewPrerenderedDeploy(spec *experimentpb.PrerenderedDeploy) DeployStep

NewPrerenderedDeploy creates a new DeployStep which deploys a prerendered set of yamls.

func NewPxDeploy

func NewPxDeploy(pxCtx *pixie.Context, spec *experimentpb.PxCLIDeploy) DeployStep

NewPxDeploy creates a new DeployStep that deploys some part of a workload to the cluster using the PX CLI.

func NewSkaffoldDeploy

func NewSkaffoldDeploy(spec *experimentpb.SkaffoldDeploy, containerRegistryRepo string) DeployStep

NewSkaffoldDeploy returns a new DeployStep which deploys a stage of a workload using skaffold.

Jump to

Keyboard shortcuts

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