Documentation ¶
Index ¶
- func DeleteIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, ...) error
- func Export(ctx context.Context, url string, config *config.ControllerConfig) (*unstructured.Unstructured, error)
- func GetIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, ...) (*v1beta1.IAMPolicyMember, error)
- func SetIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, ...) (*v1beta1.IAMPolicyMember, error)
- type IAMAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteIAMPolicyMember ¶ added in v1.120.0
func DeleteIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, removeMember v1beta1.Member) error
DeleteIAMPolicyMember will remove the specified member for the IAM policy for a resource
func Export ¶
func Export(ctx context.Context, url string, config *config.ControllerConfig) (*unstructured.Unstructured, error)
Export attempts to export the resource specified by url. The url format should match the Cloud-Asset-Inventory format: https://cloud.google.com/asset-inventory/docs/resource-name-format If url is not recognized or not implemented by a direct controller, this returns (nil, nil)
func GetIAMPolicyMember ¶ added in v1.120.0
func GetIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, memberID v1beta1.Member) (*v1beta1.IAMPolicyMember, error)
GetIAMPolicyMember returns the actual IAMPolicyMember for the specified member and referenced resource.
func SetIAMPolicyMember ¶ added in v1.120.0
func SetIAMPolicyMember(ctx context.Context, reader client.Reader, want *v1beta1.IAMPolicyMember, memberID v1beta1.Member) (*v1beta1.IAMPolicyMember, error)
SetIAMPolicyMember will update the IAM policy for the specified member
Types ¶
Click to show internal directories.
Click to hide internal directories.