mock_apiserver

package
v0.11.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_apiserver is a generated GoMock package.

Index

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) GetNode

func (m *MockClient) GetNode(arg0 context.Context, arg1 string) (*v10.Node, error)

GetNode mocks base method

func (*MockClient) GetPod

func (m *MockClient) GetPod(arg0 context.Context, arg1, arg2 string) (*v10.Pod, error)

GetPod mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL