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 ¶
type TestIamClient struct {
// contains filtered or unexported fields
}
func NewTestClient ¶
func NewTestClient() *TestIamClient
func (*TestIamClient) AddSetIamPolicyError ¶
func (c *TestIamClient) AddSetIamPolicyError(err error)
func (*TestIamClient) GetIamPolicy ¶
func (c *TestIamClient) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest) (*iam.Policy, error)
func (*TestIamClient) SetIamPolicy ¶
func (c *TestIamClient) SetIamPolicy(ctx context.Context, req *admin.SetIamPolicyRequest) (*iam.Policy, error)
Click to show internal directories.
Click to hide internal directories.