Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoStore ¶
type DynamoStore struct { TableName string PartitionKey string SortKey string // contains filtered or unexported fields }
DynamoStore is a backend for policies from dynamodb
func NewDynamoStore ¶
func NewDynamoStore(session *session.Session, table string) *DynamoStore
NewDynamoStore creates a new DynamoStore
type IService ¶
type IService interface {
Query(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
}
IService is a service interface for the DynamoStore struct. This allows mocking the service
type PolicyStore ¶
PolicyStore is an interface type for working with different policy backends
Click to show internal directories.
Click to hide internal directories.