Documentation
¶
Overview ¶
- Copyright (C) 2020-2026 Arm Limited or its affiliates and Contributors. All rights reserved.
- SPDX-License-Identifier: Apache-2.0
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockIClient
- func (m *MockIClient) Close() error
- func (m *MockIClient) Delete(arg0 string) (*http.Response, error)
- func (m *MockIClient) Do(req *http.Request) (*http.Response, error)
- func (m *MockIClient) EXPECT() *MockIClientMockRecorder
- func (m *MockIClient) Get(arg0 string) (*http.Response, error)
- func (m *MockIClient) Head(arg0 string) (*http.Response, error)
- func (m *MockIClient) Options(arg0 string) (*http.Response, error)
- func (m *MockIClient) Post(arg0, contentType string, body any) (*http.Response, error)
- func (m *MockIClient) PostForm(arg0 string, data url.Values) (*http.Response, error)
- func (m *MockIClient) Put(arg0 string, body any) (*http.Response, error)
- func (m *MockIClient) StandardClient() *http.Client
- type MockIClientMockRecorder
- func (mr *MockIClientMockRecorder) Close() *gomock.Call
- func (mr *MockIClientMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockIClientMockRecorder) Do(req any) *gomock.Call
- func (mr *MockIClientMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockIClientMockRecorder) Head(arg0 any) *gomock.Call
- func (mr *MockIClientMockRecorder) Options(arg0 any) *gomock.Call
- func (mr *MockIClientMockRecorder) Post(arg0, contentType, body any) *gomock.Call
- func (mr *MockIClientMockRecorder) PostForm(arg0, data any) *gomock.Call
- func (mr *MockIClientMockRecorder) Put(arg0, body any) *gomock.Call
- func (mr *MockIClientMockRecorder) StandardClient() *gomock.Call
- type MockIClientWithHeaders
- func (m *MockIClientWithHeaders) AppendHeader(key, value string)
- func (m *MockIClientWithHeaders) ClearHeaders()
- func (m *MockIClientWithHeaders) Close() error
- func (m *MockIClientWithHeaders) Delete(arg0 string) (*http.Response, error)
- func (m *MockIClientWithHeaders) Do(req *http.Request) (*http.Response, error)
- func (m *MockIClientWithHeaders) EXPECT() *MockIClientWithHeadersMockRecorder
- func (m *MockIClientWithHeaders) Get(arg0 string) (*http.Response, error)
- func (m *MockIClientWithHeaders) Head(arg0 string) (*http.Response, error)
- func (m *MockIClientWithHeaders) Options(arg0 string) (*http.Response, error)
- func (m *MockIClientWithHeaders) Post(arg0, contentType string, body any) (*http.Response, error)
- func (m *MockIClientWithHeaders) PostForm(arg0 string, data url.Values) (*http.Response, error)
- func (m *MockIClientWithHeaders) Put(arg0 string, body any) (*http.Response, error)
- func (m *MockIClientWithHeaders) RemoveHeader(key string)
- func (m *MockIClientWithHeaders) StandardClient() *http.Client
- type MockIClientWithHeadersMockRecorder
- func (mr *MockIClientWithHeadersMockRecorder) AppendHeader(key, value any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) ClearHeaders() *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Close() *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Do(req any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Head(arg0 any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Options(arg0 any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Post(arg0, contentType, body any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) PostForm(arg0, data any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) Put(arg0, body any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) RemoveHeader(key any) *gomock.Call
- func (mr *MockIClientWithHeadersMockRecorder) StandardClient() *gomock.Call
- type MockIHTTPHeaders
- func (m *MockIHTTPHeaders) Append(h *headers.Header)
- func (m *MockIHTTPHeaders) AppendHeader(key, value string)
- func (m *MockIHTTPHeaders) AppendToResponse(w http.ResponseWriter)
- func (m *MockIHTTPHeaders) EXPECT() *MockIHTTPHeadersMockRecorder
- func (m *MockIHTTPHeaders) Empty() bool
- func (m *MockIHTTPHeaders) Get(key string) string
- func (m *MockIHTTPHeaders) Has(h *headers.Header) bool
- func (m *MockIHTTPHeaders) HasHeader(key string) bool
- type MockIHTTPHeadersMockRecorder
- func (mr *MockIHTTPHeadersMockRecorder) Append(h any) *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) AppendHeader(key, value any) *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) AppendToResponse(w any) *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) Empty() *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) Get(key any) *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) Has(h any) *gomock.Call
- func (mr *MockIHTTPHeadersMockRecorder) HasHeader(key any) *gomock.Call
- type MockIRetryWaitPolicy
- type MockIRetryWaitPolicyMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIClient ¶
type MockIClient struct {
// contains filtered or unexported fields
}
MockIClient is a mock of IClient interface.
func NewMockIClient ¶
func NewMockIClient(ctrl *gomock.Controller) *MockIClient
NewMockIClient creates a new mock instance.
func (*MockIClient) Delete ¶
func (m *MockIClient) Delete(arg0 string) (*http.Response, error)
Delete mocks base method.
func (*MockIClient) EXPECT ¶
func (m *MockIClient) EXPECT() *MockIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIClient) Get ¶
func (m *MockIClient) Get(arg0 string) (*http.Response, error)
Get mocks base method.
func (*MockIClient) Head ¶
func (m *MockIClient) Head(arg0 string) (*http.Response, error)
Head mocks base method.
func (*MockIClient) Options ¶
func (m *MockIClient) Options(arg0 string) (*http.Response, error)
Options mocks base method.
func (*MockIClient) StandardClient ¶
func (m *MockIClient) StandardClient() *http.Client
StandardClient mocks base method.
type MockIClientMockRecorder ¶
type MockIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIClientMockRecorder is the mock recorder for MockIClient.
func (*MockIClientMockRecorder) Close ¶
func (mr *MockIClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIClientMockRecorder) Delete ¶
func (mr *MockIClientMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIClientMockRecorder) Do ¶
func (mr *MockIClientMockRecorder) Do(req any) *gomock.Call
Do indicates an expected call of Do.
func (*MockIClientMockRecorder) Get ¶
func (mr *MockIClientMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockIClientMockRecorder) Head ¶
func (mr *MockIClientMockRecorder) Head(arg0 any) *gomock.Call
Head indicates an expected call of Head.
func (*MockIClientMockRecorder) Options ¶
func (mr *MockIClientMockRecorder) Options(arg0 any) *gomock.Call
Options indicates an expected call of Options.
func (*MockIClientMockRecorder) Post ¶
func (mr *MockIClientMockRecorder) Post(arg0, contentType, body any) *gomock.Call
Post indicates an expected call of Post.
func (*MockIClientMockRecorder) PostForm ¶
func (mr *MockIClientMockRecorder) PostForm(arg0, data any) *gomock.Call
PostForm indicates an expected call of PostForm.
func (*MockIClientMockRecorder) Put ¶
func (mr *MockIClientMockRecorder) Put(arg0, body any) *gomock.Call
Put indicates an expected call of Put.
func (*MockIClientMockRecorder) StandardClient ¶
func (mr *MockIClientMockRecorder) StandardClient() *gomock.Call
StandardClient indicates an expected call of StandardClient.
type MockIClientWithHeaders ¶
type MockIClientWithHeaders struct {
// contains filtered or unexported fields
}
MockIClientWithHeaders is a mock of IClientWithHeaders interface.
func NewMockIClientWithHeaders ¶
func NewMockIClientWithHeaders(ctrl *gomock.Controller) *MockIClientWithHeaders
NewMockIClientWithHeaders creates a new mock instance.
func (*MockIClientWithHeaders) AppendHeader ¶
func (m *MockIClientWithHeaders) AppendHeader(key, value string)
AppendHeader mocks base method.
func (*MockIClientWithHeaders) ClearHeaders ¶
func (m *MockIClientWithHeaders) ClearHeaders()
ClearHeaders mocks base method.
func (*MockIClientWithHeaders) Close ¶
func (m *MockIClientWithHeaders) Close() error
Close mocks base method.
func (*MockIClientWithHeaders) Delete ¶
func (m *MockIClientWithHeaders) Delete(arg0 string) (*http.Response, error)
Delete mocks base method.
func (*MockIClientWithHeaders) EXPECT ¶
func (m *MockIClientWithHeaders) EXPECT() *MockIClientWithHeadersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIClientWithHeaders) Get ¶
func (m *MockIClientWithHeaders) Get(arg0 string) (*http.Response, error)
Get mocks base method.
func (*MockIClientWithHeaders) Head ¶
func (m *MockIClientWithHeaders) Head(arg0 string) (*http.Response, error)
Head mocks base method.
func (*MockIClientWithHeaders) Options ¶
func (m *MockIClientWithHeaders) Options(arg0 string) (*http.Response, error)
Options mocks base method.
func (*MockIClientWithHeaders) RemoveHeader ¶
func (m *MockIClientWithHeaders) RemoveHeader(key string)
RemoveHeader mocks base method.
func (*MockIClientWithHeaders) StandardClient ¶
func (m *MockIClientWithHeaders) StandardClient() *http.Client
StandardClient mocks base method.
type MockIClientWithHeadersMockRecorder ¶
type MockIClientWithHeadersMockRecorder struct {
// contains filtered or unexported fields
}
MockIClientWithHeadersMockRecorder is the mock recorder for MockIClientWithHeaders.
func (*MockIClientWithHeadersMockRecorder) AppendHeader ¶
func (mr *MockIClientWithHeadersMockRecorder) AppendHeader(key, value any) *gomock.Call
AppendHeader indicates an expected call of AppendHeader.
func (*MockIClientWithHeadersMockRecorder) ClearHeaders ¶
func (mr *MockIClientWithHeadersMockRecorder) ClearHeaders() *gomock.Call
ClearHeaders indicates an expected call of ClearHeaders.
func (*MockIClientWithHeadersMockRecorder) Close ¶
func (mr *MockIClientWithHeadersMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIClientWithHeadersMockRecorder) Delete ¶
func (mr *MockIClientWithHeadersMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockIClientWithHeadersMockRecorder) Do ¶
func (mr *MockIClientWithHeadersMockRecorder) Do(req any) *gomock.Call
Do indicates an expected call of Do.
func (*MockIClientWithHeadersMockRecorder) Get ¶
func (mr *MockIClientWithHeadersMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockIClientWithHeadersMockRecorder) Head ¶
func (mr *MockIClientWithHeadersMockRecorder) Head(arg0 any) *gomock.Call
Head indicates an expected call of Head.
func (*MockIClientWithHeadersMockRecorder) Options ¶
func (mr *MockIClientWithHeadersMockRecorder) Options(arg0 any) *gomock.Call
Options indicates an expected call of Options.
func (*MockIClientWithHeadersMockRecorder) Post ¶
func (mr *MockIClientWithHeadersMockRecorder) Post(arg0, contentType, body any) *gomock.Call
Post indicates an expected call of Post.
func (*MockIClientWithHeadersMockRecorder) PostForm ¶
func (mr *MockIClientWithHeadersMockRecorder) PostForm(arg0, data any) *gomock.Call
PostForm indicates an expected call of PostForm.
func (*MockIClientWithHeadersMockRecorder) Put ¶
func (mr *MockIClientWithHeadersMockRecorder) Put(arg0, body any) *gomock.Call
Put indicates an expected call of Put.
func (*MockIClientWithHeadersMockRecorder) RemoveHeader ¶
func (mr *MockIClientWithHeadersMockRecorder) RemoveHeader(key any) *gomock.Call
RemoveHeader indicates an expected call of RemoveHeader.
func (*MockIClientWithHeadersMockRecorder) StandardClient ¶
func (mr *MockIClientWithHeadersMockRecorder) StandardClient() *gomock.Call
StandardClient indicates an expected call of StandardClient.
type MockIHTTPHeaders ¶
type MockIHTTPHeaders struct {
// contains filtered or unexported fields
}
MockIHTTPHeaders is a mock of IHTTPHeaders interface.
func NewMockIHTTPHeaders ¶
func NewMockIHTTPHeaders(ctrl *gomock.Controller) *MockIHTTPHeaders
NewMockIHTTPHeaders creates a new mock instance.
func (*MockIHTTPHeaders) Append ¶
func (m *MockIHTTPHeaders) Append(h *headers.Header)
Append mocks base method.
func (*MockIHTTPHeaders) AppendHeader ¶
func (m *MockIHTTPHeaders) AppendHeader(key, value string)
AppendHeader mocks base method.
func (*MockIHTTPHeaders) AppendToResponse ¶
func (m *MockIHTTPHeaders) AppendToResponse(w http.ResponseWriter)
AppendToResponse mocks base method.
func (*MockIHTTPHeaders) EXPECT ¶
func (m *MockIHTTPHeaders) EXPECT() *MockIHTTPHeadersMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIHTTPHeaders) Get ¶
func (m *MockIHTTPHeaders) Get(key string) string
Get mocks base method.
func (*MockIHTTPHeaders) Has ¶
func (m *MockIHTTPHeaders) Has(h *headers.Header) bool
Has mocks base method.
func (*MockIHTTPHeaders) HasHeader ¶
func (m *MockIHTTPHeaders) HasHeader(key string) bool
HasHeader mocks base method.
type MockIHTTPHeadersMockRecorder ¶
type MockIHTTPHeadersMockRecorder struct {
// contains filtered or unexported fields
}
MockIHTTPHeadersMockRecorder is the mock recorder for MockIHTTPHeaders.
func (*MockIHTTPHeadersMockRecorder) Append ¶
func (mr *MockIHTTPHeadersMockRecorder) Append(h any) *gomock.Call
Append indicates an expected call of Append.
func (*MockIHTTPHeadersMockRecorder) AppendHeader ¶
func (mr *MockIHTTPHeadersMockRecorder) AppendHeader(key, value any) *gomock.Call
AppendHeader indicates an expected call of AppendHeader.
func (*MockIHTTPHeadersMockRecorder) AppendToResponse ¶
func (mr *MockIHTTPHeadersMockRecorder) AppendToResponse(w any) *gomock.Call
AppendToResponse indicates an expected call of AppendToResponse.
func (*MockIHTTPHeadersMockRecorder) Empty ¶
func (mr *MockIHTTPHeadersMockRecorder) Empty() *gomock.Call
Empty indicates an expected call of Empty.
func (*MockIHTTPHeadersMockRecorder) Get ¶
func (mr *MockIHTTPHeadersMockRecorder) Get(key any) *gomock.Call
Get indicates an expected call of Get.
type MockIRetryWaitPolicy ¶
type MockIRetryWaitPolicy struct {
// contains filtered or unexported fields
}
MockIRetryWaitPolicy is a mock of IRetryWaitPolicy interface.
func NewMockIRetryWaitPolicy ¶
func NewMockIRetryWaitPolicy(ctrl *gomock.Controller) *MockIRetryWaitPolicy
NewMockIRetryWaitPolicy creates a new mock instance.
func (*MockIRetryWaitPolicy) Apply ¶
func (m *MockIRetryWaitPolicy) Apply(min, max time.Duration, attemptNum int, resp *http.Response) time.Duration
Apply mocks base method.
func (*MockIRetryWaitPolicy) EXPECT ¶
func (m *MockIRetryWaitPolicy) EXPECT() *MockIRetryWaitPolicyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIRetryWaitPolicyMockRecorder ¶
type MockIRetryWaitPolicyMockRecorder struct {
// contains filtered or unexported fields
}
MockIRetryWaitPolicyMockRecorder is the mock recorder for MockIRetryWaitPolicy.