Documentation ¶
Index ¶
- type Action
- type IdentityRegistry
- func (r *IdentityRegistry) CreateIdentity(ctx apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)
- func (r *IdentityRegistry) GetIdentity(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.Identity, error)
- func (r *IdentityRegistry) ListIdentities(ctx apirequest.Context, options *metainternal.ListOptions) (*userapi.IdentityList, error)
- func (r *IdentityRegistry) UpdateIdentity(ctx apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)
- type UserIdentityMappingRegistry
- type UserRegistry
- func (r *UserRegistry) CreateUser(ctx apirequest.Context, u *userapi.User) (*userapi.User, error)
- func (r *UserRegistry) GetUser(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.User, error)
- func (r *UserRegistry) ListUsers(ctx apirequest.Context, options *metainternal.ListOptions) (*userapi.UserList, error)
- func (r *UserRegistry) UpdateUser(ctx apirequest.Context, u *userapi.User) (*userapi.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]*userapi.Identity CreateErr error Create *userapi.Identity UpdateErr error Update *userapi.Identity ListErr error List *userapi.IdentityList Actions *[]Action }
func NewIdentityRegistry ¶
func NewIdentityRegistry() *IdentityRegistry
func (*IdentityRegistry) CreateIdentity ¶
func (r *IdentityRegistry) CreateIdentity(ctx apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)
func (*IdentityRegistry) GetIdentity ¶
func (r *IdentityRegistry) GetIdentity(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.Identity, error)
func (*IdentityRegistry) ListIdentities ¶
func (r *IdentityRegistry) ListIdentities(ctx apirequest.Context, options *metainternal.ListOptions) (*userapi.IdentityList, error)
func (*IdentityRegistry) UpdateIdentity ¶
func (r *IdentityRegistry) UpdateIdentity(ctx apirequest.Context, u *userapi.Identity) (*userapi.Identity, error)
type UserIdentityMappingRegistry ¶
type UserIdentityMappingRegistry struct { Err error Created bool UserIdentityMapping *userapi.UserIdentityMapping CreatedUserIdentityMapping *userapi.UserIdentityMapping }
func (*UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping ¶
func (r *UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping(mapping *userapi.UserIdentityMapping) (*userapi.UserIdentityMapping, bool, error)
func (*UserIdentityMappingRegistry) GetUserIdentityMapping ¶
func (r *UserIdentityMappingRegistry) GetUserIdentityMapping(name string) (*userapi.UserIdentityMapping, error)
type UserRegistry ¶
type UserRegistry struct { GetErr map[string]error Get map[string]*userapi.User CreateErr error Create *userapi.User UpdateErr map[string]error Update *userapi.User ListErr error List *userapi.UserList Actions *[]Action }
func NewUserRegistry ¶
func NewUserRegistry() *UserRegistry
func (*UserRegistry) CreateUser ¶
func (r *UserRegistry) CreateUser(ctx apirequest.Context, u *userapi.User) (*userapi.User, error)
func (*UserRegistry) GetUser ¶
func (r *UserRegistry) GetUser(ctx apirequest.Context, name string, options *metav1.GetOptions) (*userapi.User, error)
func (*UserRegistry) ListUsers ¶
func (r *UserRegistry) ListUsers(ctx apirequest.Context, options *metainternal.ListOptions) (*userapi.UserList, error)
func (*UserRegistry) UpdateUser ¶
func (r *UserRegistry) UpdateUser(ctx apirequest.Context, u *userapi.User) (*userapi.User, error)
Click to show internal directories.
Click to hide internal directories.