Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthorizer ¶
type MockAuthorizer struct {
// contains filtered or unexported fields
}
MockAuthorizer is a mock of Authorizer interface.
func NewMockAuthorizer ¶
func NewMockAuthorizer(ctrl *gomock.Controller) *MockAuthorizer
NewMockAuthorizer creates a new mock instance.
func (*MockAuthorizer) EXPECT ¶
func (m *MockAuthorizer) EXPECT() *MockAuthorizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthorizer) IsNetworkAddressAuthorized ¶
func (m *MockAuthorizer) IsNetworkAddressAuthorized(arg0, arg1 string) (bool, error)
IsNetworkAddressAuthorized mocks base method.
func (*MockAuthorizer) IsRequestAuthorized ¶
func (m *MockAuthorizer) IsRequestAuthorized(arg0 *http.Request) bool
IsRequestAuthorized mocks base method.
func (*MockAuthorizer) IsResponseAuthorized ¶
func (m *MockAuthorizer) IsResponseAuthorized(arg0 *http.Response) bool
IsResponseAuthorized mocks base method.
type MockAuthorizerMockRecorder ¶
type MockAuthorizerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.
func (*MockAuthorizerMockRecorder) IsNetworkAddressAuthorized ¶
func (mr *MockAuthorizerMockRecorder) IsNetworkAddressAuthorized(arg0, arg1 interface{}) *gomock.Call
IsNetworkAddressAuthorized indicates an expected call of IsNetworkAddressAuthorized.
func (*MockAuthorizerMockRecorder) IsRequestAuthorized ¶
func (mr *MockAuthorizerMockRecorder) IsRequestAuthorized(arg0 interface{}) *gomock.Call
IsRequestAuthorized indicates an expected call of IsRequestAuthorized.
func (*MockAuthorizerMockRecorder) IsResponseAuthorized ¶
func (mr *MockAuthorizerMockRecorder) IsResponseAuthorized(arg0 interface{}) *gomock.Call
IsResponseAuthorized indicates an expected call of IsResponseAuthorized.