Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PolicyManagerSet = wire.NewSet( admin.NewIamClient, wire.Bind(new(gclient.IamClient), new(*admin.IamClient)), NewIAMPolicyManager, )
Functions ¶
This section is empty.
Types ¶
type GServiceAccount ¶
type GServiceAccount string
type IAMPolicyManager ¶
type IAMPolicyManager interface { AddIAMPolicyBinding(ctx context.Context, account GServiceAccount, member string, role RoleName) error RemoveIAMPolicyBinding(ctx context.Context, account GServiceAccount, member string, role RoleName) error }
IAMPolicyManager is an interface for making changes to a Google service account's IAM policy.
func NewIAMPolicyManager ¶
NewIAMPolicyManager creates an IAMPolicyManager using the given IamClient. The IAMPolicyManager will execute until ctx is cancelled.
Click to show internal directories.
Click to hide internal directories.