permgofakes

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

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

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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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 (*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

func (*FakeRoleServiceServer) AssignRole added in v0.0.3

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 (*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 (*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 (*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 (*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 (*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 (*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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL