Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockArtifact
- type MockArtifactMockRecorder
- type MockAuth
- func (m *MockAuth) CheckResponseForInvalidToken(w http.ResponseWriter, r *http.Request, resp *http.Response) bool
- func (m *MockAuth) EXPECT() *MockAuthMockRecorder
- func (m *MockAuth) GetTokenIfExists(w http.ResponseWriter, r *http.Request) (string, error)
- func (m *MockAuth) IsAuthSupported() bool
- func (m *MockAuth) RequireAuth(w http.ResponseWriter, r *http.Request) bool
- type MockAuthMockRecorder
- func (mr *MockAuthMockRecorder) CheckResponseForInvalidToken(w, r, resp interface{}) *gomock.Call
- func (mr *MockAuthMockRecorder) GetTokenIfExists(w, r interface{}) *gomock.Call
- func (mr *MockAuthMockRecorder) IsAuthSupported() *gomock.Call
- func (mr *MockAuthMockRecorder) RequireAuth(w, r interface{}) *gomock.Call
- type MockClientStub
- type MockClientStubMockRecorder
- type MockResolver
- type MockResolverMockRecorder
- type MockSource
- type MockSourceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockArtifact ¶
type MockArtifact struct {
// contains filtered or unexported fields
}
MockArtifact is a mock of Artifact interface.
func NewMockArtifact ¶
func NewMockArtifact(ctrl *gomock.Controller) *MockArtifact
NewMockArtifact creates a new mock instance.
func (*MockArtifact) EXPECT ¶
func (m *MockArtifact) EXPECT() *MockArtifactMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockArtifact) TryMakeRequest ¶
func (m *MockArtifact) TryMakeRequest(host string, w http.ResponseWriter, r *http.Request, token string, responseHandler func(*http.Response) bool) bool
TryMakeRequest mocks base method.
type MockArtifactMockRecorder ¶
type MockArtifactMockRecorder struct {
// contains filtered or unexported fields
}
MockArtifactMockRecorder is the mock recorder for MockArtifact.
func (*MockArtifactMockRecorder) TryMakeRequest ¶
func (mr *MockArtifactMockRecorder) TryMakeRequest(host, w, r, token, responseHandler interface{}) *gomock.Call
TryMakeRequest indicates an expected call of TryMakeRequest.
type MockAuth ¶
type MockAuth struct {
// contains filtered or unexported fields
}
MockAuth is a mock of Auth interface.
func NewMockAuth ¶
func NewMockAuth(ctrl *gomock.Controller) *MockAuth
NewMockAuth creates a new mock instance.
func (*MockAuth) CheckResponseForInvalidToken ¶
func (m *MockAuth) CheckResponseForInvalidToken(w http.ResponseWriter, r *http.Request, resp *http.Response) bool
CheckResponseForInvalidToken mocks base method.
func (*MockAuth) EXPECT ¶
func (m *MockAuth) EXPECT() *MockAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuth) GetTokenIfExists ¶
GetTokenIfExists mocks base method.
func (*MockAuth) IsAuthSupported ¶
IsAuthSupported mocks base method.
func (*MockAuth) RequireAuth ¶
RequireAuth mocks base method.
type MockAuthMockRecorder ¶
type MockAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthMockRecorder is the mock recorder for MockAuth.
func (*MockAuthMockRecorder) CheckResponseForInvalidToken ¶
func (mr *MockAuthMockRecorder) CheckResponseForInvalidToken(w, r, resp interface{}) *gomock.Call
CheckResponseForInvalidToken indicates an expected call of CheckResponseForInvalidToken.
func (*MockAuthMockRecorder) GetTokenIfExists ¶
func (mr *MockAuthMockRecorder) GetTokenIfExists(w, r interface{}) *gomock.Call
GetTokenIfExists indicates an expected call of GetTokenIfExists.
func (*MockAuthMockRecorder) IsAuthSupported ¶
func (mr *MockAuthMockRecorder) IsAuthSupported() *gomock.Call
IsAuthSupported indicates an expected call of IsAuthSupported.
func (*MockAuthMockRecorder) RequireAuth ¶
func (mr *MockAuthMockRecorder) RequireAuth(w, r interface{}) *gomock.Call
RequireAuth indicates an expected call of RequireAuth.
type MockClientStub ¶ added in v1.52.0
type MockClientStub struct {
// contains filtered or unexported fields
}
MockClientStub is a mock of ClientStub interface.
func NewMockClientStub ¶ added in v1.52.0
func NewMockClientStub(ctrl *gomock.Controller) *MockClientStub
NewMockClientStub creates a new mock instance.
func (*MockClientStub) EXPECT ¶ added in v1.52.0
func (m *MockClientStub) EXPECT() *MockClientStubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockClientStubMockRecorder ¶ added in v1.52.0
type MockClientStubMockRecorder struct {
// contains filtered or unexported fields
}
MockClientStubMockRecorder is the mock recorder for MockClientStub.
func (*MockClientStubMockRecorder) GetLookup ¶ added in v1.52.0
func (mr *MockClientStubMockRecorder) GetLookup(ctx, domain interface{}) *gomock.Call
GetLookup indicates an expected call of GetLookup.
func (*MockClientStubMockRecorder) Resolve ¶ added in v1.52.0
func (mr *MockClientStubMockRecorder) Resolve(ctx, domain interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
type MockResolver ¶ added in v1.52.0
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface.
func NewMockResolver ¶ added in v1.52.0
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance.
func (*MockResolver) EXPECT ¶ added in v1.52.0
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockResolverMockRecorder ¶ added in v1.52.0
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver.
func (*MockResolverMockRecorder) Resolve ¶ added in v1.52.0
func (mr *MockResolverMockRecorder) Resolve(arg0 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
type MockSource ¶ added in v1.46.0
type MockSource struct {
// contains filtered or unexported fields
}
MockSource is a mock of Source interface.
func NewMockSource ¶ added in v1.46.0
func NewMockSource(ctrl *gomock.Controller) *MockSource
NewMockSource creates a new mock instance.
func (*MockSource) EXPECT ¶ added in v1.46.0
func (m *MockSource) EXPECT() *MockSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockSourceMockRecorder ¶ added in v1.46.0
type MockSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceMockRecorder is the mock recorder for MockSource.
func (*MockSourceMockRecorder) GetDomain ¶ added in v1.46.0
func (mr *MockSourceMockRecorder) GetDomain(arg0, arg1 interface{}) *gomock.Call
GetDomain indicates an expected call of GetDomain.