Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateBasic(ns, sa string) (*v1.ServiceAccount, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Get(ns, sa string, options ...v10.GetOptions) (*v1.ServiceAccount, bool, error)
- func (m *MockClient) List(ns string, options ...v10.ListOptions) (*v1.ServiceAccountList, error)
- type MockClientMockRecorder
- type MockServiceAccountInterface
- func (m *MockServiceAccountInterface) Create(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)
- func (m *MockServiceAccountInterface) CreateToken(arg0 string, arg1 *v1.TokenRequest) (*v1.TokenRequest, error)
- func (m *MockServiceAccountInterface) Delete(arg0 string, arg1 *v11.DeleteOptions) error
- func (m *MockServiceAccountInterface) DeleteCollection(arg0 *v11.DeleteOptions, arg1 v11.ListOptions) error
- func (m *MockServiceAccountInterface) EXPECT() *MockServiceAccountInterfaceMockRecorder
- func (m *MockServiceAccountInterface) Get(arg0 string, arg1 v11.GetOptions) (*v10.ServiceAccount, error)
- func (m *MockServiceAccountInterface) List(arg0 v11.ListOptions) (*v10.ServiceAccountList, error)
- func (m *MockServiceAccountInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.ServiceAccount, error)
- func (m *MockServiceAccountInterface) Update(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)
- func (m *MockServiceAccountInterface) Watch(arg0 v11.ListOptions) (watch.Interface, error)
- type MockServiceAccountInterfaceMockRecorder
- func (mr *MockServiceAccountInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) CreateToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
- func (mr *MockServiceAccountInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
- type MockServiceAccountsGetter
- type MockServiceAccountsGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CreateBasic ¶
func (m *MockClient) CreateBasic(ns, sa string) (*v1.ServiceAccount, error)
CreateBasic mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) Get ¶
func (m *MockClient) Get(ns, sa string, options ...v10.GetOptions) (*v1.ServiceAccount, bool, error)
Get mocks base method
func (*MockClient) List ¶
func (m *MockClient) List(ns string, options ...v10.ListOptions) (*v1.ServiceAccountList, error)
List mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CreateBasic ¶
func (mr *MockClientMockRecorder) CreateBasic(ns, sa interface{}) *gomock.Call
CreateBasic indicates an expected call of CreateBasic
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ns, sa interface{}, options ...interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(ns interface{}, options ...interface{}) *gomock.Call
List indicates an expected call of List
type MockServiceAccountInterface ¶
type MockServiceAccountInterface struct {
// contains filtered or unexported fields
}
MockServiceAccountInterface is a mock of ServiceAccountInterface interface
func NewMockServiceAccountInterface ¶
func NewMockServiceAccountInterface(ctrl *gomock.Controller) *MockServiceAccountInterface
NewMockServiceAccountInterface creates a new mock instance
func (*MockServiceAccountInterface) Create ¶
func (m *MockServiceAccountInterface) Create(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)
Create mocks base method
func (*MockServiceAccountInterface) CreateToken ¶
func (m *MockServiceAccountInterface) CreateToken(arg0 string, arg1 *v1.TokenRequest) (*v1.TokenRequest, error)
CreateToken mocks base method
func (*MockServiceAccountInterface) Delete ¶
func (m *MockServiceAccountInterface) Delete(arg0 string, arg1 *v11.DeleteOptions) error
Delete mocks base method
func (*MockServiceAccountInterface) DeleteCollection ¶
func (m *MockServiceAccountInterface) DeleteCollection(arg0 *v11.DeleteOptions, arg1 v11.ListOptions) error
DeleteCollection mocks base method
func (*MockServiceAccountInterface) EXPECT ¶
func (m *MockServiceAccountInterface) EXPECT() *MockServiceAccountInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceAccountInterface) Get ¶
func (m *MockServiceAccountInterface) Get(arg0 string, arg1 v11.GetOptions) (*v10.ServiceAccount, error)
Get mocks base method
func (*MockServiceAccountInterface) List ¶
func (m *MockServiceAccountInterface) List(arg0 v11.ListOptions) (*v10.ServiceAccountList, error)
List mocks base method
func (*MockServiceAccountInterface) Patch ¶
func (m *MockServiceAccountInterface) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.ServiceAccount, error)
Patch mocks base method
func (*MockServiceAccountInterface) Update ¶
func (m *MockServiceAccountInterface) Update(arg0 *v10.ServiceAccount) (*v10.ServiceAccount, error)
Update mocks base method
func (*MockServiceAccountInterface) Watch ¶
func (m *MockServiceAccountInterface) Watch(arg0 v11.ListOptions) (watch.Interface, error)
Watch mocks base method
type MockServiceAccountInterfaceMockRecorder ¶
type MockServiceAccountInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceAccountInterfaceMockRecorder is the mock recorder for MockServiceAccountInterface
func (*MockServiceAccountInterfaceMockRecorder) Create ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockServiceAccountInterfaceMockRecorder) CreateToken ¶
func (mr *MockServiceAccountInterfaceMockRecorder) CreateToken(arg0, arg1 interface{}) *gomock.Call
CreateToken indicates an expected call of CreateToken
func (*MockServiceAccountInterfaceMockRecorder) Delete ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockServiceAccountInterfaceMockRecorder) DeleteCollection ¶
func (mr *MockServiceAccountInterfaceMockRecorder) DeleteCollection(arg0, arg1 interface{}) *gomock.Call
DeleteCollection indicates an expected call of DeleteCollection
func (*MockServiceAccountInterfaceMockRecorder) Get ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockServiceAccountInterfaceMockRecorder) List ¶
func (mr *MockServiceAccountInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockServiceAccountInterfaceMockRecorder) Patch ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Patch indicates an expected call of Patch
func (*MockServiceAccountInterfaceMockRecorder) Update ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockServiceAccountInterfaceMockRecorder) Watch ¶
func (mr *MockServiceAccountInterfaceMockRecorder) Watch(arg0 interface{}) *gomock.Call
Watch indicates an expected call of Watch
type MockServiceAccountsGetter ¶
type MockServiceAccountsGetter struct {
// contains filtered or unexported fields
}
MockServiceAccountsGetter is a mock of ServiceAccountsGetter interface
func NewMockServiceAccountsGetter ¶
func NewMockServiceAccountsGetter(ctrl *gomock.Controller) *MockServiceAccountsGetter
NewMockServiceAccountsGetter creates a new mock instance
func (*MockServiceAccountsGetter) EXPECT ¶
func (m *MockServiceAccountsGetter) EXPECT() *MockServiceAccountsGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceAccountsGetter) ServiceAccounts ¶
func (m *MockServiceAccountsGetter) ServiceAccounts(arg0 string) v1.ServiceAccountInterface
ServiceAccounts mocks base method
type MockServiceAccountsGetterMockRecorder ¶
type MockServiceAccountsGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceAccountsGetterMockRecorder is the mock recorder for MockServiceAccountsGetter
func (*MockServiceAccountsGetterMockRecorder) ServiceAccounts ¶
func (mr *MockServiceAccountsGetterMockRecorder) ServiceAccounts(arg0 interface{}) *gomock.Call
ServiceAccounts indicates an expected call of ServiceAccounts