mocks

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceBuilderInterface

type ResourceBuilderInterface struct {
	mock.Mock
}

ResourceBuilderInterface is an autogenerated mock type for the ResourceBuilderInterface type

func NewResourceBuilderInterface

func NewResourceBuilderInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ResourceBuilderInterface

NewResourceBuilderInterface creates a new instance of ResourceBuilderInterface. 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 (*ResourceBuilderInterface) BuildDatabaseObjects

func (_m *ResourceBuilderInterface) BuildDatabaseObjects(ctx context.Context, logger logr.Logger) ([]runtime.Object, error)

BuildDatabaseObjects provides a mock function with given fields: ctx, logger

func (*ResourceBuilderInterface) BuildDeployment

func (_m *ResourceBuilderInterface) BuildDeployment() (*v1.Deployment, error)

BuildDeployment provides a mock function with no fields

func (*ResourceBuilderInterface) BuildIngress

func (_m *ResourceBuilderInterface) BuildIngress() (*networkingv1.Ingress, error)

BuildIngress provides a mock function with no fields

func (*ResourceBuilderInterface) BuildService

func (_m *ResourceBuilderInterface) BuildService() (*corev1.Service, error)

BuildService provides a mock function with no fields

Jump to

Keyboard shortcuts

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