Documentation ¶
Index ¶
- func NewDeletePodActionSpec(client *channel.Client) spec.ExpActionCommandSpec
- func NewExpController(client *channel.Client) model.ExperimentController
- func NewFailPodActionSpec(client *channel.Client) spec.ExpActionCommandSpec
- func NewPodIOActionSpec(client *channel.Client) spec.ExpActionCommandSpec
- func NewResourceModelSpec(client *channel.Client) model.ResourceExpModelSpec
- func NewSelfExpModelCommandSpec(client *channel.Client) spec.ExpModelCommandSpec
- type DeletePodActionExecutor
- type DeletePodActionSpec
- type ExpController
- type FailPodActionExecutor
- type FailPodActionSpec
- type PodIOActionExecutor
- type PodIOActionSpec
- type ResourceModelSpec
- type SelfExpModelCommandSpec
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) Name ¶
func (*DeletePodActionExecutor) Name() string
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 ¶
func (e *ExpController) Create(ctx context.Context, expSpec v1alpha1.ExperimentSpec) *spec.Response
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) 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) 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) Name() string
func (*SelfExpModelCommandSpec) ShortDesc ¶
func (*SelfExpModelCommandSpec) ShortDesc() string
Click to show internal directories.
Click to hide internal directories.