Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy interface { List() (map[string]string, error) Get(arn string) (*types.Policy, error) Add(name, desc, policy string) (string, error) Update(polArn, polContents string) error Delete(polArn string) error VersionList(arn string, maxItem int32, noDefaultVersion bool) (map[string]string, error) VersionGet(arn string, vers string) (*types.PolicyVersion, error) VersionAdd(arn string, doc string) error VersionDel(arn string, vers string) error CompareUpdate(arn string, doc string) (upd bool, err error) Walk(prefix string, fct PolicyFunc) error GetAllPolicies(prefix string) ([]string, error) }
type PolicyFunc ¶ added in v1.15.1
Click to show internal directories.
Click to hide internal directories.