Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServer ¶
type GRPCServer struct { *grpc.Server ClientConn *grpc.ClientConn Store *memory.Store // contains filtered or unexported fields }
func StartGRPCServer ¶
func StartGRPCServer(t *testing.T, ctx context.Context, logger *zap.Logger, conf config.AuthenticationConfig) *GRPCServer
func (*GRPCServer) Client ¶
func (s *GRPCServer) Client() auth.AuthenticationMethodKubernetesServiceClient
func (*GRPCServer) Stop ¶
func (s *GRPCServer) Stop() error
type HTTPServer ¶
type HTTPServer struct {
*GRPCServer
}
func StartHTTPServer ¶
func StartHTTPServer( t *testing.T, ctx context.Context, logger *zap.Logger, conf config.AuthenticationConfig, router chi.Router, ) *HTTPServer
func (*HTTPServer) Stop ¶
func (s *HTTPServer) Stop() error
Click to show internal directories.
Click to hide internal directories.