fakes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClientConfig

type FakeClientConfig struct {
	ExpectedClientConfigError bool
}

FakeClientConfig is a mock of Client ClientConfig

func (*FakeClientConfig) ClientConfig

func (f *FakeClientConfig) ClientConfig() (*restclient.Config, error)

ClientConfig mocks base method

func (*FakeClientConfig) ConfigAccess

func (f *FakeClientConfig) ConfigAccess() clientcmd.ConfigAccess

ConfigAccess mocks base method

func (*FakeClientConfig) Namespace

func (f *FakeClientConfig) Namespace() (string, bool, error)

Namespace mocks base method

func (*FakeClientConfig) RawConfig

func (f *FakeClientConfig) RawConfig() (clientcmdapi.Config, error)

RawConfig mocks base method

Jump to

Keyboard shortcuts

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