Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IamClient ¶
type IamClient interface { // GetIamPolicy see https://pkg.go.dev/cloud.google.com/go/iam/admin/apiv1?tab=doc#IamClient.GetIamPolicy GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest) (*iam.Policy, error) // SetIamPolicy see https://pkg.go.dev/cloud.google.com/go/iam/admin/apiv1?tab=doc#IamClient.SetIamPolicy SetIamPolicy(ctx context.Context, req *admin.SetIamPolicyRequest) (*iam.Policy, error) }
type TestIamClient ¶ added in v0.17.0
type TestIamClient struct {
// contains filtered or unexported fields
}
func NewTestClient ¶
func NewTestClient() *TestIamClient
func (*TestIamClient) AddSetIamPolicyError ¶ added in v0.17.0
func (c *TestIamClient) AddSetIamPolicyError(err error)
func (*TestIamClient) GetIamPolicy ¶ added in v0.17.0
func (c *TestIamClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest) (*iam.Policy, error)
func (*TestIamClient) SetIamPolicy ¶ added in v0.17.0
func (c *TestIamClient) SetIamPolicy(ctx context.Context, req *admin.SetIamPolicyRequest) (*iam.Policy, error)
Click to show internal directories.
Click to hide internal directories.