Back to / pkg / mock / gardener / utils / context

package context

Latest Go to latest
Published: 3 days ago | Licenses: Apache-2.0, BSD-2-Clause, MIT, MPL-2.0 | Module:


Package context is a generated GoMock package.


Package Files

type MockOps

type MockOps struct {
	// contains filtered or unexported fields

MockOps is a mock of Ops interface

func NewMockOps

func NewMockOps(ctrl *gomock.Controller) *MockOps

NewMockOps creates a new mock instance

func (*MockOps) EXPECT

func (m *MockOps) EXPECT() *MockOpsMockRecorder

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

func (*MockOps) WithTimeout

func (m *MockOps) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)

WithTimeout mocks base method

type MockOpsMockRecorder

type MockOpsMockRecorder struct {
	// contains filtered or unexported fields

MockOpsMockRecorder is the mock recorder for MockOps

func (*MockOpsMockRecorder) WithTimeout

func (mr *MockOpsMockRecorder) WithTimeout(arg0, arg1 interface{}) *gomock.Call

WithTimeout indicates an expected call of WithTimeout

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier