handler

package
v0.0.0-...-4ddcd84 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(logFields logrus.Fields, message string) error

func GetProbeExecutionHistoryInExperimentRuns

func GetProbeExecutionHistoryInExperimentRuns(projectID string, probeName string) ([]*model.ProbeRecentExecutions, error)

Types

type Service

type Service interface {
	AddProbe(ctx context.Context, probe model.ProbeRequest, projectID string) (*model.Probe, error)
	UpdateProbe(ctx context.Context, probe model.ProbeRequest, projectID string) (string, error)
	ListProbes(ctx context.Context, probeNames []string, infrastructureType *model.InfrastructureType, filter *model.ProbeFilterInput, projectID string) ([]*model.Probe, error)
	DeleteProbe(ctx context.Context, probeName, projectID string) (bool, error)
	GetProbe(ctx context.Context, probeName, projectID string) (*model.Probe, error)
	GetProbeReference(ctx context.Context, probeName, projectID string) (*model.GetProbeReferenceResponse, error)
	GetProbeYAMLData(ctx context.Context, probe model.GetProbeYAMLRequest, projectID string) (string, error)
	ValidateUniqueProbe(ctx context.Context, probeName, projectID string) (bool, error)
}

func NewProbeService

func NewProbeService() Service

Jump to

Keyboard shortcuts

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