api

package
v0.0.0-...-89c8abe Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "clutch.module.chaos.experimentation.api"
)

Variables

This section is empty.

Functions

func New

func New(_ *any.Any, logger *zap.Logger, scope tally.Scope) (module.Module, error)

New instantiates a Service object.

Types

type Service

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

Service contains all dependencies for the API service.

func (*Service) CancelExperimentRun

CancelExperimentRun cancels experiment that is currently running or is scheduled to be run in the future.

func (*Service) CreateExperiment

CreateExperiments adds experiments to the experiment store.

func (*Service) GetExperiments

GetExperiments returns all experiments from the experiment store.

func (*Service) Register

func (s *Service) Register(r module.Registrar) error

Jump to

Keyboard shortcuts

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