Documentation ¶
Index ¶
- 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) 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) StartInformer(ctx context.Context)
- func (_m *Application) Update(ctx context.Context, app *v1alpha1.Application) (*v1alpha1.Application, error)
- type RecvHook
- type SendHook
- type ServerOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
Delete provides a mock function with given fields: ctx, name, namespace
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) StartInformer ¶
func (_m *Application) StartInformer(ctx context.Context)
StartInformer provides a mock function with given fields: ctx
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 RecvHook ¶
RecvHook is an autogenerated mock type for the RecvHook type
func NewRecvHook ¶
NewRecvHook creates a new instance of RecvHook. 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 (*RecvHook) Execute ¶
func (_m *RecvHook) Execute(s *eventstreammock.MockEventServer) error
Execute provides a mock function with given fields: s
type SendHook ¶
SendHook is an autogenerated mock type for the SendHook type
func NewSendHook ¶
NewSendHook creates a new instance of SendHook. 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 (*SendHook) Execute ¶
func (_m *SendHook) Execute(s *eventstreammock.MockEventServer, sub *eventstreamapi.Event) error
Execute provides a mock function with given fields: s, sub
type ServerOption ¶
ServerOption is an autogenerated mock type for the ServerOption type
func NewServerOption ¶
func NewServerOption(t interface { mock.TestingT Cleanup(func()) }) *ServerOption
NewServerOption creates a new instance of ServerOption. 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 (*ServerOption) Execute ¶
func (_m *ServerOption) Execute(o *server.ServerOptions) error
Execute provides a mock function with given fields: o