mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockK6Client

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

MockK6Client is a mock of Client interface.

func NewMockK6Client

func NewMockK6Client(ctrl *gomock.Controller) *MockK6Client

NewMockK6Client creates a new mock instance.

func (*MockK6Client) EXPECT

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

func (*MockK6Client) Start

func (m *MockK6Client) Start(arg0 context.Context, arg1 string, arg2 bool, arg3 map[string]string, arg4 io.Writer) (k6.TestRun, error)

Start mocks base method.

type MockK6ClientMockRecorder

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

MockK6ClientMockRecorder is the mock recorder for MockK6Client.

func (*MockK6ClientMockRecorder) Start

func (mr *MockK6ClientMockRecorder) Start(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockK6TestRun

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

MockK6TestRun is a mock of TestRun interface.

func NewMockK6TestRun

func NewMockK6TestRun(ctrl *gomock.Controller) *MockK6TestRun

NewMockK6TestRun creates a new mock instance.

func (*MockK6TestRun) CleanupContext added in v0.3.0

func (m *MockK6TestRun) CleanupContext()

CleanupContext mocks base method.

func (*MockK6TestRun) EXPECT

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

func (*MockK6TestRun) ExecutionDuration added in v0.3.0

func (m *MockK6TestRun) ExecutionDuration() time.Duration

ExecutionDuration mocks base method.

func (*MockK6TestRun) ExitCode added in v0.3.0

func (m *MockK6TestRun) ExitCode() int

ExitCode mocks base method.

func (*MockK6TestRun) Exited added in v0.3.0

func (m *MockK6TestRun) Exited() bool

Exited mocks base method.

func (*MockK6TestRun) Kill added in v0.3.0

func (m *MockK6TestRun) Kill() error

Kill mocks base method.

func (*MockK6TestRun) PID added in v0.3.0

func (m *MockK6TestRun) PID() int

PID mocks base method.

func (*MockK6TestRun) SetCancelFunc added in v0.3.0

func (m *MockK6TestRun) SetCancelFunc(arg0 context.CancelFunc)

SetCancelFunc mocks base method.

func (*MockK6TestRun) Wait

func (m *MockK6TestRun) Wait() error

Wait mocks base method.

type MockK6TestRunMockRecorder

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

MockK6TestRunMockRecorder is the mock recorder for MockK6TestRun.

func (*MockK6TestRunMockRecorder) CleanupContext added in v0.3.0

func (mr *MockK6TestRunMockRecorder) CleanupContext() *gomock.Call

CleanupContext indicates an expected call of CleanupContext.

func (*MockK6TestRunMockRecorder) ExecutionDuration added in v0.3.0

func (mr *MockK6TestRunMockRecorder) ExecutionDuration() *gomock.Call

ExecutionDuration indicates an expected call of ExecutionDuration.

func (*MockK6TestRunMockRecorder) ExitCode added in v0.3.0

func (mr *MockK6TestRunMockRecorder) ExitCode() *gomock.Call

ExitCode indicates an expected call of ExitCode.

func (*MockK6TestRunMockRecorder) Exited added in v0.3.0

func (mr *MockK6TestRunMockRecorder) Exited() *gomock.Call

Exited indicates an expected call of Exited.

func (*MockK6TestRunMockRecorder) Kill added in v0.3.0

Kill indicates an expected call of Kill.

func (*MockK6TestRunMockRecorder) PID added in v0.3.0

PID indicates an expected call of PID.

func (*MockK6TestRunMockRecorder) SetCancelFunc added in v0.3.0

func (mr *MockK6TestRunMockRecorder) SetCancelFunc(arg0 interface{}) *gomock.Call

SetCancelFunc indicates an expected call of SetCancelFunc.

func (*MockK6TestRunMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockSlackClient

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

MockSlackClient is a mock of Client interface.

func NewMockSlackClient

func NewMockSlackClient(ctrl *gomock.Controller) *MockSlackClient

NewMockSlackClient creates a new mock instance.

func (*MockSlackClient) AddFileToThreads

func (m *MockSlackClient) AddFileToThreads(arg0 map[string]string, arg1, arg2 string) error

AddFileToThreads mocks base method.

func (*MockSlackClient) EXPECT

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

func (*MockSlackClient) SendMessages

func (m *MockSlackClient) SendMessages(arg0 []string, arg1, arg2 string) (map[string]string, error)

SendMessages mocks base method.

func (*MockSlackClient) UpdateMessages

func (m *MockSlackClient) UpdateMessages(arg0 map[string]string, arg1, arg2 string) error

UpdateMessages mocks base method.

type MockSlackClientMockRecorder

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

MockSlackClientMockRecorder is the mock recorder for MockSlackClient.

func (*MockSlackClientMockRecorder) AddFileToThreads

func (mr *MockSlackClientMockRecorder) AddFileToThreads(arg0, arg1, arg2 interface{}) *gomock.Call

AddFileToThreads indicates an expected call of AddFileToThreads.

func (*MockSlackClientMockRecorder) SendMessages

func (mr *MockSlackClientMockRecorder) SendMessages(arg0, arg1, arg2 interface{}) *gomock.Call

SendMessages indicates an expected call of SendMessages.

func (*MockSlackClientMockRecorder) UpdateMessages

func (mr *MockSlackClientMockRecorder) UpdateMessages(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateMessages indicates an expected call of UpdateMessages.

Jump to

Keyboard shortcuts

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