Documentation
¶
Overview ¶
Package fake is a generated GoMock package.
Package fake is a generated GoMock package.
Index ¶
- type Client
- type FakeClient
- func (m *FakeClient) BindService(arg0, arg1 string, arg2 *v1alpha1.AppSpecServiceBinding) (*v1alpha1.App, error)
- func (m *FakeClient) Create(arg0 string, arg1 *v1alpha1.App, arg2 ...apps.CreateOption) (*v1alpha1.App, error)
- func (m *FakeClient) Delete(arg0, arg1 string, arg2 ...apps.DeleteOption) error
- func (m *FakeClient) DeleteInForeground(arg0, arg1 string) error
- func (m *FakeClient) DeployLogs(arg0 io.Writer, arg1, arg2, arg3 string, arg4 bool) error
- func (m *FakeClient) DeployLogsForApp(arg0 io.Writer, arg1 *v1alpha1.App) error
- func (m *FakeClient) EXPECT() *FakeClientMockRecorder
- func (m *FakeClient) Get(arg0, arg1 string, arg2 ...apps.GetOption) (*v1alpha1.App, error)
- func (m *FakeClient) List(arg0 string, arg1 ...apps.ListOption) ([]v1alpha1.App, error)
- func (m *FakeClient) Restage(arg0, arg1 string) (*v1alpha1.App, error)
- func (m *FakeClient) Restart(arg0, arg1 string) error
- func (m *FakeClient) Transform(arg0, arg1 string, arg2 apps.Mutator) (*v1alpha1.App, error)
- func (m *FakeClient) UnbindService(arg0, arg1, arg2 string) (*v1alpha1.App, error)
- func (m *FakeClient) Update(arg0 string, arg1 *v1alpha1.App, arg2 ...apps.UpdateOption) (*v1alpha1.App, error)
- func (m *FakeClient) Upsert(arg0 string, arg1 *v1alpha1.App, arg2 apps.Merger) (*v1alpha1.App, error)
- func (m *FakeClient) WaitFor(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, ...) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForConditionKnativeServiceReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForConditionReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForConditionRoutesReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForConditionServiceBindingsReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForDeletion(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
- func (m *FakeClient) WaitForE(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, ...) (*v1alpha1.App, error)
- type FakeClientMockRecorder
- func (mr *FakeClientMockRecorder) BindService(arg0, arg1, arg2 interface{}) *gomock.Call
- 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) DeleteInForeground(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) DeployLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) DeployLogsForApp(arg0, arg1 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) Restage(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Restart(arg0, arg1 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) Transform(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) UnbindService(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) WaitForConditionKnativeServiceReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitForConditionReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitForConditionRoutesReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *FakeClientMockRecorder) WaitForConditionServiceBindingsReadyTrue(arg0, arg1, arg2, arg3 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
- type FakePusher
- type FakePusherMockRecorder
- type Pusher
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) BindService ¶ added in v0.2.0
func (m *FakeClient) BindService(arg0, arg1 string, arg2 *v1alpha1.AppSpecServiceBinding) (*v1alpha1.App, error)
BindService mocks base method
func (*FakeClient) Create ¶
func (m *FakeClient) Create(arg0 string, arg1 *v1alpha1.App, arg2 ...apps.CreateOption) (*v1alpha1.App, error)
Create mocks base method
func (*FakeClient) Delete ¶
func (m *FakeClient) Delete(arg0, arg1 string, arg2 ...apps.DeleteOption) error
Delete mocks base method
func (*FakeClient) DeleteInForeground ¶
func (m *FakeClient) DeleteInForeground(arg0, arg1 string) error
DeleteInForeground mocks base method
func (*FakeClient) DeployLogs ¶
DeployLogs mocks base method
func (*FakeClient) DeployLogsForApp ¶
DeployLogsForApp 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 ...apps.ListOption) ([]v1alpha1.App, error)
List mocks base method
func (*FakeClient) Restage ¶
func (m *FakeClient) Restage(arg0, arg1 string) (*v1alpha1.App, error)
Restage mocks base method
func (*FakeClient) Restart ¶
func (m *FakeClient) Restart(arg0, arg1 string) error
Restart mocks base method
func (*FakeClient) UnbindService ¶ added in v0.2.0
func (m *FakeClient) UnbindService(arg0, arg1, arg2 string) (*v1alpha1.App, error)
UnbindService mocks base method
func (*FakeClient) Update ¶
func (m *FakeClient) Update(arg0 string, arg1 *v1alpha1.App, arg2 ...apps.UpdateOption) (*v1alpha1.App, error)
Update mocks base method
func (*FakeClient) Upsert ¶
func (m *FakeClient) Upsert(arg0 string, arg1 *v1alpha1.App, arg2 apps.Merger) (*v1alpha1.App, error)
Upsert mocks base method
func (*FakeClient) WaitFor ¶
func (m *FakeClient) WaitFor(arg0 context.Context, arg1, arg2 string, arg3 time.Duration, arg4 apps.Predicate) (*v1alpha1.App, error)
WaitFor mocks base method
func (*FakeClient) WaitForConditionKnativeServiceReadyTrue ¶ added in v0.2.0
func (m *FakeClient) WaitForConditionKnativeServiceReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
WaitForConditionKnativeServiceReadyTrue mocks base method
func (*FakeClient) WaitForConditionReadyTrue ¶ added in v0.2.0
func (m *FakeClient) WaitForConditionReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
WaitForConditionReadyTrue mocks base method
func (*FakeClient) WaitForConditionRoutesReadyTrue ¶ added in v0.2.0
func (m *FakeClient) WaitForConditionRoutesReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
WaitForConditionRoutesReadyTrue mocks base method
func (*FakeClient) WaitForConditionServiceBindingsReadyTrue ¶ added in v0.2.0
func (m *FakeClient) WaitForConditionServiceBindingsReadyTrue(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) (*v1alpha1.App, error)
WaitForConditionServiceBindingsReadyTrue mocks base method
type FakeClientMockRecorder ¶
type FakeClientMockRecorder struct {
// contains filtered or unexported fields
}
FakeClientMockRecorder is the mock recorder for FakeClient
func (*FakeClientMockRecorder) BindService ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) BindService(arg0, arg1, arg2 interface{}) *gomock.Call
BindService indicates an expected call of BindService
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) DeleteInForeground ¶
func (mr *FakeClientMockRecorder) DeleteInForeground(arg0, arg1 interface{}) *gomock.Call
DeleteInForeground indicates an expected call of DeleteInForeground
func (*FakeClientMockRecorder) DeployLogs ¶
func (mr *FakeClientMockRecorder) DeployLogs(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
DeployLogs indicates an expected call of DeployLogs
func (*FakeClientMockRecorder) DeployLogsForApp ¶
func (mr *FakeClientMockRecorder) DeployLogsForApp(arg0, arg1 interface{}) *gomock.Call
DeployLogsForApp indicates an expected call of DeployLogsForApp
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) Restage ¶
func (mr *FakeClientMockRecorder) Restage(arg0, arg1 interface{}) *gomock.Call
Restage indicates an expected call of Restage
func (*FakeClientMockRecorder) Restart ¶
func (mr *FakeClientMockRecorder) Restart(arg0, arg1 interface{}) *gomock.Call
Restart indicates an expected call of Restart
func (*FakeClientMockRecorder) Transform ¶
func (mr *FakeClientMockRecorder) Transform(arg0, arg1, arg2 interface{}) *gomock.Call
Transform indicates an expected call of Transform
func (*FakeClientMockRecorder) UnbindService ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) UnbindService(arg0, arg1, arg2 interface{}) *gomock.Call
UnbindService indicates an expected call of UnbindService
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) WaitForConditionKnativeServiceReadyTrue ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) WaitForConditionKnativeServiceReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForConditionKnativeServiceReadyTrue indicates an expected call of WaitForConditionKnativeServiceReadyTrue
func (*FakeClientMockRecorder) WaitForConditionReadyTrue ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) WaitForConditionReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForConditionReadyTrue indicates an expected call of WaitForConditionReadyTrue
func (*FakeClientMockRecorder) WaitForConditionRoutesReadyTrue ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) WaitForConditionRoutesReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForConditionRoutesReadyTrue indicates an expected call of WaitForConditionRoutesReadyTrue
func (*FakeClientMockRecorder) WaitForConditionServiceBindingsReadyTrue ¶ added in v0.2.0
func (mr *FakeClientMockRecorder) WaitForConditionServiceBindingsReadyTrue(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WaitForConditionServiceBindingsReadyTrue indicates an expected call of WaitForConditionServiceBindingsReadyTrue
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
type FakePusher ¶
type FakePusher struct {
// contains filtered or unexported fields
}
FakePusher is a mock of Pusher interface
func NewFakePusher ¶
func NewFakePusher(ctrl *gomock.Controller) *FakePusher
NewFakePusher creates a new mock instance
func (*FakePusher) EXPECT ¶
func (m *FakePusher) EXPECT() *FakePusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*FakePusher) Push ¶
func (m *FakePusher) Push(arg0 string, arg1 ...apps.PushOption) error
Push mocks base method
type FakePusherMockRecorder ¶
type FakePusherMockRecorder struct {
// contains filtered or unexported fields
}
FakePusherMockRecorder is the mock recorder for FakePusher
func (*FakePusherMockRecorder) Push ¶
func (mr *FakePusherMockRecorder) Push(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Push indicates an expected call of Push