Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workload ¶
type Workload interface { Name() string Prepare() error Start(*cluster.Context) error WaitForHealthCheck(context.Context, *cluster.Context, *experimentpb.ClusterSpec) error Close() error }
Workload is the interface for workloads that get deployed to the experiment cluster.
func NewWorkload ¶
func NewWorkload(pxCtx *pixie.Context, containerRegistryRepo string, spec *experimentpb.WorkloadSpec) (Workload, error)
NewWorkload creates a new Workload capable of deploying according to the spec given.
Click to show internal directories.
Click to hide internal directories.