token

package
v5.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSecretFunc

type MockSecretFunc struct {
	mock.Mock
}

MockSecretFunc is an autogenerated mock type for the SecretFunc type

func NewMockSecretFunc

func NewMockSecretFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSecretFunc

NewMockSecretFunc creates a new instance of MockSecretFunc. 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 (*MockSecretFunc) EXPECT

func (*MockSecretFunc) Execute

func (_m *MockSecretFunc) Execute(_a0 *token.Token) (string, error)

Execute provides a mock function with given fields: _a0

type MockSecretFunc_Execute_Call

type MockSecretFunc_Execute_Call struct {
	*mock.Call
}

MockSecretFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*MockSecretFunc_Execute_Call) Return

func (*MockSecretFunc_Execute_Call) Run

func (*MockSecretFunc_Execute_Call) RunAndReturn

type MockSecretFunc_Expecter

type MockSecretFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockSecretFunc_Expecter) Execute

func (_e *MockSecretFunc_Expecter) Execute(_a0 interface{}) *MockSecretFunc_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 *token.Token

Jump to

Keyboard shortcuts

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