policy

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2020 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 Policy

type Policy interface {
	List() (map[string]string, errors.Error)
	Add(name, desc, policy string) (string, errors.Error)
	Update(polArn, polContents string) errors.Error
	Delete(polArn string) errors.Error
}

func New

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

Jump to

Keyboard shortcuts

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