Documentation ¶
Overview ¶
Package qlight is a generated GoMock package.
Index ¶
Constants ¶
View Source
const ConnectorName = "tokenmanager"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPluginTokenManager ¶
type MockPluginTokenManager struct {
// contains filtered or unexported fields
}
MockPluginTokenManager is a mock of PluginTokenManager interface.
func NewMockPluginTokenManager ¶
func NewMockPluginTokenManager(ctrl *gomock.Controller) *MockPluginTokenManager
NewMockPluginTokenManager creates a new mock instance.
func (*MockPluginTokenManager) EXPECT ¶
func (m *MockPluginTokenManager) EXPECT() *MockPluginTokenManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginTokenManager) PluginTokenManager ¶
func (m *MockPluginTokenManager) PluginTokenManager(ctx context.Context) (int32, error)
PluginTokenManager mocks base method.
func (*MockPluginTokenManager) TokenRefresh ¶
func (m *MockPluginTokenManager) TokenRefresh(ctx context.Context, currentToken, psi string) (string, error)
TokenRefresh mocks base method.
type MockPluginTokenManagerMockRecorder ¶
type MockPluginTokenManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginTokenManagerMockRecorder is the mock recorder for MockPluginTokenManager.
func (*MockPluginTokenManagerMockRecorder) PluginTokenManager ¶
func (mr *MockPluginTokenManagerMockRecorder) PluginTokenManager(ctx interface{}) *gomock.Call
PluginTokenManager indicates an expected call of PluginTokenManager.
func (*MockPluginTokenManagerMockRecorder) TokenRefresh ¶
func (mr *MockPluginTokenManagerMockRecorder) TokenRefresh(ctx, currentToken, psi interface{}) *gomock.Call
TokenRefresh indicates an expected call of TokenRefresh.
type PluginConnector ¶
type PluginConnector struct {
plugin.Plugin
}
func (*PluginConnector) GRPCClient ¶
func (p *PluginConnector) GRPCClient(ctx context.Context, b *plugin.GRPCBroker, cc *grpc.ClientConn) (interface{}, error)
func (*PluginConnector) GRPCServer ¶
func (p *PluginConnector) GRPCServer(b *plugin.GRPCBroker, s *grpc.Server) error
type PluginGateway ¶
type PluginGateway struct {
// contains filtered or unexported fields
}
func (*PluginGateway) PluginTokenManager ¶
func (p *PluginGateway) PluginTokenManager(ctx context.Context) (int32, error)
func (*PluginGateway) TokenRefresh ¶
type PluginTokenManager ¶
type PluginTokenManagerDeferFunc ¶
type PluginTokenManagerDeferFunc func() (PluginTokenManager, error)
type ReloadablePluginTokenManager ¶
type ReloadablePluginTokenManager struct {
DeferFunc PluginTokenManagerDeferFunc
}
func (*ReloadablePluginTokenManager) PluginTokenManager ¶
func (d *ReloadablePluginTokenManager) PluginTokenManager(ctx context.Context) (int32, error)
func (*ReloadablePluginTokenManager) TokenRefresh ¶
Click to show internal directories.
Click to hide internal directories.