mock

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockYAML added in v1.0.1

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

MockYAML is a mock of YAML interface.

func NewMockYAML added in v1.0.1

func NewMockYAML(ctrl *gomock.Controller) *MockYAML

NewMockYAML creates a new mock instance.

func (*MockYAML) EXPECT added in v1.0.1

func (m *MockYAML) EXPECT() *MockYAMLMockRecorder

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

func (*MockYAML) Marshal added in v1.0.1

func (m *MockYAML) Marshal(v interface{}) ([]byte, error)

Marshal mocks base method.

func (*MockYAML) MarshalWrite added in v1.0.1

func (m *MockYAML) MarshalWrite(destPath string, v interface{}) error

MarshalWrite mocks base method.

func (*MockYAML) Unmarshal added in v1.0.1

func (m *MockYAML) Unmarshal(data []byte, v interface{}) error

Unmarshal mocks base method.

func (*MockYAML) UnmarshalRead added in v1.0.1

func (m *MockYAML) UnmarshalRead(srcPath string, v interface{}) error

UnmarshalRead mocks base method.

type MockYAMLMockRecorder added in v1.0.1

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

MockYAMLMockRecorder is the mock recorder for MockYAML.

func (*MockYAMLMockRecorder) Marshal added in v1.0.1

func (mr *MockYAMLMockRecorder) Marshal(v interface{}) *gomock.Call

Marshal indicates an expected call of Marshal.

func (*MockYAMLMockRecorder) MarshalWrite added in v1.0.1

func (mr *MockYAMLMockRecorder) MarshalWrite(destPath, v interface{}) *gomock.Call

MarshalWrite indicates an expected call of MarshalWrite.

func (*MockYAMLMockRecorder) Unmarshal added in v1.0.1

func (mr *MockYAMLMockRecorder) Unmarshal(data, v interface{}) *gomock.Call

Unmarshal indicates an expected call of Unmarshal.

func (*MockYAMLMockRecorder) UnmarshalRead added in v1.0.1

func (mr *MockYAMLMockRecorder) UnmarshalRead(srcPath, v interface{}) *gomock.Call

UnmarshalRead indicates an expected call of UnmarshalRead.

Jump to

Keyboard shortcuts

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