Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AkSk ¶
type AkSk struct {
// ProjectId or TenantId is the tenant that the user belongs to.
ProjectId string `json:"project_id,omitempty"`
// The id of the user for whom the AkSk is being generated.
UserId string `json:"user_id,omitempty"`
// The json containing the accesskey and secretkey
Blob string `json:"blob,omitempty"`
//The type of backend ??
Type string `json:"type,omitempty"`
}
type AkSkListOut ¶
type AkSkListOut struct {
Credentials []struct {
UserID string `json:"user_id"`
Links struct {
Self string `json:"self"`
} `json:"links"`
Blob string `json:"blob"`
ProjectID string `json:"project_id"`
Type string `json:"type"`
ID string `json:"id"`
} `json:"credentials"`
Links struct {
Self string `json:"self"`
Previous interface{} `json:"previous"`
Next interface{} `json:"next"`
} `json:"links"`
}
type Credential ¶
type Credential struct {
Credential CredBody `json:"credential"`
}
type Credentials ¶ added in v1.3.3
type GetAkSk ¶
type GetAkSk struct {
Credentials GetAkSkBody `json:"credentials,omitempty"`
}
type GetAkSkBody ¶
type GetAkSkBody struct {
// ProjectId or TenantId is the tenant that the user belongs to.
ProjectId string `json:"project_id,omitempty"`
// The id of the user for whom the AkSk is being generated.
UserId string `json:"user_id,omitempty"`
// The json containing the accesskey and secretkey
Blob string `json:"blob,omitempty"`
//The type of backend
Type string `json:"type,omitempty"`
Links string `json:"links,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.