Documentation ¶
Index ¶
- type ContextOps
- func (_m *ContextOps) CheckConfig() error
- func (_m *ContextOps) CopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, ...) error
- func (_m *ContextOps) OnCheckConfig() *ContextOps_CheckConfig
- func (_m *ContextOps) OnCheckConfigMatch(matchers ...interface{}) *ContextOps_CheckConfig
- func (_m *ContextOps) OnCopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, ...) *ContextOps_CopyContext
- func (_m *ContextOps) OnCopyContextMatch(matchers ...interface{}) *ContextOps_CopyContext
- func (_m *ContextOps) OnRemoveContext(ctxName string) *ContextOps_RemoveContext
- func (_m *ContextOps) OnRemoveContextMatch(matchers ...interface{}) *ContextOps_RemoveContext
- func (_m *ContextOps) RemoveContext(ctxName string) error
- type ContextOps_CheckConfig
- type ContextOps_CopyContext
- type ContextOps_RemoveContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextOps ¶
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
func (ContextOps_CheckConfig) Return ¶ added in v0.6.20
func (_m ContextOps_CheckConfig) Return(_a0 error) *ContextOps_CheckConfig
type ContextOps_CopyContext ¶
func (ContextOps_CopyContext) Return ¶
func (_m ContextOps_CopyContext) Return(_a0 error) *ContextOps_CopyContext
type ContextOps_RemoveContext ¶
func (ContextOps_RemoveContext) Return ¶
func (_m ContextOps_RemoveContext) Return(_a0 error) *ContextOps_RemoveContext
Click to show internal directories.
Click to hide internal directories.