Documentation ¶
Overview ¶
Package mock_kubeconfig is a generated GoMock package.
Index ¶
- type MockKubeLoader
- func (m *MockKubeLoader) EXPECT() *MockKubeLoaderMockRecorder
- func (m *MockKubeLoader) GetClientConfigForContext(path, context string) (clientcmd.ClientConfig, error)
- func (m *MockKubeLoader) GetRawConfigForContext(path, context string) (api.Config, error)
- func (m *MockKubeLoader) GetRestConfigForContext(path, context string) (*rest.Config, error)
- func (m *MockKubeLoader) GetRestConfigFromBytes(config []byte) (*rest.Config, error)
- type MockKubeLoaderMockRecorder
- func (mr *MockKubeLoaderMockRecorder) GetClientConfigForContext(path, context interface{}) *gomock.Call
- func (mr *MockKubeLoaderMockRecorder) GetRawConfigForContext(path, context interface{}) *gomock.Call
- func (mr *MockKubeLoaderMockRecorder) GetRestConfigForContext(path, context interface{}) *gomock.Call
- func (mr *MockKubeLoaderMockRecorder) GetRestConfigFromBytes(config interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKubeLoader ¶
type MockKubeLoader struct {
// contains filtered or unexported fields
}
MockKubeLoader is a mock of KubeLoader interface.
func NewMockKubeLoader ¶
func NewMockKubeLoader(ctrl *gomock.Controller) *MockKubeLoader
NewMockKubeLoader creates a new mock instance.
func (*MockKubeLoader) EXPECT ¶
func (m *MockKubeLoader) EXPECT() *MockKubeLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubeLoader) GetClientConfigForContext ¶
func (m *MockKubeLoader) GetClientConfigForContext(path, context string) (clientcmd.ClientConfig, error)
GetClientConfigForContext mocks base method.
func (*MockKubeLoader) GetRawConfigForContext ¶
func (m *MockKubeLoader) GetRawConfigForContext(path, context string) (api.Config, error)
GetRawConfigForContext mocks base method.
func (*MockKubeLoader) GetRestConfigForContext ¶
func (m *MockKubeLoader) GetRestConfigForContext(path, context string) (*rest.Config, error)
GetRestConfigForContext mocks base method.
func (*MockKubeLoader) GetRestConfigFromBytes ¶
func (m *MockKubeLoader) GetRestConfigFromBytes(config []byte) (*rest.Config, error)
GetRestConfigFromBytes mocks base method.
type MockKubeLoaderMockRecorder ¶
type MockKubeLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockKubeLoaderMockRecorder is the mock recorder for MockKubeLoader.
func (*MockKubeLoaderMockRecorder) GetClientConfigForContext ¶
func (mr *MockKubeLoaderMockRecorder) GetClientConfigForContext(path, context interface{}) *gomock.Call
GetClientConfigForContext indicates an expected call of GetClientConfigForContext.
func (*MockKubeLoaderMockRecorder) GetRawConfigForContext ¶
func (mr *MockKubeLoaderMockRecorder) GetRawConfigForContext(path, context interface{}) *gomock.Call
GetRawConfigForContext indicates an expected call of GetRawConfigForContext.
func (*MockKubeLoaderMockRecorder) GetRestConfigForContext ¶
func (mr *MockKubeLoaderMockRecorder) GetRestConfigForContext(path, context interface{}) *gomock.Call
GetRestConfigForContext indicates an expected call of GetRestConfigForContext.
func (*MockKubeLoaderMockRecorder) GetRestConfigFromBytes ¶
func (mr *MockKubeLoaderMockRecorder) GetRestConfigFromBytes(config interface{}) *gomock.Call
GetRestConfigFromBytes indicates an expected call of GetRestConfigFromBytes.