group

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Group

type Group interface {
	UserList(username string) ([]string, error)
	UserCheck(username, groupName string) (error, bool)
	UserAdd(username, groupName string) error
	UserRemove(username, groupName string) error

	List() (map[string]string, error)
	Add(groupName string) error
	Remove(groupName string) error

	PolicyList(groupName string) (map[string]string, error)
	PolicyAttach(groupName, polArn string) error
	PolicyDetach(groupName, polArn string) error
	PolicyAttachedList(groupName, marker string) ([]sdktps.AttachedPolicy, string, error)
	PolicyAttachedWalk(groupName string, fct PoliciesWalkFunc) error
}

func New

func New(ctx context.Context, bucket, region string, iam *sdkiam.Client, s3 *sdksss.Client) Group

type PoliciesWalkFunc added in v1.9.12

type PoliciesWalkFunc func(err error, pol sdktps.AttachedPolicy) error

Jump to

Keyboard shortcuts

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