Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePermissionServiceClient
- func (fake *FakePermissionServiceClient) HasPermission(ctx context.Context, in *protos.HasPermissionRequest, opts ...grpc.CallOption) (*protos.HasPermissionResponse, error)
- func (fake *FakePermissionServiceClient) HasPermissionArgsForCall(i int) (context.Context, *protos.HasPermissionRequest, []grpc.CallOption)
- func (fake *FakePermissionServiceClient) HasPermissionCallCount() int
- func (fake *FakePermissionServiceClient) HasPermissionReturns(result1 *protos.HasPermissionResponse, result2 error)
- func (fake *FakePermissionServiceClient) HasPermissionReturnsOnCall(i int, result1 *protos.HasPermissionResponse, result2 error)
- func (fake *FakePermissionServiceClient) Invocations() map[string][][]interface{}
- func (fake *FakePermissionServiceClient) ListResourcePatterns(ctx context.Context, in *protos.ListResourcePatternsRequest, ...) (*protos.ListResourcePatternsResponse, error)
- func (fake *FakePermissionServiceClient) ListResourcePatternsArgsForCall(i int) (context.Context, *protos.ListResourcePatternsRequest, []grpc.CallOption)
- func (fake *FakePermissionServiceClient) ListResourcePatternsCallCount() int
- func (fake *FakePermissionServiceClient) ListResourcePatternsReturns(result1 *protos.ListResourcePatternsResponse, result2 error)
- func (fake *FakePermissionServiceClient) ListResourcePatternsReturnsOnCall(i int, result1 *protos.ListResourcePatternsResponse, result2 error)
- type FakePermissionServiceServer
- func (fake *FakePermissionServiceServer) HasPermission(arg1 context.Context, arg2 *protos.HasPermissionRequest) (*protos.HasPermissionResponse, error)
- func (fake *FakePermissionServiceServer) HasPermissionArgsForCall(i int) (context.Context, *protos.HasPermissionRequest)
- func (fake *FakePermissionServiceServer) HasPermissionCallCount() int
- func (fake *FakePermissionServiceServer) HasPermissionReturns(result1 *protos.HasPermissionResponse, result2 error)
- func (fake *FakePermissionServiceServer) HasPermissionReturnsOnCall(i int, result1 *protos.HasPermissionResponse, result2 error)
- func (fake *FakePermissionServiceServer) Invocations() map[string][][]interface{}
- func (fake *FakePermissionServiceServer) ListResourcePatterns(arg1 context.Context, arg2 *protos.ListResourcePatternsRequest) (*protos.ListResourcePatternsResponse, error)
- func (fake *FakePermissionServiceServer) ListResourcePatternsArgsForCall(i int) (context.Context, *protos.ListResourcePatternsRequest)
- func (fake *FakePermissionServiceServer) ListResourcePatternsCallCount() int
- func (fake *FakePermissionServiceServer) ListResourcePatternsReturns(result1 *protos.ListResourcePatternsResponse, result2 error)
- func (fake *FakePermissionServiceServer) ListResourcePatternsReturnsOnCall(i int, result1 *protos.ListResourcePatternsResponse, result2 error)
- type FakeRoleServiceClient
- func (fake *FakeRoleServiceClient) AssignRole(ctx context.Context, in *protos.AssignRoleRequest, opts ...grpc.CallOption) (*protos.AssignRoleResponse, error)
- func (fake *FakeRoleServiceClient) AssignRoleArgsForCall(i int) (context.Context, *protos.AssignRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) AssignRoleCallCount() int
- func (fake *FakeRoleServiceClient) AssignRoleReturns(result1 *protos.AssignRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) AssignRoleReturnsOnCall(i int, result1 *protos.AssignRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) CreateRole(ctx context.Context, in *protos.CreateRoleRequest, opts ...grpc.CallOption) (*protos.CreateRoleResponse, error)
- func (fake *FakeRoleServiceClient) CreateRoleArgsForCall(i int) (context.Context, *protos.CreateRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) CreateRoleCallCount() int
- func (fake *FakeRoleServiceClient) CreateRoleReturns(result1 *protos.CreateRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) CreateRoleReturnsOnCall(i int, result1 *protos.CreateRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) DeleteRole(ctx context.Context, in *protos.DeleteRoleRequest, opts ...grpc.CallOption) (*protos.DeleteRoleResponse, error)
- func (fake *FakeRoleServiceClient) DeleteRoleArgsForCall(i int) (context.Context, *protos.DeleteRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) DeleteRoleCallCount() int
- func (fake *FakeRoleServiceClient) DeleteRoleReturns(result1 *protos.DeleteRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) DeleteRoleReturnsOnCall(i int, result1 *protos.DeleteRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) GetRole(ctx context.Context, in *protos.GetRoleRequest, opts ...grpc.CallOption) (*protos.GetRoleResponse, error)
- func (fake *FakeRoleServiceClient) GetRoleArgsForCall(i int) (context.Context, *protos.GetRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) GetRoleCallCount() int
- func (fake *FakeRoleServiceClient) GetRoleReturns(result1 *protos.GetRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) GetRoleReturnsOnCall(i int, result1 *protos.GetRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) HasRole(ctx context.Context, in *protos.HasRoleRequest, opts ...grpc.CallOption) (*protos.HasRoleResponse, error)
- func (fake *FakeRoleServiceClient) HasRoleArgsForCall(i int) (context.Context, *protos.HasRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) HasRoleCallCount() int
- func (fake *FakeRoleServiceClient) HasRoleReturns(result1 *protos.HasRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) HasRoleReturnsOnCall(i int, result1 *protos.HasRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) Invocations() map[string][][]interface{}
- func (fake *FakeRoleServiceClient) ListActorRoles(ctx context.Context, in *protos.ListActorRolesRequest, opts ...grpc.CallOption) (*protos.ListActorRolesResponse, error)
- func (fake *FakeRoleServiceClient) ListActorRolesArgsForCall(i int) (context.Context, *protos.ListActorRolesRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) ListActorRolesCallCount() int
- func (fake *FakeRoleServiceClient) ListActorRolesReturns(result1 *protos.ListActorRolesResponse, result2 error)
- func (fake *FakeRoleServiceClient) ListActorRolesReturnsOnCall(i int, result1 *protos.ListActorRolesResponse, result2 error)
- func (fake *FakeRoleServiceClient) ListRolePermissions(ctx context.Context, in *protos.ListRolePermissionsRequest, ...) (*protos.ListRolePermissionsResponse, error)
- func (fake *FakeRoleServiceClient) ListRolePermissionsArgsForCall(i int) (context.Context, *protos.ListRolePermissionsRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) ListRolePermissionsCallCount() int
- func (fake *FakeRoleServiceClient) ListRolePermissionsReturns(result1 *protos.ListRolePermissionsResponse, result2 error)
- func (fake *FakeRoleServiceClient) ListRolePermissionsReturnsOnCall(i int, result1 *protos.ListRolePermissionsResponse, result2 error)
- func (fake *FakeRoleServiceClient) UnassignRole(ctx context.Context, in *protos.UnassignRoleRequest, opts ...grpc.CallOption) (*protos.UnassignRoleResponse, error)
- func (fake *FakeRoleServiceClient) UnassignRoleArgsForCall(i int) (context.Context, *protos.UnassignRoleRequest, []grpc.CallOption)
- func (fake *FakeRoleServiceClient) UnassignRoleCallCount() int
- func (fake *FakeRoleServiceClient) UnassignRoleReturns(result1 *protos.UnassignRoleResponse, result2 error)
- func (fake *FakeRoleServiceClient) UnassignRoleReturnsOnCall(i int, result1 *protos.UnassignRoleResponse, result2 error)
- type FakeRoleServiceServer
- func (fake *FakeRoleServiceServer) AssignRole(arg1 context.Context, arg2 *protos.AssignRoleRequest) (*protos.AssignRoleResponse, error)
- func (fake *FakeRoleServiceServer) AssignRoleArgsForCall(i int) (context.Context, *protos.AssignRoleRequest)
- func (fake *FakeRoleServiceServer) AssignRoleCallCount() int
- func (fake *FakeRoleServiceServer) AssignRoleReturns(result1 *protos.AssignRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) AssignRoleReturnsOnCall(i int, result1 *protos.AssignRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) CreateRole(arg1 context.Context, arg2 *protos.CreateRoleRequest) (*protos.CreateRoleResponse, error)
- func (fake *FakeRoleServiceServer) CreateRoleArgsForCall(i int) (context.Context, *protos.CreateRoleRequest)
- func (fake *FakeRoleServiceServer) CreateRoleCallCount() int
- func (fake *FakeRoleServiceServer) CreateRoleReturns(result1 *protos.CreateRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) CreateRoleReturnsOnCall(i int, result1 *protos.CreateRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) DeleteRole(arg1 context.Context, arg2 *protos.DeleteRoleRequest) (*protos.DeleteRoleResponse, error)
- func (fake *FakeRoleServiceServer) DeleteRoleArgsForCall(i int) (context.Context, *protos.DeleteRoleRequest)
- func (fake *FakeRoleServiceServer) DeleteRoleCallCount() int
- func (fake *FakeRoleServiceServer) DeleteRoleReturns(result1 *protos.DeleteRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) DeleteRoleReturnsOnCall(i int, result1 *protos.DeleteRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) GetRole(arg1 context.Context, arg2 *protos.GetRoleRequest) (*protos.GetRoleResponse, error)
- func (fake *FakeRoleServiceServer) GetRoleArgsForCall(i int) (context.Context, *protos.GetRoleRequest)
- func (fake *FakeRoleServiceServer) GetRoleCallCount() int
- func (fake *FakeRoleServiceServer) GetRoleReturns(result1 *protos.GetRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) GetRoleReturnsOnCall(i int, result1 *protos.GetRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) HasRole(arg1 context.Context, arg2 *protos.HasRoleRequest) (*protos.HasRoleResponse, error)
- func (fake *FakeRoleServiceServer) HasRoleArgsForCall(i int) (context.Context, *protos.HasRoleRequest)
- func (fake *FakeRoleServiceServer) HasRoleCallCount() int
- func (fake *FakeRoleServiceServer) HasRoleReturns(result1 *protos.HasRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) HasRoleReturnsOnCall(i int, result1 *protos.HasRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) Invocations() map[string][][]interface{}
- func (fake *FakeRoleServiceServer) ListActorRoles(arg1 context.Context, arg2 *protos.ListActorRolesRequest) (*protos.ListActorRolesResponse, error)
- func (fake *FakeRoleServiceServer) ListActorRolesArgsForCall(i int) (context.Context, *protos.ListActorRolesRequest)
- func (fake *FakeRoleServiceServer) ListActorRolesCallCount() int
- func (fake *FakeRoleServiceServer) ListActorRolesReturns(result1 *protos.ListActorRolesResponse, result2 error)
- func (fake *FakeRoleServiceServer) ListActorRolesReturnsOnCall(i int, result1 *protos.ListActorRolesResponse, result2 error)
- func (fake *FakeRoleServiceServer) ListRolePermissions(arg1 context.Context, arg2 *protos.ListRolePermissionsRequest) (*protos.ListRolePermissionsResponse, error)
- func (fake *FakeRoleServiceServer) ListRolePermissionsArgsForCall(i int) (context.Context, *protos.ListRolePermissionsRequest)
- func (fake *FakeRoleServiceServer) ListRolePermissionsCallCount() int
- func (fake *FakeRoleServiceServer) ListRolePermissionsReturns(result1 *protos.ListRolePermissionsResponse, result2 error)
- func (fake *FakeRoleServiceServer) ListRolePermissionsReturnsOnCall(i int, result1 *protos.ListRolePermissionsResponse, result2 error)
- func (fake *FakeRoleServiceServer) UnassignRole(arg1 context.Context, arg2 *protos.UnassignRoleRequest) (*protos.UnassignRoleResponse, error)
- func (fake *FakeRoleServiceServer) UnassignRoleArgsForCall(i int) (context.Context, *protos.UnassignRoleRequest)
- func (fake *FakeRoleServiceServer) UnassignRoleCallCount() int
- func (fake *FakeRoleServiceServer) UnassignRoleReturns(result1 *protos.UnassignRoleResponse, result2 error)
- func (fake *FakeRoleServiceServer) UnassignRoleReturnsOnCall(i int, result1 *protos.UnassignRoleResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePermissionServiceClient ¶
type FakePermissionServiceClient struct { HasPermissionStub func(ctx context.Context, in *protos.HasPermissionRequest, opts ...grpc.CallOption) (*protos.HasPermissionResponse, error) ListResourcePatternsStub func(ctx context.Context, in *protos.ListResourcePatternsRequest, opts ...grpc.CallOption) (*protos.ListResourcePatternsResponse, error) // contains filtered or unexported fields }
func (*FakePermissionServiceClient) HasPermission ¶
func (fake *FakePermissionServiceClient) HasPermission(ctx context.Context, in *protos.HasPermissionRequest, opts ...grpc.CallOption) (*protos.HasPermissionResponse, error)
func (*FakePermissionServiceClient) HasPermissionArgsForCall ¶
func (fake *FakePermissionServiceClient) HasPermissionArgsForCall(i int) (context.Context, *protos.HasPermissionRequest, []grpc.CallOption)
func (*FakePermissionServiceClient) HasPermissionCallCount ¶
func (fake *FakePermissionServiceClient) HasPermissionCallCount() int
func (*FakePermissionServiceClient) HasPermissionReturns ¶
func (fake *FakePermissionServiceClient) HasPermissionReturns(result1 *protos.HasPermissionResponse, result2 error)
func (*FakePermissionServiceClient) HasPermissionReturnsOnCall ¶
func (fake *FakePermissionServiceClient) HasPermissionReturnsOnCall(i int, result1 *protos.HasPermissionResponse, result2 error)
func (*FakePermissionServiceClient) Invocations ¶
func (fake *FakePermissionServiceClient) Invocations() map[string][][]interface{}
func (*FakePermissionServiceClient) ListResourcePatterns ¶
func (fake *FakePermissionServiceClient) ListResourcePatterns(ctx context.Context, in *protos.ListResourcePatternsRequest, opts ...grpc.CallOption) (*protos.ListResourcePatternsResponse, error)
func (*FakePermissionServiceClient) ListResourcePatternsArgsForCall ¶
func (fake *FakePermissionServiceClient) ListResourcePatternsArgsForCall(i int) (context.Context, *protos.ListResourcePatternsRequest, []grpc.CallOption)
func (*FakePermissionServiceClient) ListResourcePatternsCallCount ¶
func (fake *FakePermissionServiceClient) ListResourcePatternsCallCount() int
func (*FakePermissionServiceClient) ListResourcePatternsReturns ¶
func (fake *FakePermissionServiceClient) ListResourcePatternsReturns(result1 *protos.ListResourcePatternsResponse, result2 error)
func (*FakePermissionServiceClient) ListResourcePatternsReturnsOnCall ¶
func (fake *FakePermissionServiceClient) ListResourcePatternsReturnsOnCall(i int, result1 *protos.ListResourcePatternsResponse, result2 error)
type FakePermissionServiceServer ¶ added in v0.0.3
type FakePermissionServiceServer struct { HasPermissionStub func(context.Context, *protos.HasPermissionRequest) (*protos.HasPermissionResponse, error) ListResourcePatternsStub func(context.Context, *protos.ListResourcePatternsRequest) (*protos.ListResourcePatternsResponse, error) // contains filtered or unexported fields }
func (*FakePermissionServiceServer) HasPermission ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) HasPermission(arg1 context.Context, arg2 *protos.HasPermissionRequest) (*protos.HasPermissionResponse, error)
func (*FakePermissionServiceServer) HasPermissionArgsForCall ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) HasPermissionArgsForCall(i int) (context.Context, *protos.HasPermissionRequest)
func (*FakePermissionServiceServer) HasPermissionCallCount ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) HasPermissionCallCount() int
func (*FakePermissionServiceServer) HasPermissionReturns ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) HasPermissionReturns(result1 *protos.HasPermissionResponse, result2 error)
func (*FakePermissionServiceServer) HasPermissionReturnsOnCall ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) HasPermissionReturnsOnCall(i int, result1 *protos.HasPermissionResponse, result2 error)
func (*FakePermissionServiceServer) Invocations ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) Invocations() map[string][][]interface{}
func (*FakePermissionServiceServer) ListResourcePatterns ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) ListResourcePatterns(arg1 context.Context, arg2 *protos.ListResourcePatternsRequest) (*protos.ListResourcePatternsResponse, error)
func (*FakePermissionServiceServer) ListResourcePatternsArgsForCall ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) ListResourcePatternsArgsForCall(i int) (context.Context, *protos.ListResourcePatternsRequest)
func (*FakePermissionServiceServer) ListResourcePatternsCallCount ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) ListResourcePatternsCallCount() int
func (*FakePermissionServiceServer) ListResourcePatternsReturns ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) ListResourcePatternsReturns(result1 *protos.ListResourcePatternsResponse, result2 error)
func (*FakePermissionServiceServer) ListResourcePatternsReturnsOnCall ¶ added in v0.0.3
func (fake *FakePermissionServiceServer) ListResourcePatternsReturnsOnCall(i int, result1 *protos.ListResourcePatternsResponse, result2 error)
type FakeRoleServiceClient ¶
type FakeRoleServiceClient struct { CreateRoleStub func(ctx context.Context, in *protos.CreateRoleRequest, opts ...grpc.CallOption) (*protos.CreateRoleResponse, error) GetRoleStub func(ctx context.Context, in *protos.GetRoleRequest, opts ...grpc.CallOption) (*protos.GetRoleResponse, error) DeleteRoleStub func(ctx context.Context, in *protos.DeleteRoleRequest, opts ...grpc.CallOption) (*protos.DeleteRoleResponse, error) AssignRoleStub func(ctx context.Context, in *protos.AssignRoleRequest, opts ...grpc.CallOption) (*protos.AssignRoleResponse, error) UnassignRoleStub func(ctx context.Context, in *protos.UnassignRoleRequest, opts ...grpc.CallOption) (*protos.UnassignRoleResponse, error) HasRoleStub func(ctx context.Context, in *protos.HasRoleRequest, opts ...grpc.CallOption) (*protos.HasRoleResponse, error) ListActorRolesStub func(ctx context.Context, in *protos.ListActorRolesRequest, opts ...grpc.CallOption) (*protos.ListActorRolesResponse, error) ListRolePermissionsStub func(ctx context.Context, in *protos.ListRolePermissionsRequest, opts ...grpc.CallOption) (*protos.ListRolePermissionsResponse, error) // contains filtered or unexported fields }
func (*FakeRoleServiceClient) AssignRole ¶
func (fake *FakeRoleServiceClient) AssignRole(ctx context.Context, in *protos.AssignRoleRequest, opts ...grpc.CallOption) (*protos.AssignRoleResponse, error)
func (*FakeRoleServiceClient) AssignRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) AssignRoleArgsForCall(i int) (context.Context, *protos.AssignRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) AssignRoleCallCount ¶
func (fake *FakeRoleServiceClient) AssignRoleCallCount() int
func (*FakeRoleServiceClient) AssignRoleReturns ¶
func (fake *FakeRoleServiceClient) AssignRoleReturns(result1 *protos.AssignRoleResponse, result2 error)
func (*FakeRoleServiceClient) AssignRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) AssignRoleReturnsOnCall(i int, result1 *protos.AssignRoleResponse, result2 error)
func (*FakeRoleServiceClient) CreateRole ¶
func (fake *FakeRoleServiceClient) CreateRole(ctx context.Context, in *protos.CreateRoleRequest, opts ...grpc.CallOption) (*protos.CreateRoleResponse, error)
func (*FakeRoleServiceClient) CreateRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) CreateRoleArgsForCall(i int) (context.Context, *protos.CreateRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) CreateRoleCallCount ¶
func (fake *FakeRoleServiceClient) CreateRoleCallCount() int
func (*FakeRoleServiceClient) CreateRoleReturns ¶
func (fake *FakeRoleServiceClient) CreateRoleReturns(result1 *protos.CreateRoleResponse, result2 error)
func (*FakeRoleServiceClient) CreateRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) CreateRoleReturnsOnCall(i int, result1 *protos.CreateRoleResponse, result2 error)
func (*FakeRoleServiceClient) DeleteRole ¶
func (fake *FakeRoleServiceClient) DeleteRole(ctx context.Context, in *protos.DeleteRoleRequest, opts ...grpc.CallOption) (*protos.DeleteRoleResponse, error)
func (*FakeRoleServiceClient) DeleteRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) DeleteRoleArgsForCall(i int) (context.Context, *protos.DeleteRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) DeleteRoleCallCount ¶
func (fake *FakeRoleServiceClient) DeleteRoleCallCount() int
func (*FakeRoleServiceClient) DeleteRoleReturns ¶
func (fake *FakeRoleServiceClient) DeleteRoleReturns(result1 *protos.DeleteRoleResponse, result2 error)
func (*FakeRoleServiceClient) DeleteRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) DeleteRoleReturnsOnCall(i int, result1 *protos.DeleteRoleResponse, result2 error)
func (*FakeRoleServiceClient) GetRole ¶
func (fake *FakeRoleServiceClient) GetRole(ctx context.Context, in *protos.GetRoleRequest, opts ...grpc.CallOption) (*protos.GetRoleResponse, error)
func (*FakeRoleServiceClient) GetRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) GetRoleArgsForCall(i int) (context.Context, *protos.GetRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) GetRoleCallCount ¶
func (fake *FakeRoleServiceClient) GetRoleCallCount() int
func (*FakeRoleServiceClient) GetRoleReturns ¶
func (fake *FakeRoleServiceClient) GetRoleReturns(result1 *protos.GetRoleResponse, result2 error)
func (*FakeRoleServiceClient) GetRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) GetRoleReturnsOnCall(i int, result1 *protos.GetRoleResponse, result2 error)
func (*FakeRoleServiceClient) HasRole ¶
func (fake *FakeRoleServiceClient) HasRole(ctx context.Context, in *protos.HasRoleRequest, opts ...grpc.CallOption) (*protos.HasRoleResponse, error)
func (*FakeRoleServiceClient) HasRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) HasRoleArgsForCall(i int) (context.Context, *protos.HasRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) HasRoleCallCount ¶
func (fake *FakeRoleServiceClient) HasRoleCallCount() int
func (*FakeRoleServiceClient) HasRoleReturns ¶
func (fake *FakeRoleServiceClient) HasRoleReturns(result1 *protos.HasRoleResponse, result2 error)
func (*FakeRoleServiceClient) HasRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) HasRoleReturnsOnCall(i int, result1 *protos.HasRoleResponse, result2 error)
func (*FakeRoleServiceClient) Invocations ¶
func (fake *FakeRoleServiceClient) Invocations() map[string][][]interface{}
func (*FakeRoleServiceClient) ListActorRoles ¶
func (fake *FakeRoleServiceClient) ListActorRoles(ctx context.Context, in *protos.ListActorRolesRequest, opts ...grpc.CallOption) (*protos.ListActorRolesResponse, error)
func (*FakeRoleServiceClient) ListActorRolesArgsForCall ¶
func (fake *FakeRoleServiceClient) ListActorRolesArgsForCall(i int) (context.Context, *protos.ListActorRolesRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) ListActorRolesCallCount ¶
func (fake *FakeRoleServiceClient) ListActorRolesCallCount() int
func (*FakeRoleServiceClient) ListActorRolesReturns ¶
func (fake *FakeRoleServiceClient) ListActorRolesReturns(result1 *protos.ListActorRolesResponse, result2 error)
func (*FakeRoleServiceClient) ListActorRolesReturnsOnCall ¶
func (fake *FakeRoleServiceClient) ListActorRolesReturnsOnCall(i int, result1 *protos.ListActorRolesResponse, result2 error)
func (*FakeRoleServiceClient) ListRolePermissions ¶
func (fake *FakeRoleServiceClient) ListRolePermissions(ctx context.Context, in *protos.ListRolePermissionsRequest, opts ...grpc.CallOption) (*protos.ListRolePermissionsResponse, error)
func (*FakeRoleServiceClient) ListRolePermissionsArgsForCall ¶
func (fake *FakeRoleServiceClient) ListRolePermissionsArgsForCall(i int) (context.Context, *protos.ListRolePermissionsRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) ListRolePermissionsCallCount ¶
func (fake *FakeRoleServiceClient) ListRolePermissionsCallCount() int
func (*FakeRoleServiceClient) ListRolePermissionsReturns ¶
func (fake *FakeRoleServiceClient) ListRolePermissionsReturns(result1 *protos.ListRolePermissionsResponse, result2 error)
func (*FakeRoleServiceClient) ListRolePermissionsReturnsOnCall ¶
func (fake *FakeRoleServiceClient) ListRolePermissionsReturnsOnCall(i int, result1 *protos.ListRolePermissionsResponse, result2 error)
func (*FakeRoleServiceClient) UnassignRole ¶
func (fake *FakeRoleServiceClient) UnassignRole(ctx context.Context, in *protos.UnassignRoleRequest, opts ...grpc.CallOption) (*protos.UnassignRoleResponse, error)
func (*FakeRoleServiceClient) UnassignRoleArgsForCall ¶
func (fake *FakeRoleServiceClient) UnassignRoleArgsForCall(i int) (context.Context, *protos.UnassignRoleRequest, []grpc.CallOption)
func (*FakeRoleServiceClient) UnassignRoleCallCount ¶
func (fake *FakeRoleServiceClient) UnassignRoleCallCount() int
func (*FakeRoleServiceClient) UnassignRoleReturns ¶
func (fake *FakeRoleServiceClient) UnassignRoleReturns(result1 *protos.UnassignRoleResponse, result2 error)
func (*FakeRoleServiceClient) UnassignRoleReturnsOnCall ¶
func (fake *FakeRoleServiceClient) UnassignRoleReturnsOnCall(i int, result1 *protos.UnassignRoleResponse, result2 error)
type FakeRoleServiceServer ¶ added in v0.0.3
type FakeRoleServiceServer struct { CreateRoleStub func(context.Context, *protos.CreateRoleRequest) (*protos.CreateRoleResponse, error) GetRoleStub func(context.Context, *protos.GetRoleRequest) (*protos.GetRoleResponse, error) DeleteRoleStub func(context.Context, *protos.DeleteRoleRequest) (*protos.DeleteRoleResponse, error) AssignRoleStub func(context.Context, *protos.AssignRoleRequest) (*protos.AssignRoleResponse, error) UnassignRoleStub func(context.Context, *protos.UnassignRoleRequest) (*protos.UnassignRoleResponse, error) HasRoleStub func(context.Context, *protos.HasRoleRequest) (*protos.HasRoleResponse, error) ListActorRolesStub func(context.Context, *protos.ListActorRolesRequest) (*protos.ListActorRolesResponse, error) ListRolePermissionsStub func(context.Context, *protos.ListRolePermissionsRequest) (*protos.ListRolePermissionsResponse, error) // contains filtered or unexported fields }
func (*FakeRoleServiceServer) AssignRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) AssignRole(arg1 context.Context, arg2 *protos.AssignRoleRequest) (*protos.AssignRoleResponse, error)
func (*FakeRoleServiceServer) AssignRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) AssignRoleArgsForCall(i int) (context.Context, *protos.AssignRoleRequest)
func (*FakeRoleServiceServer) AssignRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) AssignRoleCallCount() int
func (*FakeRoleServiceServer) AssignRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) AssignRoleReturns(result1 *protos.AssignRoleResponse, result2 error)
func (*FakeRoleServiceServer) AssignRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) AssignRoleReturnsOnCall(i int, result1 *protos.AssignRoleResponse, result2 error)
func (*FakeRoleServiceServer) CreateRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) CreateRole(arg1 context.Context, arg2 *protos.CreateRoleRequest) (*protos.CreateRoleResponse, error)
func (*FakeRoleServiceServer) CreateRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) CreateRoleArgsForCall(i int) (context.Context, *protos.CreateRoleRequest)
func (*FakeRoleServiceServer) CreateRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) CreateRoleCallCount() int
func (*FakeRoleServiceServer) CreateRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) CreateRoleReturns(result1 *protos.CreateRoleResponse, result2 error)
func (*FakeRoleServiceServer) CreateRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) CreateRoleReturnsOnCall(i int, result1 *protos.CreateRoleResponse, result2 error)
func (*FakeRoleServiceServer) DeleteRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) DeleteRole(arg1 context.Context, arg2 *protos.DeleteRoleRequest) (*protos.DeleteRoleResponse, error)
func (*FakeRoleServiceServer) DeleteRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) DeleteRoleArgsForCall(i int) (context.Context, *protos.DeleteRoleRequest)
func (*FakeRoleServiceServer) DeleteRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) DeleteRoleCallCount() int
func (*FakeRoleServiceServer) DeleteRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) DeleteRoleReturns(result1 *protos.DeleteRoleResponse, result2 error)
func (*FakeRoleServiceServer) DeleteRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) DeleteRoleReturnsOnCall(i int, result1 *protos.DeleteRoleResponse, result2 error)
func (*FakeRoleServiceServer) GetRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) GetRole(arg1 context.Context, arg2 *protos.GetRoleRequest) (*protos.GetRoleResponse, error)
func (*FakeRoleServiceServer) GetRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) GetRoleArgsForCall(i int) (context.Context, *protos.GetRoleRequest)
func (*FakeRoleServiceServer) GetRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) GetRoleCallCount() int
func (*FakeRoleServiceServer) GetRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) GetRoleReturns(result1 *protos.GetRoleResponse, result2 error)
func (*FakeRoleServiceServer) GetRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) GetRoleReturnsOnCall(i int, result1 *protos.GetRoleResponse, result2 error)
func (*FakeRoleServiceServer) HasRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) HasRole(arg1 context.Context, arg2 *protos.HasRoleRequest) (*protos.HasRoleResponse, error)
func (*FakeRoleServiceServer) HasRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) HasRoleArgsForCall(i int) (context.Context, *protos.HasRoleRequest)
func (*FakeRoleServiceServer) HasRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) HasRoleCallCount() int
func (*FakeRoleServiceServer) HasRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) HasRoleReturns(result1 *protos.HasRoleResponse, result2 error)
func (*FakeRoleServiceServer) HasRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) HasRoleReturnsOnCall(i int, result1 *protos.HasRoleResponse, result2 error)
func (*FakeRoleServiceServer) Invocations ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) Invocations() map[string][][]interface{}
func (*FakeRoleServiceServer) ListActorRoles ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListActorRoles(arg1 context.Context, arg2 *protos.ListActorRolesRequest) (*protos.ListActorRolesResponse, error)
func (*FakeRoleServiceServer) ListActorRolesArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListActorRolesArgsForCall(i int) (context.Context, *protos.ListActorRolesRequest)
func (*FakeRoleServiceServer) ListActorRolesCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListActorRolesCallCount() int
func (*FakeRoleServiceServer) ListActorRolesReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListActorRolesReturns(result1 *protos.ListActorRolesResponse, result2 error)
func (*FakeRoleServiceServer) ListActorRolesReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListActorRolesReturnsOnCall(i int, result1 *protos.ListActorRolesResponse, result2 error)
func (*FakeRoleServiceServer) ListRolePermissions ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListRolePermissions(arg1 context.Context, arg2 *protos.ListRolePermissionsRequest) (*protos.ListRolePermissionsResponse, error)
func (*FakeRoleServiceServer) ListRolePermissionsArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListRolePermissionsArgsForCall(i int) (context.Context, *protos.ListRolePermissionsRequest)
func (*FakeRoleServiceServer) ListRolePermissionsCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListRolePermissionsCallCount() int
func (*FakeRoleServiceServer) ListRolePermissionsReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListRolePermissionsReturns(result1 *protos.ListRolePermissionsResponse, result2 error)
func (*FakeRoleServiceServer) ListRolePermissionsReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) ListRolePermissionsReturnsOnCall(i int, result1 *protos.ListRolePermissionsResponse, result2 error)
func (*FakeRoleServiceServer) UnassignRole ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) UnassignRole(arg1 context.Context, arg2 *protos.UnassignRoleRequest) (*protos.UnassignRoleResponse, error)
func (*FakeRoleServiceServer) UnassignRoleArgsForCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) UnassignRoleArgsForCall(i int) (context.Context, *protos.UnassignRoleRequest)
func (*FakeRoleServiceServer) UnassignRoleCallCount ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) UnassignRoleCallCount() int
func (*FakeRoleServiceServer) UnassignRoleReturns ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) UnassignRoleReturns(result1 *protos.UnassignRoleResponse, result2 error)
func (*FakeRoleServiceServer) UnassignRoleReturnsOnCall ¶ added in v0.0.3
func (fake *FakeRoleServiceServer) UnassignRoleReturnsOnCall(i int, result1 *protos.UnassignRoleResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.