Documentation ¶
Index ¶
- type Action
- type IdentityRegistry
- func (r *IdentityRegistry) CreateIdentity(ctx apirequest.Context, u *api.Identity) (*api.Identity, error)
- func (r *IdentityRegistry) GetIdentity(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.Identity, error)
- func (r *IdentityRegistry) ListIdentities(ctx apirequest.Context, options *metainternal.ListOptions) (*api.IdentityList, error)
- func (r *IdentityRegistry) UpdateIdentity(ctx apirequest.Context, u *api.Identity) (*api.Identity, error)
- type UserIdentityMappingRegistry
- type UserRegistry
- func (r *UserRegistry) CreateUser(ctx apirequest.Context, u *api.User) (*api.User, error)
- func (r *UserRegistry) GetUser(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.User, error)
- func (r *UserRegistry) ListUsers(ctx apirequest.Context, options *metainternal.ListOptions) (*api.UserList, error)
- func (r *UserRegistry) UpdateUser(ctx apirequest.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 ¶ added in v0.4.2
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 ¶ added in v0.4.2
func NewIdentityRegistry() *IdentityRegistry
func (*IdentityRegistry) CreateIdentity ¶ added in v0.4.2
func (r *IdentityRegistry) CreateIdentity(ctx apirequest.Context, u *api.Identity) (*api.Identity, error)
func (*IdentityRegistry) GetIdentity ¶ added in v0.4.2
func (r *IdentityRegistry) GetIdentity(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.Identity, error)
func (*IdentityRegistry) ListIdentities ¶ added in v0.4.2
func (r *IdentityRegistry) ListIdentities(ctx apirequest.Context, options *metainternal.ListOptions) (*api.IdentityList, error)
func (*IdentityRegistry) UpdateIdentity ¶ added in v0.4.2
func (r *IdentityRegistry) UpdateIdentity(ctx apirequest.Context, u *api.Identity) (*api.Identity, error)
type UserIdentityMappingRegistry ¶ added in v0.2.1
type UserIdentityMappingRegistry struct { Err error Created bool UserIdentityMapping *api.UserIdentityMapping CreatedUserIdentityMapping *api.UserIdentityMapping }
func (*UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping ¶ added in v0.2.1
func (r *UserIdentityMappingRegistry) CreateOrUpdateUserIdentityMapping(mapping *api.UserIdentityMapping) (*api.UserIdentityMapping, bool, error)
func (*UserIdentityMappingRegistry) GetUserIdentityMapping ¶ added in v0.2.2
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 ¶ added in v0.4.2
func NewUserRegistry() *UserRegistry
func (*UserRegistry) CreateUser ¶ added in v0.4.2
func (r *UserRegistry) CreateUser(ctx apirequest.Context, u *api.User) (*api.User, error)
func (*UserRegistry) GetUser ¶
func (r *UserRegistry) GetUser(ctx apirequest.Context, name string, options *metav1.GetOptions) (*api.User, error)
func (*UserRegistry) ListUsers ¶ added in v0.4.2
func (r *UserRegistry) ListUsers(ctx apirequest.Context, options *metainternal.ListOptions) (*api.UserList, error)
func (*UserRegistry) UpdateUser ¶ added in v0.4.2
func (r *UserRegistry) UpdateUser(ctx apirequest.Context, u *api.User) (*api.User, error)
Click to show internal directories.
Click to hide internal directories.