mocks

package
v0.0.0-...-b7d4a85 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProbeService

type ProbeService struct {
	mock.Mock
}

ProbeService is an autogenerated mock type for the Service type

func (*ProbeService) AddProbe

func (_m *ProbeService) AddProbe(ctx context.Context, probe model.ProbeRequest, projectID string) (*model.Probe, error)

AddProbe provides a mock function with given fields: ctx, probe, projectID

func (*ProbeService) DeleteProbe

func (_m *ProbeService) DeleteProbe(ctx context.Context, probeName string, projectID string) (bool, error)

DeleteProbe provides a mock function with given fields: ctx, probeName, projectID

func (*ProbeService) GenerateCronExperimentManifestWithProbes

func (_m *ProbeService) GenerateCronExperimentManifestWithProbes(manifest string, projectID string) (v1alpha1.CronWorkflow, error)

GenerateCronExperimentManifestWithProbes provides a mock function with given fields: manifest, projectID

func (*ProbeService) GenerateExperimentManifestWithProbes

func (_m *ProbeService) GenerateExperimentManifestWithProbes(manifest string, projectID string) (v1alpha1.Workflow, error)

GenerateExperimentManifestWithProbes provides a mock function with given fields: manifest, projectID

func (*ProbeService) GetProbe

func (_m *ProbeService) GetProbe(ctx context.Context, probeName string, projectID string) (*model.Probe, error)

GetProbe provides a mock function with given fields: ctx, probeName, projectID

func (*ProbeService) GetProbeReference

func (_m *ProbeService) GetProbeReference(ctx context.Context, probeName string, projectID string) (*model.GetProbeReferenceResponse, error)

GetProbeReference provides a mock function with given fields: ctx, probeName, projectID

func (*ProbeService) GetProbeYAMLData

func (_m *ProbeService) GetProbeYAMLData(ctx context.Context, probe model.GetProbeYAMLRequest, projectID string) (string, error)

GetProbeYAMLData provides a mock function with given fields: ctx, probe, projectID

func (*ProbeService) ListProbes

func (_m *ProbeService) ListProbes(ctx context.Context, probeNames []string, infrastructureType *model.InfrastructureType, filter *model.ProbeFilterInput, projectID string) ([]*model.Probe, error)

ListProbes provides a mock function with given fields: ctx, probeNames, infrastructureType, filter, projectID

func (*ProbeService) UpdateProbe

func (_m *ProbeService) UpdateProbe(ctx context.Context, probe model.ProbeRequest, projectID string) (string, error)

UpdateProbe provides a mock function with given fields: ctx, probe, projectID

func (*ProbeService) ValidateUniqueProbe

func (_m *ProbeService) ValidateUniqueProbe(ctx context.Context, probeName string, projectID string) (bool, error)

ValidateUniqueProbe provides a mock function with given fields: ctx, probeName, projectID

Jump to

Keyboard shortcuts

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