Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsPolicyStoreTableName = "ResourcePolicies"
Functions ¶
func UpdateItemInput ¶
func UpdateItemInput(rar rar.ResourceActionRoles) (*dynamodb.UpdateItemInput, error)
Types ¶
type DynamodbClient ¶
type DynamodbClient interface { Scan(ctx context.Context, params *ddb.ScanInput, optFns ...func(*ddb.Options)) (*ddb.ScanOutput, error) UpdateItem(ctx context.Context, params *ddb.UpdateItemInput, optFns ...func(*ddb.Options)) (*ddb.UpdateItemOutput, error) }
func NewDynamodbClient ¶
func NewDynamodbClient(key []byte, opt awscommon.AWSClientOptions) (DynamodbClient, error)
type PolicyStoreSvc ¶
type PolicyStoreSvc interface { GetResourceRoles() ([]rar.ResourceActionRoles, error) UpdateResourceRole(rar rar.ResourceActionRoles) error }
func NewPolicyStoreSvc ¶
func NewPolicyStoreSvc(client DynamodbClient) PolicyStoreSvc
Click to show internal directories.
Click to hide internal directories.