mocks

package
v0.0.0-...-0579e20 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMServiceClient

type IAMServiceClient struct {
	mock.Mock
}

IAMServiceClient is an autogenerated mock type for the IAMServiceClient type

func (*IAMServiceClient) AnalyzeTokenExpiration

func (_m *IAMServiceClient) AnalyzeTokenExpiration(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)

AnalyzeTokenExpiration provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) AttachAccessTokenRole

AttachAccessTokenRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) AttachPolicy

AttachPolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) AttachRole

AttachRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) AuthenticateAccessToken

AuthenticateAccessToken provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DeleteAccessToken

func (_m *IAMServiceClient) DeleteAccessToken(ctx context.Context, in *iam.DeleteAccessTokenRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteAccessToken provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DeletePolicy

func (_m *IAMServiceClient) DeletePolicy(ctx context.Context, in *iam.DeletePolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeletePolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DeleteRole

func (_m *IAMServiceClient) DeleteRole(ctx context.Context, in *iam.DeleteRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DeleteRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DetachAccessTokenRole

func (_m *IAMServiceClient) DetachAccessTokenRole(ctx context.Context, in *iam.DetachAccessTokenRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DetachAccessTokenRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DetachPolicy

func (_m *IAMServiceClient) DetachPolicy(ctx context.Context, in *iam.DetachPolicyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DetachPolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) DetachRole

func (_m *IAMServiceClient) DetachRole(ctx context.Context, in *iam.DetachRoleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)

DetachRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) GetPolicy

GetPolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) GetRole

GetRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) GetUser

GetUser provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) IsAdmin

IsAdmin provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) IsAuthorized

IsAuthorized provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) IsAuthorizedAdmin

IsAuthorizedAdmin provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) IsAuthorizedToken

IsAuthorizedToken provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) ListAccessToken

ListAccessToken provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) ListPolicy

ListPolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) ListRole

ListRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) ListUser

ListUser provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) PutAccessToken

PutAccessToken provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) PutPolicy

PutPolicy provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) PutRole

PutRole provides a mock function with given fields: ctx, in, opts

func (*IAMServiceClient) PutUser

PutUser provides a mock function with given fields: ctx, in, opts

type IAMServiceServer

type IAMServiceServer struct {
	mock.Mock
}

IAMServiceServer is an autogenerated mock type for the IAMServiceServer type

func (*IAMServiceServer) AnalyzeTokenExpiration

func (_m *IAMServiceServer) AnalyzeTokenExpiration(_a0 context.Context, _a1 *emptypb.Empty) (*emptypb.Empty, error)

AnalyzeTokenExpiration provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) AttachAccessTokenRole

AttachAccessTokenRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) AttachPolicy

AttachPolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) AttachRole

AttachRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) AuthenticateAccessToken

AuthenticateAccessToken provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DeleteAccessToken

func (_m *IAMServiceServer) DeleteAccessToken(_a0 context.Context, _a1 *iam.DeleteAccessTokenRequest) (*emptypb.Empty, error)

DeleteAccessToken provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DeletePolicy

func (_m *IAMServiceServer) DeletePolicy(_a0 context.Context, _a1 *iam.DeletePolicyRequest) (*emptypb.Empty, error)

DeletePolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DeleteRole

func (_m *IAMServiceServer) DeleteRole(_a0 context.Context, _a1 *iam.DeleteRoleRequest) (*emptypb.Empty, error)

DeleteRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DetachAccessTokenRole

func (_m *IAMServiceServer) DetachAccessTokenRole(_a0 context.Context, _a1 *iam.DetachAccessTokenRoleRequest) (*emptypb.Empty, error)

DetachAccessTokenRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DetachPolicy

func (_m *IAMServiceServer) DetachPolicy(_a0 context.Context, _a1 *iam.DetachPolicyRequest) (*emptypb.Empty, error)

DetachPolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) DetachRole

func (_m *IAMServiceServer) DetachRole(_a0 context.Context, _a1 *iam.DetachRoleRequest) (*emptypb.Empty, error)

DetachRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) GetPolicy

GetPolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) GetRole

GetRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) GetUser

GetUser provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) IsAdmin

IsAdmin provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) IsAuthorized

IsAuthorized provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) IsAuthorizedAdmin

IsAuthorizedAdmin provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) IsAuthorizedToken

IsAuthorizedToken provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) ListAccessToken

ListAccessToken provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) ListPolicy

ListPolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) ListRole

ListRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) ListUser

ListUser provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) PutAccessToken

PutAccessToken provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) PutPolicy

PutPolicy provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) PutRole

PutRole provides a mock function with given fields: _a0, _a1

func (*IAMServiceServer) PutUser

PutUser provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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