Documentation ¶
Overview ¶
Package mock_auth_credentials is a generated GoMock package.
Index ¶
- type MockAuthCredentials
- func (m *MockAuthCredentials) BuildRequestWithCredentials(ctx context.Context, endpoint, method, credentialValue string, body io.Reader) (*http.Request, error)
- func (m *MockAuthCredentials) EXPECT() *MockAuthCredentialsMockRecorder
- func (m *MockAuthCredentials) GetCredentialsFromReq(arg0 *envoy_service_auth_v3.AttributeContext_HttpRequest) (string, error)
- func (m *MockAuthCredentials) GetCredentialsIn() string
- func (m *MockAuthCredentials) GetCredentialsKeySelector() string
- type MockAuthCredentialsMockRecorder
- func (mr *MockAuthCredentialsMockRecorder) BuildRequestWithCredentials(ctx, endpoint, method, credentialValue, body interface{}) *gomock.Call
- func (mr *MockAuthCredentialsMockRecorder) GetCredentialsFromReq(arg0 interface{}) *gomock.Call
- func (mr *MockAuthCredentialsMockRecorder) GetCredentialsIn() *gomock.Call
- func (mr *MockAuthCredentialsMockRecorder) GetCredentialsKeySelector() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthCredentials ¶
type MockAuthCredentials struct {
// contains filtered or unexported fields
}
MockAuthCredentials is a mock of AuthCredentials interface.
func NewMockAuthCredentials ¶
func NewMockAuthCredentials(ctrl *gomock.Controller) *MockAuthCredentials
NewMockAuthCredentials creates a new mock instance.
func (*MockAuthCredentials) BuildRequestWithCredentials ¶ added in v0.2.0
func (m *MockAuthCredentials) BuildRequestWithCredentials(ctx context.Context, endpoint, method, credentialValue string, body io.Reader) (*http.Request, error)
BuildRequestWithCredentials mocks base method.
func (*MockAuthCredentials) EXPECT ¶
func (m *MockAuthCredentials) EXPECT() *MockAuthCredentialsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthCredentials) GetCredentialsFromReq ¶
func (m *MockAuthCredentials) GetCredentialsFromReq(arg0 *envoy_service_auth_v3.AttributeContext_HttpRequest) (string, error)
GetCredentialsFromReq mocks base method.
func (*MockAuthCredentials) GetCredentialsIn ¶ added in v0.2.0
func (m *MockAuthCredentials) GetCredentialsIn() string
GetCredentialsIn mocks base method.
func (*MockAuthCredentials) GetCredentialsKeySelector ¶
func (m *MockAuthCredentials) GetCredentialsKeySelector() string
GetCredentialsKeySelector mocks base method.
type MockAuthCredentialsMockRecorder ¶
type MockAuthCredentialsMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthCredentialsMockRecorder is the mock recorder for MockAuthCredentials.
func (*MockAuthCredentialsMockRecorder) BuildRequestWithCredentials ¶ added in v0.2.0
func (mr *MockAuthCredentialsMockRecorder) BuildRequestWithCredentials(ctx, endpoint, method, credentialValue, body interface{}) *gomock.Call
BuildRequestWithCredentials indicates an expected call of BuildRequestWithCredentials.
func (*MockAuthCredentialsMockRecorder) GetCredentialsFromReq ¶
func (mr *MockAuthCredentialsMockRecorder) GetCredentialsFromReq(arg0 interface{}) *gomock.Call
GetCredentialsFromReq indicates an expected call of GetCredentialsFromReq.
func (*MockAuthCredentialsMockRecorder) GetCredentialsIn ¶ added in v0.2.0
func (mr *MockAuthCredentialsMockRecorder) GetCredentialsIn() *gomock.Call
GetCredentialsIn indicates an expected call of GetCredentialsIn.
func (*MockAuthCredentialsMockRecorder) GetCredentialsKeySelector ¶
func (mr *MockAuthCredentialsMockRecorder) GetCredentialsKeySelector() *gomock.Call
GetCredentialsKeySelector indicates an expected call of GetCredentialsKeySelector.