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
- func WithCAConfig(ca ca.Config) SetUpOption
- func WithCOAPGWConfig(coapgwCfg coapgw.Config) SetUpOption
- func WithGRPCGWConfig(grpcCfg grpcgwConfig.Config) SetUpOption
- func WithISConfig(is isService.Config) SetUpOption
- func WithOAuthConfig(oauth oauthService.Config) SetUpOption
- func WithRAConfig(ra raService.Config) SetUpOption
- func WithRDConfig(rd rdService.Config) 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 WithCAConfig ¶ added in v2.7.18
func WithCAConfig(ca ca.Config) SetUpOption
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 WithOAuthConfig ¶ added in v2.8.1
func WithOAuthConfig(oauth oauthService.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.