Documentation ¶
Index ¶
- func ACLAnonymous(t *testing.T) resolver.Result
- func ACLNoPermissions(t *testing.T) resolver.Result
- func ACLServiceRead(t *testing.T, serviceName string) resolver.Result
- func ACLServiceWriteAny(t *testing.T) resolver.Result
- func ACLsDisabled(t *testing.T) resolver.Result
- func RunTestServer(t *testing.T, services ...GRPCService) net.Addr
- 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 ACLServiceRead ¶ added in v1.14.4
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.