fake

package
v0.0.0-...-8f52349 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	builds.ClientInterface
}

type FakeClient

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

FakeClient is a mock of Client interface

func NewFakeClient

func NewFakeClient(ctrl *gomock.Controller) *FakeClient

NewFakeClient creates a new mock instance

func (*FakeClient) Create

Create mocks base method

func (*FakeClient) Delete

func (m *FakeClient) Delete(arg0 string, arg1 ...builds.DeleteOption) error

Delete mocks base method

func (*FakeClient) Diagnose

func (m *FakeClient) Diagnose(arg0 *doctor.Diagnostic)

Diagnose mocks base method

func (*FakeClient) EXPECT

func (m *FakeClient) EXPECT() *FakeClientMockRecorder

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

func (*FakeClient) Status

func (m *FakeClient) Status(arg0 string, arg1 ...builds.StatusOption) (bool, error)

Status mocks base method

func (*FakeClient) Tail

func (m *FakeClient) Tail(arg0 string, arg1 ...builds.TailOption) error

Tail mocks base method

type FakeClientMockRecorder

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

FakeClientMockRecorder is the mock recorder for FakeClient

func (*FakeClientMockRecorder) Create

func (mr *FakeClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Create indicates an expected call of Create

func (*FakeClientMockRecorder) Delete

func (mr *FakeClientMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*FakeClientMockRecorder) Diagnose

func (mr *FakeClientMockRecorder) Diagnose(arg0 interface{}) *gomock.Call

Diagnose indicates an expected call of Diagnose

func (*FakeClientMockRecorder) Status

func (mr *FakeClientMockRecorder) Status(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Status indicates an expected call of Status

func (*FakeClientMockRecorder) Tail

func (mr *FakeClientMockRecorder) Tail(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Tail indicates an expected call of Tail

Jump to

Keyboard shortcuts

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