Documentation
¶
Index ¶
- type AccessTokenRequest
- type AccessTokenValidationRequest
- type AdminType
- type AdministratorDeletion
- type AdministratorsCreation
- type Availability
- type Group
- type GroupCreation
- type InfoRequest
- type MaxTTLRequest
- type NSInfo
- type NameRequest
- type Namespace
- type NamespaceCreation
- type NamespaceIDRequest
- type NamespaceInfo
- type NamespaceRequest
- type NonAdminUsersRequest
- type Org
- type PasswordRequest
- type PublicKeyResponse
- type RefreshMaxTTLRequest
- type StatusResponse
- type User
- type UserCreation
- type UserGroupRequest
- type UserOrgRequest
- type UserRequest
- type UserSetEnabled
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRequest ¶
type AdministratorDeletion ¶
type AdministratorsCreation ¶
type Availability ¶
type Group ¶
type Group struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
ID int64 `json:"id"`
}
Group : base model.
type GroupCreation ¶
type InfoRequest ¶
type MaxTTLRequest ¶
type NameRequest ¶
type NameRequest struct {
Name string `json:"name"`
}
type Namespace ¶
type Namespace struct {
ID int64 `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Alg string `json:"alg" db:"alg"`
RefreshKey []byte `json:"-" db:"refresh_key"`
AccessKey []byte `json:"-" db:"access_key"`
MaxRefreshTTL string `json:"max_refresh_ttl" db:"max_refresh_ttl"`
MaxAccessTTL string `json:"max_access_ttl" db:"max_access_ttl"`
Enabled bool `json:"public_endpoint_enabled" db:"public_endpoint_enabled"`
}
Namespace : base model.
type NamespaceCreation ¶
type NamespaceIDRequest ¶
type NamespaceIDRequest struct {
NsID int64 `json:"ns_id"`
}
type NamespaceInfo ¶
NamespaceInfo : base model.
type NamespaceRequest ¶
type NonAdminUsersRequest ¶
type PasswordRequest ¶
type PublicKeyResponse ¶
type RefreshMaxTTLRequest ¶
type StatusResponse ¶
type User ¶
type User struct {
DateCreated time.Time `json:"date_created" db:"date_created"`
ID int64 `json:"id" db:"id"`
Name string `json:"name" db:"name"`
PasswordHash string `json:"-" db:"password_hash"`
Namespace string `json:"namespace,omitempty" db:"namespace"`
Org string `json:"org,omitempty" db:"org"`
Groups []Group `json:"groups,omitempty" db:"groups"`
Enabled bool `json:"enabled" db:"enabled"`
}
User : base model.
type UserCreation ¶
type UserGroupRequest ¶
type UserOrgRequest ¶
type UserRequest ¶
type UserSetEnabled ¶
Click to show internal directories.
Click to hide internal directories.