traces

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package traces is a generated GoMock package.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModuleInterface

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

MockModuleInterface is a mock of ModuleInterface interface.

func NewMockModuleInterface

func NewMockModuleInterface(ctrl *gomock.Controller) *MockModuleInterface

NewMockModuleInterface creates a new mock instance.

func (*MockModuleInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModuleInterface) Reconcile

func (m *MockModuleInterface) Reconcile(arg0 *v1alpha1.TracesSpec) error

Reconcile mocks base method.

func (*MockModuleInterface) Run

func (m *MockModuleInterface) Run()

Run mocks base method.

type MockModuleInterfaceMockRecorder

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

MockModuleInterfaceMockRecorder is the mock recorder for MockModuleInterface.

func (*MockModuleInterfaceMockRecorder) Reconcile

func (mr *MockModuleInterfaceMockRecorder) Reconcile(arg0 any) *gomock.Call

Reconcile indicates an expected call of Reconcile.

func (*MockModuleInterfaceMockRecorder) Run

Run indicates an expected call of Run.

type Module

type Module struct {
	*sync.RWMutex
	// contains filtered or unexported fields
}

func NewModule

func NewModule(ctx context.Context, pubsub pubsub.PubSubInterface) *Module

func (*Module) Reconcile

func (t *Module) Reconcile(spec *api.TracesSpec) error

func (*Module) Run

func (t *Module) Run()

type ModuleInterface

type ModuleInterface interface {
	// Run starts the trace module.
	Run()

	Reconcile(spec *api.TracesSpec) error
}

Jump to

Keyboard shortcuts

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