group

package
v1.9.13 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: MIT Imports: 7 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, liberr.Error)
	UserCheck(username, groupName string) (liberr.Error, bool)
	UserAdd(username, groupName string) liberr.Error
	UserRemove(username, groupName string) liberr.Error

	List() (map[string]string, liberr.Error)
	Add(groupName string) liberr.Error
	Remove(groupName string) liberr.Error

	PolicyList(groupName string) (map[string]string, liberr.Error)
	PolicyAttach(groupName, polArn string) liberr.Error
	PolicyDetach(groupName, polArn string) liberr.Error
	PolicyAttachedList(groupName, marker string) ([]sdktps.AttachedPolicy, string, liberr.Error)
	PolicyAttachedWalk(groupName string, fct PoliciesWalkFunc) liberr.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 liberr.Error, pol sdktps.AttachedPolicy) liberr.Error

Jump to

Keyboard shortcuts

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