kubernetes/test/utils/oidc/handlers/mock_token_handler.go

type MockTokenHandler

type MockTokenHandler_Expecter

func (_m *MockTokenHandler) EXPECT() *MockTokenHandler_Expecter {}

// Token provides a mock function with given fields:
func (_m *MockTokenHandler) Token() (Token, error) {}

type MockTokenHandler_Token_Call

// Token is a helper method to define mock.On call
func (_e *MockTokenHandler_Expecter) Token() *MockTokenHandler_Token_Call {}

func (_c *MockTokenHandler_Token_Call) Run(run func()) *MockTokenHandler_Token_Call {}

func (_c *MockTokenHandler_Token_Call) Return(_a0 Token, _a1 error) *MockTokenHandler_Token_Call {}

func (_c *MockTokenHandler_Token_Call) RunAndReturn(run func() (Token, error)) *MockTokenHandler_Token_Call {}

// NewMockTokenHandler creates a new instance of MockTokenHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
func NewMockTokenHandler(t interface {}