Documentation ¶
Index ¶
- func AssertAuditLogFired(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockDispatcherInterface
- func AssertAuditLogFiredWithLog(m *gomock.Controller, app *mock.MockApplicationInterface, ...)
- func AssertAuditLogFiredWithMsg(m *gomock.Controller, app *mock.MockApplicationInterface, msg string)
- func MockApp(m *gomock.Controller) *mock.MockApplicationInterface
- func MockDomainManager(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockDomainManager
- func MockGitServer(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockGitServer
- func MockWsServer(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockWsSender
- func NewEventLister(events ...*eventsv1.Event) eventsv1lister.EventLister
- func NewIngressLister(svcs ...*networkingv1.Ingress) networkingv1lister.IngressLister
- func NewPodLister(pods ...*corev1.Pod) corev1lister.PodLister
- func NewRsLister(rs ...*appsv1.ReplicaSet) appsv1lister.ReplicaSetLister
- func NewSecretLister(rs ...*corev1.Secret) corev1lister.SecretLister
- func NewServiceLister(svcs ...*corev1.Service) corev1lister.ServiceLister
- func SetGormDB(m *gomock.Controller, app *mock.MockApplicationInterface) (*gorm.DB, func())
- type ValueMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAuditLogFired ¶
func AssertAuditLogFired(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockDispatcherInterface
func AssertAuditLogFiredWithLog ¶ added in v4.20.3
func AssertAuditLogFiredWithLog(m *gomock.Controller, app *mock.MockApplicationInterface, msg contracts.AuditLogImpl)
func AssertAuditLogFiredWithMsg ¶ added in v4.19.7
func AssertAuditLogFiredWithMsg(m *gomock.Controller, app *mock.MockApplicationInterface, msg string)
func MockApp ¶
func MockApp(m *gomock.Controller) *mock.MockApplicationInterface
func MockDomainManager ¶
func MockDomainManager(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockDomainManager
func MockGitServer ¶
func MockGitServer(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockGitServer
func MockWsServer ¶
func MockWsServer(m *gomock.Controller, app *mock.MockApplicationInterface) *mock.MockWsSender
func NewEventLister ¶ added in v4.23.1
func NewEventLister(events ...*eventsv1.Event) eventsv1lister.EventLister
func NewIngressLister ¶
func NewIngressLister(svcs ...*networkingv1.Ingress) networkingv1lister.IngressLister
func NewPodLister ¶
func NewPodLister(pods ...*corev1.Pod) corev1lister.PodLister
func NewRsLister ¶
func NewRsLister(rs ...*appsv1.ReplicaSet) appsv1lister.ReplicaSetLister
func NewSecretLister ¶
func NewSecretLister(rs ...*corev1.Secret) corev1lister.SecretLister
func NewServiceLister ¶
func NewServiceLister(svcs ...*corev1.Service) corev1lister.ServiceLister
func SetGormDB ¶
func SetGormDB(m *gomock.Controller, app *mock.MockApplicationInterface) (*gorm.DB, func())
Types ¶
type ValueMatcher ¶
func (*ValueMatcher) Matches ¶
func (v *ValueMatcher) Matches(x any) bool
Click to show internal directories.
Click to hide internal directories.