Documentation ¶
Index ¶
- func RunTestServer(t *testing.T, services ...GRPCService) net.Addr
- func TestAuthorizerAllowAll(t *testing.T) resolver.Result
- func TestAuthorizerDenyAll(t *testing.T) resolver.Result
- func TestAuthorizerServiceRead(t *testing.T, serviceName string) resolver.Result
- func TestAuthorizerServiceWriteAny(t *testing.T) resolver.Result
- 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 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.