mirror of https://github.com/helm/helm
Signed-off-by: Karuppiah Natarajan <karuppiah7890@gmail.com>pull/6055/head
parent
f6bcb27b39
commit
717420db34
@ -0,0 +1,67 @@
|
|||||||
|
/*
|
||||||
|
Copyright The Helm Authors.
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
// This is a mock for the Getter interface
|
||||||
|
|
||||||
|
// Code generated by MockGen. DO NOT EDIT.
|
||||||
|
// Source: pkg/getter/getter.go
|
||||||
|
// Command To Generate: mockgen -source pkg/getter/getter.go -package mocks Getter > pkg/getter/mocks/getter.go
|
||||||
|
|
||||||
|
// Package mocks is a generated GoMock package.
|
||||||
|
package mocks
|
||||||
|
|
||||||
|
import (
|
||||||
|
bytes "bytes"
|
||||||
|
gomock "github.com/golang/mock/gomock"
|
||||||
|
reflect "reflect"
|
||||||
|
)
|
||||||
|
|
||||||
|
// MockGetter is a mock of Getter interface
|
||||||
|
type MockGetter struct {
|
||||||
|
ctrl *gomock.Controller
|
||||||
|
recorder *MockGetterMockRecorder
|
||||||
|
}
|
||||||
|
|
||||||
|
// MockGetterMockRecorder is the mock recorder for MockGetter
|
||||||
|
type MockGetterMockRecorder struct {
|
||||||
|
mock *MockGetter
|
||||||
|
}
|
||||||
|
|
||||||
|
// NewMockGetter creates a new mock instance
|
||||||
|
func NewMockGetter(ctrl *gomock.Controller) *MockGetter {
|
||||||
|
mock := &MockGetter{ctrl: ctrl}
|
||||||
|
mock.recorder = &MockGetterMockRecorder{mock}
|
||||||
|
return mock
|
||||||
|
}
|
||||||
|
|
||||||
|
// EXPECT returns an object that allows the caller to indicate expected use
|
||||||
|
func (m *MockGetter) EXPECT() *MockGetterMockRecorder {
|
||||||
|
return m.recorder
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get mocks base method
|
||||||
|
func (m *MockGetter) Get(url string) (*bytes.Buffer, error) {
|
||||||
|
m.ctrl.T.Helper()
|
||||||
|
ret := m.ctrl.Call(m, "Get", url)
|
||||||
|
ret0, _ := ret[0].(*bytes.Buffer)
|
||||||
|
ret1, _ := ret[1].(error)
|
||||||
|
return ret0, ret1
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get indicates an expected call of Get
|
||||||
|
func (mr *MockGetterMockRecorder) Get(url interface{}) *gomock.Call {
|
||||||
|
mr.mock.ctrl.T.Helper()
|
||||||
|
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockGetter)(nil).Get), url)
|
||||||
|
}
|
Loading…
Reference in new issue