Documentation
¶
Overview ¶
Package iamtest runs the shared google.iam.v1 conformance cases against a service's IAM endpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoint ¶
type Endpoint struct {
Get func(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
Set func(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
Test func(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
Resource string
// Permission is a permission valid for the service; the foreign one is derived by the helper.
Permission string
}
Endpoint is one resource's IAM surface.
Click to show internal directories.
Click to hide internal directories.