Documentation ¶
Index ¶
- type ContextOps
- func (_m *ContextOps) CopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, ...) error
- 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_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) CopyContext ¶
func (_m *ContextOps) CopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, targetCtxName string) error
CopyContext provides a mock function with given fields: srcConfigAccess, srcCtxName, targetCtxName
func (*ContextOps) OnCopyContext ¶
func (_m *ContextOps) OnCopyContext(srcConfigAccess clientcmd.ConfigAccess, srcCtxName string, targetCtxName 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_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.