Documentation ¶
Index ¶
- func Install(parent iris.Party)
- type ClusterUserProfile
- type Handler
- func (h *Handler) GetClusterProfile() iris.Handler
- func (h *Handler) GetProfile() iris.Handler
- func (h *Handler) IsLogin() iris.Handler
- func (h *Handler) ListUserNamespace() iris.Handler
- func (h *Handler) Login() iris.Handler
- func (h *Handler) Logout() iris.Handler
- func (h *Handler) UpdatePassword() iris.Handler
- func (h *Handler) UpdateProfile() iris.Handler
- type LoginCredential
- type Mfa
- type MfaCredential
- type PasswordSetter
- type ProfileSetter
- type UserProfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterUserProfile ¶
type ClusterUserProfile struct { UserProfile ClusterRoles []v1.ClusterRole `json:"clusterRoles"` }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler() *Handler
func (*Handler) GetClusterProfile ¶
func (h *Handler) GetClusterProfile() iris.Handler
func (*Handler) GetProfile ¶
func (h *Handler) GetProfile() iris.Handler
func (*Handler) ListUserNamespace ¶
func (h *Handler) ListUserNamespace() iris.Handler
func (*Handler) Login ¶
func (h *Handler) Login() iris.Handler
Auth @Tags sessions @Summary User Login @Description User Login @Accept json @Produce json @Param request body LoginCredential true "request" @Router /sessions [post]
func (*Handler) UpdatePassword ¶
func (h *Handler) UpdatePassword() iris.Handler
func (*Handler) UpdateProfile ¶
func (h *Handler) UpdateProfile() iris.Handler
type LoginCredential ¶
type MfaCredential ¶
type PasswordSetter ¶
type ProfileSetter ¶
type UserProfile ¶
Click to show internal directories.
Click to hide internal directories.