Documentation ¶
Index ¶
- func ClearDB(ctx context.Context, t require.TestingT)
- func SetUp(ctx context.Context, t require.TestingT, opts ...SetUpOption) (tearDown func())
- func SetUpServices(ctx context.Context, t require.TestingT, servicesConfig SetUpServicesConfig, ...) func()
- type Config
- type SetUpOption
- type SetUpServicesConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetUp ¶
func SetUp(ctx context.Context, t require.TestingT, opts ...SetUpOption) (tearDown func())
func SetUpServices ¶
func SetUpServices(ctx context.Context, t require.TestingT, servicesConfig SetUpServicesConfig, opts ...SetUpOption) func()
Types ¶
type SetUpOption ¶
type SetUpOption = func(cfg *Config)
func WithCOAPGWConfig ¶
func WithCOAPGWConfig(coapgwCfg coapgw.Config) SetUpOption
func WithGRPCGWConfig ¶
func WithGRPCGWConfig(grpcCfg grpcgwConfig.Config) SetUpOption
func WithISConfig ¶ added in v2.4.0
func WithISConfig(is isService.Config) SetUpOption
func WithRAConfig ¶
func WithRAConfig(ra raService.Config) SetUpOption
func WithRDConfig ¶
func WithRDConfig(rd rdService.Config) SetUpOption
type SetUpServicesConfig ¶
type SetUpServicesConfig uint16
const ( SetUpServicesOAuth SetUpServicesConfig = 1 << iota SetUpServicesId SetUpServicesResourceAggregate SetUpServicesResourceDirectory SetUpServicesCertificateAuthority SetUpServicesCloud2CloudGateway SetUpServicesCoapGateway SetUpServicesGrpcGateway // need to be last SetUpServicesMax )
Click to show internal directories.
Click to hide internal directories.