v2

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL