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 ¶
ProviderSet is a Wire provider set used to declare dependency injection rules. Includes the NewBiz constructor to create a biz instance. wire.Bind binds the IBiz interface to the concrete implementation *biz, so places that depend on IBiz will automatically inject a *biz instance.
Functions ¶
Types ¶
type IBiz ¶
type IBiz interface {
// NamespacedV1 returns the NamespacedBiz business interface.
NamespacedV1(namespace string) namespacedv1.NamespacedBiz
// SecretV1 returns the SecretBiz business interface.
SecretV1() secretv1.SecretBiz
}
IBiz defines the methods that must be implemented by the business 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) NamespacedV1 ¶
func (m *MockIBiz) NamespacedV1(arg0 string) namespaced.NamespacedBiz
NamespacedV1 mocks base method.
type MockIBizMockRecorder ¶
type MockIBizMockRecorder struct {
// contains filtered or unexported fields
}
MockIBizMockRecorder is the mock recorder for MockIBiz.
func (*MockIBizMockRecorder) NamespacedV1 ¶
func (mr *MockIBizMockRecorder) NamespacedV1(arg0 interface{}) *gomock.Call
NamespacedV1 indicates an expected call of NamespacedV1.
func (*MockIBizMockRecorder) SecretV1 ¶
func (mr *MockIBizMockRecorder) SecretV1() *gomock.Call
SecretV1 indicates an expected call of SecretV1.