Documentation
¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type Client
- type FakeClient
- func (m *FakeClient) Create(arg0 string, arg1 *v1alpha1.Source, arg2 ...sources.CreateOption) (*v1alpha1.Source, error)
- func (m *FakeClient) Delete(arg0, arg1 string, arg2 ...sources.DeleteOption) error
- func (m *FakeClient) EXPECT() *FakeClientMockRecorder
- func (m *FakeClient) Get(arg0, arg1 string, arg2 ...sources.GetOption) (*v1alpha1.Source, error)
- func (m *FakeClient) List(arg0 string, arg1 ...sources.ListOption) ([]v1alpha1.Source, error)
- func (m *FakeClient) Status(arg0, arg1 string) (bool, error)
- func (m *FakeClient) Tail(arg0 context.Context, arg1, arg2 string, arg3 io.Writer) error
- func (m *FakeClient) Transform(arg0, arg1 string, arg2 sources.Mutator) (*v1alpha1.Source, error)
- func (m *FakeClient) Update(arg0 string, arg1 *v1alpha1.Source, arg2 ...sources.UpdateOption) (*v1alpha1.Source, error)
- func (m *FakeClient) Upsert(arg0 string, arg1 *v1alpha1.Source, arg2 sources.Merger) (*v1alpha1.Source, error)
- func (m *FakeClient) WaitFor(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, ...) (*v1alpha1.Source, error)
- func (m *FakeClient) WaitForDeletion(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.Source, error)
- func (m *FakeClient) WaitForE(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, ...) (*v1alpha1.Source, error)
- type FakeClientMockRecorder
- func (mr *FakeClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Tail(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Transform(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitFor(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitForDeletion(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitForE(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.Source, arg2 ...sources.CreateOption) (*v1alpha1.Source, error)
Create mocks base method
func (*FakeClient) Delete ¶
func (m *FakeClient) Delete(arg0, arg1 string, arg2 ...sources.DeleteOption) error
Delete 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) List ¶
func (m *FakeClient) List(arg0 string, arg1 ...sources.ListOption) ([]v1alpha1.Source, error)
List mocks base method
func (*FakeClient) Status ¶
func (m *FakeClient) Status(arg0, arg1 string) (bool, error)
Status mocks base method
func (*FakeClient) Update ¶
func (m *FakeClient) Update(arg0 string, arg1 *v1alpha1.Source, arg2 ...sources.UpdateOption) (*v1alpha1.Source, error)
Update mocks base method
func (*FakeClient) Upsert ¶
func (m *FakeClient) Upsert(arg0 string, arg1 *v1alpha1.Source, arg2 sources.Merger) (*v1alpha1.Source, error)
Upsert mocks base method
func (*FakeClient) WaitFor ¶
func (m *FakeClient) WaitFor(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, arg4 sources.Predicate) (*v1alpha1.Source, error)
WaitFor 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, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*FakeClientMockRecorder) Get ¶
func (mr *FakeClientMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*FakeClientMockRecorder) List ¶
func (mr *FakeClientMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
List indicates an expected call of List
func (*FakeClientMockRecorder) Status ¶
func (mr *FakeClientMockRecorder) Status(arg0, arg1 interface{}) *gomock.Call
Status indicates an expected call of Status
func (*FakeClientMockRecorder) Tail ¶
func (mr *FakeClientMockRecorder) Tail(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Tail indicates an expected call of Tail
func (*FakeClientMockRecorder) Transform ¶
func (mr *FakeClientMockRecorder) Transform(arg0, arg1, arg2 interface{}) *gomock.Call
Transform indicates an expected call of Transform
func (*FakeClientMockRecorder) Update ¶
func (mr *FakeClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update
func (*FakeClientMockRecorder) Upsert ¶
func (mr *FakeClientMockRecorder) Upsert(arg0, arg1, arg2 interface{}) *gomock.Call
Upsert indicates an expected call of Upsert
func (*FakeClientMockRecorder) WaitFor ¶
func (mr *FakeClientMockRecorder) WaitFor(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
WaitFor indicates an expected call of WaitFor
func (*FakeClientMockRecorder) WaitForDeletion ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) WaitForDeletion(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForDeletion indicates an expected call of WaitForDeletion
func (*FakeClientMockRecorder) WaitForE ¶
func (mr *FakeClientMockRecorder) WaitForE(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
WaitForE indicates an expected call of WaitForE