mocks

package
v0.0.0-...-65c2b02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, app

func (*Application) Delete

func (_m *Application) Delete(ctx context.Context, name string, namespace string) error

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

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

Update provides a mock function with given fields: ctx, app

type RecvHook

type RecvHook struct {
	mock.Mock
}

RecvHook is an autogenerated mock type for the RecvHook type

func NewRecvHook

func NewRecvHook(t interface {
	mock.TestingT
	Cleanup(func())
}) *RecvHook

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

Execute provides a mock function with given fields: s

type SendHook

type SendHook struct {
	mock.Mock
}

SendHook is an autogenerated mock type for the SendHook type

func NewSendHook

func NewSendHook(t interface {
	mock.TestingT
	Cleanup(func())
}) *SendHook

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

Execute provides a mock function with given fields: s, sub

type ServerOption

type ServerOption struct {
	mock.Mock
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL