mocks

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextOps

type ContextOps struct {
	mock.Mock
}

ContextOps is an autogenerated mock type for the ContextOps type

func (*ContextOps) CheckConfig added in v0.6.20

func (_m *ContextOps) CheckConfig() error

CheckConfig provides a mock function with given fields:

func (*ContextOps) CopyContext

func (_m *ContextOps) CopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, targetCtxName string, targetNamespace string) error

CopyContext provides a mock function with given fields: srcConfigAccess, srcCtxName, targetCtxName, targetNamespace

func (*ContextOps) OnCheckConfig added in v0.6.20

func (_m *ContextOps) OnCheckConfig() *ContextOps_CheckConfig

func (*ContextOps) OnCheckConfigMatch added in v0.6.20

func (_m *ContextOps) OnCheckConfigMatch(matchers ...interface{}) *ContextOps_CheckConfig

func (*ContextOps) OnCopyContext

func (_m *ContextOps) OnCopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, targetCtxName string, targetNamespace string) *ContextOps_CopyContext

func (*ContextOps) OnCopyContextMatch

func (_m *ContextOps) OnCopyContextMatch(matchers ...interface{}) *ContextOps_CopyContext

func (*ContextOps) OnRemoveContext

func (_m *ContextOps) OnRemoveContext(ctxName string) *ContextOps_RemoveContext

func (*ContextOps) OnRemoveContextMatch

func (_m *ContextOps) OnRemoveContextMatch(matchers ...interface{}) *ContextOps_RemoveContext

func (*ContextOps) RemoveContext

func (_m *ContextOps) RemoveContext(ctxName string) error

RemoveContext provides a mock function with given fields: ctxName

type ContextOps_CheckConfig added in v0.6.20

type ContextOps_CheckConfig struct {
	*mock.Call
}

func (ContextOps_CheckConfig) Return added in v0.6.20

type ContextOps_CopyContext

type ContextOps_CopyContext struct {
	*mock.Call
}

func (ContextOps_CopyContext) Return

type ContextOps_RemoveContext

type ContextOps_RemoveContext struct {
	*mock.Call
}

func (ContextOps_RemoveContext) Return

Jump to

Keyboard shortcuts

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