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.PodHttpChaos) error + type Builder struct + Log logr.Logger + func NewBuilder(params Params) *Builder + func (b *Builder) WithInit(source string, key types.NamespacedName) *PodHttpManager + type Clear struct + Source string + func (s *Clear) Apply(chaos *v1alpha1.PodHttpChaos) 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 PodHttpManager struct + Key types.NamespacedName + Log logr.Logger + Source string + T *PodHttpTransaction + func (m *PodHttpManager) Commit(ctx context.Context) (int64, error) + func (m *PodHttpManager) CreateNewPodHttpChaos(ctx context.Context) error + type PodHttpTransaction struct + Steps []Step + func (t *PodHttpTransaction) Append(item interface{}) error + func (t *PodHttpTransaction) Apply(chaos *v1alpha1.PodHttpChaos) error + func (t *PodHttpTransaction) Clear(source string) + type Step interface + Apply func(chaos *v1alpha1.PodHttpChaos) error