Documentation ¶
Index ¶
- type GHLauncher
- type GHLauncher_Expecter
- type GHLauncher_LaunchEnvironment_Call
- func (_c *GHLauncher_LaunchEnvironment_Call) Return(_a0 error) *GHLauncher_LaunchEnvironment_Call
- func (_c *GHLauncher_LaunchEnvironment_Call) Run(run func(ctx context.Context, req ghlauncher.LaunchEnvironmentRequest)) *GHLauncher_LaunchEnvironment_Call
- func (_c *GHLauncher_LaunchEnvironment_Call) RunAndReturn(run func(context.Context, ghlauncher.LaunchEnvironmentRequest) error) *GHLauncher_LaunchEnvironment_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GHLauncher ¶
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 ¶
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 (_c *GHLauncher_LaunchEnvironment_Call) Return(_a0 error) *GHLauncher_LaunchEnvironment_Call
func (*GHLauncher_LaunchEnvironment_Call) Run ¶
func (_c *GHLauncher_LaunchEnvironment_Call) Run(run func(ctx context.Context, req ghlauncher.LaunchEnvironmentRequest)) *GHLauncher_LaunchEnvironment_Call
func (*GHLauncher_LaunchEnvironment_Call) RunAndReturn ¶
func (_c *GHLauncher_LaunchEnvironment_Call) RunAndReturn(run func(context.Context, ghlauncher.LaunchEnvironmentRequest) error) *GHLauncher_LaunchEnvironment_Call
Click to show internal directories.
Click to hide internal directories.