biz

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package biz is the place where you can implements more complex business logic.

Package biz is a generated GoMock package.

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewBiz, wire.Bind(new(IBiz), new(*biz)))

ProviderSet contains providers for creating instances of the biz struct.

Functions

func NewBiz

func NewBiz(cache cache.Cache[*any.Any], store store.IStore) *biz

NewBiz creates an instance of IBiz.

Types

type IBiz

type IBiz interface {
	Namespace(namespace string) namespaced.NamespacedBiz
	Secrets() secret.SecretBiz
}

IBiz defines the methods that need to be implemented by the Biz layer.

type MockIBiz

type MockIBiz struct {
	// contains filtered or unexported fields
}

MockIBiz is a mock of IBiz interface.

func NewMockIBiz

func NewMockIBiz(ctrl *gomock.Controller) *MockIBiz

NewMockIBiz creates a new mock instance.

func (*MockIBiz) EXPECT

func (m *MockIBiz) EXPECT() *MockIBizMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBiz) Namespace

func (m *MockIBiz) Namespace(arg0 string) namespaced.NamespacedBiz

Namespace mocks base method.

func (*MockIBiz) Secrets

func (m *MockIBiz) Secrets() secret.SecretBiz

Secrets mocks base method.

type MockIBizMockRecorder

type MockIBizMockRecorder struct {
	// contains filtered or unexported fields
}

MockIBizMockRecorder is the mock recorder for MockIBiz.

func (*MockIBizMockRecorder) Namespace

func (mr *MockIBizMockRecorder) Namespace(arg0 interface{}) *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockIBizMockRecorder) Secrets

func (mr *MockIBizMockRecorder) Secrets() *gomock.Call

Secrets indicates an expected call of Secrets.

Directories

Path Synopsis
Package namespaced is a generated GoMock package.
Package namespaced is a generated GoMock package.
Package secret is a generated GoMock package.
Package secret is a generated GoMock package.

Jump to

Keyboard shortcuts

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