Documentation
¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type Client
- type FakeClient
- func (m *FakeClient) Create(arg0 string, arg1 v1alpha1.TemplateInstantiationSpec, ...) (*v1alpha1.Build, error)
- func (m *FakeClient) Delete(arg0 string, arg1 ...builds.DeleteOption) error
- func (m *FakeClient) Diagnose(arg0 *doctor.Diagnostic)
- func (m *FakeClient) EXPECT() *FakeClientMockRecorder
- func (m *FakeClient) Status(arg0 string, arg1 ...builds.StatusOption) (bool, error)
- func (m *FakeClient) Tail(arg0 string, arg1 ...builds.TailOption) error
- type FakeClientMockRecorder
- func (mr *FakeClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Delete(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Diagnose(arg0 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Status(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Tail(arg0 interface{}, arg1 ...interface{}) *gomock.Call
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 ¶
func (m *FakeClient) Create(arg0 string, arg1 v1alpha1.TemplateInstantiationSpec, arg2 ...builds.CreateOption) (*v1alpha1.Build, error)
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
Click to show internal directories.
Click to hide internal directories.