mocks

package
v0.0.58 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExtractor

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

Mock of Extractor interface

func NewMockExtractor

func NewMockExtractor(ctrl *gomock.Controller) *MockExtractor

func (*MockExtractor) EXPECT

func (_m *MockExtractor) EXPECT() *_MockExtractorRecorder

func (*MockExtractor) Extract

func (_m *MockExtractor) Extract(_param0 string) (release.Release, error)

type MockManager

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

Mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

func (*MockManager) Add

func (_m *MockManager) Add(_param0 release.Release)

func (*MockManager) DeleteAll

func (_m *MockManager) DeleteAll() error

func (*MockManager) EXPECT

func (_m *MockManager) EXPECT() *_MockManagerRecorder

func (*MockManager) Find

func (_m *MockManager) Find(_param0 string) (release.Release, bool)

func (*MockManager) List

func (_m *MockManager) List() []release.Release

Jump to

Keyboard shortcuts

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