Documentation ¶
Index ¶
- func RunTestServer(t *testing.T, services ...GRPCService) net.Addr
- func TestAuthorizerServiceRead(t *testing.T, serviceName string) acl.Authorizer
- func TestAuthorizerServiceWriteAny(t *testing.T) acl.Authorizer
- func TestStateStore(t *testing.T, publisher state.EventPublisher) *state.Store
- type FakeFSM
- type FakeFSMConfig
- type GRPCService
- type Registrar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunTestServer ¶
func RunTestServer(t *testing.T, services ...GRPCService) net.Addr
func TestAuthorizerServiceRead ¶
func TestAuthorizerServiceRead(t *testing.T, serviceName string) acl.Authorizer
func TestAuthorizerServiceWriteAny ¶
func TestAuthorizerServiceWriteAny(t *testing.T) acl.Authorizer
func TestStateStore ¶
Types ¶
type FakeFSM ¶
type FakeFSM struct {
// contains filtered or unexported fields
}
func SetupFSMAndPublisher ¶
func SetupFSMAndPublisher(t *testing.T, config FakeFSMConfig) (*FakeFSM, state.EventPublisher)
func (*FakeFSM) ReplaceStore ¶
type FakeFSMConfig ¶
type GRPCService ¶
type Registrar ¶
type Registrar func(*FakeFSM, *stream.EventPublisher)
Click to show internal directories.
Click to hide internal directories.