mocks

package
v0.0.0-...-ea047a2 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	mock.Mock
}

Backend is an autogenerated mock type for the Backend type

func NewBackend

func NewBackend(t mockConstructorTestingTNewBackend) *Backend

NewBackend creates a new instance of Backend. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Backend) DeleteSubscription

func (_m *Backend) DeleteSubscription(subscription *v1alpha2.Subscription) error

DeleteSubscription provides a mock function with given fields: subscription

func (*Backend) Initialize

func (_m *Backend) Initialize(cfg env.Config) error

Initialize provides a mock function with given fields: cfg

func (*Backend) SyncSubscription

func (_m *Backend) SyncSubscription(subscription *v1alpha2.Subscription, _a1 cleaner.Cleaner, apiRule *v1beta1.APIRule) (bool, error)

SyncSubscription provides a mock function with given fields: subscription, _a1, apiRule

Jump to

Keyboard shortcuts

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