Help us shape the future of Go! Take the 2026 Go Developer Survey

testmocks

package
v0.40.10 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testmocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockLifecycle

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

MockLifecycle is a mock of Lifecycle interface.

func NewMockLifecycle

func NewMockLifecycle(ctrl *gomock.Controller) *MockLifecycle

NewMockLifecycle creates a new mock instance.

func (*MockLifecycle) Descriptor

func (m *MockLifecycle) Descriptor() builder.LifecycleDescriptor

Descriptor mocks base method.

func (*MockLifecycle) EXPECT

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

func (*MockLifecycle) Open

func (m *MockLifecycle) Open() (io.ReadCloser, error)

Open mocks base method.

type MockLifecycleMockRecorder

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

MockLifecycleMockRecorder is the mock recorder for MockLifecycle.

func (*MockLifecycleMockRecorder) Descriptor

func (mr *MockLifecycleMockRecorder) Descriptor() *gomock.Call

Descriptor indicates an expected call of Descriptor.

func (*MockLifecycleMockRecorder) Open

Open indicates an expected call of Open.

Jump to

Keyboard shortcuts

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