Documentation ¶
Index ¶
- type AccountAssociationsOnCheck
- type AccountAssociationsOnCreate
- type AccountAssociationsOnDelete
- type AccountAssociationsOnList
- type AccountAssociationsOnUpdate
- type DeprecatedIdentityOnCreate
- type GroupInviteOnCreate
- type GroupInviteOnCreateWithGroup
- type GroupInviteOnDelete
- type GroupInviteOnList
- type GroupOnCreate
- type GroupOnDelete
- type GroupOnList
- type GroupOnUpdate
- type IdentityOnCreate
- type IdentityOnDelete
- type IdentityOnList
- type IdentityOnLookup
- type IdentityOnUpdate
- type IdentityProvidersOnCreate
- type IdentityProvidersOnDelete
- type IdentityProvidersOnList
- type IdentityProvidersOnUpdate
- type MockDeprecatedIdentitiesClient
- func (m MockDeprecatedIdentitiesClient) Create(_ context.Context, given *events.Identity, _ ...grpc.CallOption) (*events.Identity, error)
- func (m MockDeprecatedIdentitiesClient) UpdateMetadata(ctx context.Context, in *events.IdentityMetadata, opts ...grpc.CallOption) (*events.IdentityMetadata, error)
- type MockGroupAccountAssociationsClient
- func (m MockGroupAccountAssociationsClient) Check(_ context.Context, given *iam.AccountAssociationsCheckRequest, ...) (*iam.AccountAssociationsStatus, error)
- func (m MockGroupAccountAssociationsClient) Create(_ context.Context, given *iam.AccountAssociations, _ ...grpc.CallOption) (*iam.AccountAssociations, error)
- func (m MockGroupAccountAssociationsClient) Delete(_ context.Context, given *iam.DeleteAccountAssociationsRequest, ...) (*emptypb.Empty, error)
- func (m MockGroupAccountAssociationsClient) List(_ context.Context, given *iam.AccountAssociationsFilter, _ ...grpc.CallOption) (*iam.AccountAssociationsList, error)
- func (m MockGroupAccountAssociationsClient) Update(_ context.Context, given *iam.AccountAssociations, _ ...grpc.CallOption) (*iam.AccountAssociations, error)
- type MockGroupInvitesClient
- func (m MockGroupInvitesClient) Create(_ context.Context, given *iam.GroupInviteRequest, _ ...grpc.CallOption) (*iam.GroupInvite, error)
- func (m MockGroupInvitesClient) CreateWithGroup(_ context.Context, given *iam.GroupInviteRequest, _ ...grpc.CallOption) (*iam.GroupInvite, error)
- func (m MockGroupInvitesClient) Delete(_ context.Context, given *iam.DeleteGroupInviteRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
- func (m MockGroupInvitesClient) List(_ context.Context, given *iam.GroupInviteFilter, _ ...grpc.CallOption) (*iam.GroupInviteList, error)
- type MockGroupsClient
- func (m MockGroupsClient) Create(_ context.Context, given *iam.CreateGroupRequest, _ ...grpc.CallOption) (*iam.Group, error)
- func (m MockGroupsClient) Delete(_ context.Context, given *iam.DeleteGroupRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
- func (m MockGroupsClient) List(_ context.Context, given *iam.GroupFilter, _ ...grpc.CallOption) (*iam.GroupList, error)
- func (m MockGroupsClient) Update(_ context.Context, given *iam.Group, _ ...grpc.CallOption) (*iam.Group, error)
- type MockGroupsServer
- func (m MockGroupsServer) Create(ctx context.Context, req *iam.CreateGroupRequest) (*iam.Group, error)
- func (m MockGroupsServer) Delete(ctx context.Context, req *iam.DeleteGroupRequest) (*emptypb.Empty, error)
- func (m MockGroupsServer) List(ctx context.Context, req *iam.GroupFilter) (*iam.GroupList, error)
- func (m MockGroupsServer) Update(ctx context.Context, req *iam.Group) (*iam.Group, error)
- type MockIAMClient
- func (m MockIAMClient) AccountAssociations() iam.GroupAccountAssociationsClient
- func (m MockIAMClient) Close() error
- func (m MockIAMClient) DeprecatedIdentities() events.IdentitiesClient
- func (m MockIAMClient) GroupInvites() iam.GroupInvitesClient
- func (m MockIAMClient) Groups() iam.GroupsClient
- func (m MockIAMClient) Identities() iam.IdentitiesClient
- func (m MockIAMClient) IdentityProviders() iam.IdentityProvidersClient
- func (m MockIAMClient) RoleBindings() iam.RoleBindingsClient
- func (m MockIAMClient) Roles() iam.RolesClient
- func (m MockIAMClient) Subscriptions() events.SubscriptionsClient
- type MockIdentitiesClient
- func (m MockIdentitiesClient) Create(_ context.Context, given *iam.CreateIdentityRequest, _ ...grpc.CallOption) (*iam.Identity, error)
- func (m MockIdentitiesClient) Delete(_ context.Context, given *iam.DeleteIdentityRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
- func (m MockIdentitiesClient) List(_ context.Context, given *iam.IdentityFilter, _ ...grpc.CallOption) (*iam.IdentityList, error)
- func (m MockIdentitiesClient) Lookup(_ context.Context, given *iam.LookupRequest, _ ...grpc.CallOption) (*iam.Identity, error)
- func (m MockIdentitiesClient) Update(_ context.Context, given *iam.Identity, _ ...grpc.CallOption) (*iam.Identity, error)
- type MockIdentityProvidersClient
- func (m MockIdentityProvidersClient) Create(_ context.Context, given *api.CreateIdentityProviderRequest, ...) (*api.IdentityProvider, error)
- func (m MockIdentityProvidersClient) Delete(_ context.Context, given *api.DeleteIdentityProviderRequest, ...) (*emptypb.Empty, error)
- func (m MockIdentityProvidersClient) List(_ context.Context, given *api.IdentityProviderFilter, _ ...grpc.CallOption) (*api.IdentityProviderList, error)
- func (m MockIdentityProvidersClient) Update(_ context.Context, given *api.IdentityProvider, _ ...grpc.CallOption) (*api.IdentityProvider, error)
- type MockRoleBindingsClient
- func (m MockRoleBindingsClient) Create(_ context.Context, given *iam.CreateRoleBindingRequest, _ ...grpc.CallOption) (*iam.RoleBinding, error)
- func (m MockRoleBindingsClient) Delete(_ context.Context, given *iam.DeleteRoleBindingRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
- func (m MockRoleBindingsClient) List(_ context.Context, given *iam.RoleBindingFilter, _ ...grpc.CallOption) (*iam.RoleBindingList, error)
- func (m MockRoleBindingsClient) Update(_ context.Context, given *iam.RoleBinding, _ ...grpc.CallOption) (*iam.RoleBinding, error)
- type MockRolesClient
- func (m MockRolesClient) Create(_ context.Context, given *iam.CreateRoleRequest, _ ...grpc.CallOption) (*iam.Role, error)
- func (m MockRolesClient) Delete(_ context.Context, given *iam.DeleteRoleRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
- func (m MockRolesClient) List(_ context.Context, given *iam.RoleFilter, _ ...grpc.CallOption) (*iam.RoleList, error)
- func (m MockRolesClient) Update(_ context.Context, given *iam.Role, _ ...grpc.CallOption) (*iam.Role, error)
- type MockSubscriptionsClient
- func (m MockSubscriptionsClient) Create(_ context.Context, given *events.CreateSubscriptionRequest, ...) (*events.Subscription, error)
- func (m MockSubscriptionsClient) Delete(_ context.Context, given *events.DeleteSubscriptionRequest, ...) (*emptypb.Empty, error)
- func (m MockSubscriptionsClient) List(_ context.Context, given *events.SubscriptionFilter, _ ...grpc.CallOption) (*events.SubscriptionList, error)
- func (m MockSubscriptionsClient) Update(_ context.Context, given *events.Subscription, _ ...grpc.CallOption) (*events.Subscription, error)
- type RoleBindingOnCreate
- type RoleBindingOnDelete
- type RoleBindingOnList
- type RoleBindingOnUpdate
- type RoleOnCreate
- type RoleOnDelete
- type RoleOnList
- type RoleOnUpdate
- type SubscriptionOnCreate
- type SubscriptionOnDelete
- type SubscriptionOnList
- type SubscriptionOnUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAssociationsOnCheck ¶
type AccountAssociationsOnCheck struct { Given *iam.AccountAssociationsCheckRequest Status *iam.AccountAssociationsStatus Error error }
type AccountAssociationsOnCreate ¶
type AccountAssociationsOnCreate struct { Given *iam.AccountAssociations Created *iam.AccountAssociations Error error }
type AccountAssociationsOnDelete ¶
type AccountAssociationsOnDelete struct { Given *iam.DeleteAccountAssociationsRequest Error error }
type AccountAssociationsOnList ¶
type AccountAssociationsOnList struct { Given *iam.AccountAssociationsFilter List *iam.AccountAssociationsList Error error }
type AccountAssociationsOnUpdate ¶
type AccountAssociationsOnUpdate struct { Given *iam.AccountAssociations Updated *iam.AccountAssociations Error error }
type GroupInviteOnCreate ¶
type GroupInviteOnCreate struct { Given *iam.GroupInviteRequest Created *iam.GroupInvite Error error }
type GroupInviteOnCreateWithGroup ¶
type GroupInviteOnCreateWithGroup struct { Given *iam.GroupInviteRequest Created *iam.GroupInvite Error error }
type GroupInviteOnDelete ¶
type GroupInviteOnDelete struct { Given *iam.DeleteGroupInviteRequest Error error }
type GroupInviteOnList ¶
type GroupInviteOnList struct { Given *iam.GroupInviteFilter List *iam.GroupInviteList Error error }
type GroupOnCreate ¶
type GroupOnCreate struct { Given *iam.CreateGroupRequest Created *iam.Group Error error }
type GroupOnDelete ¶
type GroupOnDelete struct { Given *iam.DeleteGroupRequest Error error }
type GroupOnList ¶
type GroupOnList struct { Given *iam.GroupFilter List *iam.GroupList Error error }
type IdentityOnCreate ¶
type IdentityOnDelete ¶
type IdentityOnDelete struct { Given *iam.DeleteIdentityRequest Error error }
type IdentityOnList ¶
type IdentityOnList struct { Given *iam.IdentityFilter List *iam.IdentityList Error error }
type IdentityOnLookup ¶
type IdentityOnLookup struct { Given *iam.LookupRequest Found *iam.Identity Error error }
type IdentityOnUpdate ¶
type IdentityProvidersOnCreate ¶
type IdentityProvidersOnCreate struct { Given *api.CreateIdentityProviderRequest Created *api.IdentityProvider Error error }
type IdentityProvidersOnDelete ¶
type IdentityProvidersOnDelete struct { Given *api.DeleteIdentityProviderRequest Error error }
type IdentityProvidersOnList ¶
type IdentityProvidersOnList struct { Given *api.IdentityProviderFilter List *api.IdentityProviderList Error error }
type IdentityProvidersOnUpdate ¶
type IdentityProvidersOnUpdate struct { Given *api.IdentityProvider Updated *api.IdentityProvider Error error }
type MockDeprecatedIdentitiesClient ¶
type MockDeprecatedIdentitiesClient struct {
OnCreate []DeprecatedIdentityOnCreate
}
func (MockDeprecatedIdentitiesClient) Create ¶
func (m MockDeprecatedIdentitiesClient) Create(_ context.Context, given *events.Identity, _ ...grpc.CallOption) (*events.Identity, error)
func (MockDeprecatedIdentitiesClient) UpdateMetadata ¶
func (m MockDeprecatedIdentitiesClient) UpdateMetadata(ctx context.Context, in *events.IdentityMetadata, opts ...grpc.CallOption) (*events.IdentityMetadata, error)
type MockGroupAccountAssociationsClient ¶
type MockGroupAccountAssociationsClient struct { OnCreate []AccountAssociationsOnCreate OnUpdate []AccountAssociationsOnUpdate OnDelete []AccountAssociationsOnDelete OnList []AccountAssociationsOnList OnCheck []AccountAssociationsOnCheck }
func (MockGroupAccountAssociationsClient) Check ¶
func (m MockGroupAccountAssociationsClient) Check(_ context.Context, given *iam.AccountAssociationsCheckRequest, _ ...grpc.CallOption) (*iam.AccountAssociationsStatus, error)
func (MockGroupAccountAssociationsClient) Create ¶
func (m MockGroupAccountAssociationsClient) Create(_ context.Context, given *iam.AccountAssociations, _ ...grpc.CallOption) (*iam.AccountAssociations, error)
func (MockGroupAccountAssociationsClient) Delete ¶
func (m MockGroupAccountAssociationsClient) Delete(_ context.Context, given *iam.DeleteAccountAssociationsRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockGroupAccountAssociationsClient) List ¶
func (m MockGroupAccountAssociationsClient) List(_ context.Context, given *iam.AccountAssociationsFilter, _ ...grpc.CallOption) (*iam.AccountAssociationsList, error)
func (MockGroupAccountAssociationsClient) Update ¶
func (m MockGroupAccountAssociationsClient) Update(_ context.Context, given *iam.AccountAssociations, _ ...grpc.CallOption) (*iam.AccountAssociations, error)
type MockGroupInvitesClient ¶
type MockGroupInvitesClient struct { OnCreate []GroupInviteOnCreate OnCreateWithGroup []GroupInviteOnCreateWithGroup OnDelete []GroupInviteOnDelete OnList []GroupInviteOnList }
func (MockGroupInvitesClient) Create ¶
func (m MockGroupInvitesClient) Create(_ context.Context, given *iam.GroupInviteRequest, _ ...grpc.CallOption) (*iam.GroupInvite, error)
func (MockGroupInvitesClient) CreateWithGroup ¶
func (m MockGroupInvitesClient) CreateWithGroup(_ context.Context, given *iam.GroupInviteRequest, _ ...grpc.CallOption) (*iam.GroupInvite, error)
func (MockGroupInvitesClient) Delete ¶
func (m MockGroupInvitesClient) Delete(_ context.Context, given *iam.DeleteGroupInviteRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockGroupInvitesClient) List ¶
func (m MockGroupInvitesClient) List(_ context.Context, given *iam.GroupInviteFilter, _ ...grpc.CallOption) (*iam.GroupInviteList, error)
type MockGroupsClient ¶
type MockGroupsClient struct { OnCreate []GroupOnCreate OnUpdate []GroupOnUpdate OnDelete []GroupOnDelete OnList []GroupOnList }
func (MockGroupsClient) Create ¶
func (m MockGroupsClient) Create(_ context.Context, given *iam.CreateGroupRequest, _ ...grpc.CallOption) (*iam.Group, error)
func (MockGroupsClient) Delete ¶
func (m MockGroupsClient) Delete(_ context.Context, given *iam.DeleteGroupRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockGroupsClient) List ¶
func (m MockGroupsClient) List(_ context.Context, given *iam.GroupFilter, _ ...grpc.CallOption) (*iam.GroupList, error)
type MockGroupsServer ¶
type MockGroupsServer struct { iam.UnimplementedGroupsServer Client MockGroupsClient }
func (MockGroupsServer) Create ¶
func (m MockGroupsServer) Create(ctx context.Context, req *iam.CreateGroupRequest) (*iam.Group, error)
func (MockGroupsServer) Delete ¶
func (m MockGroupsServer) Delete(ctx context.Context, req *iam.DeleteGroupRequest) (*emptypb.Empty, error)
func (MockGroupsServer) List ¶
func (m MockGroupsServer) List(ctx context.Context, req *iam.GroupFilter) (*iam.GroupList, error)
type MockIAMClient ¶
type MockIAMClient struct { OnClose error GroupsClient MockGroupsClient GroupInvitesClient MockGroupInvitesClient RolesClient MockRolesClient RoleBindingsClient MockRoleBindingsClient IdentitiesClient MockIdentitiesClient DeprecatedIdentitiesClient MockDeprecatedIdentitiesClient IdentityProvidersClient MockIdentityProvidersClient GroupAccountAssociationsClient MockGroupAccountAssociationsClient SubscriptionsClient MockSubscriptionsClient }
func (MockIAMClient) AccountAssociations ¶
func (m MockIAMClient) AccountAssociations() iam.GroupAccountAssociationsClient
func (MockIAMClient) Close ¶
func (m MockIAMClient) Close() error
func (MockIAMClient) DeprecatedIdentities ¶
func (m MockIAMClient) DeprecatedIdentities() events.IdentitiesClient
func (MockIAMClient) GroupInvites ¶
func (m MockIAMClient) GroupInvites() iam.GroupInvitesClient
func (MockIAMClient) Groups ¶
func (m MockIAMClient) Groups() iam.GroupsClient
func (MockIAMClient) Identities ¶
func (m MockIAMClient) Identities() iam.IdentitiesClient
func (MockIAMClient) IdentityProviders ¶
func (m MockIAMClient) IdentityProviders() iam.IdentityProvidersClient
func (MockIAMClient) RoleBindings ¶
func (m MockIAMClient) RoleBindings() iam.RoleBindingsClient
func (MockIAMClient) Roles ¶
func (m MockIAMClient) Roles() iam.RolesClient
func (MockIAMClient) Subscriptions ¶
func (m MockIAMClient) Subscriptions() events.SubscriptionsClient
type MockIdentitiesClient ¶
type MockIdentitiesClient struct { OnCreate []IdentityOnCreate OnUpdate []IdentityOnUpdate OnDelete []IdentityOnDelete OnList []IdentityOnList OnLooKup []IdentityOnLookup }
func (MockIdentitiesClient) Create ¶
func (m MockIdentitiesClient) Create(_ context.Context, given *iam.CreateIdentityRequest, _ ...grpc.CallOption) (*iam.Identity, error)
func (MockIdentitiesClient) Delete ¶
func (m MockIdentitiesClient) Delete(_ context.Context, given *iam.DeleteIdentityRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockIdentitiesClient) List ¶
func (m MockIdentitiesClient) List(_ context.Context, given *iam.IdentityFilter, _ ...grpc.CallOption) (*iam.IdentityList, error)
func (MockIdentitiesClient) Lookup ¶
func (m MockIdentitiesClient) Lookup(_ context.Context, given *iam.LookupRequest, _ ...grpc.CallOption) (*iam.Identity, error)
type MockIdentityProvidersClient ¶
type MockIdentityProvidersClient struct { OnCreate []IdentityProvidersOnCreate OnUpdate []IdentityProvidersOnUpdate OnDelete []IdentityProvidersOnDelete OnList []IdentityProvidersOnList }
func (MockIdentityProvidersClient) Create ¶
func (m MockIdentityProvidersClient) Create(_ context.Context, given *api.CreateIdentityProviderRequest, _ ...grpc.CallOption) (*api.IdentityProvider, error)
func (MockIdentityProvidersClient) Delete ¶
func (m MockIdentityProvidersClient) Delete(_ context.Context, given *api.DeleteIdentityProviderRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockIdentityProvidersClient) List ¶
func (m MockIdentityProvidersClient) List(_ context.Context, given *api.IdentityProviderFilter, _ ...grpc.CallOption) (*api.IdentityProviderList, error)
func (MockIdentityProvidersClient) Update ¶
func (m MockIdentityProvidersClient) Update(_ context.Context, given *api.IdentityProvider, _ ...grpc.CallOption) (*api.IdentityProvider, error)
type MockRoleBindingsClient ¶
type MockRoleBindingsClient struct { OnCreate []RoleBindingOnCreate OnUpdate []RoleBindingOnUpdate OnDelete []RoleBindingOnDelete OnList []RoleBindingOnList }
func (MockRoleBindingsClient) Create ¶
func (m MockRoleBindingsClient) Create(_ context.Context, given *iam.CreateRoleBindingRequest, _ ...grpc.CallOption) (*iam.RoleBinding, error)
func (MockRoleBindingsClient) Delete ¶
func (m MockRoleBindingsClient) Delete(_ context.Context, given *iam.DeleteRoleBindingRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockRoleBindingsClient) List ¶
func (m MockRoleBindingsClient) List(_ context.Context, given *iam.RoleBindingFilter, _ ...grpc.CallOption) (*iam.RoleBindingList, error)
func (MockRoleBindingsClient) Update ¶
func (m MockRoleBindingsClient) Update(_ context.Context, given *iam.RoleBinding, _ ...grpc.CallOption) (*iam.RoleBinding, error)
type MockRolesClient ¶
type MockRolesClient struct { OnCreate []RoleOnCreate OnUpdate []RoleOnUpdate OnDelete []RoleOnDelete OnList []RoleOnList }
func (MockRolesClient) Create ¶
func (m MockRolesClient) Create(_ context.Context, given *iam.CreateRoleRequest, _ ...grpc.CallOption) (*iam.Role, error)
func (MockRolesClient) Delete ¶
func (m MockRolesClient) Delete(_ context.Context, given *iam.DeleteRoleRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockRolesClient) List ¶
func (m MockRolesClient) List(_ context.Context, given *iam.RoleFilter, _ ...grpc.CallOption) (*iam.RoleList, error)
type MockSubscriptionsClient ¶
type MockSubscriptionsClient struct { OnCreate []SubscriptionOnCreate OnUpdate []SubscriptionOnUpdate OnDelete []SubscriptionOnDelete OnList []SubscriptionOnList }
func (MockSubscriptionsClient) Create ¶
func (m MockSubscriptionsClient) Create(_ context.Context, given *events.CreateSubscriptionRequest, _ ...grpc.CallOption) (*events.Subscription, error)
func (MockSubscriptionsClient) Delete ¶
func (m MockSubscriptionsClient) Delete(_ context.Context, given *events.DeleteSubscriptionRequest, _ ...grpc.CallOption) (*emptypb.Empty, error)
func (MockSubscriptionsClient) List ¶
func (m MockSubscriptionsClient) List(_ context.Context, given *events.SubscriptionFilter, _ ...grpc.CallOption) (*events.SubscriptionList, error)
func (MockSubscriptionsClient) Update ¶
func (m MockSubscriptionsClient) Update(_ context.Context, given *events.Subscription, _ ...grpc.CallOption) (*events.Subscription, error)
type RoleBindingOnCreate ¶
type RoleBindingOnCreate struct { Given *iam.CreateRoleBindingRequest Created *iam.RoleBinding Error error }
type RoleBindingOnDelete ¶
type RoleBindingOnDelete struct { Given *iam.DeleteRoleBindingRequest Error error }
type RoleBindingOnList ¶
type RoleBindingOnList struct { Given *iam.RoleBindingFilter List *iam.RoleBindingList Error error }
type RoleBindingOnUpdate ¶
type RoleBindingOnUpdate struct { Given *iam.RoleBinding Updated *iam.RoleBinding Error error }
type RoleOnCreate ¶
type RoleOnCreate struct { Given *iam.CreateRoleRequest Created *iam.Role Error error }
type RoleOnDelete ¶
type RoleOnDelete struct { Given *iam.DeleteRoleRequest Error error }
type RoleOnList ¶
type RoleOnList struct { Given *iam.RoleFilter List *iam.RoleList Error error }
type SubscriptionOnCreate ¶
type SubscriptionOnCreate struct { Given *events.CreateSubscriptionRequest Created *events.Subscription Error error }
type SubscriptionOnDelete ¶
type SubscriptionOnDelete struct { Given *events.DeleteSubscriptionRequest Error error }
type SubscriptionOnList ¶
type SubscriptionOnList struct { Given *events.SubscriptionFilter List *events.SubscriptionList Error error }
type SubscriptionOnUpdate ¶
type SubscriptionOnUpdate struct { Given *events.Subscription Updated *events.Subscription Error error }
Click to show internal directories.
Click to hide internal directories.