chaoshub

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloningInputFrom

func NewCloningInputFrom(chaosHub model.CreateChaosHubRequest) model.CloningInput

Types

type Service

type Service interface {
	AddChaosHub(ctx context.Context, chaosHub model.CreateChaosHubRequest) (*model.ChaosHub, error)
	AddRemoteChaosHub(ctx context.Context, chaosHub model.CreateRemoteChaosHub) (*model.ChaosHub, error)
	SaveChaosHub(ctx context.Context, chaosHub model.CreateChaosHubRequest) (*model.ChaosHub, error)
	SyncHub(ctx context.Context, hubID string, projectID string) (string, error)
	UpdateChaosHub(ctx context.Context, chaosHub model.UpdateChaosHubRequest) (*model.ChaosHub, error)
	DeleteChaosHub(ctx context.Context, hubID string, projectID string) (bool, error)
	ListCharts(ctx context.Context, hubName string, projectID string) ([]*model.Chart, error)
	GetHubExperiment(ctx context.Context, request model.ExperimentRequest) (*model.Chart, error)
	ListHubStatus(ctx context.Context, projectID string) ([]*model.ChaosHubStatus, error)
	GetYAMLData(request model.ExperimentRequest) (string, error)
	GetExperimentManifestDetails(ctx context.Context, request model.ExperimentRequest) (*model.ExperimentDetails, error)
	ListPredefinedWorkflows(hubName string, projectID string) ([]*model.PredefinedWorkflowList, error)
	GetPredefinedExperimentYAMLData(request model.ExperimentRequest) (string, error)
	IsChaosHubAvailable(ctx context.Context, hubName string, projectID string) (bool, error)
	GetAllHubs(ctx context.Context) ([]*model.ChaosHub, error)
	RecurringHubSync()
}

func NewService

func NewService(chaosHubOperator *dbSchemaChaosHub.Operator) Service

NewService returns a new instance of Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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