utils

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChaosControl

type ChaosControl struct {
	utils.Reconciler
}

func NewChaosControl

func NewChaosControl(r utils.Reconciler) *ChaosControl

func (*ChaosControl) GetChaosSpec

func (s *ChaosControl) GetChaosSpec(ctx context.Context, namespace string, fromTemplate v1alpha1.GenerateFromTemplate) (v1alpha1.ChaosSpec, error)

func (*ChaosControl) GetChaosSpecList

func (s *ChaosControl) GetChaosSpecList(ctx context.Context, namespace string, fromTemplate v1alpha1.GenerateFromTemplate) ([]v1alpha1.ChaosSpec, error)

type ChaosControlInterface

type ChaosControlInterface interface {
	GetChaosSpec(ctx context.Context, namespace string, fromTemplate v1alpha1.GenerateFromTemplate) (v1alpha1.ChaosSpec, error)

	GetChaosSpecList(ctx context.Context, namespace string, fromTemplate v1alpha1.GenerateFromTemplate) ([]v1alpha1.ChaosSpec, error)
}

Jump to

Keyboard shortcuts

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