Documentation
¶
Index ¶
- type Action
- type IdentityRegistry
- func (r *IdentityRegistry) CreateIdentity(ctx kapi.Context, u *api.Identity) (*api.Identity, error)
- func (r *IdentityRegistry) GetIdentity(ctx kapi.Context, name string) (*api.Identity, error)
- func (r *IdentityRegistry) ListIdentities(ctx kapi.Context, labels labels.Selector) (*api.IdentityList, error)
- func (r *IdentityRegistry) UpdateIdentity(ctx kapi.Context, u *api.Identity) (*api.Identity, error)
- type UserIdentityMappingRegistry
- type UserRegistry
- func (r *UserRegistry) CreateUser(ctx kapi.Context, u *api.User) (*api.User, error)
- func (r *UserRegistry) GetUser(ctx kapi.Context, name string) (*api.User, error)
- func (r *UserRegistry) ListUsers(ctx kapi.Context, labels labels.Selector) (*api.UserList, error)
- func (r *UserRegistry) UpdateUser(ctx kapi.Context, u *api.User) (*api.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityRegistry ¶
type IdentityRegistry struct {
GetErr map[string]error
Get map[string]*api.Identity
CreateErr error
Create *api.Identity
UpdateErr error
Update *api.Identity
ListErr error
List *api.IdentityList
Actions *[]Action
}
func NewIdentityRegistry ¶
func NewIdentityRegistry() *IdentityRegistry
func (*IdentityRegistry) CreateIdentity ¶
func (*IdentityRegistry) GetIdentity ¶
func (*IdentityRegistry) ListIdentities ¶
func (r *IdentityRegistry) ListIdentities(ctx kapi.Context, labels labels.Selector) (*api.IdentityList, error)
type UserIdentityMappingRegistry ¶
type UserIdentityMappingRegistry struct {
Err error
Created bool
UserIdentityMapping *api.UserIdentityMapping
CreatedUserIdentityMapping *api.UserIdentityMapping
}
func (*UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping ¶
func (r *UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping(mapping *api.UserIdentityMapping) (*api.UserIdentityMapping, bool, error)
func (*UserIdentityMappingRegistry) GetUserIdentityMapping ¶
func (r *UserIdentityMappingRegistry) GetUserIdentityMapping(name string) (*api.UserIdentityMapping, error)
type UserRegistry ¶
type UserRegistry struct {
GetErr map[string]error
Get map[string]*api.User
CreateErr error
Create *api.User
UpdateErr map[string]error
Update *api.User
ListErr error
List *api.UserList
Actions *[]Action
}
func NewUserRegistry ¶
func NewUserRegistry() *UserRegistry
func (*UserRegistry) CreateUser ¶
func (*UserRegistry) GetUser ¶
func (*UserRegistry) ListUsers ¶
Source Files
¶
- identity.go
- user.go
- useridentitymappingregistry.go
Click to show internal directories.
Click to hide internal directories.