fixtures

package
v0.0.79 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fixtures contains code for creating ProfileService fixtures and is used in various parts of the code. For testing use only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithFailedUpsertRuleType

func WithFailedUpsertRuleType(mock RuleTypeSvcMock)

func WithSuccessfulCreateRuleType

func WithSuccessfulCreateRuleType(mock RuleTypeSvcMock)

func WithSuccessfulUpdateRuleType

func WithSuccessfulUpdateRuleType(mock RuleTypeSvcMock)

func WithSuccessfulUpsertRuleType

func WithSuccessfulUpsertRuleType(mock RuleTypeSvcMock)

Types

type RuleTypeSvcMock

type RuleTypeSvcMock = *mockrulesvc.MockRuleTypeService

type RuleTypeSvcMockBuilder

type RuleTypeSvcMockBuilder = func(*gomock.Controller) RuleTypeSvcMock

func NewRuleTypeServiceMock

func NewRuleTypeServiceMock(opts ...func(mock RuleTypeSvcMock)) RuleTypeSvcMockBuilder

Jump to

Keyboard shortcuts

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