Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLResolver ¶
type ACLResolver interface {
ResolveTokenAndDefaultMeta(string, *acl.EnterpriseMeta, *acl.AuthorizerContext) (acl.Authorizer, error)
}
type Config ¶
type Config struct { Publisher EventPublisher GetStore func() StateStore Logger hclog.Logger ACLResolver ACLResolver }
type EventPublisher ¶
type EventPublisher interface {
Subscribe(*stream.SubscribeRequest) (*stream.Subscription, error)
}
type MockACLResolver ¶
MockACLResolver is an autogenerated mock type for the ACLResolver type
func (*MockACLResolver) ResolveTokenAndDefaultMeta ¶
func (_m *MockACLResolver) ResolveTokenAndDefaultMeta(_a0 string, _a1 *acl.EnterpriseMeta, _a2 *acl.AuthorizerContext) (acl.Authorizer, error)
ResolveTokenAndDefaultMeta provides a mock function with given fields: _a0, _a1, _a2
type Server ¶
type Server struct {
Config
}
func (*Server) WatchRoots ¶
func (s *Server) WatchRoots(_ *emptypb.Empty, serverStream pbconnectca.ConnectCAService_WatchRootsServer) error
WatchRoots provides a stream on which you can receive the list of active Connect CA roots. Current roots are sent immediately at the start of the stream, and new lists will be sent whenever the roots are rotated.
type StateStore ¶
type StateStore interface { CAConfig(memdb.WatchSet) (uint64, *structs.CAConfiguration, error) AbandonCh() <-chan struct{} }
Click to show internal directories.
Click to hide internal directories.