Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 DefaultIAMPolicyManager ¶
func DefaultIAMPolicyManager() IAMPolicyManager
DefaultIAMPolicyManager returns a shared global policy manager.
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.