Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessKeyItem ¶ added in v1.1.4
type AccessKeyItem struct { UserId string `json:"user_id"` ProjectId string `json:"project_id"` ProjectName string `json:"project_name"` AccessKey string `json:"access_key"` AccessSecret string `json:"access_secret"` Created int64 `json:"create_at"` Expired int64 `json:"expired_at"` Enabled int `json:"enabled"` }
type AccessKeyItemList ¶ added in v1.1.4
type AccessKeyItemList struct { Page int `json:"page"` Size int `json:"size"` Total int `json:"total_count"` Content []AccessKeyItem `json:"content"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) GetCredential ¶
func (a Client) GetCredential(accessKey string) (credential common.Credential, err error)
func (Client) GetKeysByUid ¶
func (a Client) GetKeysByUid(uid string) (credentials []common.Credential, err error)
Click to show internal directories.
Click to hide internal directories.