Documentation ¶
Overview ¶
Package authorization is a generated GoMock package.
Index ¶
- type MockAuthorizationAPIClient
- func (m *MockAuthorizationAPIClient) EXPECT() *MockAuthorizationAPIClientMockRecorder
- func (m *MockAuthorizationAPIClient) IsAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.IsAuthorizedRequest, ...) (*authorizationv1beta1.IsAuthorizedResponse, error)
- func (m *MockAuthorizationAPIClient) WhatAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.WhatAuthorizedRequest, ...) (*authorizationv1beta1.WhatAuthorizedResponse, error)
- func (m *MockAuthorizationAPIClient) WhoAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.WhoAuthorizedRequest, ...) (*authorizationv1beta1.WhoAuthorizedResponse, error)
- type MockAuthorizationAPIClientMockRecorder
- func (mr *MockAuthorizationAPIClientMockRecorder) IsAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthorizationAPIClientMockRecorder) WhatAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
- func (mr *MockAuthorizationAPIClientMockRecorder) WhoAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizationAPIClient ¶
type MockAuthorizationAPIClient struct {
// contains filtered or unexported fields
}
MockAuthorizationAPIClient is a mock of AuthorizationAPIClient interface.
func NewMockAuthorizationAPIClient ¶
func NewMockAuthorizationAPIClient(ctrl *gomock.Controller) *MockAuthorizationAPIClient
NewMockAuthorizationAPIClient creates a new mock instance.
func (*MockAuthorizationAPIClient) EXPECT ¶
func (m *MockAuthorizationAPIClient) EXPECT() *MockAuthorizationAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizationAPIClient) IsAuthorized ¶
func (m *MockAuthorizationAPIClient) IsAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.IsAuthorizedRequest, arg2 ...grpc.CallOption) (*authorizationv1beta1.IsAuthorizedResponse, error)
IsAuthorized mocks base method.
func (*MockAuthorizationAPIClient) WhatAuthorized ¶
func (m *MockAuthorizationAPIClient) WhatAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.WhatAuthorizedRequest, arg2 ...grpc.CallOption) (*authorizationv1beta1.WhatAuthorizedResponse, error)
WhatAuthorized mocks base method.
func (*MockAuthorizationAPIClient) WhoAuthorized ¶
func (m *MockAuthorizationAPIClient) WhoAuthorized(arg0 context.Context, arg1 *authorizationv1beta1.WhoAuthorizedRequest, arg2 ...grpc.CallOption) (*authorizationv1beta1.WhoAuthorizedResponse, error)
WhoAuthorized mocks base method.
type MockAuthorizationAPIClientMockRecorder ¶
type MockAuthorizationAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizationAPIClientMockRecorder is the mock recorder for MockAuthorizationAPIClient.
func (*MockAuthorizationAPIClientMockRecorder) IsAuthorized ¶
func (mr *MockAuthorizationAPIClientMockRecorder) IsAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
IsAuthorized indicates an expected call of IsAuthorized.
func (*MockAuthorizationAPIClientMockRecorder) WhatAuthorized ¶
func (mr *MockAuthorizationAPIClientMockRecorder) WhatAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
WhatAuthorized indicates an expected call of WhatAuthorized.
func (*MockAuthorizationAPIClientMockRecorder) WhoAuthorized ¶
func (mr *MockAuthorizationAPIClientMockRecorder) WhoAuthorized(arg0, arg1 any, arg2 ...any) *gomock.Call
WhoAuthorized indicates an expected call of WhoAuthorized.