Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
UpdateAuthProvider(p kubeconfig.AuthProvider) error
}
type MockInterface ¶
MockInterface is an autogenerated mock type for the Interface type
func NewMockInterface ¶
func NewMockInterface(t mockConstructorTestingTNewMockInterface) *MockInterface
NewMockInterface creates a new instance of MockInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockInterface) EXPECT ¶
func (_m *MockInterface) EXPECT() *MockInterface_Expecter
func (*MockInterface) UpdateAuthProvider ¶
func (_m *MockInterface) UpdateAuthProvider(p kubeconfig.AuthProvider) error
UpdateAuthProvider provides a mock function with given fields: p
type MockInterface_Expecter ¶
type MockInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockInterface_Expecter) UpdateAuthProvider ¶
func (_e *MockInterface_Expecter) UpdateAuthProvider(p interface{}) *MockInterface_UpdateAuthProvider_Call
UpdateAuthProvider is a helper method to define mock.On call
- p kubeconfig.AuthProvider
type MockInterface_UpdateAuthProvider_Call ¶
MockInterface_UpdateAuthProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAuthProvider'
func (*MockInterface_UpdateAuthProvider_Call) Return ¶
func (_c *MockInterface_UpdateAuthProvider_Call) Return(_a0 error) *MockInterface_UpdateAuthProvider_Call
func (*MockInterface_UpdateAuthProvider_Call) Run ¶
func (_c *MockInterface_UpdateAuthProvider_Call) Run(run func(p kubeconfig.AuthProvider)) *MockInterface_UpdateAuthProvider_Call
type Writer ¶
type Writer struct{}
func (Writer) UpdateAuthProvider ¶
func (Writer) UpdateAuthProvider(p kubeconfig.AuthProvider) error
Click to show internal directories.
Click to hide internal directories.