mock_writers

package
v5.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_writers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockWriter

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

MockWriter is a mock of Writer interface

func NewMockWriter

func NewMockWriter(ctrl *gomock.Controller) *MockWriter

NewMockWriter creates a new mock instance

func (*MockWriter) Close

func (m *MockWriter) Close() error

Close mocks base method

func (*MockWriter) EXPECT

func (m *MockWriter) EXPECT() *MockWriterMockRecorder

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

func (*MockWriter) MkdirAll

func (m *MockWriter) MkdirAll(path string, perm os.FileMode) error

MkdirAll mocks base method

func (*MockWriter) WriteFile

func (m *MockWriter) WriteFile(path string, b []byte, perm os.FileMode) error

WriteFile mocks base method

type MockWriterMockRecorder

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

MockWriterMockRecorder is the mock recorder for MockWriter

func (*MockWriterMockRecorder) Close

func (mr *MockWriterMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockWriterMockRecorder) MkdirAll

func (mr *MockWriterMockRecorder) MkdirAll(path, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll

func (*MockWriterMockRecorder) WriteFile

func (mr *MockWriterMockRecorder) WriteFile(path, b, perm interface{}) *gomock.Call

WriteFile indicates an expected call of WriteFile

type MockpkgtarWriter

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

MockpkgtarWriter is a mock of pkgtarWriter interface

func NewMockpkgtarWriter

func NewMockpkgtarWriter(ctrl *gomock.Controller) *MockpkgtarWriter

NewMockpkgtarWriter creates a new mock instance

func (*MockpkgtarWriter) Close

func (m *MockpkgtarWriter) Close() error

Close mocks base method

func (*MockpkgtarWriter) EXPECT

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

func (*MockpkgtarWriter) Write

func (m *MockpkgtarWriter) Write(p []byte) (int, error)

Write mocks base method

func (*MockpkgtarWriter) WriteHeader

func (m *MockpkgtarWriter) WriteHeader(arg0 *tar.Header) error

WriteHeader mocks base method

type MockpkgtarWriterMockRecorder

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

MockpkgtarWriterMockRecorder is the mock recorder for MockpkgtarWriter

func (*MockpkgtarWriterMockRecorder) Close

Close indicates an expected call of Close

func (*MockpkgtarWriterMockRecorder) Write

func (mr *MockpkgtarWriterMockRecorder) Write(p interface{}) *gomock.Call

Write indicates an expected call of Write

func (*MockpkgtarWriterMockRecorder) WriteHeader

func (mr *MockpkgtarWriterMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader

Jump to

Keyboard shortcuts

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