Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PoliciesWalkFunc ¶ added in v1.9.12
type PoliciesWalkFunc func(err error, pol sdktps.AttachedPolicy) error
type User ¶
type User interface {
List() (map[string]string, error)
Get(username string) (*sdktps.User, error)
Create(username string) error
Delete(username string) error
PolicyPut(policyDocument, policyName, username string) error
PolicyAttach(policyARN, username string) error
PolicyDetach(policyARN, username string) error
PolicyAttachedList(username, marker string) ([]sdktps.AttachedPolicy, string, error)
PolicyAttachedWalk(username string, fct PoliciesWalkFunc) error
LoginCheck(username string) error
LoginCreate(username, password string) error
LoginDelete(username string) error
AccessListAll(username string) ([]sdktps.AccessKeyMetadata, error)
AccessList(username string) (map[string]bool, error)
AccessCreate(username string) (string, string, error)
AccessDelete(username, accessKey string) error
}
Click to show internal directories.
Click to hide internal directories.