mocks

package
v0.0.0-...-cb886e6 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GHLauncher

type GHLauncher struct {
	mock.Mock
}

GHLauncher is an autogenerated mock type for the GHLauncher type

func NewGHLauncher

func NewGHLauncher(t mockConstructorTestingTNewGHLauncher) *GHLauncher

NewGHLauncher creates a new instance of GHLauncher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*GHLauncher) EXPECT

func (_m *GHLauncher) EXPECT() *GHLauncher_Expecter

func (*GHLauncher) LaunchEnvironment

func (_m *GHLauncher) LaunchEnvironment(ctx context.Context, req ghlauncher.LaunchEnvironmentRequest) error

LaunchEnvironment provides a mock function with given fields: ctx, req

type GHLauncher_Expecter

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

func (*GHLauncher_Expecter) LaunchEnvironment

func (_e *GHLauncher_Expecter) LaunchEnvironment(ctx interface{}, req interface{}) *GHLauncher_LaunchEnvironment_Call

LaunchEnvironment is a helper method to define mock.On call

  • ctx context.Context
  • req ghlauncher.LaunchEnvironmentRequest

type GHLauncher_LaunchEnvironment_Call

type GHLauncher_LaunchEnvironment_Call struct {
	*mock.Call
}

GHLauncher_LaunchEnvironment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LaunchEnvironment'

func (*GHLauncher_LaunchEnvironment_Call) Return

func (*GHLauncher_LaunchEnvironment_Call) Run

func (*GHLauncher_LaunchEnvironment_Call) RunAndReturn

Jump to

Keyboard shortcuts

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