Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type MockRemotePDPClient
- func (m *MockRemotePDPClient) CheckAccess(arg0 context.Context, arg1 client.AuthorizationRequest) (*client.AuthorizationDecisionResponse, error)
- func (m *MockRemotePDPClient) CreateAuthorizationRequest(arg0 string, arg1 []string, arg2 string) (*client.AuthorizationRequest, error)
- func (m *MockRemotePDPClient) EXPECT() *MockRemotePDPClientMockRecorder
- type MockRemotePDPClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRemotePDPClient ¶
type MockRemotePDPClient struct {
// contains filtered or unexported fields
}
MockRemotePDPClient is a mock of RemotePDPClient interface.
func NewMockRemotePDPClient ¶
func NewMockRemotePDPClient(ctrl *gomock.Controller) *MockRemotePDPClient
NewMockRemotePDPClient creates a new mock instance.
func (*MockRemotePDPClient) CheckAccess ¶
func (m *MockRemotePDPClient) CheckAccess(arg0 context.Context, arg1 client.AuthorizationRequest) (*client.AuthorizationDecisionResponse, error)
CheckAccess mocks base method.
func (*MockRemotePDPClient) CreateAuthorizationRequest ¶
func (m *MockRemotePDPClient) CreateAuthorizationRequest(arg0 string, arg1 []string, arg2 string) (*client.AuthorizationRequest, error)
CreateAuthorizationRequest mocks base method.
func (*MockRemotePDPClient) EXPECT ¶
func (m *MockRemotePDPClient) EXPECT() *MockRemotePDPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRemotePDPClientMockRecorder ¶
type MockRemotePDPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRemotePDPClientMockRecorder is the mock recorder for MockRemotePDPClient.
func (*MockRemotePDPClientMockRecorder) CheckAccess ¶
func (mr *MockRemotePDPClientMockRecorder) CheckAccess(arg0, arg1 any) *gomock.Call
CheckAccess indicates an expected call of CheckAccess.
func (*MockRemotePDPClientMockRecorder) CreateAuthorizationRequest ¶
func (mr *MockRemotePDPClientMockRecorder) CreateAuthorizationRequest(arg0, arg1, arg2 any) *gomock.Call
CreateAuthorizationRequest indicates an expected call of CreateAuthorizationRequest.
Click to show internal directories.
Click to hide internal directories.