Documentation ¶
Index ¶
- type AuthHandler
- func (h *AuthHandler) Authenticate(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)
- func (h *AuthHandler) Refresh(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)
- func (h *AuthHandler) Validate(ctx context.Context, req *wrappers.StringValue) (*pb.AuthResponse, error)
- type GroupHandler
- func (h *GroupHandler) Create(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)
- func (h *GroupHandler) Delete(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)
- func (h *GroupHandler) Get(ctx context.Context, req *pb.GroupRequest) (*ptypes.Group, error)
- func (h *GroupHandler) Update(ctx context.Context, req *ptypes.Group) (*pb.GroupResponse, error)
- type PersonHandler
- type RealmHandler
- func (h *RealmHandler) Create(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)
- func (h *RealmHandler) Delete(ctx context.Context, req *pb.RealmRequest) (*pb.RealmResponse, error)
- func (h *RealmHandler) Get(ctx context.Context, req *pb.RealmRequest) (*ptypes.Realm, error)
- func (h *RealmHandler) Update(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)
- type RoleHandler
- func (h *RoleHandler) Create(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
- func (h *RoleHandler) Delete(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
- func (h *RoleHandler) Get(ctx context.Context, req *pb.RoleRequest) (*ptypes.Role, error)
- func (h *RoleHandler) Update(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
- type UserHandler
- func (h *UserHandler) Create(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
- func (h *UserHandler) Delete(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
- func (h *UserHandler) Get(ctx context.Context, req *pb.UserRequest) (*ptypes.User, error)
- func (h *UserHandler) Update(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(c *server.Config) *AuthHandler
func (*AuthHandler) Authenticate ¶
func (h *AuthHandler) Authenticate(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)
func (*AuthHandler) Refresh ¶
func (h *AuthHandler) Refresh(ctx context.Context, req *pb.AuthRequest) (*pb.AuthResponse, error)
func (*AuthHandler) Validate ¶
func (h *AuthHandler) Validate(ctx context.Context, req *wrappers.StringValue) (*pb.AuthResponse, error)
type GroupHandler ¶
type GroupHandler struct {
// contains filtered or unexported fields
}
func NewGroupHandler ¶
func NewGroupHandler(c *server.Config) *GroupHandler
func (*GroupHandler) Create ¶
func (h *GroupHandler) Create(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)
func (*GroupHandler) Delete ¶
func (h *GroupHandler) Delete(ctx context.Context, req *pb.GroupRequest) (*pb.GroupResponse, error)
func (*GroupHandler) Get ¶
func (h *GroupHandler) Get(ctx context.Context, req *pb.GroupRequest) (*ptypes.Group, error)
func (*GroupHandler) Update ¶
func (h *GroupHandler) Update(ctx context.Context, req *ptypes.Group) (*pb.GroupResponse, error)
type PersonHandler ¶
type PersonHandler struct {
// contains filtered or unexported fields
}
func NewPersonHandler ¶
func NewPersonHandler(c *server.Config) *PersonHandler
func (*PersonHandler) Get ¶
func (h *PersonHandler) Get(ctx context.Context, req *wrappers.StringValue) (*pb.PersonResponse, error)
type RealmHandler ¶
type RealmHandler struct {
// contains filtered or unexported fields
}
func NewRealmHandler ¶
func NewRealmHandler(c *server.Config) *RealmHandler
func (*RealmHandler) Create ¶
func (h *RealmHandler) Create(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)
func (*RealmHandler) Delete ¶
func (h *RealmHandler) Delete(ctx context.Context, req *pb.RealmRequest) (*pb.RealmResponse, error)
func (*RealmHandler) Get ¶
func (h *RealmHandler) Get(ctx context.Context, req *pb.RealmRequest) (*ptypes.Realm, error)
func (*RealmHandler) Update ¶
func (h *RealmHandler) Update(ctx context.Context, req *ptypes.Realm) (*pb.RealmResponse, error)
type RoleHandler ¶
type RoleHandler struct {
// contains filtered or unexported fields
}
func NewRoleHandler ¶
func NewRoleHandler(c *server.Config) *RoleHandler
func (*RoleHandler) Create ¶
func (h *RoleHandler) Create(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
func (*RoleHandler) Delete ¶
func (h *RoleHandler) Delete(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
func (*RoleHandler) Get ¶
func (h *RoleHandler) Get(ctx context.Context, req *pb.RoleRequest) (*ptypes.Role, error)
func (*RoleHandler) Update ¶
func (h *RoleHandler) Update(ctx context.Context, req *pb.RoleRequest) (*pb.RoleResponse, error)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler(c *server.Config) *UserHandler
func (*UserHandler) Create ¶
func (h *UserHandler) Create(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
func (*UserHandler) Delete ¶
func (h *UserHandler) Delete(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
func (*UserHandler) Get ¶
func (h *UserHandler) Get(ctx context.Context, req *pb.UserRequest) (*ptypes.User, error)
func (*UserHandler) Update ¶
func (h *UserHandler) Update(ctx context.Context, req *pb.UserRequest) (*pb.UserResponse, error)
Click to show internal directories.
Click to hide internal directories.