mock_platforms

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2021 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_platforms is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPlatform

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

MockPlatform is a mock of Platform interface.

func NewMockPlatform

func NewMockPlatform(ctrl *gomock.Controller) *MockPlatform

NewMockPlatform creates a new mock instance.

func (*MockPlatform) CheckAllStatusSucceeded

func (m *MockPlatform) CheckAllStatusSucceeded(arg0, arg1, arg2 string, arg3 []string) (bool, error)

CheckAllStatusSucceeded mocks base method.

func (*MockPlatform) CreateStatus

func (m *MockPlatform) CreateStatus(arg0, arg1 string, arg2 *platforms.Status) error

CreateStatus mocks base method.

func (*MockPlatform) EXPECT

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

func (*MockPlatform) GetStatus

func (m *MockPlatform) GetStatus(arg0, arg1, arg2, arg3 string) (*platforms.Status, error)

GetStatus mocks base method.

func (*MockPlatform) ListReleases

func (m *MockPlatform) ListReleases(arg0, arg1 string) ([]*platforms.Release, error)

ListReleases mocks base method.

func (*MockPlatform) ListStatuses

func (m *MockPlatform) ListStatuses(arg0, arg1, arg2 string) ([]*platforms.Status, error)

ListStatuses mocks base method.

func (*MockPlatform) PublishRelease

func (m *MockPlatform) PublishRelease(arg0, arg1 string, arg2 interface{}) (bool, error)

PublishRelease mocks base method.

func (*MockPlatform) ReadFile

func (m *MockPlatform) ReadFile(arg0, arg1, arg2 string) (io.Reader, error)

ReadFile mocks base method.

type MockPlatformMockRecorder

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

MockPlatformMockRecorder is the mock recorder for MockPlatform.

func (*MockPlatformMockRecorder) CheckAllStatusSucceeded

func (mr *MockPlatformMockRecorder) CheckAllStatusSucceeded(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CheckAllStatusSucceeded indicates an expected call of CheckAllStatusSucceeded.

func (*MockPlatformMockRecorder) CreateStatus

func (mr *MockPlatformMockRecorder) CreateStatus(arg0, arg1, arg2 interface{}) *gomock.Call

CreateStatus indicates an expected call of CreateStatus.

func (*MockPlatformMockRecorder) GetStatus

func (mr *MockPlatformMockRecorder) GetStatus(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GetStatus indicates an expected call of GetStatus.

func (*MockPlatformMockRecorder) ListReleases

func (mr *MockPlatformMockRecorder) ListReleases(arg0, arg1 interface{}) *gomock.Call

ListReleases indicates an expected call of ListReleases.

func (*MockPlatformMockRecorder) ListStatuses

func (mr *MockPlatformMockRecorder) ListStatuses(arg0, arg1, arg2 interface{}) *gomock.Call

ListStatuses indicates an expected call of ListStatuses.

func (*MockPlatformMockRecorder) PublishRelease

func (mr *MockPlatformMockRecorder) PublishRelease(arg0, arg1, arg2 interface{}) *gomock.Call

PublishRelease indicates an expected call of PublishRelease.

func (*MockPlatformMockRecorder) ReadFile

func (mr *MockPlatformMockRecorder) ReadFile(arg0, arg1, arg2 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

Jump to

Keyboard shortcuts

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