mock_kubeconfig

package
v0.38.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_kubeconfig is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL