Documentation
¶
Overview ¶
Package mock_apiserver is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetNode(arg0 context.Context, arg1 string) (*v10.Node, error)
- func (m *MockClient) GetPod(arg0 context.Context, arg1, arg2 string) (*v10.Pod, error)
- func (m *MockClient) ValidateToken(arg0 context.Context, arg1 string, arg2 []string) (*v1.TokenReviewStatus, error)
- type MockClientMockRecorder
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) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) ValidateToken ¶
func (m *MockClient) ValidateToken(arg0 context.Context, arg1 string, arg2 []string) (*v1.TokenReviewStatus, error)
ValidateToken mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) GetNode ¶
func (mr *MockClientMockRecorder) GetNode(arg0, arg1 interface{}) *gomock.Call
GetNode indicates an expected call of GetNode
func (*MockClientMockRecorder) GetPod ¶
func (mr *MockClientMockRecorder) GetPod(arg0, arg1, arg2 interface{}) *gomock.Call
GetPod indicates an expected call of GetPod
func (*MockClientMockRecorder) ValidateToken ¶
func (mr *MockClientMockRecorder) ValidateToken(arg0, arg1, arg2 interface{}) *gomock.Call
ValidateToken indicates an expected call of ValidateToken
Click to show internal directories.
Click to hide internal directories.