role

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 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 Role

type Role interface {
	List() ([]types.Role, errors.Error)
	Check(name string) (string, errors.Error)
	Add(name, role string) (string, errors.Error)
	Delete(roleName string) errors.Error

	PolicyAttach(policyARN, roleName string) errors.Error
	PolicyDetach(policyARN, roleName string) errors.Error

	PolicyListAttached(roleName string) ([]types.AttachedPolicy, errors.Error)
}

func New

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

Jump to

Keyboard shortcuts

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