Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( wire.Struct(new(Cmd), "*"), wire.Bind(new(Interface), new(*Cmd)), wire.Struct(new(Root), "*"), wire.Struct(new(GetToken), "*"), wire.Struct(new(Setup), "*"), )
Set provides an implementation and interface for Cmd.
Functions ¶
This section is empty.
Types ¶
type GetToken ¶
type GetToken struct { GetToken credentialplugin.Interface Logger logger.Interface }
type MockInterface ¶ added in v1.25.2
MockInterface is an autogenerated mock type for the Interface type
func NewMockInterface ¶ added in v1.25.2
func NewMockInterface(t mockConstructorTestingTNewMockInterface) *MockInterface
NewMockInterface creates a new instance of MockInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*MockInterface) EXPECT ¶ added in v1.25.2
func (_m *MockInterface) EXPECT() *MockInterface_Expecter
type MockInterface_Expecter ¶ added in v1.25.2
type MockInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockInterface_Expecter) Run ¶ added in v1.25.2
func (_e *MockInterface_Expecter) Run(ctx interface{}, args interface{}, version interface{}) *MockInterface_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
- args []string
- version string
type MockInterface_Run_Call ¶ added in v1.25.2
MockInterface_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*MockInterface_Run_Call) Return ¶ added in v1.25.2
func (_c *MockInterface_Run_Call) Return(_a0 int) *MockInterface_Run_Call
func (*MockInterface_Run_Call) Run ¶ added in v1.25.2
func (_c *MockInterface_Run_Call) Run(run func(ctx context.Context, args []string, version string)) *MockInterface_Run_Call
Click to show internal directories.
Click to hide internal directories.