Documentation
¶
Index ¶
- type ResourceBuilderInterface
- func (_m *ResourceBuilderInterface) BuildDatabaseObjects(ctx context.Context, logger logr.Logger) ([]runtime.Object, error)
- func (_m *ResourceBuilderInterface) BuildDeployment() (*v1.Deployment, error)
- func (_m *ResourceBuilderInterface) BuildIngress() (*networkingv1.Ingress, error)
- func (_m *ResourceBuilderInterface) BuildService() (*corev1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceBuilderInterface ¶
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
Click to show internal directories.
Click to hide internal directories.