Documentation ¶
Index ¶
- type AppendPermissionPolicyRequest
- type BindingPolicyRoleRequest
- type BindingRoleUserRequest
- type CreatePolicyRequest
- type CreateRoleRequest
- type CreateRoleResponse
- type CreateUserRequest
- type CreateUserResponse
- type DeleteUserRequest
- type DeleteUserResponse
- type LoginRequest
- type LoginResponse
- type Meta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindingPolicyRoleRequest ¶
type BindingPolicyRoleRequest struct { RoleID int64 `json:"role_id"` PolicyIDs []int64 `json:"policy_ids"` }
BindingPolicyRoleRequest
type BindingRoleUserRequest ¶
type BindingRoleUserRequest struct { UserID int64 `json:"user_id"` RoleIDs []int64 `json:"role_ids"` }
CreateUserRequest
type CreatePolicyRequest ¶
type CreatePolicyRequest struct { Name string `json:"name"` Description string `json:"description"` }
CreatePolicyRequest
type CreateRoleRequest ¶
CreateRoleRequest
type CreateUserRequest ¶
type CreateUserRequest struct { Username string `json:"username"` Password string `json:"password"` Email string `json:"email"` }
CreateUserRequest
type CreateUserResponse ¶
type CreateUserResponse struct {
Meta Meta `json:"meta"`
}
CreateUserResponse
type DeleteUserRequest ¶
type DeleteUserRequest struct {
UserID int64 `json:"user_id"`
}
DeleteUserRequest
type DeleteUserResponse ¶
type DeleteUserResponse struct {
Meta Meta `json:"meta"`
}
DeleteUserResponse
type LoginRequest ¶
LoginRequest
type LoginResponse ¶
type LoginResponse struct {
Meta Meta `json:"meta"`
}
Click to show internal directories.
Click to hide internal directories.