pod

package
v1.8.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeletePodActionSpec

func NewDeletePodActionSpec(client *channel.Client) spec.ExpActionCommandSpec

func NewExpController

func NewExpController(client *channel.Client) model.ExperimentController

func NewFailPodActionSpec

func NewFailPodActionSpec(client *channel.Client) spec.ExpActionCommandSpec

func NewPodIOActionSpec

func NewPodIOActionSpec(client *channel.Client) spec.ExpActionCommandSpec

func NewResourceModelSpec

func NewResourceModelSpec(client *channel.Client) model.ResourceExpModelSpec

func NewSelfExpModelCommandSpec

func NewSelfExpModelCommandSpec(client *channel.Client) spec.ExpModelCommandSpec

Types

type DeletePodActionExecutor

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

func (*DeletePodActionExecutor) Exec

func (*DeletePodActionExecutor) Name

func (*DeletePodActionExecutor) SetChannel

func (*DeletePodActionExecutor) SetChannel(channel spec.Channel)

type DeletePodActionSpec

type DeletePodActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*DeletePodActionSpec) Aliases

func (*DeletePodActionSpec) Aliases() []string

func (*DeletePodActionSpec) LongDesc

func (*DeletePodActionSpec) LongDesc() string

func (*DeletePodActionSpec) Name

func (*DeletePodActionSpec) Name() string

func (*DeletePodActionSpec) ShortDesc

func (*DeletePodActionSpec) ShortDesc() string

type ExpController

type ExpController struct {
	model.BaseExperimentController
}

func (*ExpController) Create

Create pod resource experiments

func (*ExpController) Destroy

func (e *ExpController) Destroy(ctx context.Context, expSpec v1alpha1.ExperimentSpec, oldExpStatus v1alpha1.ExperimentStatus) *spec.Response

func (*ExpController) Name

func (*ExpController) Name() string

type FailPodActionExecutor

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

func (*FailPodActionExecutor) Exec

func (*FailPodActionExecutor) Name

func (*FailPodActionExecutor) Name() string

func (*FailPodActionExecutor) SetChannel

func (*FailPodActionExecutor) SetChannel(channel spec.Channel)

type FailPodActionSpec

type FailPodActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*FailPodActionSpec) Aliases

func (*FailPodActionSpec) Aliases() []string

func (*FailPodActionSpec) LongDesc

func (*FailPodActionSpec) LongDesc() string

func (*FailPodActionSpec) Name

func (*FailPodActionSpec) Name() string

func (*FailPodActionSpec) ShortDesc

func (*FailPodActionSpec) ShortDesc() string

type PodIOActionExecutor

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

func (*PodIOActionExecutor) Exec

func (d *PodIOActionExecutor) Exec(uid string, ctx context.Context, model *spec.ExpModel) *spec.Response

func (*PodIOActionExecutor) Name

func (*PodIOActionExecutor) Name() string

func (*PodIOActionExecutor) SetChannel

func (*PodIOActionExecutor) SetChannel(channel spec.Channel)

type PodIOActionSpec

type PodIOActionSpec struct {
	spec.BaseExpActionCommandSpec
}

func (*PodIOActionSpec) Aliases

func (*PodIOActionSpec) Aliases() []string

func (*PodIOActionSpec) LongDesc

func (*PodIOActionSpec) LongDesc() string

func (*PodIOActionSpec) Name

func (*PodIOActionSpec) Name() string

func (*PodIOActionSpec) ShortDesc

func (*PodIOActionSpec) ShortDesc() string

type ResourceModelSpec

type ResourceModelSpec struct {
	model.BaseResourceExpModelSpec
}

type SelfExpModelCommandSpec

type SelfExpModelCommandSpec struct {
	spec.BaseExpModelCommandSpec
}

func (*SelfExpModelCommandSpec) Example

func (*SelfExpModelCommandSpec) Example() string

func (*SelfExpModelCommandSpec) LongDesc

func (*SelfExpModelCommandSpec) LongDesc() string

func (*SelfExpModelCommandSpec) Name

func (*SelfExpModelCommandSpec) ShortDesc

func (*SelfExpModelCommandSpec) ShortDesc() string

Jump to

Keyboard shortcuts

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