Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(registry registry.ServiceRegistry, stubdb StubDatabase) *handler
func NewStubDatabase ¶
func NewStubDatabase() *stubDatabase
func NewStubFaker ¶ added in v0.3.0
func NewStubFaker(db StubDatabase) *stubFaker
Types ¶
type ActiveIf ¶ added in v0.3.0
type ActiveIf struct {
// contains filtered or unexported fields
}
func NewActiveIf ¶ added in v0.3.0
func NewActiveIf(md protoreflect.MethodDescriptor, expr string) (*ActiveIf, error)
type PriorityStubEntries ¶ added in v0.3.0
type StatusError ¶ added in v0.0.23
type StatusError struct {
StubsError
}
func (*StatusError) Error ¶ added in v0.0.23
func (s *StatusError) Error() string
type StubDatabase ¶
type StubEntry ¶ added in v0.0.23
type StubEntry struct { Key StubKey Message protoreflect.ProtoMessage CELMessage protocel.CELMessage Error *StatusError ActiveIf *ActiveIf Priority int }
type StubKey ¶ added in v0.3.0
type StubKey struct { Name protoreflect.FullName ID string }
type StubsError ¶ added in v0.0.23
Alias stubs error to not conflict with error interface
Click to show internal directories.
Click to hide internal directories.