Documentation
¶
Index ¶
- type TestPlugin
- func (p *TestPlugin) Configure(ctx context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
- func (p *TestPlugin) GetAllGroups(ctx context.Context, request *idmangv1.GetAllGroupsRequest) (*idmangv1.GetAllGroupsResponse, error)
- func (p *TestPlugin) GetGroup(ctx context.Context, request *idmangv1.GetGroupRequest) (*idmangv1.GetGroupResponse, error)
- func (p *TestPlugin) GetGroupsForUser(ctx context.Context, request *idmangv1.GetGroupsForUserRequest) (*idmangv1.GetGroupsForUserResponse, error)
- func (p *TestPlugin) GetUsersForGroup(ctx context.Context, request *idmangv1.GetUsersForGroupRequest) (*idmangv1.GetUsersForGroupResponse, error)
- func (p *TestPlugin) SetLogger(logger hclog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestPlugin ¶
type TestPlugin struct {
idmangv1.UnsafeIdentityManagementServiceServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
TestPlugin is a simple test implementation of KeystoreProviderServer
func NewTestPlugin ¶
func NewTestPlugin() *TestPlugin
func (*TestPlugin) Configure ¶
func (p *TestPlugin) Configure( ctx context.Context, req *configv1.ConfigureRequest, ) (*configv1.ConfigureResponse, error)
Configure configures the plugin.
func (*TestPlugin) GetAllGroups ¶
func (p *TestPlugin) GetAllGroups( ctx context.Context, request *idmangv1.GetAllGroupsRequest, ) (*idmangv1.GetAllGroupsResponse, error)
func (*TestPlugin) GetGroup ¶
func (p *TestPlugin) GetGroup( ctx context.Context, request *idmangv1.GetGroupRequest, ) (*idmangv1.GetGroupResponse, error)
func (*TestPlugin) GetGroupsForUser ¶
func (p *TestPlugin) GetGroupsForUser( ctx context.Context, request *idmangv1.GetGroupsForUserRequest, ) (*idmangv1.GetGroupsForUserResponse, error)
func (*TestPlugin) GetUsersForGroup ¶
func (p *TestPlugin) GetUsersForGroup( ctx context.Context, request *idmangv1.GetUsersForGroupRequest, ) (*idmangv1.GetUsersForGroupResponse, error)
func (*TestPlugin) SetLogger ¶
func (p *TestPlugin) SetLogger(logger hclog.Logger)
Click to show internal directories.
Click to hide internal directories.