policy

package
v0.0.5-0...-3bd4ab3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: CC0-1.0 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 struct {
	// contains filtered or unexported fields
}

Policy contains the necessary properties for testing *policy.Document objects

func New

func New(client client.ConfigProvider, keyID string) *Policy

New returns a new *Policy

func (*Policy) Statement

func (p *Policy) Statement(t *testing.T, doc *policy.Document) *statement.Statement

Statement returns a newly instantiated *statement.Statement object this is used for filtering all of the statements in all of the policies related to the kms key. If doc is nil, the policies will be queried from AWS

Jump to

Keyboard shortcuts

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