Versions in this module Expand all Collapse all v2 v2.0.0 Apr 23, 2023 Changes in this version + var ErrPodNotFound = errors.New("pod not found") + var ErrPodNotRunning = errors.New("pod not running") + type Append struct + Item interface{} + func (a *Append) Apply(chaos *v1alpha1.PodIOChaos) error + type Builder struct + Log logr.Logger + func NewBuilder(params Params) *Builder + func (b *Builder) WithInit(source string, key types.NamespacedName) *PodIOManager + type Clear struct + Source string + func (s *Clear) Apply(chaos *v1alpha1.PodIOChaos) error + type CommitResponse struct + Err error + Key types.NamespacedName + type Params struct + Client client.Client + Logger logr.Logger + Reader client.Reader + Scheme *runtime.Scheme + type PodIOManager struct + Key types.NamespacedName + Log logr.Logger + Source string + T *PodIOTransaction + func (m *PodIOManager) Commit(ctx context.Context, owner *v1alpha1.IOChaos) (int64, error) + func (m *PodIOManager) CreateNewPodIOChaos(ctx context.Context) error + type PodIOTransaction struct + Steps []Step + func (t *PodIOTransaction) Append(item interface{}) error + func (t *PodIOTransaction) Apply(chaos *v1alpha1.PodIOChaos) error + func (t *PodIOTransaction) Clear(source string) + func (t *PodIOTransaction) SetContainer(container string) error + func (t *PodIOTransaction) SetVolumePath(path string) error + type SetContainer struct + Container string + func (s *SetContainer) Apply(chaos *v1alpha1.PodIOChaos) error + type SetVolumePath struct + Path string + func (s *SetVolumePath) Apply(chaos *v1alpha1.PodIOChaos) error + type Step interface + Apply func(chaos *v1alpha1.PodIOChaos) error