Documentation ¶
Index ¶
Constants ¶
View Source
const ( OSSFullAccess = "oss_full_access" OSSReadOnly = "oss_read_only" )
Variables ¶
View Source
var ErrAccessKeyNotExist = errors.New("Access key does not exist")
Functions ¶
This section is empty.
Types ¶
type Credential ¶
type Credential struct { // UserId string ExternUserId string ExternRootId string ExternRootName string DisplayName string AccessKeyID string SecretAccessKey string Policy *policy.Policy AllowOtherUserAccess bool }
credential container for access and secret keys.
func (Credential) String ¶
func (a Credential) String() string
Click to show internal directories.
Click to hide internal directories.