Documentation ¶
Index ¶
- type AppProject
- func (_m *AppProject) Create(ctx context.Context, app *v1alpha1.AppProject) (*v1alpha1.AppProject, error)
- func (_m *AppProject) Delete(ctx context.Context, name string, namespace string, ...) error
- func (_m *AppProject) EXPECT() *AppProject_Expecter
- func (_m *AppProject) EnsureSynced(duration time.Duration) error
- func (_m *AppProject) Get(ctx context.Context, name string, namespace string) (*v1alpha1.AppProject, error)
- func (_m *AppProject) List(ctx context.Context, selector backend.AppProjectSelector) ([]v1alpha1.AppProject, error)
- func (_m *AppProject) Patch(ctx context.Context, name string, namespace string, patch []byte) (*v1alpha1.AppProject, error)
- func (_m *AppProject) StartInformer(ctx context.Context) error
- func (_m *AppProject) SupportsPatch() bool
- func (_m *AppProject) Update(ctx context.Context, app *v1alpha1.AppProject) (*v1alpha1.AppProject, error)
- type AppProject_Create_Call
- func (_c *AppProject_Create_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Create_Call
- func (_c *AppProject_Create_Call) Run(run func(ctx context.Context, app *v1alpha1.AppProject)) *AppProject_Create_Call
- func (_c *AppProject_Create_Call) RunAndReturn(run func(context.Context, *v1alpha1.AppProject) (*v1alpha1.AppProject, error)) *AppProject_Create_Call
- type AppProject_Delete_Call
- func (_c *AppProject_Delete_Call) Return(_a0 error) *AppProject_Delete_Call
- func (_c *AppProject_Delete_Call) Run(run func(ctx context.Context, name string, namespace string, ...)) *AppProject_Delete_Call
- func (_c *AppProject_Delete_Call) RunAndReturn(run func(context.Context, string, string, *backend.DeletionPropagation) error) *AppProject_Delete_Call
- type AppProject_EnsureSynced_Call
- func (_c *AppProject_EnsureSynced_Call) Return(_a0 error) *AppProject_EnsureSynced_Call
- func (_c *AppProject_EnsureSynced_Call) Run(run func(duration time.Duration)) *AppProject_EnsureSynced_Call
- func (_c *AppProject_EnsureSynced_Call) RunAndReturn(run func(time.Duration) error) *AppProject_EnsureSynced_Call
- type AppProject_Expecter
- func (_e *AppProject_Expecter) Create(ctx interface{}, app interface{}) *AppProject_Create_Call
- func (_e *AppProject_Expecter) Delete(ctx interface{}, name interface{}, namespace interface{}, ...) *AppProject_Delete_Call
- func (_e *AppProject_Expecter) EnsureSynced(duration interface{}) *AppProject_EnsureSynced_Call
- func (_e *AppProject_Expecter) Get(ctx interface{}, name interface{}, namespace interface{}) *AppProject_Get_Call
- func (_e *AppProject_Expecter) List(ctx interface{}, selector interface{}) *AppProject_List_Call
- func (_e *AppProject_Expecter) Patch(ctx interface{}, name interface{}, namespace interface{}, patch interface{}) *AppProject_Patch_Call
- func (_e *AppProject_Expecter) StartInformer(ctx interface{}) *AppProject_StartInformer_Call
- func (_e *AppProject_Expecter) SupportsPatch() *AppProject_SupportsPatch_Call
- func (_e *AppProject_Expecter) Update(ctx interface{}, app interface{}) *AppProject_Update_Call
- type AppProject_Get_Call
- func (_c *AppProject_Get_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Get_Call
- func (_c *AppProject_Get_Call) Run(run func(ctx context.Context, name string, namespace string)) *AppProject_Get_Call
- func (_c *AppProject_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.AppProject, error)) *AppProject_Get_Call
- type AppProject_List_Call
- type AppProject_Patch_Call
- func (_c *AppProject_Patch_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Patch_Call
- func (_c *AppProject_Patch_Call) Run(run func(ctx context.Context, name string, namespace string, patch []byte)) *AppProject_Patch_Call
- func (_c *AppProject_Patch_Call) RunAndReturn(...) *AppProject_Patch_Call
- type AppProject_StartInformer_Call
- func (_c *AppProject_StartInformer_Call) Return(_a0 error) *AppProject_StartInformer_Call
- func (_c *AppProject_StartInformer_Call) Run(run func(ctx context.Context)) *AppProject_StartInformer_Call
- func (_c *AppProject_StartInformer_Call) RunAndReturn(run func(context.Context) error) *AppProject_StartInformer_Call
- type AppProject_SupportsPatch_Call
- type AppProject_Update_Call
- func (_c *AppProject_Update_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Update_Call
- func (_c *AppProject_Update_Call) Run(run func(ctx context.Context, app *v1alpha1.AppProject)) *AppProject_Update_Call
- func (_c *AppProject_Update_Call) RunAndReturn(run func(context.Context, *v1alpha1.AppProject) (*v1alpha1.AppProject, error)) *AppProject_Update_Call
- type Application
- func (_m *Application) Create(ctx context.Context, app *v1alpha1.Application) (*v1alpha1.Application, error)
- func (_m *Application) Delete(ctx context.Context, name string, namespace string, ...) error
- func (_m *Application) EXPECT() *Application_Expecter
- func (_m *Application) EnsureSynced(duration time.Duration) error
- func (_m *Application) Get(ctx context.Context, name string, namespace string) (*v1alpha1.Application, error)
- func (_m *Application) List(ctx context.Context, selector backend.ApplicationSelector) ([]v1alpha1.Application, error)
- func (_m *Application) Patch(ctx context.Context, name string, namespace string, patch []byte) (*v1alpha1.Application, error)
- func (_m *Application) StartInformer(ctx context.Context) error
- func (_m *Application) SupportsPatch() bool
- func (_m *Application) Update(ctx context.Context, app *v1alpha1.Application) (*v1alpha1.Application, error)
- type Application_Create_Call
- func (_c *Application_Create_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Create_Call
- func (_c *Application_Create_Call) Run(run func(ctx context.Context, app *v1alpha1.Application)) *Application_Create_Call
- func (_c *Application_Create_Call) RunAndReturn(...) *Application_Create_Call
- type Application_Delete_Call
- func (_c *Application_Delete_Call) Return(_a0 error) *Application_Delete_Call
- func (_c *Application_Delete_Call) Run(run func(ctx context.Context, name string, namespace string, ...)) *Application_Delete_Call
- func (_c *Application_Delete_Call) RunAndReturn(run func(context.Context, string, string, *backend.DeletionPropagation) error) *Application_Delete_Call
- type Application_EnsureSynced_Call
- func (_c *Application_EnsureSynced_Call) Return(_a0 error) *Application_EnsureSynced_Call
- func (_c *Application_EnsureSynced_Call) Run(run func(duration time.Duration)) *Application_EnsureSynced_Call
- func (_c *Application_EnsureSynced_Call) RunAndReturn(run func(time.Duration) error) *Application_EnsureSynced_Call
- type Application_Expecter
- func (_e *Application_Expecter) Create(ctx interface{}, app interface{}) *Application_Create_Call
- func (_e *Application_Expecter) Delete(ctx interface{}, name interface{}, namespace interface{}, ...) *Application_Delete_Call
- func (_e *Application_Expecter) EnsureSynced(duration interface{}) *Application_EnsureSynced_Call
- func (_e *Application_Expecter) Get(ctx interface{}, name interface{}, namespace interface{}) *Application_Get_Call
- func (_e *Application_Expecter) List(ctx interface{}, selector interface{}) *Application_List_Call
- func (_e *Application_Expecter) Patch(ctx interface{}, name interface{}, namespace interface{}, patch interface{}) *Application_Patch_Call
- func (_e *Application_Expecter) StartInformer(ctx interface{}) *Application_StartInformer_Call
- func (_e *Application_Expecter) SupportsPatch() *Application_SupportsPatch_Call
- func (_e *Application_Expecter) Update(ctx interface{}, app interface{}) *Application_Update_Call
- type Application_Get_Call
- func (_c *Application_Get_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Get_Call
- func (_c *Application_Get_Call) Run(run func(ctx context.Context, name string, namespace string)) *Application_Get_Call
- func (_c *Application_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.Application, error)) *Application_Get_Call
- type Application_List_Call
- func (_c *Application_List_Call) Return(_a0 []v1alpha1.Application, _a1 error) *Application_List_Call
- func (_c *Application_List_Call) Run(run func(ctx context.Context, selector backend.ApplicationSelector)) *Application_List_Call
- func (_c *Application_List_Call) RunAndReturn(...) *Application_List_Call
- type Application_Patch_Call
- func (_c *Application_Patch_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Patch_Call
- func (_c *Application_Patch_Call) Run(run func(ctx context.Context, name string, namespace string, patch []byte)) *Application_Patch_Call
- func (_c *Application_Patch_Call) RunAndReturn(...) *Application_Patch_Call
- type Application_StartInformer_Call
- func (_c *Application_StartInformer_Call) Return(_a0 error) *Application_StartInformer_Call
- func (_c *Application_StartInformer_Call) Run(run func(ctx context.Context)) *Application_StartInformer_Call
- func (_c *Application_StartInformer_Call) RunAndReturn(run func(context.Context) error) *Application_StartInformer_Call
- type Application_SupportsPatch_Call
- type Application_Update_Call
- func (_c *Application_Update_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Update_Call
- func (_c *Application_Update_Call) Run(run func(ctx context.Context, app *v1alpha1.Application)) *Application_Update_Call
- func (_c *Application_Update_Call) RunAndReturn(...) *Application_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppProject ¶
AppProject is an autogenerated mock type for the AppProject type
func NewAppProject ¶
func NewAppProject(t interface { mock.TestingT Cleanup(func()) }) *AppProject
NewAppProject creates a new instance of AppProject. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AppProject) Create ¶
func (_m *AppProject) Create(ctx context.Context, app *v1alpha1.AppProject) (*v1alpha1.AppProject, error)
Create provides a mock function with given fields: ctx, app
func (*AppProject) Delete ¶
func (_m *AppProject) Delete(ctx context.Context, name string, namespace string, deletionPropagation *backend.DeletionPropagation) error
Delete provides a mock function with given fields: ctx, name, namespace, deletionPropagation
func (*AppProject) EXPECT ¶
func (_m *AppProject) EXPECT() *AppProject_Expecter
func (*AppProject) EnsureSynced ¶
func (_m *AppProject) EnsureSynced(duration time.Duration) error
EnsureSynced provides a mock function with given fields: duration
func (*AppProject) Get ¶
func (_m *AppProject) Get(ctx context.Context, name string, namespace string) (*v1alpha1.AppProject, error)
Get provides a mock function with given fields: ctx, name, namespace
func (*AppProject) List ¶
func (_m *AppProject) List(ctx context.Context, selector backend.AppProjectSelector) ([]v1alpha1.AppProject, error)
List provides a mock function with given fields: ctx, selector
func (*AppProject) Patch ¶
func (_m *AppProject) Patch(ctx context.Context, name string, namespace string, patch []byte) (*v1alpha1.AppProject, error)
Patch provides a mock function with given fields: ctx, name, namespace, patch
func (*AppProject) StartInformer ¶
func (_m *AppProject) StartInformer(ctx context.Context) error
StartInformer provides a mock function with given fields: ctx
func (*AppProject) SupportsPatch ¶
func (_m *AppProject) SupportsPatch() bool
SupportsPatch provides a mock function with given fields:
func (*AppProject) Update ¶
func (_m *AppProject) Update(ctx context.Context, app *v1alpha1.AppProject) (*v1alpha1.AppProject, error)
Update provides a mock function with given fields: ctx, app
type AppProject_Create_Call ¶
AppProject_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*AppProject_Create_Call) Return ¶
func (_c *AppProject_Create_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Create_Call
func (*AppProject_Create_Call) Run ¶
func (_c *AppProject_Create_Call) Run(run func(ctx context.Context, app *v1alpha1.AppProject)) *AppProject_Create_Call
func (*AppProject_Create_Call) RunAndReturn ¶
func (_c *AppProject_Create_Call) RunAndReturn(run func(context.Context, *v1alpha1.AppProject) (*v1alpha1.AppProject, error)) *AppProject_Create_Call
type AppProject_Delete_Call ¶
AppProject_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*AppProject_Delete_Call) Return ¶
func (_c *AppProject_Delete_Call) Return(_a0 error) *AppProject_Delete_Call
func (*AppProject_Delete_Call) Run ¶
func (_c *AppProject_Delete_Call) Run(run func(ctx context.Context, name string, namespace string, deletionPropagation *backend.DeletionPropagation)) *AppProject_Delete_Call
func (*AppProject_Delete_Call) RunAndReturn ¶
func (_c *AppProject_Delete_Call) RunAndReturn(run func(context.Context, string, string, *backend.DeletionPropagation) error) *AppProject_Delete_Call
type AppProject_EnsureSynced_Call ¶
AppProject_EnsureSynced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureSynced'
func (*AppProject_EnsureSynced_Call) Return ¶
func (_c *AppProject_EnsureSynced_Call) Return(_a0 error) *AppProject_EnsureSynced_Call
func (*AppProject_EnsureSynced_Call) Run ¶
func (_c *AppProject_EnsureSynced_Call) Run(run func(duration time.Duration)) *AppProject_EnsureSynced_Call
func (*AppProject_EnsureSynced_Call) RunAndReturn ¶
func (_c *AppProject_EnsureSynced_Call) RunAndReturn(run func(time.Duration) error) *AppProject_EnsureSynced_Call
type AppProject_Expecter ¶
type AppProject_Expecter struct {
// contains filtered or unexported fields
}
func (*AppProject_Expecter) Create ¶
func (_e *AppProject_Expecter) Create(ctx interface{}, app interface{}) *AppProject_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- app *v1alpha1.AppProject
func (*AppProject_Expecter) Delete ¶
func (_e *AppProject_Expecter) Delete(ctx interface{}, name interface{}, namespace interface{}, deletionPropagation interface{}) *AppProject_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
- deletionPropagation *backend.DeletionPropagation
func (*AppProject_Expecter) EnsureSynced ¶
func (_e *AppProject_Expecter) EnsureSynced(duration interface{}) *AppProject_EnsureSynced_Call
EnsureSynced is a helper method to define mock.On call
- duration time.Duration
func (*AppProject_Expecter) Get ¶
func (_e *AppProject_Expecter) Get(ctx interface{}, name interface{}, namespace interface{}) *AppProject_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
func (*AppProject_Expecter) List ¶
func (_e *AppProject_Expecter) List(ctx interface{}, selector interface{}) *AppProject_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- selector backend.AppProjectSelector
func (*AppProject_Expecter) Patch ¶
func (_e *AppProject_Expecter) Patch(ctx interface{}, name interface{}, namespace interface{}, patch interface{}) *AppProject_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
- patch []byte
func (*AppProject_Expecter) StartInformer ¶
func (_e *AppProject_Expecter) StartInformer(ctx interface{}) *AppProject_StartInformer_Call
StartInformer is a helper method to define mock.On call
- ctx context.Context
func (*AppProject_Expecter) SupportsPatch ¶
func (_e *AppProject_Expecter) SupportsPatch() *AppProject_SupportsPatch_Call
SupportsPatch is a helper method to define mock.On call
func (*AppProject_Expecter) Update ¶
func (_e *AppProject_Expecter) Update(ctx interface{}, app interface{}) *AppProject_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- app *v1alpha1.AppProject
type AppProject_Get_Call ¶
AppProject_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*AppProject_Get_Call) Return ¶
func (_c *AppProject_Get_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Get_Call
func (*AppProject_Get_Call) Run ¶
func (_c *AppProject_Get_Call) Run(run func(ctx context.Context, name string, namespace string)) *AppProject_Get_Call
func (*AppProject_Get_Call) RunAndReturn ¶
func (_c *AppProject_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.AppProject, error)) *AppProject_Get_Call
type AppProject_List_Call ¶
AppProject_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*AppProject_List_Call) Return ¶
func (_c *AppProject_List_Call) Return(_a0 []v1alpha1.AppProject, _a1 error) *AppProject_List_Call
func (*AppProject_List_Call) Run ¶
func (_c *AppProject_List_Call) Run(run func(ctx context.Context, selector backend.AppProjectSelector)) *AppProject_List_Call
func (*AppProject_List_Call) RunAndReturn ¶
func (_c *AppProject_List_Call) RunAndReturn(run func(context.Context, backend.AppProjectSelector) ([]v1alpha1.AppProject, error)) *AppProject_List_Call
type AppProject_Patch_Call ¶
AppProject_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*AppProject_Patch_Call) Return ¶
func (_c *AppProject_Patch_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Patch_Call
func (*AppProject_Patch_Call) Run ¶
func (_c *AppProject_Patch_Call) Run(run func(ctx context.Context, name string, namespace string, patch []byte)) *AppProject_Patch_Call
func (*AppProject_Patch_Call) RunAndReturn ¶
func (_c *AppProject_Patch_Call) RunAndReturn(run func(context.Context, string, string, []byte) (*v1alpha1.AppProject, error)) *AppProject_Patch_Call
type AppProject_StartInformer_Call ¶
AppProject_StartInformer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartInformer'
func (*AppProject_StartInformer_Call) Return ¶
func (_c *AppProject_StartInformer_Call) Return(_a0 error) *AppProject_StartInformer_Call
func (*AppProject_StartInformer_Call) Run ¶
func (_c *AppProject_StartInformer_Call) Run(run func(ctx context.Context)) *AppProject_StartInformer_Call
func (*AppProject_StartInformer_Call) RunAndReturn ¶
func (_c *AppProject_StartInformer_Call) RunAndReturn(run func(context.Context) error) *AppProject_StartInformer_Call
type AppProject_SupportsPatch_Call ¶
AppProject_SupportsPatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupportsPatch'
func (*AppProject_SupportsPatch_Call) Return ¶
func (_c *AppProject_SupportsPatch_Call) Return(_a0 bool) *AppProject_SupportsPatch_Call
func (*AppProject_SupportsPatch_Call) Run ¶
func (_c *AppProject_SupportsPatch_Call) Run(run func()) *AppProject_SupportsPatch_Call
func (*AppProject_SupportsPatch_Call) RunAndReturn ¶
func (_c *AppProject_SupportsPatch_Call) RunAndReturn(run func() bool) *AppProject_SupportsPatch_Call
type AppProject_Update_Call ¶
AppProject_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*AppProject_Update_Call) Return ¶
func (_c *AppProject_Update_Call) Return(_a0 *v1alpha1.AppProject, _a1 error) *AppProject_Update_Call
func (*AppProject_Update_Call) Run ¶
func (_c *AppProject_Update_Call) Run(run func(ctx context.Context, app *v1alpha1.AppProject)) *AppProject_Update_Call
func (*AppProject_Update_Call) RunAndReturn ¶
func (_c *AppProject_Update_Call) RunAndReturn(run func(context.Context, *v1alpha1.AppProject) (*v1alpha1.AppProject, error)) *AppProject_Update_Call
type Application ¶
Application is an autogenerated mock type for the Application type
func NewApplication ¶
func NewApplication(t interface { mock.TestingT Cleanup(func()) }) *Application
NewApplication creates a new instance of Application. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Application) Create ¶
func (_m *Application) Create(ctx context.Context, app *v1alpha1.Application) (*v1alpha1.Application, error)
Create provides a mock function with given fields: ctx, app
func (*Application) Delete ¶
func (_m *Application) Delete(ctx context.Context, name string, namespace string, deletionPropagation *backend.DeletionPropagation) error
Delete provides a mock function with given fields: ctx, name, namespace, deletionPropagation
func (*Application) EXPECT ¶
func (_m *Application) EXPECT() *Application_Expecter
func (*Application) EnsureSynced ¶
func (_m *Application) EnsureSynced(duration time.Duration) error
EnsureSynced provides a mock function with given fields: duration
func (*Application) Get ¶
func (_m *Application) Get(ctx context.Context, name string, namespace string) (*v1alpha1.Application, error)
Get provides a mock function with given fields: ctx, name, namespace
func (*Application) List ¶
func (_m *Application) List(ctx context.Context, selector backend.ApplicationSelector) ([]v1alpha1.Application, error)
List provides a mock function with given fields: ctx, selector
func (*Application) Patch ¶
func (_m *Application) Patch(ctx context.Context, name string, namespace string, patch []byte) (*v1alpha1.Application, error)
Patch provides a mock function with given fields: ctx, name, namespace, patch
func (*Application) StartInformer ¶
func (_m *Application) StartInformer(ctx context.Context) error
StartInformer provides a mock function with given fields: ctx
func (*Application) SupportsPatch ¶
func (_m *Application) SupportsPatch() bool
SupportsPatch provides a mock function with given fields:
func (*Application) Update ¶
func (_m *Application) Update(ctx context.Context, app *v1alpha1.Application) (*v1alpha1.Application, error)
Update provides a mock function with given fields: ctx, app
type Application_Create_Call ¶
Application_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*Application_Create_Call) Return ¶
func (_c *Application_Create_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Create_Call
func (*Application_Create_Call) Run ¶
func (_c *Application_Create_Call) Run(run func(ctx context.Context, app *v1alpha1.Application)) *Application_Create_Call
func (*Application_Create_Call) RunAndReturn ¶
func (_c *Application_Create_Call) RunAndReturn(run func(context.Context, *v1alpha1.Application) (*v1alpha1.Application, error)) *Application_Create_Call
type Application_Delete_Call ¶
Application_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*Application_Delete_Call) Return ¶
func (_c *Application_Delete_Call) Return(_a0 error) *Application_Delete_Call
func (*Application_Delete_Call) Run ¶
func (_c *Application_Delete_Call) Run(run func(ctx context.Context, name string, namespace string, deletionPropagation *backend.DeletionPropagation)) *Application_Delete_Call
func (*Application_Delete_Call) RunAndReturn ¶
func (_c *Application_Delete_Call) RunAndReturn(run func(context.Context, string, string, *backend.DeletionPropagation) error) *Application_Delete_Call
type Application_EnsureSynced_Call ¶
Application_EnsureSynced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureSynced'
func (*Application_EnsureSynced_Call) Return ¶
func (_c *Application_EnsureSynced_Call) Return(_a0 error) *Application_EnsureSynced_Call
func (*Application_EnsureSynced_Call) Run ¶
func (_c *Application_EnsureSynced_Call) Run(run func(duration time.Duration)) *Application_EnsureSynced_Call
func (*Application_EnsureSynced_Call) RunAndReturn ¶
func (_c *Application_EnsureSynced_Call) RunAndReturn(run func(time.Duration) error) *Application_EnsureSynced_Call
type Application_Expecter ¶
type Application_Expecter struct {
// contains filtered or unexported fields
}
func (*Application_Expecter) Create ¶
func (_e *Application_Expecter) Create(ctx interface{}, app interface{}) *Application_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- app *v1alpha1.Application
func (*Application_Expecter) Delete ¶
func (_e *Application_Expecter) Delete(ctx interface{}, name interface{}, namespace interface{}, deletionPropagation interface{}) *Application_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
- deletionPropagation *backend.DeletionPropagation
func (*Application_Expecter) EnsureSynced ¶
func (_e *Application_Expecter) EnsureSynced(duration interface{}) *Application_EnsureSynced_Call
EnsureSynced is a helper method to define mock.On call
- duration time.Duration
func (*Application_Expecter) Get ¶
func (_e *Application_Expecter) Get(ctx interface{}, name interface{}, namespace interface{}) *Application_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
func (*Application_Expecter) List ¶
func (_e *Application_Expecter) List(ctx interface{}, selector interface{}) *Application_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- selector backend.ApplicationSelector
func (*Application_Expecter) Patch ¶
func (_e *Application_Expecter) Patch(ctx interface{}, name interface{}, namespace interface{}, patch interface{}) *Application_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- name string
- namespace string
- patch []byte
func (*Application_Expecter) StartInformer ¶
func (_e *Application_Expecter) StartInformer(ctx interface{}) *Application_StartInformer_Call
StartInformer is a helper method to define mock.On call
- ctx context.Context
func (*Application_Expecter) SupportsPatch ¶
func (_e *Application_Expecter) SupportsPatch() *Application_SupportsPatch_Call
SupportsPatch is a helper method to define mock.On call
func (*Application_Expecter) Update ¶
func (_e *Application_Expecter) Update(ctx interface{}, app interface{}) *Application_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- app *v1alpha1.Application
type Application_Get_Call ¶
Application_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Application_Get_Call) Return ¶
func (_c *Application_Get_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Get_Call
func (*Application_Get_Call) Run ¶
func (_c *Application_Get_Call) Run(run func(ctx context.Context, name string, namespace string)) *Application_Get_Call
func (*Application_Get_Call) RunAndReturn ¶
func (_c *Application_Get_Call) RunAndReturn(run func(context.Context, string, string) (*v1alpha1.Application, error)) *Application_Get_Call
type Application_List_Call ¶
Application_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*Application_List_Call) Return ¶
func (_c *Application_List_Call) Return(_a0 []v1alpha1.Application, _a1 error) *Application_List_Call
func (*Application_List_Call) Run ¶
func (_c *Application_List_Call) Run(run func(ctx context.Context, selector backend.ApplicationSelector)) *Application_List_Call
func (*Application_List_Call) RunAndReturn ¶
func (_c *Application_List_Call) RunAndReturn(run func(context.Context, backend.ApplicationSelector) ([]v1alpha1.Application, error)) *Application_List_Call
type Application_Patch_Call ¶
Application_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*Application_Patch_Call) Return ¶
func (_c *Application_Patch_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Patch_Call
func (*Application_Patch_Call) Run ¶
func (_c *Application_Patch_Call) Run(run func(ctx context.Context, name string, namespace string, patch []byte)) *Application_Patch_Call
func (*Application_Patch_Call) RunAndReturn ¶
func (_c *Application_Patch_Call) RunAndReturn(run func(context.Context, string, string, []byte) (*v1alpha1.Application, error)) *Application_Patch_Call
type Application_StartInformer_Call ¶
Application_StartInformer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartInformer'
func (*Application_StartInformer_Call) Return ¶
func (_c *Application_StartInformer_Call) Return(_a0 error) *Application_StartInformer_Call
func (*Application_StartInformer_Call) Run ¶
func (_c *Application_StartInformer_Call) Run(run func(ctx context.Context)) *Application_StartInformer_Call
func (*Application_StartInformer_Call) RunAndReturn ¶
func (_c *Application_StartInformer_Call) RunAndReturn(run func(context.Context) error) *Application_StartInformer_Call
type Application_SupportsPatch_Call ¶
Application_SupportsPatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupportsPatch'
func (*Application_SupportsPatch_Call) Return ¶
func (_c *Application_SupportsPatch_Call) Return(_a0 bool) *Application_SupportsPatch_Call
func (*Application_SupportsPatch_Call) Run ¶
func (_c *Application_SupportsPatch_Call) Run(run func()) *Application_SupportsPatch_Call
func (*Application_SupportsPatch_Call) RunAndReturn ¶
func (_c *Application_SupportsPatch_Call) RunAndReturn(run func() bool) *Application_SupportsPatch_Call
type Application_Update_Call ¶
Application_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*Application_Update_Call) Return ¶
func (_c *Application_Update_Call) Return(_a0 *v1alpha1.Application, _a1 error) *Application_Update_Call
func (*Application_Update_Call) Run ¶
func (_c *Application_Update_Call) Run(run func(ctx context.Context, app *v1alpha1.Application)) *Application_Update_Call
func (*Application_Update_Call) RunAndReturn ¶
func (_c *Application_Update_Call) RunAndReturn(run func(context.Context, *v1alpha1.Application) (*v1alpha1.Application, error)) *Application_Update_Call