Documentation ¶
Index ¶
- type MockActivity_service
- func (_m *MockActivity_service) CloseExecution(_a0 context.Context, _a1 workflow.ExecutionIdentifier, _a2 workflow.Status, ...) error
- func (_m *MockActivity_service) CreateNode(_a0 context.Context, _a1 provider.Identifier, _a2 tailnet.ControlServer, ...) (node.PlatformIdentifier, error)
- func (_m *MockActivity_service) CreateNodeRecord(_a0 context.Context, _a1 node.Identifier, _a2 node.PlatformIdentifier, ...) error
- func (_m *MockActivity_service) CreatePreauthKey(_a0 context.Context, _a1 tailnet.Identifier, _a2 bool) (tailnet.PreauthKey, error)
- func (_m *MockActivity_service) DeleteNode(_a0 context.Context, _a1 node.Identifier) error
- func (_m *MockActivity_service) DeleteNodeRecord(_a0 context.Context, _a1 node.Identifier) error
- func (_m *MockActivity_service) EXPECT() *MockActivity_service_Expecter
- func (_m *MockActivity_service) EnableExitNode(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier) error
- func (_m *MockActivity_service) GetDeviceId(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
- func (_m *MockActivity_service) RemoveTailnetDevice(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier) error
- type MockActivity_service_CloseExecution_Call
- func (_c *MockActivity_service_CloseExecution_Call) Return(_a0 error) *MockActivity_service_CloseExecution_Call
- func (_c *MockActivity_service_CloseExecution_Call) Run(...) *MockActivity_service_CloseExecution_Call
- func (_c *MockActivity_service_CloseExecution_Call) RunAndReturn(...) *MockActivity_service_CloseExecution_Call
- type MockActivity_service_CreateNodeRecord_Call
- func (_c *MockActivity_service_CreateNodeRecord_Call) Return(_a0 error) *MockActivity_service_CreateNodeRecord_Call
- func (_c *MockActivity_service_CreateNodeRecord_Call) Run(...) *MockActivity_service_CreateNodeRecord_Call
- func (_c *MockActivity_service_CreateNodeRecord_Call) RunAndReturn(...) *MockActivity_service_CreateNodeRecord_Call
- type MockActivity_service_CreateNode_Call
- func (_c *MockActivity_service_CreateNode_Call) Return(_a0 node.PlatformIdentifier, _a1 error) *MockActivity_service_CreateNode_Call
- func (_c *MockActivity_service_CreateNode_Call) Run(...) *MockActivity_service_CreateNode_Call
- func (_c *MockActivity_service_CreateNode_Call) RunAndReturn(...) *MockActivity_service_CreateNode_Call
- type MockActivity_service_CreatePreauthKey_Call
- func (_c *MockActivity_service_CreatePreauthKey_Call) Return(_a0 tailnet.PreauthKey, _a1 error) *MockActivity_service_CreatePreauthKey_Call
- func (_c *MockActivity_service_CreatePreauthKey_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 bool)) *MockActivity_service_CreatePreauthKey_Call
- func (_c *MockActivity_service_CreatePreauthKey_Call) RunAndReturn(...) *MockActivity_service_CreatePreauthKey_Call
- type MockActivity_service_DeleteNodeRecord_Call
- func (_c *MockActivity_service_DeleteNodeRecord_Call) Return(_a0 error) *MockActivity_service_DeleteNodeRecord_Call
- func (_c *MockActivity_service_DeleteNodeRecord_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockActivity_service_DeleteNodeRecord_Call
- func (_c *MockActivity_service_DeleteNodeRecord_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockActivity_service_DeleteNodeRecord_Call
- type MockActivity_service_DeleteNode_Call
- func (_c *MockActivity_service_DeleteNode_Call) Return(_a0 error) *MockActivity_service_DeleteNode_Call
- func (_c *MockActivity_service_DeleteNode_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockActivity_service_DeleteNode_Call
- func (_c *MockActivity_service_DeleteNode_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockActivity_service_DeleteNode_Call
- type MockActivity_service_EnableExitNode_Call
- func (_c *MockActivity_service_EnableExitNode_Call) Return(_a0 error) *MockActivity_service_EnableExitNode_Call
- func (_c *MockActivity_service_EnableExitNode_Call) Run(...) *MockActivity_service_EnableExitNode_Call
- func (_c *MockActivity_service_EnableExitNode_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, tailnet.DeviceIdentifier) error) *MockActivity_service_EnableExitNode_Call
- type MockActivity_service_Expecter
- func (_e *MockActivity_service_Expecter) CloseExecution(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *MockActivity_service_CloseExecution_Call
- func (_e *MockActivity_service_Expecter) CreateNode(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, ...) *MockActivity_service_CreateNode_Call
- func (_e *MockActivity_service_Expecter) CreateNodeRecord(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, ...) *MockActivity_service_CreateNodeRecord_Call
- func (_e *MockActivity_service_Expecter) CreatePreauthKey(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_CreatePreauthKey_Call
- func (_e *MockActivity_service_Expecter) DeleteNode(_a0 interface{}, _a1 interface{}) *MockActivity_service_DeleteNode_Call
- func (_e *MockActivity_service_Expecter) DeleteNodeRecord(_a0 interface{}, _a1 interface{}) *MockActivity_service_DeleteNodeRecord_Call
- func (_e *MockActivity_service_Expecter) EnableExitNode(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_EnableExitNode_Call
- func (_e *MockActivity_service_Expecter) GetDeviceId(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_GetDeviceId_Call
- func (_e *MockActivity_service_Expecter) RemoveTailnetDevice(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_RemoveTailnetDevice_Call
- type MockActivity_service_GetDeviceId_Call
- func (_c *MockActivity_service_GetDeviceId_Call) Return(_a0 tailnet.DeviceIdentifier, _a1 error) *MockActivity_service_GetDeviceId_Call
- func (_c *MockActivity_service_GetDeviceId_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceName)) *MockActivity_service_GetDeviceId_Call
- func (_c *MockActivity_service_GetDeviceId_Call) RunAndReturn(...) *MockActivity_service_GetDeviceId_Call
- type MockActivity_service_RemoveTailnetDevice_Call
- func (_c *MockActivity_service_RemoveTailnetDevice_Call) Return(_a0 error) *MockActivity_service_RemoveTailnetDevice_Call
- func (_c *MockActivity_service_RemoveTailnetDevice_Call) Run(...) *MockActivity_service_RemoveTailnetDevice_Call
- func (_c *MockActivity_service_RemoveTailnetDevice_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, tailnet.DeviceIdentifier) error) *MockActivity_service_RemoveTailnetDevice_Call
- type MockAwsAccountClient_interfaces
- func (_m *MockAwsAccountClient_interfaces) EXPECT() *MockAwsAccountClient_interfaces_Expecter
- func (_m *MockAwsAccountClient_interfaces) EnableRegion(ctx context.Context, params *account.EnableRegionInput, ...) (*account.EnableRegionOutput, error)
- func (_m *MockAwsAccountClient_interfaces) GetRegionOptStatus(ctx context.Context, params *account.GetRegionOptStatusInput, ...) (*account.GetRegionOptStatusOutput, error)
- type MockAwsAccountClient_interfaces_EnableRegion_Call
- func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) Return(_a0 *account.EnableRegionOutput, _a1 error) *MockAwsAccountClient_interfaces_EnableRegion_Call
- func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) Run(run func(ctx context.Context, params *account.EnableRegionInput, ...)) *MockAwsAccountClient_interfaces_EnableRegion_Call
- func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) RunAndReturn(...) *MockAwsAccountClient_interfaces_EnableRegion_Call
- type MockAwsAccountClient_interfaces_Expecter
- func (_e *MockAwsAccountClient_interfaces_Expecter) EnableRegion(ctx interface{}, params interface{}, optFns ...interface{}) *MockAwsAccountClient_interfaces_EnableRegion_Call
- func (_e *MockAwsAccountClient_interfaces_Expecter) GetRegionOptStatus(ctx interface{}, params interface{}, optFns ...interface{}) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
- type MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
- func (_c *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) Return(_a0 *account.GetRegionOptStatusOutput, _a1 error) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
- func (_c *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) Run(run func(ctx context.Context, params *account.GetRegionOptStatusInput, ...)) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
- func (_c *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) RunAndReturn(...) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
- type MockClientOption_headscale_service
- type MockClientOption_headscale_service_Execute_Call
- func (_c *MockClientOption_headscale_service_Execute_Call) Return() *MockClientOption_headscale_service_Execute_Call
- func (_c *MockClientOption_headscale_service_Execute_Call) Run(run func(_a0 *runtime.ClientOperation)) *MockClientOption_headscale_service_Execute_Call
- func (_c *MockClientOption_headscale_service_Execute_Call) RunAndReturn(run func(*runtime.ClientOperation)) *MockClientOption_headscale_service_Execute_Call
- type MockClientOption_headscale_service_Expecter
- type MockClientService_headscale_service
- func (_m *MockClientService_headscale_service) EXPECT() *MockClientService_headscale_service_Expecter
- func (_m *MockClientService_headscale_service) HeadscaleServiceCreateAPIKey(params *headscale_service.HeadscaleServiceCreateAPIKeyParams, ...) (*headscale_service.HeadscaleServiceCreateAPIKeyOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceCreatePreAuthKey(params *headscale_service.HeadscaleServiceCreatePreAuthKeyParams, ...) (*headscale_service.HeadscaleServiceCreatePreAuthKeyOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceCreateUser(params *headscale_service.HeadscaleServiceCreateUserParams, ...) (*headscale_service.HeadscaleServiceCreateUserOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceDebugCreateMachine(params *headscale_service.HeadscaleServiceDebugCreateMachineParams, ...) (*headscale_service.HeadscaleServiceDebugCreateMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteMachine(params *headscale_service.HeadscaleServiceDeleteMachineParams, ...) (*headscale_service.HeadscaleServiceDeleteMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteRoute(params *headscale_service.HeadscaleServiceDeleteRouteParams, ...) (*headscale_service.HeadscaleServiceDeleteRouteOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteUser(params *headscale_service.HeadscaleServiceDeleteUserParams, ...) (*headscale_service.HeadscaleServiceDeleteUserOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceDisableRoute(params *headscale_service.HeadscaleServiceDisableRouteParams, ...) (*headscale_service.HeadscaleServiceDisableRouteOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceEnableRoute(params *headscale_service.HeadscaleServiceEnableRouteParams, ...) (*headscale_service.HeadscaleServiceEnableRouteOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceExpireAPIKey(params *headscale_service.HeadscaleServiceExpireAPIKeyParams, ...) (*headscale_service.HeadscaleServiceExpireAPIKeyOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceExpireMachine(params *headscale_service.HeadscaleServiceExpireMachineParams, ...) (*headscale_service.HeadscaleServiceExpireMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceExpirePreAuthKey(params *headscale_service.HeadscaleServiceExpirePreAuthKeyParams, ...) (*headscale_service.HeadscaleServiceExpirePreAuthKeyOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceGetMachine(params *headscale_service.HeadscaleServiceGetMachineParams, ...) (*headscale_service.HeadscaleServiceGetMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceGetMachineRoutes(params *headscale_service.HeadscaleServiceGetMachineRoutesParams, ...) (*headscale_service.HeadscaleServiceGetMachineRoutesOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceGetRoutes(params *headscale_service.HeadscaleServiceGetRoutesParams, ...) (*headscale_service.HeadscaleServiceGetRoutesOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceGetUser(params *headscale_service.HeadscaleServiceGetUserParams, ...) (*headscale_service.HeadscaleServiceGetUserOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceListAPIKeys(params *headscale_service.HeadscaleServiceListAPIKeysParams, ...) (*headscale_service.HeadscaleServiceListAPIKeysOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceListMachines(params *headscale_service.HeadscaleServiceListMachinesParams, ...) (*headscale_service.HeadscaleServiceListMachinesOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceListPreAuthKeys(params *headscale_service.HeadscaleServiceListPreAuthKeysParams, ...) (*headscale_service.HeadscaleServiceListPreAuthKeysOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceListUsers(params *headscale_service.HeadscaleServiceListUsersParams, ...) (*headscale_service.HeadscaleServiceListUsersOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceMoveMachine(params *headscale_service.HeadscaleServiceMoveMachineParams, ...) (*headscale_service.HeadscaleServiceMoveMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceRegisterMachine(params *headscale_service.HeadscaleServiceRegisterMachineParams, ...) (*headscale_service.HeadscaleServiceRegisterMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceRenameMachine(params *headscale_service.HeadscaleServiceRenameMachineParams, ...) (*headscale_service.HeadscaleServiceRenameMachineOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceRenameUser(params *headscale_service.HeadscaleServiceRenameUserParams, ...) (*headscale_service.HeadscaleServiceRenameUserOK, error)
- func (_m *MockClientService_headscale_service) HeadscaleServiceSetTags(params *headscale_service.HeadscaleServiceSetTagsParams, ...) (*headscale_service.HeadscaleServiceSetTagsOK, error)
- func (_m *MockClientService_headscale_service) SetTransport(transport runtime.ClientTransport)
- type MockClientService_headscale_service_Expecter
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreateAPIKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreatePreAuthKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreateUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDebugCreateMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDisableRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceEnableRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpireAPIKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpireMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpirePreAuthKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachineRoutes(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetRoutes(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListAPIKeys(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListMachines(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListPreAuthKeys(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListUsers(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceMoveMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRegisterMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRenameMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRenameUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
- func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceSetTags(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
- func (_e *MockClientService_headscale_service_Expecter) SetTransport(transport interface{}) *MockClientService_headscale_service_SetTransport_Call
- type MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call) Return(_a0 *headscale_service.HeadscaleServiceCreateAPIKeyOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call) Run(run func(params *headscale_service.HeadscaleServiceCreateAPIKeyParams, ...)) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
- type MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call) Return(_a0 *headscale_service.HeadscaleServiceCreatePreAuthKeyOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call) Run(...) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
- type MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call) Return(_a0 *headscale_service.HeadscaleServiceCreateUserOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call) Run(run func(params *headscale_service.HeadscaleServiceCreateUserParams, ...)) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
- type MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceDebugCreateMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call) Run(...) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceDeleteMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceDeleteMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call) Return(_a0 *headscale_service.HeadscaleServiceDeleteRouteOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call) Run(run func(params *headscale_service.HeadscaleServiceDeleteRouteParams, ...)) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
- type MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call) Return(_a0 *headscale_service.HeadscaleServiceDeleteUserOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call) Run(run func(params *headscale_service.HeadscaleServiceDeleteUserParams, ...)) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
- type MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call) Return(_a0 *headscale_service.HeadscaleServiceDisableRouteOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call) Run(run func(params *headscale_service.HeadscaleServiceDisableRouteParams, ...)) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
- type MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call) Return(_a0 *headscale_service.HeadscaleServiceEnableRouteOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call) Run(run func(params *headscale_service.HeadscaleServiceEnableRouteParams, ...)) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
- type MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call) Return(_a0 *headscale_service.HeadscaleServiceExpireAPIKeyOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call) Run(run func(params *headscale_service.HeadscaleServiceExpireAPIKeyParams, ...)) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
- type MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceExpireMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceExpireMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call) Return(_a0 *headscale_service.HeadscaleServiceExpirePreAuthKeyOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call) Run(...) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
- type MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call) Return(_a0 *headscale_service.HeadscaleServiceGetMachineRoutesOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call) Run(...) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
- type MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceGetMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceGetMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call) Return(_a0 *headscale_service.HeadscaleServiceGetRoutesOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call) Run(run func(params *headscale_service.HeadscaleServiceGetRoutesParams, ...)) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
- type MockClientService_headscale_service_HeadscaleServiceGetUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetUser_Call) Return(_a0 *headscale_service.HeadscaleServiceGetUserOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetUser_Call) Run(run func(params *headscale_service.HeadscaleServiceGetUserParams, ...)) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceGetUser_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
- type MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call) Return(_a0 *headscale_service.HeadscaleServiceListAPIKeysOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call) Run(run func(params *headscale_service.HeadscaleServiceListAPIKeysParams, ...)) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
- type MockClientService_headscale_service_HeadscaleServiceListMachines_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListMachines_Call) Return(_a0 *headscale_service.HeadscaleServiceListMachinesOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListMachines_Call) Run(run func(params *headscale_service.HeadscaleServiceListMachinesParams, ...)) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListMachines_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
- type MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call) Return(_a0 *headscale_service.HeadscaleServiceListPreAuthKeysOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call) Run(run func(params *headscale_service.HeadscaleServiceListPreAuthKeysParams, ...)) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
- type MockClientService_headscale_service_HeadscaleServiceListUsers_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListUsers_Call) Return(_a0 *headscale_service.HeadscaleServiceListUsersOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListUsers_Call) Run(run func(params *headscale_service.HeadscaleServiceListUsersParams, ...)) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceListUsers_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
- type MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceMoveMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceMoveMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceRegisterMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceRegisterMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call) Return(_a0 *headscale_service.HeadscaleServiceRenameMachineOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call) Run(run func(params *headscale_service.HeadscaleServiceRenameMachineParams, ...)) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
- type MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call) Return(_a0 *headscale_service.HeadscaleServiceRenameUserOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call) Run(run func(params *headscale_service.HeadscaleServiceRenameUserParams, ...)) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
- type MockClientService_headscale_service_HeadscaleServiceSetTags_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceSetTags_Call) Return(_a0 *headscale_service.HeadscaleServiceSetTagsOK, _a1 error) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceSetTags_Call) Run(run func(params *headscale_service.HeadscaleServiceSetTagsParams, ...)) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
- func (_c *MockClientService_headscale_service_HeadscaleServiceSetTags_Call) RunAndReturn(...) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
- type MockClientService_headscale_service_SetTransport_Call
- func (_c *MockClientService_headscale_service_SetTransport_Call) Return() *MockClientService_headscale_service_SetTransport_Call
- func (_c *MockClientService_headscale_service_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_headscale_service_SetTransport_Call
- func (_c *MockClientService_headscale_service_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_headscale_service_SetTransport_Call
- type MockEc2Client_interfaces
- func (_m *MockEc2Client_interfaces) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, ...) (*ec2.DescribeImagesOutput, error)
- func (_m *MockEc2Client_interfaces) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockEc2Client_interfaces) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...) (*ec2.DescribeSecurityGroupsOutput, error)
- func (_m *MockEc2Client_interfaces) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (_m *MockEc2Client_interfaces) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, ...) (*ec2.DescribeVpcsOutput, error)
- func (_m *MockEc2Client_interfaces) EXPECT() *MockEc2Client_interfaces_Expecter
- func (_m *MockEc2Client_interfaces) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, ...) (*ec2.RunInstancesOutput, error)
- func (_m *MockEc2Client_interfaces) StartInstances(ctx context.Context, params *ec2.StartInstancesInput, ...) (*ec2.StartInstancesOutput, error)
- func (_m *MockEc2Client_interfaces) StopInstances(ctx context.Context, params *ec2.StopInstancesInput, ...) (*ec2.StopInstancesOutput, error)
- func (_m *MockEc2Client_interfaces) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, ...) (*ec2.TerminateInstancesOutput, error)
- type MockEc2Client_interfaces_DescribeImages_Call
- func (_c *MockEc2Client_interfaces_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEc2Client_interfaces_DescribeImages_Call
- func (_c *MockEc2Client_interfaces_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, ...)) *MockEc2Client_interfaces_DescribeImages_Call
- func (_c *MockEc2Client_interfaces_DescribeImages_Call) RunAndReturn(...) *MockEc2Client_interfaces_DescribeImages_Call
- type MockEc2Client_interfaces_DescribeInstances_Call
- func (_c *MockEc2Client_interfaces_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEc2Client_interfaces_DescribeInstances_Call
- func (_c *MockEc2Client_interfaces_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, ...)) *MockEc2Client_interfaces_DescribeInstances_Call
- func (_c *MockEc2Client_interfaces_DescribeInstances_Call) RunAndReturn(...) *MockEc2Client_interfaces_DescribeInstances_Call
- type MockEc2Client_interfaces_DescribeSecurityGroups_Call
- func (_c *MockEc2Client_interfaces_DescribeSecurityGroups_Call) Return(_a0 *ec2.DescribeSecurityGroupsOutput, _a1 error) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
- func (_c *MockEc2Client_interfaces_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...)) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
- func (_c *MockEc2Client_interfaces_DescribeSecurityGroups_Call) RunAndReturn(...) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
- type MockEc2Client_interfaces_DescribeSubnets_Call
- func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockEc2Client_interfaces_DescribeSubnets_Call
- func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, ...)) *MockEc2Client_interfaces_DescribeSubnets_Call
- func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) RunAndReturn(...) *MockEc2Client_interfaces_DescribeSubnets_Call
- type MockEc2Client_interfaces_DescribeVpcs_Call
- func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEc2Client_interfaces_DescribeVpcs_Call
- func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, ...)) *MockEc2Client_interfaces_DescribeVpcs_Call
- func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) RunAndReturn(...) *MockEc2Client_interfaces_DescribeVpcs_Call
- type MockEc2Client_interfaces_Expecter
- func (_e *MockEc2Client_interfaces_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeImages_Call
- func (_e *MockEc2Client_interfaces_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeInstances_Call
- func (_e *MockEc2Client_interfaces_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
- func (_e *MockEc2Client_interfaces_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeSubnets_Call
- func (_e *MockEc2Client_interfaces_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeVpcs_Call
- func (_e *MockEc2Client_interfaces_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_RunInstances_Call
- func (_e *MockEc2Client_interfaces_Expecter) StartInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_StartInstances_Call
- func (_e *MockEc2Client_interfaces_Expecter) StopInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_StopInstances_Call
- func (_e *MockEc2Client_interfaces_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_TerminateInstances_Call
- type MockEc2Client_interfaces_RunInstances_Call
- func (_c *MockEc2Client_interfaces_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEc2Client_interfaces_RunInstances_Call
- func (_c *MockEc2Client_interfaces_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, ...)) *MockEc2Client_interfaces_RunInstances_Call
- func (_c *MockEc2Client_interfaces_RunInstances_Call) RunAndReturn(...) *MockEc2Client_interfaces_RunInstances_Call
- type MockEc2Client_interfaces_StartInstances_Call
- func (_c *MockEc2Client_interfaces_StartInstances_Call) Return(_a0 *ec2.StartInstancesOutput, _a1 error) *MockEc2Client_interfaces_StartInstances_Call
- func (_c *MockEc2Client_interfaces_StartInstances_Call) Run(run func(ctx context.Context, params *ec2.StartInstancesInput, ...)) *MockEc2Client_interfaces_StartInstances_Call
- func (_c *MockEc2Client_interfaces_StartInstances_Call) RunAndReturn(...) *MockEc2Client_interfaces_StartInstances_Call
- type MockEc2Client_interfaces_StopInstances_Call
- func (_c *MockEc2Client_interfaces_StopInstances_Call) Return(_a0 *ec2.StopInstancesOutput, _a1 error) *MockEc2Client_interfaces_StopInstances_Call
- func (_c *MockEc2Client_interfaces_StopInstances_Call) Run(run func(ctx context.Context, params *ec2.StopInstancesInput, ...)) *MockEc2Client_interfaces_StopInstances_Call
- func (_c *MockEc2Client_interfaces_StopInstances_Call) RunAndReturn(...) *MockEc2Client_interfaces_StopInstances_Call
- type MockEc2Client_interfaces_TerminateInstances_Call
- func (_c *MockEc2Client_interfaces_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEc2Client_interfaces_TerminateInstances_Call
- func (_c *MockEc2Client_interfaces_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, ...)) *MockEc2Client_interfaces_TerminateInstances_Call
- func (_c *MockEc2Client_interfaces_TerminateInstances_Call) RunAndReturn(...) *MockEc2Client_interfaces_TerminateInstances_Call
- type MockEcsClient_interfaces
- func (_m *MockEcsClient_interfaces) CreateCluster(ctx context.Context, params *ecs.CreateClusterInput, ...) (*ecs.CreateClusterOutput, error)
- func (_m *MockEcsClient_interfaces) CreateService(ctx context.Context, params *ecs.CreateServiceInput, ...) (*ecs.CreateServiceOutput, error)
- func (_m *MockEcsClient_interfaces) CreateTaskSet(ctx context.Context, params *ecs.CreateTaskSetInput, ...) (*ecs.CreateTaskSetOutput, error)
- func (_m *MockEcsClient_interfaces) DeleteService(ctx context.Context, params *ecs.DeleteServiceInput, ...) (*ecs.DeleteServiceOutput, error)
- func (_m *MockEcsClient_interfaces) DeleteTaskDefinitions(ctx context.Context, params *ecs.DeleteTaskDefinitionsInput, ...) (*ecs.DeleteTaskDefinitionsOutput, error)
- func (_m *MockEcsClient_interfaces) DeregisterTaskDefinition(ctx context.Context, params *ecs.DeregisterTaskDefinitionInput, ...) (*ecs.DeregisterTaskDefinitionOutput, error)
- func (_m *MockEcsClient_interfaces) DescribeClusters(ctx context.Context, params *ecs.DescribeClustersInput, ...) (*ecs.DescribeClustersOutput, error)
- func (_m *MockEcsClient_interfaces) DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, ...) (*ecs.DescribeServicesOutput, error)
- func (_m *MockEcsClient_interfaces) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, ...) (*ecs.DescribeTasksOutput, error)
- func (_m *MockEcsClient_interfaces) EXPECT() *MockEcsClient_interfaces_Expecter
- func (_m *MockEcsClient_interfaces) ListClusters(ctx context.Context, params *ecs.ListClustersInput, ...) (*ecs.ListClustersOutput, error)
- func (_m *MockEcsClient_interfaces) ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
- func (_m *MockEcsClient_interfaces) RegisterTaskDefinition(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, ...) (*ecs.RegisterTaskDefinitionOutput, error)
- func (_m *MockEcsClient_interfaces) RunTask(ctx context.Context, params *ecs.RunTaskInput, optFns ...func(*ecs.Options)) (*ecs.RunTaskOutput, error)
- func (_m *MockEcsClient_interfaces) StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
- func (_m *MockEcsClient_interfaces) UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, ...) (*ecs.UpdateServiceOutput, error)
- type MockEcsClient_interfaces_CreateCluster_Call
- func (_c *MockEcsClient_interfaces_CreateCluster_Call) Return(_a0 *ecs.CreateClusterOutput, _a1 error) *MockEcsClient_interfaces_CreateCluster_Call
- func (_c *MockEcsClient_interfaces_CreateCluster_Call) Run(run func(ctx context.Context, params *ecs.CreateClusterInput, ...)) *MockEcsClient_interfaces_CreateCluster_Call
- func (_c *MockEcsClient_interfaces_CreateCluster_Call) RunAndReturn(...) *MockEcsClient_interfaces_CreateCluster_Call
- type MockEcsClient_interfaces_CreateService_Call
- func (_c *MockEcsClient_interfaces_CreateService_Call) Return(_a0 *ecs.CreateServiceOutput, _a1 error) *MockEcsClient_interfaces_CreateService_Call
- func (_c *MockEcsClient_interfaces_CreateService_Call) Run(run func(ctx context.Context, params *ecs.CreateServiceInput, ...)) *MockEcsClient_interfaces_CreateService_Call
- func (_c *MockEcsClient_interfaces_CreateService_Call) RunAndReturn(...) *MockEcsClient_interfaces_CreateService_Call
- type MockEcsClient_interfaces_CreateTaskSet_Call
- func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) Return(_a0 *ecs.CreateTaskSetOutput, _a1 error) *MockEcsClient_interfaces_CreateTaskSet_Call
- func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) Run(run func(ctx context.Context, params *ecs.CreateTaskSetInput, ...)) *MockEcsClient_interfaces_CreateTaskSet_Call
- func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) RunAndReturn(...) *MockEcsClient_interfaces_CreateTaskSet_Call
- type MockEcsClient_interfaces_DeleteService_Call
- func (_c *MockEcsClient_interfaces_DeleteService_Call) Return(_a0 *ecs.DeleteServiceOutput, _a1 error) *MockEcsClient_interfaces_DeleteService_Call
- func (_c *MockEcsClient_interfaces_DeleteService_Call) Run(run func(ctx context.Context, params *ecs.DeleteServiceInput, ...)) *MockEcsClient_interfaces_DeleteService_Call
- func (_c *MockEcsClient_interfaces_DeleteService_Call) RunAndReturn(...) *MockEcsClient_interfaces_DeleteService_Call
- type MockEcsClient_interfaces_DeleteTaskDefinitions_Call
- func (_c *MockEcsClient_interfaces_DeleteTaskDefinitions_Call) Return(_a0 *ecs.DeleteTaskDefinitionsOutput, _a1 error) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
- func (_c *MockEcsClient_interfaces_DeleteTaskDefinitions_Call) Run(run func(ctx context.Context, params *ecs.DeleteTaskDefinitionsInput, ...)) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
- func (_c *MockEcsClient_interfaces_DeleteTaskDefinitions_Call) RunAndReturn(...) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
- type MockEcsClient_interfaces_DeregisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_DeregisterTaskDefinition_Call) Return(_a0 *ecs.DeregisterTaskDefinitionOutput, _a1 error) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_DeregisterTaskDefinition_Call) Run(run func(ctx context.Context, params *ecs.DeregisterTaskDefinitionInput, ...)) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_DeregisterTaskDefinition_Call) RunAndReturn(...) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
- type MockEcsClient_interfaces_DescribeClusters_Call
- func (_c *MockEcsClient_interfaces_DescribeClusters_Call) Return(_a0 *ecs.DescribeClustersOutput, _a1 error) *MockEcsClient_interfaces_DescribeClusters_Call
- func (_c *MockEcsClient_interfaces_DescribeClusters_Call) Run(run func(ctx context.Context, params *ecs.DescribeClustersInput, ...)) *MockEcsClient_interfaces_DescribeClusters_Call
- func (_c *MockEcsClient_interfaces_DescribeClusters_Call) RunAndReturn(...) *MockEcsClient_interfaces_DescribeClusters_Call
- type MockEcsClient_interfaces_DescribeServices_Call
- func (_c *MockEcsClient_interfaces_DescribeServices_Call) Return(_a0 *ecs.DescribeServicesOutput, _a1 error) *MockEcsClient_interfaces_DescribeServices_Call
- func (_c *MockEcsClient_interfaces_DescribeServices_Call) Run(run func(ctx context.Context, params *ecs.DescribeServicesInput, ...)) *MockEcsClient_interfaces_DescribeServices_Call
- func (_c *MockEcsClient_interfaces_DescribeServices_Call) RunAndReturn(...) *MockEcsClient_interfaces_DescribeServices_Call
- type MockEcsClient_interfaces_DescribeTasks_Call
- func (_c *MockEcsClient_interfaces_DescribeTasks_Call) Return(_a0 *ecs.DescribeTasksOutput, _a1 error) *MockEcsClient_interfaces_DescribeTasks_Call
- func (_c *MockEcsClient_interfaces_DescribeTasks_Call) Run(run func(ctx context.Context, params *ecs.DescribeTasksInput, ...)) *MockEcsClient_interfaces_DescribeTasks_Call
- func (_c *MockEcsClient_interfaces_DescribeTasks_Call) RunAndReturn(...) *MockEcsClient_interfaces_DescribeTasks_Call
- type MockEcsClient_interfaces_Expecter
- func (_e *MockEcsClient_interfaces_Expecter) CreateCluster(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateCluster_Call
- func (_e *MockEcsClient_interfaces_Expecter) CreateService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateService_Call
- func (_e *MockEcsClient_interfaces_Expecter) CreateTaskSet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateTaskSet_Call
- func (_e *MockEcsClient_interfaces_Expecter) DeleteService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeleteService_Call
- func (_e *MockEcsClient_interfaces_Expecter) DeleteTaskDefinitions(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
- func (_e *MockEcsClient_interfaces_Expecter) DeregisterTaskDefinition(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
- func (_e *MockEcsClient_interfaces_Expecter) DescribeClusters(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeClusters_Call
- func (_e *MockEcsClient_interfaces_Expecter) DescribeServices(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeServices_Call
- func (_e *MockEcsClient_interfaces_Expecter) DescribeTasks(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeTasks_Call
- func (_e *MockEcsClient_interfaces_Expecter) ListClusters(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_ListClusters_Call
- func (_e *MockEcsClient_interfaces_Expecter) ListTasks(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_ListTasks_Call
- func (_e *MockEcsClient_interfaces_Expecter) RegisterTaskDefinition(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
- func (_e *MockEcsClient_interfaces_Expecter) RunTask(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_RunTask_Call
- func (_e *MockEcsClient_interfaces_Expecter) StopTask(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_StopTask_Call
- func (_e *MockEcsClient_interfaces_Expecter) UpdateService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_UpdateService_Call
- type MockEcsClient_interfaces_ListClusters_Call
- func (_c *MockEcsClient_interfaces_ListClusters_Call) Return(_a0 *ecs.ListClustersOutput, _a1 error) *MockEcsClient_interfaces_ListClusters_Call
- func (_c *MockEcsClient_interfaces_ListClusters_Call) Run(run func(ctx context.Context, params *ecs.ListClustersInput, ...)) *MockEcsClient_interfaces_ListClusters_Call
- func (_c *MockEcsClient_interfaces_ListClusters_Call) RunAndReturn(...) *MockEcsClient_interfaces_ListClusters_Call
- type MockEcsClient_interfaces_ListTasks_Call
- func (_c *MockEcsClient_interfaces_ListTasks_Call) Return(_a0 *ecs.ListTasksOutput, _a1 error) *MockEcsClient_interfaces_ListTasks_Call
- func (_c *MockEcsClient_interfaces_ListTasks_Call) Run(...) *MockEcsClient_interfaces_ListTasks_Call
- func (_c *MockEcsClient_interfaces_ListTasks_Call) RunAndReturn(...) *MockEcsClient_interfaces_ListTasks_Call
- type MockEcsClient_interfaces_RegisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_RegisterTaskDefinition_Call) Return(_a0 *ecs.RegisterTaskDefinitionOutput, _a1 error) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_RegisterTaskDefinition_Call) Run(run func(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, ...)) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
- func (_c *MockEcsClient_interfaces_RegisterTaskDefinition_Call) RunAndReturn(...) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
- type MockEcsClient_interfaces_RunTask_Call
- func (_c *MockEcsClient_interfaces_RunTask_Call) Return(_a0 *ecs.RunTaskOutput, _a1 error) *MockEcsClient_interfaces_RunTask_Call
- func (_c *MockEcsClient_interfaces_RunTask_Call) Run(...) *MockEcsClient_interfaces_RunTask_Call
- func (_c *MockEcsClient_interfaces_RunTask_Call) RunAndReturn(...) *MockEcsClient_interfaces_RunTask_Call
- type MockEcsClient_interfaces_StopTask_Call
- func (_c *MockEcsClient_interfaces_StopTask_Call) Return(_a0 *ecs.StopTaskOutput, _a1 error) *MockEcsClient_interfaces_StopTask_Call
- func (_c *MockEcsClient_interfaces_StopTask_Call) Run(...) *MockEcsClient_interfaces_StopTask_Call
- func (_c *MockEcsClient_interfaces_StopTask_Call) RunAndReturn(...) *MockEcsClient_interfaces_StopTask_Call
- type MockEcsClient_interfaces_UpdateService_Call
- func (_c *MockEcsClient_interfaces_UpdateService_Call) Return(_a0 *ecs.UpdateServiceOutput, _a1 error) *MockEcsClient_interfaces_UpdateService_Call
- func (_c *MockEcsClient_interfaces_UpdateService_Call) Run(run func(ctx context.Context, params *ecs.UpdateServiceInput, ...)) *MockEcsClient_interfaces_UpdateService_Call
- func (_c *MockEcsClient_interfaces_UpdateService_Call) RunAndReturn(...) *MockEcsClient_interfaces_UpdateService_Call
- type MockExecution_repository
- func (_m *MockExecution_repository) Close()
- func (_m *MockExecution_repository) CloseExecution(ctx context.Context, id workflow.ExecutionIdentifier, result workflow.Status, ...) error
- func (_m *MockExecution_repository) CreateExecution(ctx context.Context, ex *workflow.Execution) error
- func (_m *MockExecution_repository) EXPECT() *MockExecution_repository_Expecter
- func (_m *MockExecution_repository) GetExecution(ctx context.Context, id workflow.ExecutionIdentifier) (*workflow.Execution, error)
- func (_m *MockExecution_repository) Init(ctx context.Context) error
- type MockExecution_repository_CloseExecution_Call
- func (_c *MockExecution_repository_CloseExecution_Call) Return(_a0 error) *MockExecution_repository_CloseExecution_Call
- func (_c *MockExecution_repository_CloseExecution_Call) Run(...) *MockExecution_repository_CloseExecution_Call
- func (_c *MockExecution_repository_CloseExecution_Call) RunAndReturn(...) *MockExecution_repository_CloseExecution_Call
- type MockExecution_repository_Close_Call
- func (_c *MockExecution_repository_Close_Call) Return() *MockExecution_repository_Close_Call
- func (_c *MockExecution_repository_Close_Call) Run(run func()) *MockExecution_repository_Close_Call
- func (_c *MockExecution_repository_Close_Call) RunAndReturn(run func()) *MockExecution_repository_Close_Call
- type MockExecution_repository_CreateExecution_Call
- func (_c *MockExecution_repository_CreateExecution_Call) Return(_a0 error) *MockExecution_repository_CreateExecution_Call
- func (_c *MockExecution_repository_CreateExecution_Call) Run(run func(ctx context.Context, ex *workflow.Execution)) *MockExecution_repository_CreateExecution_Call
- func (_c *MockExecution_repository_CreateExecution_Call) RunAndReturn(run func(context.Context, *workflow.Execution) error) *MockExecution_repository_CreateExecution_Call
- type MockExecution_repository_Expecter
- func (_e *MockExecution_repository_Expecter) Close() *MockExecution_repository_Close_Call
- func (_e *MockExecution_repository_Expecter) CloseExecution(ctx interface{}, id interface{}, result interface{}, output interface{}) *MockExecution_repository_CloseExecution_Call
- func (_e *MockExecution_repository_Expecter) CreateExecution(ctx interface{}, ex interface{}) *MockExecution_repository_CreateExecution_Call
- func (_e *MockExecution_repository_Expecter) GetExecution(ctx interface{}, id interface{}) *MockExecution_repository_GetExecution_Call
- func (_e *MockExecution_repository_Expecter) Init(ctx interface{}) *MockExecution_repository_Init_Call
- type MockExecution_repository_GetExecution_Call
- func (_c *MockExecution_repository_GetExecution_Call) Return(_a0 *workflow.Execution, _a1 error) *MockExecution_repository_GetExecution_Call
- func (_c *MockExecution_repository_GetExecution_Call) Run(run func(ctx context.Context, id workflow.ExecutionIdentifier)) *MockExecution_repository_GetExecution_Call
- func (_c *MockExecution_repository_GetExecution_Call) RunAndReturn(...) *MockExecution_repository_GetExecution_Call
- type MockExecution_repository_Init_Call
- func (_c *MockExecution_repository_Init_Call) Return(_a0 error) *MockExecution_repository_Init_Call
- func (_c *MockExecution_repository_Init_Call) Run(run func(ctx context.Context)) *MockExecution_repository_Init_Call
- func (_c *MockExecution_repository_Init_Call) RunAndReturn(run func(context.Context) error) *MockExecution_repository_Init_Call
- type MockIamClient_interfaces
- func (_m *MockIamClient_interfaces) AttachRolePolicy(ctx context.Context, params *iam.AttachRolePolicyInput, ...) (*iam.AttachRolePolicyOutput, error)
- func (_m *MockIamClient_interfaces) CreatePolicy(ctx context.Context, params *iam.CreatePolicyInput, ...) (*iam.CreatePolicyOutput, error)
- func (_m *MockIamClient_interfaces) CreateRole(ctx context.Context, params *iam.CreateRoleInput, optFns ...func(*iam.Options)) (*iam.CreateRoleOutput, error)
- func (_m *MockIamClient_interfaces) DeletePolicy(ctx context.Context, params *iam.DeletePolicyInput, ...) (*iam.DeletePolicyOutput, error)
- func (_m *MockIamClient_interfaces) DeleteRole(ctx context.Context, params *iam.DeleteRoleInput, optFns ...func(*iam.Options)) (*iam.DeleteRoleOutput, error)
- func (_m *MockIamClient_interfaces) DeleteRolePolicy(ctx context.Context, params *iam.DeleteRolePolicyInput, ...) (*iam.DeleteRolePolicyOutput, error)
- func (_m *MockIamClient_interfaces) DetachRolePolicy(ctx context.Context, params *iam.DetachRolePolicyInput, ...) (*iam.DetachRolePolicyOutput, error)
- func (_m *MockIamClient_interfaces) EXPECT() *MockIamClient_interfaces_Expecter
- func (_m *MockIamClient_interfaces) GetRole(ctx context.Context, params *iam.GetRoleInput, optFns ...func(*iam.Options)) (*iam.GetRoleOutput, error)
- func (_m *MockIamClient_interfaces) ListAttachedRolePolicies(ctx context.Context, params *iam.ListAttachedRolePoliciesInput, ...) (*iam.ListAttachedRolePoliciesOutput, error)
- type MockIamClient_interfaces_AttachRolePolicy_Call
- func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) Return(_a0 *iam.AttachRolePolicyOutput, _a1 error) *MockIamClient_interfaces_AttachRolePolicy_Call
- func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) Run(run func(ctx context.Context, params *iam.AttachRolePolicyInput, ...)) *MockIamClient_interfaces_AttachRolePolicy_Call
- func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) RunAndReturn(...) *MockIamClient_interfaces_AttachRolePolicy_Call
- type MockIamClient_interfaces_CreatePolicy_Call
- func (_c *MockIamClient_interfaces_CreatePolicy_Call) Return(_a0 *iam.CreatePolicyOutput, _a1 error) *MockIamClient_interfaces_CreatePolicy_Call
- func (_c *MockIamClient_interfaces_CreatePolicy_Call) Run(run func(ctx context.Context, params *iam.CreatePolicyInput, ...)) *MockIamClient_interfaces_CreatePolicy_Call
- func (_c *MockIamClient_interfaces_CreatePolicy_Call) RunAndReturn(...) *MockIamClient_interfaces_CreatePolicy_Call
- type MockIamClient_interfaces_CreateRole_Call
- func (_c *MockIamClient_interfaces_CreateRole_Call) Return(_a0 *iam.CreateRoleOutput, _a1 error) *MockIamClient_interfaces_CreateRole_Call
- func (_c *MockIamClient_interfaces_CreateRole_Call) Run(...) *MockIamClient_interfaces_CreateRole_Call
- func (_c *MockIamClient_interfaces_CreateRole_Call) RunAndReturn(...) *MockIamClient_interfaces_CreateRole_Call
- type MockIamClient_interfaces_DeletePolicy_Call
- func (_c *MockIamClient_interfaces_DeletePolicy_Call) Return(_a0 *iam.DeletePolicyOutput, _a1 error) *MockIamClient_interfaces_DeletePolicy_Call
- func (_c *MockIamClient_interfaces_DeletePolicy_Call) Run(run func(ctx context.Context, params *iam.DeletePolicyInput, ...)) *MockIamClient_interfaces_DeletePolicy_Call
- func (_c *MockIamClient_interfaces_DeletePolicy_Call) RunAndReturn(...) *MockIamClient_interfaces_DeletePolicy_Call
- type MockIamClient_interfaces_DeleteRolePolicy_Call
- func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) Return(_a0 *iam.DeleteRolePolicyOutput, _a1 error) *MockIamClient_interfaces_DeleteRolePolicy_Call
- func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) Run(run func(ctx context.Context, params *iam.DeleteRolePolicyInput, ...)) *MockIamClient_interfaces_DeleteRolePolicy_Call
- func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) RunAndReturn(...) *MockIamClient_interfaces_DeleteRolePolicy_Call
- type MockIamClient_interfaces_DeleteRole_Call
- func (_c *MockIamClient_interfaces_DeleteRole_Call) Return(_a0 *iam.DeleteRoleOutput, _a1 error) *MockIamClient_interfaces_DeleteRole_Call
- func (_c *MockIamClient_interfaces_DeleteRole_Call) Run(...) *MockIamClient_interfaces_DeleteRole_Call
- func (_c *MockIamClient_interfaces_DeleteRole_Call) RunAndReturn(...) *MockIamClient_interfaces_DeleteRole_Call
- type MockIamClient_interfaces_DetachRolePolicy_Call
- func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) Return(_a0 *iam.DetachRolePolicyOutput, _a1 error) *MockIamClient_interfaces_DetachRolePolicy_Call
- func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) Run(run func(ctx context.Context, params *iam.DetachRolePolicyInput, ...)) *MockIamClient_interfaces_DetachRolePolicy_Call
- func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) RunAndReturn(...) *MockIamClient_interfaces_DetachRolePolicy_Call
- type MockIamClient_interfaces_Expecter
- func (_e *MockIamClient_interfaces_Expecter) AttachRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_AttachRolePolicy_Call
- func (_e *MockIamClient_interfaces_Expecter) CreatePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_CreatePolicy_Call
- func (_e *MockIamClient_interfaces_Expecter) CreateRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_CreateRole_Call
- func (_e *MockIamClient_interfaces_Expecter) DeletePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeletePolicy_Call
- func (_e *MockIamClient_interfaces_Expecter) DeleteRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeleteRole_Call
- func (_e *MockIamClient_interfaces_Expecter) DeleteRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeleteRolePolicy_Call
- func (_e *MockIamClient_interfaces_Expecter) DetachRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DetachRolePolicy_Call
- func (_e *MockIamClient_interfaces_Expecter) GetRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_GetRole_Call
- func (_e *MockIamClient_interfaces_Expecter) ListAttachedRolePolicies(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
- type MockIamClient_interfaces_GetRole_Call
- func (_c *MockIamClient_interfaces_GetRole_Call) Return(_a0 *iam.GetRoleOutput, _a1 error) *MockIamClient_interfaces_GetRole_Call
- func (_c *MockIamClient_interfaces_GetRole_Call) Run(...) *MockIamClient_interfaces_GetRole_Call
- func (_c *MockIamClient_interfaces_GetRole_Call) RunAndReturn(...) *MockIamClient_interfaces_GetRole_Call
- type MockIamClient_interfaces_ListAttachedRolePolicies_Call
- func (_c *MockIamClient_interfaces_ListAttachedRolePolicies_Call) Return(_a0 *iam.ListAttachedRolePoliciesOutput, _a1 error) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
- func (_c *MockIamClient_interfaces_ListAttachedRolePolicies_Call) Run(run func(ctx context.Context, params *iam.ListAttachedRolePoliciesInput, ...)) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
- func (_c *MockIamClient_interfaces_ListAttachedRolePolicies_Call) RunAndReturn(...) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
- type MockInvoker_texit
- func (_m *MockInvoker_texit) DeprovisionNode(ctx context.Context, params texit.DeprovisionNodeParams) (texit.DeprovisionNodeRes, error)
- func (_m *MockInvoker_texit) DescribeNode(ctx context.Context, params texit.DescribeNodeParams) (texit.DescribeNodeRes, error)
- func (_m *MockInvoker_texit) DescribeProvider(ctx context.Context, params texit.DescribeProviderParams) (texit.DescribeProviderRes, error)
- func (_m *MockInvoker_texit) DescribeTailnet(ctx context.Context, params texit.DescribeTailnetParams) (texit.DescribeTailnetRes, error)
- func (_m *MockInvoker_texit) EXPECT() *MockInvoker_texit_Expecter
- func (_m *MockInvoker_texit) GetExecution(ctx context.Context, params texit.GetExecutionParams) (texit.GetExecutionRes, error)
- func (_m *MockInvoker_texit) GetNodeStatus(ctx context.Context, params texit.GetNodeStatusParams) (texit.GetNodeStatusRes, error)
- func (_m *MockInvoker_texit) Health(ctx context.Context) (*texit.HealthResponseContent, error)
- func (_m *MockInvoker_texit) ListNodes(ctx context.Context) (*texit.ListNodesResponseContent, error)
- func (_m *MockInvoker_texit) ListNotifiers(ctx context.Context) (*texit.ListNotifiersResponseContent, error)
- func (_m *MockInvoker_texit) ListProviders(ctx context.Context) (*texit.ListProvidersResponseContent, error)
- func (_m *MockInvoker_texit) ListTailnets(ctx context.Context) (*texit.ListTailnetsResponseContent, error)
- func (_m *MockInvoker_texit) ProvisionNode(ctx context.Context, request *texit.ProvisionNodeRequestContent) (texit.ProvisionNodeRes, error)
- func (_m *MockInvoker_texit) StartNode(ctx context.Context, params texit.StartNodeParams) (texit.StartNodeRes, error)
- func (_m *MockInvoker_texit) StopNode(ctx context.Context, params texit.StopNodeParams) (texit.StopNodeRes, error)
- type MockInvoker_texit_DeprovisionNode_Call
- func (_c *MockInvoker_texit_DeprovisionNode_Call) Return(_a0 texit.DeprovisionNodeRes, _a1 error) *MockInvoker_texit_DeprovisionNode_Call
- func (_c *MockInvoker_texit_DeprovisionNode_Call) Run(run func(ctx context.Context, params texit.DeprovisionNodeParams)) *MockInvoker_texit_DeprovisionNode_Call
- func (_c *MockInvoker_texit_DeprovisionNode_Call) RunAndReturn(...) *MockInvoker_texit_DeprovisionNode_Call
- type MockInvoker_texit_DescribeNode_Call
- func (_c *MockInvoker_texit_DescribeNode_Call) Return(_a0 texit.DescribeNodeRes, _a1 error) *MockInvoker_texit_DescribeNode_Call
- func (_c *MockInvoker_texit_DescribeNode_Call) Run(run func(ctx context.Context, params texit.DescribeNodeParams)) *MockInvoker_texit_DescribeNode_Call
- func (_c *MockInvoker_texit_DescribeNode_Call) RunAndReturn(...) *MockInvoker_texit_DescribeNode_Call
- type MockInvoker_texit_DescribeProvider_Call
- func (_c *MockInvoker_texit_DescribeProvider_Call) Return(_a0 texit.DescribeProviderRes, _a1 error) *MockInvoker_texit_DescribeProvider_Call
- func (_c *MockInvoker_texit_DescribeProvider_Call) Run(run func(ctx context.Context, params texit.DescribeProviderParams)) *MockInvoker_texit_DescribeProvider_Call
- func (_c *MockInvoker_texit_DescribeProvider_Call) RunAndReturn(...) *MockInvoker_texit_DescribeProvider_Call
- type MockInvoker_texit_DescribeTailnet_Call
- func (_c *MockInvoker_texit_DescribeTailnet_Call) Return(_a0 texit.DescribeTailnetRes, _a1 error) *MockInvoker_texit_DescribeTailnet_Call
- func (_c *MockInvoker_texit_DescribeTailnet_Call) Run(run func(ctx context.Context, params texit.DescribeTailnetParams)) *MockInvoker_texit_DescribeTailnet_Call
- func (_c *MockInvoker_texit_DescribeTailnet_Call) RunAndReturn(...) *MockInvoker_texit_DescribeTailnet_Call
- type MockInvoker_texit_Expecter
- func (_e *MockInvoker_texit_Expecter) DeprovisionNode(ctx interface{}, params interface{}) *MockInvoker_texit_DeprovisionNode_Call
- func (_e *MockInvoker_texit_Expecter) DescribeNode(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeNode_Call
- func (_e *MockInvoker_texit_Expecter) DescribeProvider(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeProvider_Call
- func (_e *MockInvoker_texit_Expecter) DescribeTailnet(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeTailnet_Call
- func (_e *MockInvoker_texit_Expecter) GetExecution(ctx interface{}, params interface{}) *MockInvoker_texit_GetExecution_Call
- func (_e *MockInvoker_texit_Expecter) GetNodeStatus(ctx interface{}, params interface{}) *MockInvoker_texit_GetNodeStatus_Call
- func (_e *MockInvoker_texit_Expecter) Health(ctx interface{}) *MockInvoker_texit_Health_Call
- func (_e *MockInvoker_texit_Expecter) ListNodes(ctx interface{}) *MockInvoker_texit_ListNodes_Call
- func (_e *MockInvoker_texit_Expecter) ListNotifiers(ctx interface{}) *MockInvoker_texit_ListNotifiers_Call
- func (_e *MockInvoker_texit_Expecter) ListProviders(ctx interface{}) *MockInvoker_texit_ListProviders_Call
- func (_e *MockInvoker_texit_Expecter) ListTailnets(ctx interface{}) *MockInvoker_texit_ListTailnets_Call
- func (_e *MockInvoker_texit_Expecter) ProvisionNode(ctx interface{}, request interface{}) *MockInvoker_texit_ProvisionNode_Call
- func (_e *MockInvoker_texit_Expecter) StartNode(ctx interface{}, params interface{}) *MockInvoker_texit_StartNode_Call
- func (_e *MockInvoker_texit_Expecter) StopNode(ctx interface{}, params interface{}) *MockInvoker_texit_StopNode_Call
- type MockInvoker_texit_GetExecution_Call
- func (_c *MockInvoker_texit_GetExecution_Call) Return(_a0 texit.GetExecutionRes, _a1 error) *MockInvoker_texit_GetExecution_Call
- func (_c *MockInvoker_texit_GetExecution_Call) Run(run func(ctx context.Context, params texit.GetExecutionParams)) *MockInvoker_texit_GetExecution_Call
- func (_c *MockInvoker_texit_GetExecution_Call) RunAndReturn(...) *MockInvoker_texit_GetExecution_Call
- type MockInvoker_texit_GetNodeStatus_Call
- func (_c *MockInvoker_texit_GetNodeStatus_Call) Return(_a0 texit.GetNodeStatusRes, _a1 error) *MockInvoker_texit_GetNodeStatus_Call
- func (_c *MockInvoker_texit_GetNodeStatus_Call) Run(run func(ctx context.Context, params texit.GetNodeStatusParams)) *MockInvoker_texit_GetNodeStatus_Call
- func (_c *MockInvoker_texit_GetNodeStatus_Call) RunAndReturn(...) *MockInvoker_texit_GetNodeStatus_Call
- type MockInvoker_texit_Health_Call
- func (_c *MockInvoker_texit_Health_Call) Return(_a0 *texit.HealthResponseContent, _a1 error) *MockInvoker_texit_Health_Call
- func (_c *MockInvoker_texit_Health_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_Health_Call
- func (_c *MockInvoker_texit_Health_Call) RunAndReturn(run func(context.Context) (*texit.HealthResponseContent, error)) *MockInvoker_texit_Health_Call
- type MockInvoker_texit_ListNodes_Call
- func (_c *MockInvoker_texit_ListNodes_Call) Return(_a0 *texit.ListNodesResponseContent, _a1 error) *MockInvoker_texit_ListNodes_Call
- func (_c *MockInvoker_texit_ListNodes_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListNodes_Call
- func (_c *MockInvoker_texit_ListNodes_Call) RunAndReturn(run func(context.Context) (*texit.ListNodesResponseContent, error)) *MockInvoker_texit_ListNodes_Call
- type MockInvoker_texit_ListNotifiers_Call
- func (_c *MockInvoker_texit_ListNotifiers_Call) Return(_a0 *texit.ListNotifiersResponseContent, _a1 error) *MockInvoker_texit_ListNotifiers_Call
- func (_c *MockInvoker_texit_ListNotifiers_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListNotifiers_Call
- func (_c *MockInvoker_texit_ListNotifiers_Call) RunAndReturn(run func(context.Context) (*texit.ListNotifiersResponseContent, error)) *MockInvoker_texit_ListNotifiers_Call
- type MockInvoker_texit_ListProviders_Call
- func (_c *MockInvoker_texit_ListProviders_Call) Return(_a0 *texit.ListProvidersResponseContent, _a1 error) *MockInvoker_texit_ListProviders_Call
- func (_c *MockInvoker_texit_ListProviders_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListProviders_Call
- func (_c *MockInvoker_texit_ListProviders_Call) RunAndReturn(run func(context.Context) (*texit.ListProvidersResponseContent, error)) *MockInvoker_texit_ListProviders_Call
- type MockInvoker_texit_ListTailnets_Call
- func (_c *MockInvoker_texit_ListTailnets_Call) Return(_a0 *texit.ListTailnetsResponseContent, _a1 error) *MockInvoker_texit_ListTailnets_Call
- func (_c *MockInvoker_texit_ListTailnets_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListTailnets_Call
- func (_c *MockInvoker_texit_ListTailnets_Call) RunAndReturn(run func(context.Context) (*texit.ListTailnetsResponseContent, error)) *MockInvoker_texit_ListTailnets_Call
- type MockInvoker_texit_ProvisionNode_Call
- func (_c *MockInvoker_texit_ProvisionNode_Call) Return(_a0 texit.ProvisionNodeRes, _a1 error) *MockInvoker_texit_ProvisionNode_Call
- func (_c *MockInvoker_texit_ProvisionNode_Call) Run(run func(ctx context.Context, request *texit.ProvisionNodeRequestContent)) *MockInvoker_texit_ProvisionNode_Call
- func (_c *MockInvoker_texit_ProvisionNode_Call) RunAndReturn(...) *MockInvoker_texit_ProvisionNode_Call
- type MockInvoker_texit_StartNode_Call
- func (_c *MockInvoker_texit_StartNode_Call) Return(_a0 texit.StartNodeRes, _a1 error) *MockInvoker_texit_StartNode_Call
- func (_c *MockInvoker_texit_StartNode_Call) Run(run func(ctx context.Context, params texit.StartNodeParams)) *MockInvoker_texit_StartNode_Call
- func (_c *MockInvoker_texit_StartNode_Call) RunAndReturn(run func(context.Context, texit.StartNodeParams) (texit.StartNodeRes, error)) *MockInvoker_texit_StartNode_Call
- type MockInvoker_texit_StopNode_Call
- func (_c *MockInvoker_texit_StopNode_Call) Return(_a0 texit.StopNodeRes, _a1 error) *MockInvoker_texit_StopNode_Call
- func (_c *MockInvoker_texit_StopNode_Call) Run(run func(ctx context.Context, params texit.StopNodeParams)) *MockInvoker_texit_StopNode_Call
- func (_c *MockInvoker_texit_StopNode_Call) RunAndReturn(run func(context.Context, texit.StopNodeParams) (texit.StopNodeRes, error)) *MockInvoker_texit_StopNode_Call
- type MockLinodeClient_interfaces
- func (_m *MockLinodeClient_interfaces) BootInstance(ctx context.Context, linodeID int, configID int) error
- func (_m *MockLinodeClient_interfaces) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
- func (_m *MockLinodeClient_interfaces) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
- func (_m *MockLinodeClient_interfaces) DeleteInstance(ctx context.Context, linodeID int) error
- func (_m *MockLinodeClient_interfaces) DeleteStackscript(ctx context.Context, scriptID int) error
- func (_m *MockLinodeClient_interfaces) EXPECT() *MockLinodeClient_interfaces_Expecter
- func (_m *MockLinodeClient_interfaces) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)
- func (_m *MockLinodeClient_interfaces) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
- func (_m *MockLinodeClient_interfaces) ShutdownInstance(ctx context.Context, id int) error
- type MockLinodeClient_interfaces_BootInstance_Call
- func (_c *MockLinodeClient_interfaces_BootInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_BootInstance_Call
- func (_c *MockLinodeClient_interfaces_BootInstance_Call) Run(run func(ctx context.Context, linodeID int, configID int)) *MockLinodeClient_interfaces_BootInstance_Call
- func (_c *MockLinodeClient_interfaces_BootInstance_Call) RunAndReturn(run func(context.Context, int, int) error) *MockLinodeClient_interfaces_BootInstance_Call
- type MockLinodeClient_interfaces_CreateInstance_Call
- func (_c *MockLinodeClient_interfaces_CreateInstance_Call) Return(_a0 *linodego.Instance, _a1 error) *MockLinodeClient_interfaces_CreateInstance_Call
- func (_c *MockLinodeClient_interfaces_CreateInstance_Call) Run(run func(ctx context.Context, opts linodego.InstanceCreateOptions)) *MockLinodeClient_interfaces_CreateInstance_Call
- func (_c *MockLinodeClient_interfaces_CreateInstance_Call) RunAndReturn(...) *MockLinodeClient_interfaces_CreateInstance_Call
- type MockLinodeClient_interfaces_CreateStackscript_Call
- func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) Return(_a0 *linodego.Stackscript, _a1 error) *MockLinodeClient_interfaces_CreateStackscript_Call
- func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) Run(run func(ctx context.Context, opts linodego.StackscriptCreateOptions)) *MockLinodeClient_interfaces_CreateStackscript_Call
- func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) RunAndReturn(...) *MockLinodeClient_interfaces_CreateStackscript_Call
- type MockLinodeClient_interfaces_DeleteInstance_Call
- func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_DeleteInstance_Call
- func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) Run(run func(ctx context.Context, linodeID int)) *MockLinodeClient_interfaces_DeleteInstance_Call
- func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_DeleteInstance_Call
- type MockLinodeClient_interfaces_DeleteStackscript_Call
- func (_c *MockLinodeClient_interfaces_DeleteStackscript_Call) Return(_a0 error) *MockLinodeClient_interfaces_DeleteStackscript_Call
- func (_c *MockLinodeClient_interfaces_DeleteStackscript_Call) Run(run func(ctx context.Context, scriptID int)) *MockLinodeClient_interfaces_DeleteStackscript_Call
- func (_c *MockLinodeClient_interfaces_DeleteStackscript_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_DeleteStackscript_Call
- type MockLinodeClient_interfaces_Expecter
- func (_e *MockLinodeClient_interfaces_Expecter) BootInstance(ctx interface{}, linodeID interface{}, configID interface{}) *MockLinodeClient_interfaces_BootInstance_Call
- func (_e *MockLinodeClient_interfaces_Expecter) CreateInstance(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_CreateInstance_Call
- func (_e *MockLinodeClient_interfaces_Expecter) CreateStackscript(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_CreateStackscript_Call
- func (_e *MockLinodeClient_interfaces_Expecter) DeleteInstance(ctx interface{}, linodeID interface{}) *MockLinodeClient_interfaces_DeleteInstance_Call
- func (_e *MockLinodeClient_interfaces_Expecter) DeleteStackscript(ctx interface{}, scriptID interface{}) *MockLinodeClient_interfaces_DeleteStackscript_Call
- func (_e *MockLinodeClient_interfaces_Expecter) GetInstance(ctx interface{}, linodeID interface{}) *MockLinodeClient_interfaces_GetInstance_Call
- func (_e *MockLinodeClient_interfaces_Expecter) ListStackscripts(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_ListStackscripts_Call
- func (_e *MockLinodeClient_interfaces_Expecter) ShutdownInstance(ctx interface{}, id interface{}) *MockLinodeClient_interfaces_ShutdownInstance_Call
- type MockLinodeClient_interfaces_GetInstance_Call
- func (_c *MockLinodeClient_interfaces_GetInstance_Call) Return(_a0 *linodego.Instance, _a1 error) *MockLinodeClient_interfaces_GetInstance_Call
- func (_c *MockLinodeClient_interfaces_GetInstance_Call) Run(run func(ctx context.Context, linodeID int)) *MockLinodeClient_interfaces_GetInstance_Call
- func (_c *MockLinodeClient_interfaces_GetInstance_Call) RunAndReturn(run func(context.Context, int) (*linodego.Instance, error)) *MockLinodeClient_interfaces_GetInstance_Call
- type MockLinodeClient_interfaces_ListStackscripts_Call
- func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) Return(_a0 []linodego.Stackscript, _a1 error) *MockLinodeClient_interfaces_ListStackscripts_Call
- func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) Run(run func(ctx context.Context, opts *linodego.ListOptions)) *MockLinodeClient_interfaces_ListStackscripts_Call
- func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) RunAndReturn(...) *MockLinodeClient_interfaces_ListStackscripts_Call
- type MockLinodeClient_interfaces_ShutdownInstance_Call
- func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_ShutdownInstance_Call
- func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) Run(run func(ctx context.Context, id int)) *MockLinodeClient_interfaces_ShutdownInstance_Call
- func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_ShutdownInstance_Call
- type MockNode_repository
- func (_m *MockNode_repository) Close()
- func (_m *MockNode_repository) Create(ctx context.Context, _a1 *node.Node) error
- func (_m *MockNode_repository) Delete(ctx context.Context, id node.Identifier) error
- func (_m *MockNode_repository) EXPECT() *MockNode_repository_Expecter
- func (_m *MockNode_repository) Get(ctx context.Context, id node.Identifier) (*node.Node, error)
- func (_m *MockNode_repository) Init(ctx context.Context) error
- func (_m *MockNode_repository) List(ctx context.Context) ([]*node.Node, error)
- type MockNode_repository_Close_Call
- type MockNode_repository_Create_Call
- func (_c *MockNode_repository_Create_Call) Return(_a0 error) *MockNode_repository_Create_Call
- func (_c *MockNode_repository_Create_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *MockNode_repository_Create_Call
- func (_c *MockNode_repository_Create_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockNode_repository_Create_Call
- type MockNode_repository_Delete_Call
- func (_c *MockNode_repository_Delete_Call) Return(_a0 error) *MockNode_repository_Delete_Call
- func (_c *MockNode_repository_Delete_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_repository_Delete_Call
- func (_c *MockNode_repository_Delete_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_repository_Delete_Call
- type MockNode_repository_Expecter
- func (_e *MockNode_repository_Expecter) Close() *MockNode_repository_Close_Call
- func (_e *MockNode_repository_Expecter) Create(ctx interface{}, _a1 interface{}) *MockNode_repository_Create_Call
- func (_e *MockNode_repository_Expecter) Delete(ctx interface{}, id interface{}) *MockNode_repository_Delete_Call
- func (_e *MockNode_repository_Expecter) Get(ctx interface{}, id interface{}) *MockNode_repository_Get_Call
- func (_e *MockNode_repository_Expecter) Init(ctx interface{}) *MockNode_repository_Init_Call
- func (_e *MockNode_repository_Expecter) List(ctx interface{}) *MockNode_repository_List_Call
- type MockNode_repository_Get_Call
- func (_c *MockNode_repository_Get_Call) Return(_a0 *node.Node, _a1 error) *MockNode_repository_Get_Call
- func (_c *MockNode_repository_Get_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_repository_Get_Call
- func (_c *MockNode_repository_Get_Call) RunAndReturn(run func(context.Context, node.Identifier) (*node.Node, error)) *MockNode_repository_Get_Call
- type MockNode_repository_Init_Call
- func (_c *MockNode_repository_Init_Call) Return(_a0 error) *MockNode_repository_Init_Call
- func (_c *MockNode_repository_Init_Call) Run(run func(ctx context.Context)) *MockNode_repository_Init_Call
- func (_c *MockNode_repository_Init_Call) RunAndReturn(run func(context.Context) error) *MockNode_repository_Init_Call
- type MockNode_repository_List_Call
- func (_c *MockNode_repository_List_Call) Return(_a0 []*node.Node, _a1 error) *MockNode_repository_List_Call
- func (_c *MockNode_repository_List_Call) Run(run func(ctx context.Context)) *MockNode_repository_List_Call
- func (_c *MockNode_repository_List_Call) RunAndReturn(run func(context.Context) ([]*node.Node, error)) *MockNode_repository_List_Call
- type MockNode_service
- func (_m *MockNode_service) Describe(ctx context.Context, id node.Identifier) (*node.Node, error)
- func (_m *MockNode_service) EXPECT() *MockNode_service_Expecter
- func (_m *MockNode_service) List(ctx context.Context) ([]*node.Node, error)
- func (_m *MockNode_service) Start(ctx context.Context, id node.Identifier) error
- func (_m *MockNode_service) Status(ctx context.Context, id node.Identifier) (node.Status, error)
- func (_m *MockNode_service) Stop(ctx context.Context, id node.Identifier) error
- type MockNode_service_Describe_Call
- func (_c *MockNode_service_Describe_Call) Return(_a0 *node.Node, _a1 error) *MockNode_service_Describe_Call
- func (_c *MockNode_service_Describe_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Describe_Call
- func (_c *MockNode_service_Describe_Call) RunAndReturn(run func(context.Context, node.Identifier) (*node.Node, error)) *MockNode_service_Describe_Call
- type MockNode_service_Expecter
- func (_e *MockNode_service_Expecter) Describe(ctx interface{}, id interface{}) *MockNode_service_Describe_Call
- func (_e *MockNode_service_Expecter) List(ctx interface{}) *MockNode_service_List_Call
- func (_e *MockNode_service_Expecter) Start(ctx interface{}, id interface{}) *MockNode_service_Start_Call
- func (_e *MockNode_service_Expecter) Status(ctx interface{}, id interface{}) *MockNode_service_Status_Call
- func (_e *MockNode_service_Expecter) Stop(ctx interface{}, id interface{}) *MockNode_service_Stop_Call
- type MockNode_service_List_Call
- func (_c *MockNode_service_List_Call) Return(_a0 []*node.Node, _a1 error) *MockNode_service_List_Call
- func (_c *MockNode_service_List_Call) Run(run func(ctx context.Context)) *MockNode_service_List_Call
- func (_c *MockNode_service_List_Call) RunAndReturn(run func(context.Context) ([]*node.Node, error)) *MockNode_service_List_Call
- type MockNode_service_Start_Call
- func (_c *MockNode_service_Start_Call) Return(_a0 error) *MockNode_service_Start_Call
- func (_c *MockNode_service_Start_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Start_Call
- func (_c *MockNode_service_Start_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_service_Start_Call
- type MockNode_service_Status_Call
- func (_c *MockNode_service_Status_Call) Return(_a0 node.Status, _a1 error) *MockNode_service_Status_Call
- func (_c *MockNode_service_Status_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Status_Call
- func (_c *MockNode_service_Status_Call) RunAndReturn(run func(context.Context, node.Identifier) (node.Status, error)) *MockNode_service_Status_Call
- type MockNode_service_Stop_Call
- func (_c *MockNode_service_Stop_Call) Return(_a0 error) *MockNode_service_Stop_Call
- func (_c *MockNode_service_Stop_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Stop_Call
- func (_c *MockNode_service_Stop_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_service_Stop_Call
- type MockNotification_gateway
- func (_m *MockNotification_gateway) EXPECT() *MockNotification_gateway_Expecter
- func (_m *MockNotification_gateway) Endpoint() notification.Endpoint
- func (_m *MockNotification_gateway) SendMessage(ctx context.Context, msg string) error
- func (_m *MockNotification_gateway) Type() notification.TopicType
- type MockNotification_gateway_Endpoint_Call
- func (_c *MockNotification_gateway_Endpoint_Call) Return(_a0 notification.Endpoint) *MockNotification_gateway_Endpoint_Call
- func (_c *MockNotification_gateway_Endpoint_Call) Run(run func()) *MockNotification_gateway_Endpoint_Call
- func (_c *MockNotification_gateway_Endpoint_Call) RunAndReturn(run func() notification.Endpoint) *MockNotification_gateway_Endpoint_Call
- type MockNotification_gateway_Expecter
- func (_e *MockNotification_gateway_Expecter) Endpoint() *MockNotification_gateway_Endpoint_Call
- func (_e *MockNotification_gateway_Expecter) SendMessage(ctx interface{}, msg interface{}) *MockNotification_gateway_SendMessage_Call
- func (_e *MockNotification_gateway_Expecter) Type() *MockNotification_gateway_Type_Call
- type MockNotification_gateway_SendMessage_Call
- func (_c *MockNotification_gateway_SendMessage_Call) Return(_a0 error) *MockNotification_gateway_SendMessage_Call
- func (_c *MockNotification_gateway_SendMessage_Call) Run(run func(ctx context.Context, msg string)) *MockNotification_gateway_SendMessage_Call
- func (_c *MockNotification_gateway_SendMessage_Call) RunAndReturn(run func(context.Context, string) error) *MockNotification_gateway_SendMessage_Call
- type MockNotification_gateway_Type_Call
- func (_c *MockNotification_gateway_Type_Call) Return(_a0 notification.TopicType) *MockNotification_gateway_Type_Call
- func (_c *MockNotification_gateway_Type_Call) Run(run func()) *MockNotification_gateway_Type_Call
- func (_c *MockNotification_gateway_Type_Call) RunAndReturn(run func() notification.TopicType) *MockNotification_gateway_Type_Call
- type MockNotification_service
- func (_m *MockNotification_service) EXPECT() *MockNotification_service_Expecter
- func (_m *MockNotification_service) ListNotifiers(ctx context.Context) []*notification.Notifier
- func (_m *MockNotification_service) NotifyExecutionCompletion(ctx context.Context, e workflow.ExecutionIdentifier, w workflow.WorkflowName, ...) error
- type MockNotification_service_Expecter
- func (_e *MockNotification_service_Expecter) ListNotifiers(ctx interface{}) *MockNotification_service_ListNotifiers_Call
- func (_e *MockNotification_service_Expecter) NotifyExecutionCompletion(ctx interface{}, e interface{}, w interface{}, status interface{}, ...) *MockNotification_service_NotifyExecutionCompletion_Call
- type MockNotification_service_ListNotifiers_Call
- func (_c *MockNotification_service_ListNotifiers_Call) Return(_a0 []*notification.Notifier) *MockNotification_service_ListNotifiers_Call
- func (_c *MockNotification_service_ListNotifiers_Call) Run(run func(ctx context.Context)) *MockNotification_service_ListNotifiers_Call
- func (_c *MockNotification_service_ListNotifiers_Call) RunAndReturn(run func(context.Context) []*notification.Notifier) *MockNotification_service_ListNotifiers_Call
- type MockNotification_service_NotifyExecutionCompletion_Call
- func (_c *MockNotification_service_NotifyExecutionCompletion_Call) Return(_a0 error) *MockNotification_service_NotifyExecutionCompletion_Call
- func (_c *MockNotification_service_NotifyExecutionCompletion_Call) Run(...) *MockNotification_service_NotifyExecutionCompletion_Call
- func (_c *MockNotification_service_NotifyExecutionCompletion_Call) RunAndReturn(...) *MockNotification_service_NotifyExecutionCompletion_Call
- type MockPlatform_gateway
- func (_m *MockPlatform_gateway) CreateNode(_a0 context.Context, _a1 node.Identifier, _a2 tailnet.DeviceName, ...) (node.PlatformIdentifier, error)
- func (_m *MockPlatform_gateway) DeleteNode(_a0 context.Context, _a1 *node.Node) error
- func (_m *MockPlatform_gateway) EXPECT() *MockPlatform_gateway_Expecter
- func (_m *MockPlatform_gateway) GetStatus(_a0 context.Context, _a1 *node.Node) (node.Status, error)
- func (_m *MockPlatform_gateway) StartNode(_a0 context.Context, _a1 *node.Node) error
- func (_m *MockPlatform_gateway) StopNode(_a0 context.Context, _a1 *node.Node) error
- type MockPlatform_gateway_CreateNode_Call
- func (_c *MockPlatform_gateway_CreateNode_Call) Return(_a0 node.PlatformIdentifier, _a1 error) *MockPlatform_gateway_CreateNode_Call
- func (_c *MockPlatform_gateway_CreateNode_Call) Run(...) *MockPlatform_gateway_CreateNode_Call
- func (_c *MockPlatform_gateway_CreateNode_Call) RunAndReturn(...) *MockPlatform_gateway_CreateNode_Call
- type MockPlatform_gateway_DeleteNode_Call
- func (_c *MockPlatform_gateway_DeleteNode_Call) Return(_a0 error) *MockPlatform_gateway_DeleteNode_Call
- func (_c *MockPlatform_gateway_DeleteNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_DeleteNode_Call
- func (_c *MockPlatform_gateway_DeleteNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_DeleteNode_Call
- type MockPlatform_gateway_Expecter
- func (_e *MockPlatform_gateway_Expecter) CreateNode(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, ...) *MockPlatform_gateway_CreateNode_Call
- func (_e *MockPlatform_gateway_Expecter) DeleteNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_DeleteNode_Call
- func (_e *MockPlatform_gateway_Expecter) GetStatus(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_GetStatus_Call
- func (_e *MockPlatform_gateway_Expecter) StartNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_StartNode_Call
- func (_e *MockPlatform_gateway_Expecter) StopNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_StopNode_Call
- type MockPlatform_gateway_GetStatus_Call
- func (_c *MockPlatform_gateway_GetStatus_Call) Return(_a0 node.Status, _a1 error) *MockPlatform_gateway_GetStatus_Call
- func (_c *MockPlatform_gateway_GetStatus_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_GetStatus_Call
- func (_c *MockPlatform_gateway_GetStatus_Call) RunAndReturn(run func(context.Context, *node.Node) (node.Status, error)) *MockPlatform_gateway_GetStatus_Call
- type MockPlatform_gateway_StartNode_Call
- func (_c *MockPlatform_gateway_StartNode_Call) Return(_a0 error) *MockPlatform_gateway_StartNode_Call
- func (_c *MockPlatform_gateway_StartNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_StartNode_Call
- func (_c *MockPlatform_gateway_StartNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_StartNode_Call
- type MockPlatform_gateway_StopNode_Call
- func (_c *MockPlatform_gateway_StopNode_Call) Return(_a0 error) *MockPlatform_gateway_StopNode_Call
- func (_c *MockPlatform_gateway_StopNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_StopNode_Call
- func (_c *MockPlatform_gateway_StopNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_StopNode_Call
- type MockProvider_service
- type MockProvider_service_Describe_Call
- func (_c *MockProvider_service_Describe_Call) Return(_a0 *provider.Provider, _a1 error) *MockProvider_service_Describe_Call
- func (_c *MockProvider_service_Describe_Call) Run(run func(_a0 context.Context, _a1 provider.Identifier)) *MockProvider_service_Describe_Call
- func (_c *MockProvider_service_Describe_Call) RunAndReturn(run func(context.Context, provider.Identifier) (*provider.Provider, error)) *MockProvider_service_Describe_Call
- type MockProvider_service_Expecter
- type MockProvider_service_List_Call
- func (_c *MockProvider_service_List_Call) Return(_a0 []*provider.Provider, _a1 error) *MockProvider_service_List_Call
- func (_c *MockProvider_service_List_Call) Run(run func(_a0 context.Context)) *MockProvider_service_List_Call
- func (_c *MockProvider_service_List_Call) RunAndReturn(run func(context.Context) ([]*provider.Provider, error)) *MockProvider_service_List_Call
- type MockSqlDatabase_interfaces
- func (_m *MockSqlDatabase_interfaces) Close() error
- func (_m *MockSqlDatabase_interfaces) EXPECT() *MockSqlDatabase_interfaces_Expecter
- func (_m *MockSqlDatabase_interfaces) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func (_m *MockSqlDatabase_interfaces) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- func (_m *MockSqlDatabase_interfaces) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
- type MockSqlDatabase_interfaces_Close_Call
- func (_c *MockSqlDatabase_interfaces_Close_Call) Return(_a0 error) *MockSqlDatabase_interfaces_Close_Call
- func (_c *MockSqlDatabase_interfaces_Close_Call) Run(run func()) *MockSqlDatabase_interfaces_Close_Call
- func (_c *MockSqlDatabase_interfaces_Close_Call) RunAndReturn(run func() error) *MockSqlDatabase_interfaces_Close_Call
- type MockSqlDatabase_interfaces_ExecContext_Call
- func (_c *MockSqlDatabase_interfaces_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *MockSqlDatabase_interfaces_ExecContext_Call
- func (_c *MockSqlDatabase_interfaces_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *MockSqlDatabase_interfaces_ExecContext_Call
- func (_c *MockSqlDatabase_interfaces_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *MockSqlDatabase_interfaces_ExecContext_Call
- type MockSqlDatabase_interfaces_Expecter
- func (_e *MockSqlDatabase_interfaces_Expecter) Close() *MockSqlDatabase_interfaces_Close_Call
- func (_e *MockSqlDatabase_interfaces_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_ExecContext_Call
- func (_e *MockSqlDatabase_interfaces_Expecter) GetContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_GetContext_Call
- func (_e *MockSqlDatabase_interfaces_Expecter) SelectContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_SelectContext_Call
- type MockSqlDatabase_interfaces_GetContext_Call
- func (_c *MockSqlDatabase_interfaces_GetContext_Call) Return(_a0 error) *MockSqlDatabase_interfaces_GetContext_Call
- func (_c *MockSqlDatabase_interfaces_GetContext_Call) Run(...) *MockSqlDatabase_interfaces_GetContext_Call
- func (_c *MockSqlDatabase_interfaces_GetContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *MockSqlDatabase_interfaces_GetContext_Call
- type MockSqlDatabase_interfaces_SelectContext_Call
- func (_c *MockSqlDatabase_interfaces_SelectContext_Call) Return(_a0 error) *MockSqlDatabase_interfaces_SelectContext_Call
- func (_c *MockSqlDatabase_interfaces_SelectContext_Call) Run(...) *MockSqlDatabase_interfaces_SelectContext_Call
- func (_c *MockSqlDatabase_interfaces_SelectContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *MockSqlDatabase_interfaces_SelectContext_Call
- type MockSsmClient_interfaces
- func (_m *MockSsmClient_interfaces) DeleteParameter(ctx context.Context, params *ssm.DeleteParameterInput, ...) (*ssm.DeleteParameterOutput, error)
- func (_m *MockSsmClient_interfaces) DescribeParameters(ctx context.Context, params *ssm.DescribeParametersInput, ...) (*ssm.DescribeParametersOutput, error)
- func (_m *MockSsmClient_interfaces) EXPECT() *MockSsmClient_interfaces_Expecter
- func (_m *MockSsmClient_interfaces) GetParameter(ctx context.Context, params *ssm.GetParameterInput, ...) (*ssm.GetParameterOutput, error)
- func (_m *MockSsmClient_interfaces) PutParameter(ctx context.Context, params *ssm.PutParameterInput, ...) (*ssm.PutParameterOutput, error)
- type MockSsmClient_interfaces_DeleteParameter_Call
- func (_c *MockSsmClient_interfaces_DeleteParameter_Call) Return(_a0 *ssm.DeleteParameterOutput, _a1 error) *MockSsmClient_interfaces_DeleteParameter_Call
- func (_c *MockSsmClient_interfaces_DeleteParameter_Call) Run(run func(ctx context.Context, params *ssm.DeleteParameterInput, ...)) *MockSsmClient_interfaces_DeleteParameter_Call
- func (_c *MockSsmClient_interfaces_DeleteParameter_Call) RunAndReturn(...) *MockSsmClient_interfaces_DeleteParameter_Call
- type MockSsmClient_interfaces_DescribeParameters_Call
- func (_c *MockSsmClient_interfaces_DescribeParameters_Call) Return(_a0 *ssm.DescribeParametersOutput, _a1 error) *MockSsmClient_interfaces_DescribeParameters_Call
- func (_c *MockSsmClient_interfaces_DescribeParameters_Call) Run(run func(ctx context.Context, params *ssm.DescribeParametersInput, ...)) *MockSsmClient_interfaces_DescribeParameters_Call
- func (_c *MockSsmClient_interfaces_DescribeParameters_Call) RunAndReturn(...) *MockSsmClient_interfaces_DescribeParameters_Call
- type MockSsmClient_interfaces_Expecter
- func (_e *MockSsmClient_interfaces_Expecter) DeleteParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_DeleteParameter_Call
- func (_e *MockSsmClient_interfaces_Expecter) DescribeParameters(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_DescribeParameters_Call
- func (_e *MockSsmClient_interfaces_Expecter) GetParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_GetParameter_Call
- func (_e *MockSsmClient_interfaces_Expecter) PutParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_PutParameter_Call
- type MockSsmClient_interfaces_GetParameter_Call
- func (_c *MockSsmClient_interfaces_GetParameter_Call) Return(_a0 *ssm.GetParameterOutput, _a1 error) *MockSsmClient_interfaces_GetParameter_Call
- func (_c *MockSsmClient_interfaces_GetParameter_Call) Run(run func(ctx context.Context, params *ssm.GetParameterInput, ...)) *MockSsmClient_interfaces_GetParameter_Call
- func (_c *MockSsmClient_interfaces_GetParameter_Call) RunAndReturn(...) *MockSsmClient_interfaces_GetParameter_Call
- type MockSsmClient_interfaces_PutParameter_Call
- func (_c *MockSsmClient_interfaces_PutParameter_Call) Return(_a0 *ssm.PutParameterOutput, _a1 error) *MockSsmClient_interfaces_PutParameter_Call
- func (_c *MockSsmClient_interfaces_PutParameter_Call) Run(run func(ctx context.Context, params *ssm.PutParameterInput, ...)) *MockSsmClient_interfaces_PutParameter_Call
- func (_c *MockSsmClient_interfaces_PutParameter_Call) RunAndReturn(...) *MockSsmClient_interfaces_PutParameter_Call
- type MockTailnet_gateway
- func (_m *MockTailnet_gateway) CreatePreauthKey(_a0 context.Context, _a1 bool) (tailnet.PreauthKey, error)
- func (_m *MockTailnet_gateway) DeleteDevice(_a0 context.Context, _a1 tailnet.DeviceIdentifier) error
- func (_m *MockTailnet_gateway) DeletePreauthKey(_a0 context.Context, _a1 tailnet.PreauthKey) error
- func (_m *MockTailnet_gateway) EXPECT() *MockTailnet_gateway_Expecter
- func (_m *MockTailnet_gateway) EnableExitNode(_a0 context.Context, _a1 tailnet.DeviceIdentifier) error
- func (_m *MockTailnet_gateway) GetDeviceId(_a0 context.Context, _a1 tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
- type MockTailnet_gateway_CreatePreauthKey_Call
- func (_c *MockTailnet_gateway_CreatePreauthKey_Call) Return(_a0 tailnet.PreauthKey, _a1 error) *MockTailnet_gateway_CreatePreauthKey_Call
- func (_c *MockTailnet_gateway_CreatePreauthKey_Call) Run(run func(_a0 context.Context, _a1 bool)) *MockTailnet_gateway_CreatePreauthKey_Call
- func (_c *MockTailnet_gateway_CreatePreauthKey_Call) RunAndReturn(run func(context.Context, bool) (tailnet.PreauthKey, error)) *MockTailnet_gateway_CreatePreauthKey_Call
- type MockTailnet_gateway_DeleteDevice_Call
- func (_c *MockTailnet_gateway_DeleteDevice_Call) Return(_a0 error) *MockTailnet_gateway_DeleteDevice_Call
- func (_c *MockTailnet_gateway_DeleteDevice_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceIdentifier)) *MockTailnet_gateway_DeleteDevice_Call
- func (_c *MockTailnet_gateway_DeleteDevice_Call) RunAndReturn(run func(context.Context, tailnet.DeviceIdentifier) error) *MockTailnet_gateway_DeleteDevice_Call
- type MockTailnet_gateway_DeletePreauthKey_Call
- func (_c *MockTailnet_gateway_DeletePreauthKey_Call) Return(_a0 error) *MockTailnet_gateway_DeletePreauthKey_Call
- func (_c *MockTailnet_gateway_DeletePreauthKey_Call) Run(run func(_a0 context.Context, _a1 tailnet.PreauthKey)) *MockTailnet_gateway_DeletePreauthKey_Call
- func (_c *MockTailnet_gateway_DeletePreauthKey_Call) RunAndReturn(run func(context.Context, tailnet.PreauthKey) error) *MockTailnet_gateway_DeletePreauthKey_Call
- type MockTailnet_gateway_EnableExitNode_Call
- func (_c *MockTailnet_gateway_EnableExitNode_Call) Return(_a0 error) *MockTailnet_gateway_EnableExitNode_Call
- func (_c *MockTailnet_gateway_EnableExitNode_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceIdentifier)) *MockTailnet_gateway_EnableExitNode_Call
- func (_c *MockTailnet_gateway_EnableExitNode_Call) RunAndReturn(run func(context.Context, tailnet.DeviceIdentifier) error) *MockTailnet_gateway_EnableExitNode_Call
- type MockTailnet_gateway_Expecter
- func (_e *MockTailnet_gateway_Expecter) CreatePreauthKey(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_CreatePreauthKey_Call
- func (_e *MockTailnet_gateway_Expecter) DeleteDevice(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_DeleteDevice_Call
- func (_e *MockTailnet_gateway_Expecter) DeletePreauthKey(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_DeletePreauthKey_Call
- func (_e *MockTailnet_gateway_Expecter) EnableExitNode(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_EnableExitNode_Call
- func (_e *MockTailnet_gateway_Expecter) GetDeviceId(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_GetDeviceId_Call
- type MockTailnet_gateway_GetDeviceId_Call
- func (_c *MockTailnet_gateway_GetDeviceId_Call) Return(_a0 tailnet.DeviceIdentifier, _a1 error) *MockTailnet_gateway_GetDeviceId_Call
- func (_c *MockTailnet_gateway_GetDeviceId_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceName)) *MockTailnet_gateway_GetDeviceId_Call
- func (_c *MockTailnet_gateway_GetDeviceId_Call) RunAndReturn(...) *MockTailnet_gateway_GetDeviceId_Call
- type MockTailnet_service
- type MockTailnet_service_Describe_Call
- func (_c *MockTailnet_service_Describe_Call) Return(_a0 *tailnet.Tailnet, _a1 error) *MockTailnet_service_Describe_Call
- func (_c *MockTailnet_service_Describe_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier)) *MockTailnet_service_Describe_Call
- func (_c *MockTailnet_service_Describe_Call) RunAndReturn(run func(context.Context, tailnet.Identifier) (*tailnet.Tailnet, error)) *MockTailnet_service_Describe_Call
- type MockTailnet_service_Expecter
- type MockTailnet_service_List_Call
- func (_c *MockTailnet_service_List_Call) Return(_a0 []*tailnet.Tailnet, _a1 error) *MockTailnet_service_List_Call
- func (_c *MockTailnet_service_List_Call) Run(run func(_a0 context.Context)) *MockTailnet_service_List_Call
- func (_c *MockTailnet_service_List_Call) RunAndReturn(run func(context.Context) ([]*tailnet.Tailnet, error)) *MockTailnet_service_List_Call
- type MockTailscale_interfaces
- func (_m *MockTailscale_interfaces) ACL(ctx context.Context) (*tailscale.ACL, error)
- func (_m *MockTailscale_interfaces) CreateKey(ctx context.Context, caps tailscale.KeyCapabilities, ...) (tailscale.Key, error)
- func (_m *MockTailscale_interfaces) DeleteDevice(_a0 context.Context, _a1 string) error
- func (_m *MockTailscale_interfaces) DeleteKey(_a0 context.Context, _a1 string) error
- func (_m *MockTailscale_interfaces) Devices(ctx context.Context) ([]tailscale.Device, error)
- func (_m *MockTailscale_interfaces) EXPECT() *MockTailscale_interfaces_Expecter
- func (_m *MockTailscale_interfaces) SetACL(ctx context.Context, acl tailscale.ACL, opts ...tailscale.SetACLOption) error
- func (_m *MockTailscale_interfaces) SetDeviceKey(ctx context.Context, deviceID string, key tailscale.DeviceKey) error
- func (_m *MockTailscale_interfaces) SetDeviceTags(ctx context.Context, deviceID string, tags []string) error
- func (_m *MockTailscale_interfaces) ValidateACL(ctx context.Context, acl tailscale.ACL) error
- type MockTailscale_interfaces_ACL_Call
- func (_c *MockTailscale_interfaces_ACL_Call) Return(_a0 *tailscale.ACL, _a1 error) *MockTailscale_interfaces_ACL_Call
- func (_c *MockTailscale_interfaces_ACL_Call) Run(run func(ctx context.Context)) *MockTailscale_interfaces_ACL_Call
- func (_c *MockTailscale_interfaces_ACL_Call) RunAndReturn(run func(context.Context) (*tailscale.ACL, error)) *MockTailscale_interfaces_ACL_Call
- type MockTailscale_interfaces_CreateKey_Call
- func (_c *MockTailscale_interfaces_CreateKey_Call) Return(_a0 tailscale.Key, _a1 error) *MockTailscale_interfaces_CreateKey_Call
- func (_c *MockTailscale_interfaces_CreateKey_Call) Run(run func(ctx context.Context, caps tailscale.KeyCapabilities, ...)) *MockTailscale_interfaces_CreateKey_Call
- func (_c *MockTailscale_interfaces_CreateKey_Call) RunAndReturn(...) *MockTailscale_interfaces_CreateKey_Call
- type MockTailscale_interfaces_DeleteDevice_Call
- func (_c *MockTailscale_interfaces_DeleteDevice_Call) Return(_a0 error) *MockTailscale_interfaces_DeleteDevice_Call
- func (_c *MockTailscale_interfaces_DeleteDevice_Call) Run(run func(_a0 context.Context, _a1 string)) *MockTailscale_interfaces_DeleteDevice_Call
- func (_c *MockTailscale_interfaces_DeleteDevice_Call) RunAndReturn(run func(context.Context, string) error) *MockTailscale_interfaces_DeleteDevice_Call
- type MockTailscale_interfaces_DeleteKey_Call
- func (_c *MockTailscale_interfaces_DeleteKey_Call) Return(_a0 error) *MockTailscale_interfaces_DeleteKey_Call
- func (_c *MockTailscale_interfaces_DeleteKey_Call) Run(run func(_a0 context.Context, _a1 string)) *MockTailscale_interfaces_DeleteKey_Call
- func (_c *MockTailscale_interfaces_DeleteKey_Call) RunAndReturn(run func(context.Context, string) error) *MockTailscale_interfaces_DeleteKey_Call
- type MockTailscale_interfaces_Devices_Call
- func (_c *MockTailscale_interfaces_Devices_Call) Return(_a0 []tailscale.Device, _a1 error) *MockTailscale_interfaces_Devices_Call
- func (_c *MockTailscale_interfaces_Devices_Call) Run(run func(ctx context.Context)) *MockTailscale_interfaces_Devices_Call
- func (_c *MockTailscale_interfaces_Devices_Call) RunAndReturn(run func(context.Context) ([]tailscale.Device, error)) *MockTailscale_interfaces_Devices_Call
- type MockTailscale_interfaces_Expecter
- func (_e *MockTailscale_interfaces_Expecter) ACL(ctx interface{}) *MockTailscale_interfaces_ACL_Call
- func (_e *MockTailscale_interfaces_Expecter) CreateKey(ctx interface{}, caps interface{}, opts ...interface{}) *MockTailscale_interfaces_CreateKey_Call
- func (_e *MockTailscale_interfaces_Expecter) DeleteDevice(_a0 interface{}, _a1 interface{}) *MockTailscale_interfaces_DeleteDevice_Call
- func (_e *MockTailscale_interfaces_Expecter) DeleteKey(_a0 interface{}, _a1 interface{}) *MockTailscale_interfaces_DeleteKey_Call
- func (_e *MockTailscale_interfaces_Expecter) Devices(ctx interface{}) *MockTailscale_interfaces_Devices_Call
- func (_e *MockTailscale_interfaces_Expecter) SetACL(ctx interface{}, acl interface{}, opts ...interface{}) *MockTailscale_interfaces_SetACL_Call
- func (_e *MockTailscale_interfaces_Expecter) SetDeviceKey(ctx interface{}, deviceID interface{}, key interface{}) *MockTailscale_interfaces_SetDeviceKey_Call
- func (_e *MockTailscale_interfaces_Expecter) SetDeviceTags(ctx interface{}, deviceID interface{}, tags interface{}) *MockTailscale_interfaces_SetDeviceTags_Call
- func (_e *MockTailscale_interfaces_Expecter) ValidateACL(ctx interface{}, acl interface{}) *MockTailscale_interfaces_ValidateACL_Call
- type MockTailscale_interfaces_SetACL_Call
- func (_c *MockTailscale_interfaces_SetACL_Call) Return(_a0 error) *MockTailscale_interfaces_SetACL_Call
- func (_c *MockTailscale_interfaces_SetACL_Call) Run(...) *MockTailscale_interfaces_SetACL_Call
- func (_c *MockTailscale_interfaces_SetACL_Call) RunAndReturn(run func(context.Context, tailscale.ACL, ...tailscale.SetACLOption) error) *MockTailscale_interfaces_SetACL_Call
- type MockTailscale_interfaces_SetDeviceKey_Call
- func (_c *MockTailscale_interfaces_SetDeviceKey_Call) Return(_a0 error) *MockTailscale_interfaces_SetDeviceKey_Call
- func (_c *MockTailscale_interfaces_SetDeviceKey_Call) Run(run func(ctx context.Context, deviceID string, key tailscale.DeviceKey)) *MockTailscale_interfaces_SetDeviceKey_Call
- func (_c *MockTailscale_interfaces_SetDeviceKey_Call) RunAndReturn(run func(context.Context, string, tailscale.DeviceKey) error) *MockTailscale_interfaces_SetDeviceKey_Call
- type MockTailscale_interfaces_SetDeviceTags_Call
- func (_c *MockTailscale_interfaces_SetDeviceTags_Call) Return(_a0 error) *MockTailscale_interfaces_SetDeviceTags_Call
- func (_c *MockTailscale_interfaces_SetDeviceTags_Call) Run(run func(ctx context.Context, deviceID string, tags []string)) *MockTailscale_interfaces_SetDeviceTags_Call
- func (_c *MockTailscale_interfaces_SetDeviceTags_Call) RunAndReturn(run func(context.Context, string, []string) error) *MockTailscale_interfaces_SetDeviceTags_Call
- type MockTailscale_interfaces_ValidateACL_Call
- func (_c *MockTailscale_interfaces_ValidateACL_Call) Return(_a0 error) *MockTailscale_interfaces_ValidateACL_Call
- func (_c *MockTailscale_interfaces_ValidateACL_Call) Run(run func(ctx context.Context, acl tailscale.ACL)) *MockTailscale_interfaces_ValidateACL_Call
- func (_c *MockTailscale_interfaces_ValidateACL_Call) RunAndReturn(run func(context.Context, tailscale.ACL) error) *MockTailscale_interfaces_ValidateACL_Call
- type MockWorkflow_gateway
- type MockWorkflow_gateway_DeprovisionNode_Call
- func (_c *MockWorkflow_gateway_DeprovisionNode_Call) Return(_a0 error) *MockWorkflow_gateway_DeprovisionNode_Call
- func (_c *MockWorkflow_gateway_DeprovisionNode_Call) Run(run func(ctx context.Context, input *workflow.DeprovisionNodeInput)) *MockWorkflow_gateway_DeprovisionNode_Call
- func (_c *MockWorkflow_gateway_DeprovisionNode_Call) RunAndReturn(run func(context.Context, *workflow.DeprovisionNodeInput) error) *MockWorkflow_gateway_DeprovisionNode_Call
- type MockWorkflow_gateway_Expecter
- type MockWorkflow_gateway_ProvisionNode_Call
- func (_c *MockWorkflow_gateway_ProvisionNode_Call) Return(_a0 error) *MockWorkflow_gateway_ProvisionNode_Call
- func (_c *MockWorkflow_gateway_ProvisionNode_Call) Run(run func(ctx context.Context, input *workflow.ProvisionNodeInput)) *MockWorkflow_gateway_ProvisionNode_Call
- func (_c *MockWorkflow_gateway_ProvisionNode_Call) RunAndReturn(run func(context.Context, *workflow.ProvisionNodeInput) error) *MockWorkflow_gateway_ProvisionNode_Call
- type MockWorkflow_service
- func (_m *MockWorkflow_service) EXPECT() *MockWorkflow_service_Expecter
- func (_m *MockWorkflow_service) GetExecution(_a0 context.Context, _a1 workflow.ExecutionIdentifier) (*workflow.Execution, error)
- func (_m *MockWorkflow_service) LaunchDeprovisionNodeWorkflow(_a0 context.Context, _a1 node.Identifier) (workflow.ExecutionIdentifier, error)
- func (_m *MockWorkflow_service) LaunchProvisionNodeWorkflow(_a0 context.Context, _a1 *provider.Provider, _a2 provider.Location, ...) (workflow.ExecutionIdentifier, error)
- type MockWorkflow_service_Expecter
- func (_e *MockWorkflow_service_Expecter) GetExecution(_a0 interface{}, _a1 interface{}) *MockWorkflow_service_GetExecution_Call
- func (_e *MockWorkflow_service_Expecter) LaunchDeprovisionNodeWorkflow(_a0 interface{}, _a1 interface{}) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
- func (_e *MockWorkflow_service_Expecter) LaunchProvisionNodeWorkflow(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, ...) *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
- type MockWorkflow_service_GetExecution_Call
- func (_c *MockWorkflow_service_GetExecution_Call) Return(_a0 *workflow.Execution, _a1 error) *MockWorkflow_service_GetExecution_Call
- func (_c *MockWorkflow_service_GetExecution_Call) Run(run func(_a0 context.Context, _a1 workflow.ExecutionIdentifier)) *MockWorkflow_service_GetExecution_Call
- func (_c *MockWorkflow_service_GetExecution_Call) RunAndReturn(...) *MockWorkflow_service_GetExecution_Call
- type MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) Return(_a0 workflow.ExecutionIdentifier, _a1 error) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) RunAndReturn(...) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
- type MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call) Return(_a0 workflow.ExecutionIdentifier, _a1 error) *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call) Run(...) *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
- func (_c *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call) RunAndReturn(...) *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockActivity_service ¶ added in v0.0.6
MockActivity_service is an autogenerated mock type for the Activity type
func NewMockActivity_service ¶ added in v0.0.6
func NewMockActivity_service(t interface { mock.TestingT Cleanup(func()) }) *MockActivity_service
NewMockActivity_service creates a new instance of MockActivity_service. 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 (*MockActivity_service) CloseExecution ¶ added in v0.0.6
func (_m *MockActivity_service) CloseExecution(_a0 context.Context, _a1 workflow.ExecutionIdentifier, _a2 workflow.Status, _a3 workflow.ExecutionResult) error
CloseExecution provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*MockActivity_service) CreateNode ¶ added in v0.0.6
func (_m *MockActivity_service) CreateNode(_a0 context.Context, _a1 provider.Identifier, _a2 tailnet.ControlServer, _a3 node.Identifier, _a4 tailnet.DeviceName, _a5 provider.Location, _a6 tailnet.PreauthKey, _a7 node.Size) (node.PlatformIdentifier, error)
CreateNode provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7
func (*MockActivity_service) CreateNodeRecord ¶ added in v0.0.6
func (_m *MockActivity_service) CreateNodeRecord(_a0 context.Context, _a1 node.Identifier, _a2 node.PlatformIdentifier, _a3 provider.Identifier, _a4 provider.Location, _a5 tailnet.PreauthKey, _a6 tailnet.Identifier, _a7 tailnet.DeviceIdentifier, _a8 tailnet.DeviceName, _a9 node.Size, _a10 bool) error
CreateNodeRecord provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6, _a7, _a8, _a9, _a10
func (*MockActivity_service) CreatePreauthKey ¶ added in v0.0.6
func (_m *MockActivity_service) CreatePreauthKey(_a0 context.Context, _a1 tailnet.Identifier, _a2 bool) (tailnet.PreauthKey, error)
CreatePreauthKey provides a mock function with given fields: _a0, _a1, _a2
func (*MockActivity_service) DeleteNode ¶ added in v0.0.6
func (_m *MockActivity_service) DeleteNode(_a0 context.Context, _a1 node.Identifier) error
DeleteNode provides a mock function with given fields: _a0, _a1
func (*MockActivity_service) DeleteNodeRecord ¶ added in v0.0.6
func (_m *MockActivity_service) DeleteNodeRecord(_a0 context.Context, _a1 node.Identifier) error
DeleteNodeRecord provides a mock function with given fields: _a0, _a1
func (*MockActivity_service) EXPECT ¶ added in v0.0.6
func (_m *MockActivity_service) EXPECT() *MockActivity_service_Expecter
func (*MockActivity_service) EnableExitNode ¶ added in v0.0.6
func (_m *MockActivity_service) EnableExitNode(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier) error
EnableExitNode provides a mock function with given fields: _a0, _a1, _a2
func (*MockActivity_service) GetDeviceId ¶ added in v0.0.6
func (_m *MockActivity_service) GetDeviceId(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
GetDeviceId provides a mock function with given fields: _a0, _a1, _a2
func (*MockActivity_service) RemoveTailnetDevice ¶ added in v0.0.6
func (_m *MockActivity_service) RemoveTailnetDevice(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier) error
RemoveTailnetDevice provides a mock function with given fields: _a0, _a1, _a2
type MockActivity_service_CloseExecution_Call ¶ added in v0.0.6
MockActivity_service_CloseExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseExecution'
func (*MockActivity_service_CloseExecution_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_CloseExecution_Call) Return(_a0 error) *MockActivity_service_CloseExecution_Call
func (*MockActivity_service_CloseExecution_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_CloseExecution_Call) Run(run func(_a0 context.Context, _a1 workflow.ExecutionIdentifier, _a2 workflow.Status, _a3 workflow.ExecutionResult)) *MockActivity_service_CloseExecution_Call
func (*MockActivity_service_CloseExecution_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_CloseExecution_Call) RunAndReturn(run func(context.Context, workflow.ExecutionIdentifier, workflow.Status, workflow.ExecutionResult) error) *MockActivity_service_CloseExecution_Call
type MockActivity_service_CreateNodeRecord_Call ¶ added in v0.0.6
MockActivity_service_CreateNodeRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNodeRecord'
func (*MockActivity_service_CreateNodeRecord_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNodeRecord_Call) Return(_a0 error) *MockActivity_service_CreateNodeRecord_Call
func (*MockActivity_service_CreateNodeRecord_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNodeRecord_Call) Run(run func(_a0 context.Context, _a1 node.Identifier, _a2 node.PlatformIdentifier, _a3 provider.Identifier, _a4 provider.Location, _a5 tailnet.PreauthKey, _a6 tailnet.Identifier, _a7 tailnet.DeviceIdentifier, _a8 tailnet.DeviceName, _a9 node.Size, _a10 bool)) *MockActivity_service_CreateNodeRecord_Call
func (*MockActivity_service_CreateNodeRecord_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNodeRecord_Call) RunAndReturn(run func(context.Context, node.Identifier, node.PlatformIdentifier, provider.Identifier, provider.Location, tailnet.PreauthKey, tailnet.Identifier, tailnet.DeviceIdentifier, tailnet.DeviceName, node.Size, bool) error) *MockActivity_service_CreateNodeRecord_Call
type MockActivity_service_CreateNode_Call ¶ added in v0.0.6
MockActivity_service_CreateNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNode'
func (*MockActivity_service_CreateNode_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNode_Call) Return(_a0 node.PlatformIdentifier, _a1 error) *MockActivity_service_CreateNode_Call
func (*MockActivity_service_CreateNode_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNode_Call) Run(run func(_a0 context.Context, _a1 provider.Identifier, _a2 tailnet.ControlServer, _a3 node.Identifier, _a4 tailnet.DeviceName, _a5 provider.Location, _a6 tailnet.PreauthKey, _a7 node.Size)) *MockActivity_service_CreateNode_Call
func (*MockActivity_service_CreateNode_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_CreateNode_Call) RunAndReturn(run func(context.Context, provider.Identifier, tailnet.ControlServer, node.Identifier, tailnet.DeviceName, provider.Location, tailnet.PreauthKey, node.Size) (node.PlatformIdentifier, error)) *MockActivity_service_CreateNode_Call
type MockActivity_service_CreatePreauthKey_Call ¶ added in v0.0.6
MockActivity_service_CreatePreauthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePreauthKey'
func (*MockActivity_service_CreatePreauthKey_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_CreatePreauthKey_Call) Return(_a0 tailnet.PreauthKey, _a1 error) *MockActivity_service_CreatePreauthKey_Call
func (*MockActivity_service_CreatePreauthKey_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_CreatePreauthKey_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 bool)) *MockActivity_service_CreatePreauthKey_Call
func (*MockActivity_service_CreatePreauthKey_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_CreatePreauthKey_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, bool) (tailnet.PreauthKey, error)) *MockActivity_service_CreatePreauthKey_Call
type MockActivity_service_DeleteNodeRecord_Call ¶ added in v0.0.6
MockActivity_service_DeleteNodeRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteNodeRecord'
func (*MockActivity_service_DeleteNodeRecord_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNodeRecord_Call) Return(_a0 error) *MockActivity_service_DeleteNodeRecord_Call
func (*MockActivity_service_DeleteNodeRecord_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNodeRecord_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockActivity_service_DeleteNodeRecord_Call
func (*MockActivity_service_DeleteNodeRecord_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNodeRecord_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockActivity_service_DeleteNodeRecord_Call
type MockActivity_service_DeleteNode_Call ¶ added in v0.0.6
MockActivity_service_DeleteNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteNode'
func (*MockActivity_service_DeleteNode_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNode_Call) Return(_a0 error) *MockActivity_service_DeleteNode_Call
func (*MockActivity_service_DeleteNode_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNode_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockActivity_service_DeleteNode_Call
func (*MockActivity_service_DeleteNode_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_DeleteNode_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockActivity_service_DeleteNode_Call
type MockActivity_service_EnableExitNode_Call ¶ added in v0.0.6
MockActivity_service_EnableExitNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableExitNode'
func (*MockActivity_service_EnableExitNode_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_EnableExitNode_Call) Return(_a0 error) *MockActivity_service_EnableExitNode_Call
func (*MockActivity_service_EnableExitNode_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_EnableExitNode_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier)) *MockActivity_service_EnableExitNode_Call
func (*MockActivity_service_EnableExitNode_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_EnableExitNode_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, tailnet.DeviceIdentifier) error) *MockActivity_service_EnableExitNode_Call
type MockActivity_service_Expecter ¶ added in v0.0.6
type MockActivity_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockActivity_service_Expecter) CloseExecution ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) CloseExecution(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}) *MockActivity_service_CloseExecution_Call
CloseExecution is a helper method to define mock.On call
- _a0 context.Context
- _a1 workflow.ExecutionIdentifier
- _a2 workflow.Status
- _a3 workflow.ExecutionResult
func (*MockActivity_service_Expecter) CreateNode ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) CreateNode(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, _a4 interface{}, _a5 interface{}, _a6 interface{}, _a7 interface{}) *MockActivity_service_CreateNode_Call
CreateNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 provider.Identifier
- _a2 tailnet.ControlServer
- _a3 node.Identifier
- _a4 tailnet.DeviceName
- _a5 provider.Location
- _a6 tailnet.PreauthKey
- _a7 node.Size
func (*MockActivity_service_Expecter) CreateNodeRecord ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) CreateNodeRecord(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, _a4 interface{}, _a5 interface{}, _a6 interface{}, _a7 interface{}, _a8 interface{}, _a9 interface{}, _a10 interface{}) *MockActivity_service_CreateNodeRecord_Call
CreateNodeRecord is a helper method to define mock.On call
- _a0 context.Context
- _a1 node.Identifier
- _a2 node.PlatformIdentifier
- _a3 provider.Identifier
- _a4 provider.Location
- _a5 tailnet.PreauthKey
- _a6 tailnet.Identifier
- _a7 tailnet.DeviceIdentifier
- _a8 tailnet.DeviceName
- _a9 node.Size
- _a10 bool
func (*MockActivity_service_Expecter) CreatePreauthKey ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) CreatePreauthKey(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_CreatePreauthKey_Call
CreatePreauthKey is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.Identifier
- _a2 bool
func (*MockActivity_service_Expecter) DeleteNode ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) DeleteNode(_a0 interface{}, _a1 interface{}) *MockActivity_service_DeleteNode_Call
DeleteNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 node.Identifier
func (*MockActivity_service_Expecter) DeleteNodeRecord ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) DeleteNodeRecord(_a0 interface{}, _a1 interface{}) *MockActivity_service_DeleteNodeRecord_Call
DeleteNodeRecord is a helper method to define mock.On call
- _a0 context.Context
- _a1 node.Identifier
func (*MockActivity_service_Expecter) EnableExitNode ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) EnableExitNode(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_EnableExitNode_Call
EnableExitNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.Identifier
- _a2 tailnet.DeviceIdentifier
func (*MockActivity_service_Expecter) GetDeviceId ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) GetDeviceId(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_GetDeviceId_Call
GetDeviceId is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.Identifier
- _a2 tailnet.DeviceName
func (*MockActivity_service_Expecter) RemoveTailnetDevice ¶ added in v0.0.6
func (_e *MockActivity_service_Expecter) RemoveTailnetDevice(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockActivity_service_RemoveTailnetDevice_Call
RemoveTailnetDevice is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.Identifier
- _a2 tailnet.DeviceIdentifier
type MockActivity_service_GetDeviceId_Call ¶ added in v0.0.6
MockActivity_service_GetDeviceId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeviceId'
func (*MockActivity_service_GetDeviceId_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_GetDeviceId_Call) Return(_a0 tailnet.DeviceIdentifier, _a1 error) *MockActivity_service_GetDeviceId_Call
func (*MockActivity_service_GetDeviceId_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_GetDeviceId_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceName)) *MockActivity_service_GetDeviceId_Call
func (*MockActivity_service_GetDeviceId_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_GetDeviceId_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, tailnet.DeviceName) (tailnet.DeviceIdentifier, error)) *MockActivity_service_GetDeviceId_Call
type MockActivity_service_RemoveTailnetDevice_Call ¶ added in v0.0.6
MockActivity_service_RemoveTailnetDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTailnetDevice'
func (*MockActivity_service_RemoveTailnetDevice_Call) Return ¶ added in v0.0.6
func (_c *MockActivity_service_RemoveTailnetDevice_Call) Return(_a0 error) *MockActivity_service_RemoveTailnetDevice_Call
func (*MockActivity_service_RemoveTailnetDevice_Call) Run ¶ added in v0.0.6
func (_c *MockActivity_service_RemoveTailnetDevice_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier, _a2 tailnet.DeviceIdentifier)) *MockActivity_service_RemoveTailnetDevice_Call
func (*MockActivity_service_RemoveTailnetDevice_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockActivity_service_RemoveTailnetDevice_Call) RunAndReturn(run func(context.Context, tailnet.Identifier, tailnet.DeviceIdentifier) error) *MockActivity_service_RemoveTailnetDevice_Call
type MockAwsAccountClient_interfaces ¶
MockAwsAccountClient_interfaces is an autogenerated mock type for the AwsAccountClient type
func NewMockAwsAccountClient_interfaces ¶
func NewMockAwsAccountClient_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockAwsAccountClient_interfaces
NewMockAwsAccountClient_interfaces creates a new instance of MockAwsAccountClient_interfaces. 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 (*MockAwsAccountClient_interfaces) EXPECT ¶
func (_m *MockAwsAccountClient_interfaces) EXPECT() *MockAwsAccountClient_interfaces_Expecter
func (*MockAwsAccountClient_interfaces) EnableRegion ¶
func (_m *MockAwsAccountClient_interfaces) EnableRegion(ctx context.Context, params *account.EnableRegionInput, optFns ...func(*account.Options)) (*account.EnableRegionOutput, error)
EnableRegion provides a mock function with given fields: ctx, params, optFns
func (*MockAwsAccountClient_interfaces) GetRegionOptStatus ¶
func (_m *MockAwsAccountClient_interfaces) GetRegionOptStatus(ctx context.Context, params *account.GetRegionOptStatusInput, optFns ...func(*account.Options)) (*account.GetRegionOptStatusOutput, error)
GetRegionOptStatus provides a mock function with given fields: ctx, params, optFns
type MockAwsAccountClient_interfaces_EnableRegion_Call ¶
MockAwsAccountClient_interfaces_EnableRegion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableRegion'
func (*MockAwsAccountClient_interfaces_EnableRegion_Call) Return ¶
func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) Return(_a0 *account.EnableRegionOutput, _a1 error) *MockAwsAccountClient_interfaces_EnableRegion_Call
func (*MockAwsAccountClient_interfaces_EnableRegion_Call) Run ¶
func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) Run(run func(ctx context.Context, params *account.EnableRegionInput, optFns ...func(*account.Options))) *MockAwsAccountClient_interfaces_EnableRegion_Call
func (*MockAwsAccountClient_interfaces_EnableRegion_Call) RunAndReturn ¶
func (_c *MockAwsAccountClient_interfaces_EnableRegion_Call) RunAndReturn(run func(context.Context, *account.EnableRegionInput, ...func(*account.Options)) (*account.EnableRegionOutput, error)) *MockAwsAccountClient_interfaces_EnableRegion_Call
type MockAwsAccountClient_interfaces_Expecter ¶
type MockAwsAccountClient_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAwsAccountClient_interfaces_Expecter) EnableRegion ¶
func (_e *MockAwsAccountClient_interfaces_Expecter) EnableRegion(ctx interface{}, params interface{}, optFns ...interface{}) *MockAwsAccountClient_interfaces_EnableRegion_Call
EnableRegion is a helper method to define mock.On call
- ctx context.Context
- params *account.EnableRegionInput
- optFns ...func(*account.Options)
func (*MockAwsAccountClient_interfaces_Expecter) GetRegionOptStatus ¶
func (_e *MockAwsAccountClient_interfaces_Expecter) GetRegionOptStatus(ctx interface{}, params interface{}, optFns ...interface{}) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
GetRegionOptStatus is a helper method to define mock.On call
- ctx context.Context
- params *account.GetRegionOptStatusInput
- optFns ...func(*account.Options)
type MockAwsAccountClient_interfaces_GetRegionOptStatus_Call ¶
MockAwsAccountClient_interfaces_GetRegionOptStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRegionOptStatus'
func (*MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) Run ¶
func (_c *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) Run(run func(ctx context.Context, params *account.GetRegionOptStatusInput, optFns ...func(*account.Options))) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
func (*MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) RunAndReturn ¶
func (_c *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call) RunAndReturn(run func(context.Context, *account.GetRegionOptStatusInput, ...func(*account.Options)) (*account.GetRegionOptStatusOutput, error)) *MockAwsAccountClient_interfaces_GetRegionOptStatus_Call
type MockClientOption_headscale_service ¶
MockClientOption_headscale_service is an autogenerated mock type for the ClientOption type
func NewMockClientOption_headscale_service ¶
func NewMockClientOption_headscale_service(t interface { mock.TestingT Cleanup(func()) }) *MockClientOption_headscale_service
NewMockClientOption_headscale_service creates a new instance of MockClientOption_headscale_service. 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 (*MockClientOption_headscale_service) EXPECT ¶
func (_m *MockClientOption_headscale_service) EXPECT() *MockClientOption_headscale_service_Expecter
func (*MockClientOption_headscale_service) Execute ¶
func (_m *MockClientOption_headscale_service) Execute(_a0 *runtime.ClientOperation)
Execute provides a mock function with given fields: _a0
type MockClientOption_headscale_service_Execute_Call ¶
MockClientOption_headscale_service_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MockClientOption_headscale_service_Execute_Call) Run ¶
func (_c *MockClientOption_headscale_service_Execute_Call) Run(run func(_a0 *runtime.ClientOperation)) *MockClientOption_headscale_service_Execute_Call
func (*MockClientOption_headscale_service_Execute_Call) RunAndReturn ¶
func (_c *MockClientOption_headscale_service_Execute_Call) RunAndReturn(run func(*runtime.ClientOperation)) *MockClientOption_headscale_service_Execute_Call
type MockClientOption_headscale_service_Expecter ¶
type MockClientOption_headscale_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClientOption_headscale_service_Expecter) Execute ¶
func (_e *MockClientOption_headscale_service_Expecter) Execute(_a0 interface{}) *MockClientOption_headscale_service_Execute_Call
Execute is a helper method to define mock.On call
- _a0 *runtime.ClientOperation
type MockClientService_headscale_service ¶
MockClientService_headscale_service is an autogenerated mock type for the ClientService type
func NewMockClientService_headscale_service ¶
func NewMockClientService_headscale_service(t interface { mock.TestingT Cleanup(func()) }) *MockClientService_headscale_service
NewMockClientService_headscale_service creates a new instance of MockClientService_headscale_service. 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 (*MockClientService_headscale_service) EXPECT ¶
func (_m *MockClientService_headscale_service) EXPECT() *MockClientService_headscale_service_Expecter
func (*MockClientService_headscale_service) HeadscaleServiceCreateAPIKey ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceCreateAPIKey(params *headscale_service.HeadscaleServiceCreateAPIKeyParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreateAPIKeyOK, error)
HeadscaleServiceCreateAPIKey provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceCreatePreAuthKey ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceCreatePreAuthKey(params *headscale_service.HeadscaleServiceCreatePreAuthKeyParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreatePreAuthKeyOK, error)
HeadscaleServiceCreatePreAuthKey provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceCreateUser ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceCreateUser(params *headscale_service.HeadscaleServiceCreateUserParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreateUserOK, error)
HeadscaleServiceCreateUser provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceDebugCreateMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceDebugCreateMachine(params *headscale_service.HeadscaleServiceDebugCreateMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDebugCreateMachineOK, error)
HeadscaleServiceDebugCreateMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceDeleteMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteMachine(params *headscale_service.HeadscaleServiceDeleteMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteMachineOK, error)
HeadscaleServiceDeleteMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceDeleteRoute ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteRoute(params *headscale_service.HeadscaleServiceDeleteRouteParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteRouteOK, error)
HeadscaleServiceDeleteRoute provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceDeleteUser ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceDeleteUser(params *headscale_service.HeadscaleServiceDeleteUserParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteUserOK, error)
HeadscaleServiceDeleteUser provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceDisableRoute ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceDisableRoute(params *headscale_service.HeadscaleServiceDisableRouteParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDisableRouteOK, error)
HeadscaleServiceDisableRoute provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceEnableRoute ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceEnableRoute(params *headscale_service.HeadscaleServiceEnableRouteParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceEnableRouteOK, error)
HeadscaleServiceEnableRoute provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceExpireAPIKey ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceExpireAPIKey(params *headscale_service.HeadscaleServiceExpireAPIKeyParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpireAPIKeyOK, error)
HeadscaleServiceExpireAPIKey provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceExpireMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceExpireMachine(params *headscale_service.HeadscaleServiceExpireMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpireMachineOK, error)
HeadscaleServiceExpireMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceExpirePreAuthKey ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceExpirePreAuthKey(params *headscale_service.HeadscaleServiceExpirePreAuthKeyParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpirePreAuthKeyOK, error)
HeadscaleServiceExpirePreAuthKey provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceGetMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceGetMachine(params *headscale_service.HeadscaleServiceGetMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetMachineOK, error)
HeadscaleServiceGetMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceGetMachineRoutes ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceGetMachineRoutes(params *headscale_service.HeadscaleServiceGetMachineRoutesParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetMachineRoutesOK, error)
HeadscaleServiceGetMachineRoutes provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceGetRoutes ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceGetRoutes(params *headscale_service.HeadscaleServiceGetRoutesParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetRoutesOK, error)
HeadscaleServiceGetRoutes provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceGetUser ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceGetUser(params *headscale_service.HeadscaleServiceGetUserParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetUserOK, error)
HeadscaleServiceGetUser provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceListAPIKeys ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceListAPIKeys(params *headscale_service.HeadscaleServiceListAPIKeysParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListAPIKeysOK, error)
HeadscaleServiceListAPIKeys provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceListMachines ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceListMachines(params *headscale_service.HeadscaleServiceListMachinesParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListMachinesOK, error)
HeadscaleServiceListMachines provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceListPreAuthKeys ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceListPreAuthKeys(params *headscale_service.HeadscaleServiceListPreAuthKeysParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListPreAuthKeysOK, error)
HeadscaleServiceListPreAuthKeys provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceListUsers ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceListUsers(params *headscale_service.HeadscaleServiceListUsersParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListUsersOK, error)
HeadscaleServiceListUsers provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceMoveMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceMoveMachine(params *headscale_service.HeadscaleServiceMoveMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceMoveMachineOK, error)
HeadscaleServiceMoveMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceRegisterMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceRegisterMachine(params *headscale_service.HeadscaleServiceRegisterMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRegisterMachineOK, error)
HeadscaleServiceRegisterMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceRenameMachine ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceRenameMachine(params *headscale_service.HeadscaleServiceRenameMachineParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRenameMachineOK, error)
HeadscaleServiceRenameMachine provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceRenameUser ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceRenameUser(params *headscale_service.HeadscaleServiceRenameUserParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRenameUserOK, error)
HeadscaleServiceRenameUser provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) HeadscaleServiceSetTags ¶
func (_m *MockClientService_headscale_service) HeadscaleServiceSetTags(params *headscale_service.HeadscaleServiceSetTagsParams, opts ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceSetTagsOK, error)
HeadscaleServiceSetTags provides a mock function with given fields: params, opts
func (*MockClientService_headscale_service) SetTransport ¶
func (_m *MockClientService_headscale_service) SetTransport(transport runtime.ClientTransport)
SetTransport provides a mock function with given fields: transport
type MockClientService_headscale_service_Expecter ¶
type MockClientService_headscale_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceCreateAPIKey ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreateAPIKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
HeadscaleServiceCreateAPIKey is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceCreateAPIKeyParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceCreatePreAuthKey ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreatePreAuthKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
HeadscaleServiceCreatePreAuthKey is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceCreatePreAuthKeyParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceCreateUser ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceCreateUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
HeadscaleServiceCreateUser is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceCreateUserParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceDebugCreateMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDebugCreateMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
HeadscaleServiceDebugCreateMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceDebugCreateMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
HeadscaleServiceDeleteMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceDeleteMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteRoute ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
HeadscaleServiceDeleteRoute is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceDeleteRouteParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteUser ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDeleteUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
HeadscaleServiceDeleteUser is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceDeleteUserParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceDisableRoute ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceDisableRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
HeadscaleServiceDisableRoute is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceDisableRouteParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceEnableRoute ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceEnableRoute(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
HeadscaleServiceEnableRoute is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceEnableRouteParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceExpireAPIKey ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpireAPIKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
HeadscaleServiceExpireAPIKey is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceExpireAPIKeyParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceExpireMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpireMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
HeadscaleServiceExpireMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceExpireMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceExpirePreAuthKey ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceExpirePreAuthKey(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
HeadscaleServiceExpirePreAuthKey is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceExpirePreAuthKeyParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
HeadscaleServiceGetMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceGetMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachineRoutes ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetMachineRoutes(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
HeadscaleServiceGetMachineRoutes is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceGetMachineRoutesParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceGetRoutes ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetRoutes(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
HeadscaleServiceGetRoutes is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceGetRoutesParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceGetUser ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceGetUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
HeadscaleServiceGetUser is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceGetUserParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceListAPIKeys ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListAPIKeys(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
HeadscaleServiceListAPIKeys is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceListAPIKeysParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceListMachines ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListMachines(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
HeadscaleServiceListMachines is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceListMachinesParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceListPreAuthKeys ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListPreAuthKeys(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
HeadscaleServiceListPreAuthKeys is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceListPreAuthKeysParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceListUsers ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceListUsers(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
HeadscaleServiceListUsers is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceListUsersParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceMoveMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceMoveMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
HeadscaleServiceMoveMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceMoveMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceRegisterMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRegisterMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
HeadscaleServiceRegisterMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceRegisterMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceRenameMachine ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRenameMachine(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
HeadscaleServiceRenameMachine is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceRenameMachineParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceRenameUser ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceRenameUser(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
HeadscaleServiceRenameUser is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceRenameUserParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) HeadscaleServiceSetTags ¶
func (_e *MockClientService_headscale_service_Expecter) HeadscaleServiceSetTags(params interface{}, opts ...interface{}) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
HeadscaleServiceSetTags is a helper method to define mock.On call
- params *headscale_service.HeadscaleServiceSetTagsParams
- opts ...headscale_service.ClientOption
func (*MockClientService_headscale_service_Expecter) SetTransport ¶
func (_e *MockClientService_headscale_service_Expecter) SetTransport(transport interface{}) *MockClientService_headscale_service_SetTransport_Call
SetTransport is a helper method to define mock.On call
- transport runtime.ClientTransport
type MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call ¶
MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceCreateAPIKey'
func (*MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceCreateAPIKeyParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreateAPIKeyOK, error)) *MockClientService_headscale_service_HeadscaleServiceCreateAPIKey_Call
type MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call ¶
type MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call struct {
*mock.Call
}
MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceCreatePreAuthKey'
func (*MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceCreatePreAuthKeyParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreatePreAuthKeyOK, error)) *MockClientService_headscale_service_HeadscaleServiceCreatePreAuthKey_Call
type MockClientService_headscale_service_HeadscaleServiceCreateUser_Call ¶
MockClientService_headscale_service_HeadscaleServiceCreateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceCreateUser'
func (*MockClientService_headscale_service_HeadscaleServiceCreateUser_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceCreateUserParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceCreateUserOK, error)) *MockClientService_headscale_service_HeadscaleServiceCreateUser_Call
type MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call ¶
type MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call struct {
*mock.Call
}
MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceDebugCreateMachine'
func (*MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceDebugCreateMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDebugCreateMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceDebugCreateMachine_Call
type MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceDeleteMachine'
func (*MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceDeleteMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceDeleteMachine_Call
type MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call ¶
MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceDeleteRoute'
func (*MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceDeleteRouteParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteRouteOK, error)) *MockClientService_headscale_service_HeadscaleServiceDeleteRoute_Call
type MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call ¶
MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceDeleteUser'
func (*MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceDeleteUserParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDeleteUserOK, error)) *MockClientService_headscale_service_HeadscaleServiceDeleteUser_Call
type MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call ¶
MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceDisableRoute'
func (*MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceDisableRouteParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceDisableRouteOK, error)) *MockClientService_headscale_service_HeadscaleServiceDisableRoute_Call
type MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call ¶
MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceEnableRoute'
func (*MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceEnableRouteParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceEnableRouteOK, error)) *MockClientService_headscale_service_HeadscaleServiceEnableRoute_Call
type MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call ¶
MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceExpireAPIKey'
func (*MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceExpireAPIKeyParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpireAPIKeyOK, error)) *MockClientService_headscale_service_HeadscaleServiceExpireAPIKey_Call
type MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceExpireMachine'
func (*MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceExpireMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpireMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceExpireMachine_Call
type MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call ¶
type MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call struct {
*mock.Call
}
MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceExpirePreAuthKey'
func (*MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceExpirePreAuthKeyParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceExpirePreAuthKeyOK, error)) *MockClientService_headscale_service_HeadscaleServiceExpirePreAuthKey_Call
type MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call ¶
type MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call struct {
*mock.Call
}
MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceGetMachineRoutes'
func (*MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceGetMachineRoutesParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetMachineRoutesOK, error)) *MockClientService_headscale_service_HeadscaleServiceGetMachineRoutes_Call
type MockClientService_headscale_service_HeadscaleServiceGetMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceGetMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceGetMachine'
func (*MockClientService_headscale_service_HeadscaleServiceGetMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceGetMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceGetMachine_Call
type MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call ¶
MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceGetRoutes'
func (*MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceGetRoutesParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetRoutesOK, error)) *MockClientService_headscale_service_HeadscaleServiceGetRoutes_Call
type MockClientService_headscale_service_HeadscaleServiceGetUser_Call ¶
MockClientService_headscale_service_HeadscaleServiceGetUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceGetUser'
func (*MockClientService_headscale_service_HeadscaleServiceGetUser_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceGetUser_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceGetUserParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceGetUserOK, error)) *MockClientService_headscale_service_HeadscaleServiceGetUser_Call
type MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call ¶
MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceListAPIKeys'
func (*MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceListAPIKeysParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListAPIKeysOK, error)) *MockClientService_headscale_service_HeadscaleServiceListAPIKeys_Call
type MockClientService_headscale_service_HeadscaleServiceListMachines_Call ¶
MockClientService_headscale_service_HeadscaleServiceListMachines_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceListMachines'
func (*MockClientService_headscale_service_HeadscaleServiceListMachines_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceListMachines_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceListMachinesParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListMachinesOK, error)) *MockClientService_headscale_service_HeadscaleServiceListMachines_Call
type MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call ¶
MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceListPreAuthKeys'
func (*MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceListPreAuthKeysParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListPreAuthKeysOK, error)) *MockClientService_headscale_service_HeadscaleServiceListPreAuthKeys_Call
type MockClientService_headscale_service_HeadscaleServiceListUsers_Call ¶
MockClientService_headscale_service_HeadscaleServiceListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceListUsers'
func (*MockClientService_headscale_service_HeadscaleServiceListUsers_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceListUsers_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceListUsersParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceListUsersOK, error)) *MockClientService_headscale_service_HeadscaleServiceListUsers_Call
type MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceMoveMachine'
func (*MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceMoveMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceMoveMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceMoveMachine_Call
type MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceRegisterMachine'
func (*MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceRegisterMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRegisterMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceRegisterMachine_Call
type MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call ¶
MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceRenameMachine'
func (*MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceRenameMachineParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRenameMachineOK, error)) *MockClientService_headscale_service_HeadscaleServiceRenameMachine_Call
type MockClientService_headscale_service_HeadscaleServiceRenameUser_Call ¶
MockClientService_headscale_service_HeadscaleServiceRenameUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceRenameUser'
func (*MockClientService_headscale_service_HeadscaleServiceRenameUser_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceRenameUserParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceRenameUserOK, error)) *MockClientService_headscale_service_HeadscaleServiceRenameUser_Call
type MockClientService_headscale_service_HeadscaleServiceSetTags_Call ¶
MockClientService_headscale_service_HeadscaleServiceSetTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeadscaleServiceSetTags'
func (*MockClientService_headscale_service_HeadscaleServiceSetTags_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_HeadscaleServiceSetTags_Call) RunAndReturn(run func(*headscale_service.HeadscaleServiceSetTagsParams, ...headscale_service.ClientOption) (*headscale_service.HeadscaleServiceSetTagsOK, error)) *MockClientService_headscale_service_HeadscaleServiceSetTags_Call
type MockClientService_headscale_service_SetTransport_Call ¶
MockClientService_headscale_service_SetTransport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTransport'
func (*MockClientService_headscale_service_SetTransport_Call) Run ¶
func (_c *MockClientService_headscale_service_SetTransport_Call) Run(run func(transport runtime.ClientTransport)) *MockClientService_headscale_service_SetTransport_Call
func (*MockClientService_headscale_service_SetTransport_Call) RunAndReturn ¶
func (_c *MockClientService_headscale_service_SetTransport_Call) RunAndReturn(run func(runtime.ClientTransport)) *MockClientService_headscale_service_SetTransport_Call
type MockEc2Client_interfaces ¶
MockEc2Client_interfaces is an autogenerated mock type for the Ec2Client type
func NewMockEc2Client_interfaces ¶
func NewMockEc2Client_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockEc2Client_interfaces
NewMockEc2Client_interfaces creates a new instance of MockEc2Client_interfaces. 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 (*MockEc2Client_interfaces) DescribeImages ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)
DescribeImages provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) DescribeInstances ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) DescribeSecurityGroups ¶
func (_m *MockEc2Client_interfaces) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) DescribeSubnets ¶
func (_m *MockEc2Client_interfaces) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) DescribeVpcs ¶
func (_m *MockEc2Client_interfaces) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)
DescribeVpcs provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) EXPECT ¶
func (_m *MockEc2Client_interfaces) EXPECT() *MockEc2Client_interfaces_Expecter
func (*MockEc2Client_interfaces) RunInstances ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)
RunInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) StartInstances ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) StartInstances(ctx context.Context, params *ec2.StartInstancesInput, optFns ...func(*ec2.Options)) (*ec2.StartInstancesOutput, error)
StartInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) StopInstances ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) StopInstances(ctx context.Context, params *ec2.StopInstancesInput, optFns ...func(*ec2.Options)) (*ec2.StopInstancesOutput, error)
StopInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEc2Client_interfaces) TerminateInstances ¶ added in v0.0.4
func (_m *MockEc2Client_interfaces) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
TerminateInstances provides a mock function with given fields: ctx, params, optFns
type MockEc2Client_interfaces_DescribeImages_Call ¶ added in v0.0.4
MockEc2Client_interfaces_DescribeImages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeImages'
func (*MockEc2Client_interfaces_DescribeImages_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEc2Client_interfaces_DescribeImages_Call
func (*MockEc2Client_interfaces_DescribeImages_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_DescribeImages_Call
func (*MockEc2Client_interfaces_DescribeImages_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeImages_Call) RunAndReturn(run func(context.Context, *ec2.DescribeImagesInput, ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)) *MockEc2Client_interfaces_DescribeImages_Call
type MockEc2Client_interfaces_DescribeInstances_Call ¶ added in v0.0.4
MockEc2Client_interfaces_DescribeInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstances'
func (*MockEc2Client_interfaces_DescribeInstances_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEc2Client_interfaces_DescribeInstances_Call
func (*MockEc2Client_interfaces_DescribeInstances_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_DescribeInstances_Call
func (*MockEc2Client_interfaces_DescribeInstances_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_DescribeInstances_Call) RunAndReturn(run func(context.Context, *ec2.DescribeInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)) *MockEc2Client_interfaces_DescribeInstances_Call
type MockEc2Client_interfaces_DescribeSecurityGroups_Call ¶
MockEc2Client_interfaces_DescribeSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSecurityGroups'
func (*MockEc2Client_interfaces_DescribeSecurityGroups_Call) Run ¶
func (_c *MockEc2Client_interfaces_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
func (*MockEc2Client_interfaces_DescribeSecurityGroups_Call) RunAndReturn ¶
func (_c *MockEc2Client_interfaces_DescribeSecurityGroups_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
type MockEc2Client_interfaces_DescribeSubnets_Call ¶
MockEc2Client_interfaces_DescribeSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubnets'
func (*MockEc2Client_interfaces_DescribeSubnets_Call) Return ¶
func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockEc2Client_interfaces_DescribeSubnets_Call
func (*MockEc2Client_interfaces_DescribeSubnets_Call) Run ¶
func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_DescribeSubnets_Call
func (*MockEc2Client_interfaces_DescribeSubnets_Call) RunAndReturn ¶
func (_c *MockEc2Client_interfaces_DescribeSubnets_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)) *MockEc2Client_interfaces_DescribeSubnets_Call
type MockEc2Client_interfaces_DescribeVpcs_Call ¶
MockEc2Client_interfaces_DescribeVpcs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeVpcs'
func (*MockEc2Client_interfaces_DescribeVpcs_Call) Return ¶
func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEc2Client_interfaces_DescribeVpcs_Call
func (*MockEc2Client_interfaces_DescribeVpcs_Call) Run ¶
func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_DescribeVpcs_Call
func (*MockEc2Client_interfaces_DescribeVpcs_Call) RunAndReturn ¶
func (_c *MockEc2Client_interfaces_DescribeVpcs_Call) RunAndReturn(run func(context.Context, *ec2.DescribeVpcsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)) *MockEc2Client_interfaces_DescribeVpcs_Call
type MockEc2Client_interfaces_Expecter ¶
type MockEc2Client_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEc2Client_interfaces_Expecter) DescribeImages ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeImages_Call
DescribeImages is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeImagesInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) DescribeInstances ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeInstances_Call
DescribeInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) DescribeSecurityGroups ¶
func (_e *MockEc2Client_interfaces_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeSecurityGroups_Call
DescribeSecurityGroups is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSecurityGroupsInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) DescribeSubnets ¶
func (_e *MockEc2Client_interfaces_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeSubnets_Call
DescribeSubnets is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSubnetsInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) DescribeVpcs ¶
func (_e *MockEc2Client_interfaces_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_DescribeVpcs_Call
DescribeVpcs is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeVpcsInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) RunInstances ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_RunInstances_Call
RunInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.RunInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) StartInstances ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) StartInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_StartInstances_Call
StartInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.StartInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) StopInstances ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) StopInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_StopInstances_Call
StopInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.StopInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEc2Client_interfaces_Expecter) TerminateInstances ¶ added in v0.0.4
func (_e *MockEc2Client_interfaces_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEc2Client_interfaces_TerminateInstances_Call
TerminateInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.TerminateInstancesInput
- optFns ...func(*ec2.Options)
type MockEc2Client_interfaces_RunInstances_Call ¶ added in v0.0.4
MockEc2Client_interfaces_RunInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunInstances'
func (*MockEc2Client_interfaces_RunInstances_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEc2Client_interfaces_RunInstances_Call
func (*MockEc2Client_interfaces_RunInstances_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_RunInstances_Call
func (*MockEc2Client_interfaces_RunInstances_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_RunInstances_Call) RunAndReturn(run func(context.Context, *ec2.RunInstancesInput, ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)) *MockEc2Client_interfaces_RunInstances_Call
type MockEc2Client_interfaces_StartInstances_Call ¶ added in v0.0.4
MockEc2Client_interfaces_StartInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartInstances'
func (*MockEc2Client_interfaces_StartInstances_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StartInstances_Call) Return(_a0 *ec2.StartInstancesOutput, _a1 error) *MockEc2Client_interfaces_StartInstances_Call
func (*MockEc2Client_interfaces_StartInstances_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StartInstances_Call) Run(run func(ctx context.Context, params *ec2.StartInstancesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_StartInstances_Call
func (*MockEc2Client_interfaces_StartInstances_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StartInstances_Call) RunAndReturn(run func(context.Context, *ec2.StartInstancesInput, ...func(*ec2.Options)) (*ec2.StartInstancesOutput, error)) *MockEc2Client_interfaces_StartInstances_Call
type MockEc2Client_interfaces_StopInstances_Call ¶ added in v0.0.4
MockEc2Client_interfaces_StopInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopInstances'
func (*MockEc2Client_interfaces_StopInstances_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StopInstances_Call) Return(_a0 *ec2.StopInstancesOutput, _a1 error) *MockEc2Client_interfaces_StopInstances_Call
func (*MockEc2Client_interfaces_StopInstances_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StopInstances_Call) Run(run func(ctx context.Context, params *ec2.StopInstancesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_StopInstances_Call
func (*MockEc2Client_interfaces_StopInstances_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_StopInstances_Call) RunAndReturn(run func(context.Context, *ec2.StopInstancesInput, ...func(*ec2.Options)) (*ec2.StopInstancesOutput, error)) *MockEc2Client_interfaces_StopInstances_Call
type MockEc2Client_interfaces_TerminateInstances_Call ¶ added in v0.0.4
MockEc2Client_interfaces_TerminateInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TerminateInstances'
func (*MockEc2Client_interfaces_TerminateInstances_Call) Return ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEc2Client_interfaces_TerminateInstances_Call
func (*MockEc2Client_interfaces_TerminateInstances_Call) Run ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options))) *MockEc2Client_interfaces_TerminateInstances_Call
func (*MockEc2Client_interfaces_TerminateInstances_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockEc2Client_interfaces_TerminateInstances_Call) RunAndReturn(run func(context.Context, *ec2.TerminateInstancesInput, ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)) *MockEc2Client_interfaces_TerminateInstances_Call
type MockEcsClient_interfaces ¶
MockEcsClient_interfaces is an autogenerated mock type for the EcsClient type
func NewMockEcsClient_interfaces ¶
func NewMockEcsClient_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockEcsClient_interfaces
NewMockEcsClient_interfaces creates a new instance of MockEcsClient_interfaces. 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 (*MockEcsClient_interfaces) CreateCluster ¶
func (_m *MockEcsClient_interfaces) CreateCluster(ctx context.Context, params *ecs.CreateClusterInput, optFns ...func(*ecs.Options)) (*ecs.CreateClusterOutput, error)
CreateCluster provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) CreateService ¶
func (_m *MockEcsClient_interfaces) CreateService(ctx context.Context, params *ecs.CreateServiceInput, optFns ...func(*ecs.Options)) (*ecs.CreateServiceOutput, error)
CreateService provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) CreateTaskSet ¶
func (_m *MockEcsClient_interfaces) CreateTaskSet(ctx context.Context, params *ecs.CreateTaskSetInput, optFns ...func(*ecs.Options)) (*ecs.CreateTaskSetOutput, error)
CreateTaskSet provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DeleteService ¶
func (_m *MockEcsClient_interfaces) DeleteService(ctx context.Context, params *ecs.DeleteServiceInput, optFns ...func(*ecs.Options)) (*ecs.DeleteServiceOutput, error)
DeleteService provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DeleteTaskDefinitions ¶
func (_m *MockEcsClient_interfaces) DeleteTaskDefinitions(ctx context.Context, params *ecs.DeleteTaskDefinitionsInput, optFns ...func(*ecs.Options)) (*ecs.DeleteTaskDefinitionsOutput, error)
DeleteTaskDefinitions provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DeregisterTaskDefinition ¶
func (_m *MockEcsClient_interfaces) DeregisterTaskDefinition(ctx context.Context, params *ecs.DeregisterTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.DeregisterTaskDefinitionOutput, error)
DeregisterTaskDefinition provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DescribeClusters ¶
func (_m *MockEcsClient_interfaces) DescribeClusters(ctx context.Context, params *ecs.DescribeClustersInput, optFns ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error)
DescribeClusters provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DescribeServices ¶
func (_m *MockEcsClient_interfaces) DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)
DescribeServices provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) DescribeTasks ¶
func (_m *MockEcsClient_interfaces) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)
DescribeTasks provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) EXPECT ¶
func (_m *MockEcsClient_interfaces) EXPECT() *MockEcsClient_interfaces_Expecter
func (*MockEcsClient_interfaces) ListClusters ¶
func (_m *MockEcsClient_interfaces) ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)
ListClusters provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) ListTasks ¶
func (_m *MockEcsClient_interfaces) ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)
ListTasks provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) RegisterTaskDefinition ¶
func (_m *MockEcsClient_interfaces) RegisterTaskDefinition(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.RegisterTaskDefinitionOutput, error)
RegisterTaskDefinition provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) RunTask ¶
func (_m *MockEcsClient_interfaces) RunTask(ctx context.Context, params *ecs.RunTaskInput, optFns ...func(*ecs.Options)) (*ecs.RunTaskOutput, error)
RunTask provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) StopTask ¶
func (_m *MockEcsClient_interfaces) StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)
StopTask provides a mock function with given fields: ctx, params, optFns
func (*MockEcsClient_interfaces) UpdateService ¶
func (_m *MockEcsClient_interfaces) UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)
UpdateService provides a mock function with given fields: ctx, params, optFns
type MockEcsClient_interfaces_CreateCluster_Call ¶
MockEcsClient_interfaces_CreateCluster_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCluster'
func (*MockEcsClient_interfaces_CreateCluster_Call) Return ¶
func (_c *MockEcsClient_interfaces_CreateCluster_Call) Return(_a0 *ecs.CreateClusterOutput, _a1 error) *MockEcsClient_interfaces_CreateCluster_Call
func (*MockEcsClient_interfaces_CreateCluster_Call) Run ¶
func (_c *MockEcsClient_interfaces_CreateCluster_Call) Run(run func(ctx context.Context, params *ecs.CreateClusterInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_CreateCluster_Call
func (*MockEcsClient_interfaces_CreateCluster_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_CreateCluster_Call) RunAndReturn(run func(context.Context, *ecs.CreateClusterInput, ...func(*ecs.Options)) (*ecs.CreateClusterOutput, error)) *MockEcsClient_interfaces_CreateCluster_Call
type MockEcsClient_interfaces_CreateService_Call ¶
MockEcsClient_interfaces_CreateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateService'
func (*MockEcsClient_interfaces_CreateService_Call) Return ¶
func (_c *MockEcsClient_interfaces_CreateService_Call) Return(_a0 *ecs.CreateServiceOutput, _a1 error) *MockEcsClient_interfaces_CreateService_Call
func (*MockEcsClient_interfaces_CreateService_Call) Run ¶
func (_c *MockEcsClient_interfaces_CreateService_Call) Run(run func(ctx context.Context, params *ecs.CreateServiceInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_CreateService_Call
func (*MockEcsClient_interfaces_CreateService_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_CreateService_Call) RunAndReturn(run func(context.Context, *ecs.CreateServiceInput, ...func(*ecs.Options)) (*ecs.CreateServiceOutput, error)) *MockEcsClient_interfaces_CreateService_Call
type MockEcsClient_interfaces_CreateTaskSet_Call ¶
MockEcsClient_interfaces_CreateTaskSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTaskSet'
func (*MockEcsClient_interfaces_CreateTaskSet_Call) Return ¶
func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) Return(_a0 *ecs.CreateTaskSetOutput, _a1 error) *MockEcsClient_interfaces_CreateTaskSet_Call
func (*MockEcsClient_interfaces_CreateTaskSet_Call) Run ¶
func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) Run(run func(ctx context.Context, params *ecs.CreateTaskSetInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_CreateTaskSet_Call
func (*MockEcsClient_interfaces_CreateTaskSet_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_CreateTaskSet_Call) RunAndReturn(run func(context.Context, *ecs.CreateTaskSetInput, ...func(*ecs.Options)) (*ecs.CreateTaskSetOutput, error)) *MockEcsClient_interfaces_CreateTaskSet_Call
type MockEcsClient_interfaces_DeleteService_Call ¶
MockEcsClient_interfaces_DeleteService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteService'
func (*MockEcsClient_interfaces_DeleteService_Call) Return ¶
func (_c *MockEcsClient_interfaces_DeleteService_Call) Return(_a0 *ecs.DeleteServiceOutput, _a1 error) *MockEcsClient_interfaces_DeleteService_Call
func (*MockEcsClient_interfaces_DeleteService_Call) Run ¶
func (_c *MockEcsClient_interfaces_DeleteService_Call) Run(run func(ctx context.Context, params *ecs.DeleteServiceInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DeleteService_Call
func (*MockEcsClient_interfaces_DeleteService_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DeleteService_Call) RunAndReturn(run func(context.Context, *ecs.DeleteServiceInput, ...func(*ecs.Options)) (*ecs.DeleteServiceOutput, error)) *MockEcsClient_interfaces_DeleteService_Call
type MockEcsClient_interfaces_DeleteTaskDefinitions_Call ¶
MockEcsClient_interfaces_DeleteTaskDefinitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTaskDefinitions'
func (*MockEcsClient_interfaces_DeleteTaskDefinitions_Call) Run ¶
func (_c *MockEcsClient_interfaces_DeleteTaskDefinitions_Call) Run(run func(ctx context.Context, params *ecs.DeleteTaskDefinitionsInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
func (*MockEcsClient_interfaces_DeleteTaskDefinitions_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DeleteTaskDefinitions_Call) RunAndReturn(run func(context.Context, *ecs.DeleteTaskDefinitionsInput, ...func(*ecs.Options)) (*ecs.DeleteTaskDefinitionsOutput, error)) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
type MockEcsClient_interfaces_DeregisterTaskDefinition_Call ¶
MockEcsClient_interfaces_DeregisterTaskDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeregisterTaskDefinition'
func (*MockEcsClient_interfaces_DeregisterTaskDefinition_Call) Run ¶
func (_c *MockEcsClient_interfaces_DeregisterTaskDefinition_Call) Run(run func(ctx context.Context, params *ecs.DeregisterTaskDefinitionInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
func (*MockEcsClient_interfaces_DeregisterTaskDefinition_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DeregisterTaskDefinition_Call) RunAndReturn(run func(context.Context, *ecs.DeregisterTaskDefinitionInput, ...func(*ecs.Options)) (*ecs.DeregisterTaskDefinitionOutput, error)) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
type MockEcsClient_interfaces_DescribeClusters_Call ¶
MockEcsClient_interfaces_DescribeClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeClusters'
func (*MockEcsClient_interfaces_DescribeClusters_Call) Return ¶
func (_c *MockEcsClient_interfaces_DescribeClusters_Call) Return(_a0 *ecs.DescribeClustersOutput, _a1 error) *MockEcsClient_interfaces_DescribeClusters_Call
func (*MockEcsClient_interfaces_DescribeClusters_Call) Run ¶
func (_c *MockEcsClient_interfaces_DescribeClusters_Call) Run(run func(ctx context.Context, params *ecs.DescribeClustersInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DescribeClusters_Call
func (*MockEcsClient_interfaces_DescribeClusters_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DescribeClusters_Call) RunAndReturn(run func(context.Context, *ecs.DescribeClustersInput, ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error)) *MockEcsClient_interfaces_DescribeClusters_Call
type MockEcsClient_interfaces_DescribeServices_Call ¶
MockEcsClient_interfaces_DescribeServices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeServices'
func (*MockEcsClient_interfaces_DescribeServices_Call) Return ¶
func (_c *MockEcsClient_interfaces_DescribeServices_Call) Return(_a0 *ecs.DescribeServicesOutput, _a1 error) *MockEcsClient_interfaces_DescribeServices_Call
func (*MockEcsClient_interfaces_DescribeServices_Call) Run ¶
func (_c *MockEcsClient_interfaces_DescribeServices_Call) Run(run func(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DescribeServices_Call
func (*MockEcsClient_interfaces_DescribeServices_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DescribeServices_Call) RunAndReturn(run func(context.Context, *ecs.DescribeServicesInput, ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)) *MockEcsClient_interfaces_DescribeServices_Call
type MockEcsClient_interfaces_DescribeTasks_Call ¶
MockEcsClient_interfaces_DescribeTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeTasks'
func (*MockEcsClient_interfaces_DescribeTasks_Call) Return ¶
func (_c *MockEcsClient_interfaces_DescribeTasks_Call) Return(_a0 *ecs.DescribeTasksOutput, _a1 error) *MockEcsClient_interfaces_DescribeTasks_Call
func (*MockEcsClient_interfaces_DescribeTasks_Call) Run ¶
func (_c *MockEcsClient_interfaces_DescribeTasks_Call) Run(run func(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_DescribeTasks_Call
func (*MockEcsClient_interfaces_DescribeTasks_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_DescribeTasks_Call) RunAndReturn(run func(context.Context, *ecs.DescribeTasksInput, ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)) *MockEcsClient_interfaces_DescribeTasks_Call
type MockEcsClient_interfaces_Expecter ¶
type MockEcsClient_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEcsClient_interfaces_Expecter) CreateCluster ¶
func (_e *MockEcsClient_interfaces_Expecter) CreateCluster(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateCluster_Call
CreateCluster is a helper method to define mock.On call
- ctx context.Context
- params *ecs.CreateClusterInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) CreateService ¶
func (_e *MockEcsClient_interfaces_Expecter) CreateService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateService_Call
CreateService is a helper method to define mock.On call
- ctx context.Context
- params *ecs.CreateServiceInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) CreateTaskSet ¶
func (_e *MockEcsClient_interfaces_Expecter) CreateTaskSet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_CreateTaskSet_Call
CreateTaskSet is a helper method to define mock.On call
- ctx context.Context
- params *ecs.CreateTaskSetInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DeleteService ¶
func (_e *MockEcsClient_interfaces_Expecter) DeleteService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeleteService_Call
DeleteService is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DeleteServiceInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DeleteTaskDefinitions ¶
func (_e *MockEcsClient_interfaces_Expecter) DeleteTaskDefinitions(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeleteTaskDefinitions_Call
DeleteTaskDefinitions is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DeleteTaskDefinitionsInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DeregisterTaskDefinition ¶
func (_e *MockEcsClient_interfaces_Expecter) DeregisterTaskDefinition(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DeregisterTaskDefinition_Call
DeregisterTaskDefinition is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DeregisterTaskDefinitionInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DescribeClusters ¶
func (_e *MockEcsClient_interfaces_Expecter) DescribeClusters(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeClusters_Call
DescribeClusters is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DescribeClustersInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DescribeServices ¶
func (_e *MockEcsClient_interfaces_Expecter) DescribeServices(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeServices_Call
DescribeServices is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DescribeServicesInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) DescribeTasks ¶
func (_e *MockEcsClient_interfaces_Expecter) DescribeTasks(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_DescribeTasks_Call
DescribeTasks is a helper method to define mock.On call
- ctx context.Context
- params *ecs.DescribeTasksInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) ListClusters ¶
func (_e *MockEcsClient_interfaces_Expecter) ListClusters(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_ListClusters_Call
ListClusters is a helper method to define mock.On call
- ctx context.Context
- params *ecs.ListClustersInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) ListTasks ¶
func (_e *MockEcsClient_interfaces_Expecter) ListTasks(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_ListTasks_Call
ListTasks is a helper method to define mock.On call
- ctx context.Context
- params *ecs.ListTasksInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) RegisterTaskDefinition ¶
func (_e *MockEcsClient_interfaces_Expecter) RegisterTaskDefinition(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
RegisterTaskDefinition is a helper method to define mock.On call
- ctx context.Context
- params *ecs.RegisterTaskDefinitionInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) RunTask ¶
func (_e *MockEcsClient_interfaces_Expecter) RunTask(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_RunTask_Call
RunTask is a helper method to define mock.On call
- ctx context.Context
- params *ecs.RunTaskInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) StopTask ¶
func (_e *MockEcsClient_interfaces_Expecter) StopTask(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_StopTask_Call
StopTask is a helper method to define mock.On call
- ctx context.Context
- params *ecs.StopTaskInput
- optFns ...func(*ecs.Options)
func (*MockEcsClient_interfaces_Expecter) UpdateService ¶
func (_e *MockEcsClient_interfaces_Expecter) UpdateService(ctx interface{}, params interface{}, optFns ...interface{}) *MockEcsClient_interfaces_UpdateService_Call
UpdateService is a helper method to define mock.On call
- ctx context.Context
- params *ecs.UpdateServiceInput
- optFns ...func(*ecs.Options)
type MockEcsClient_interfaces_ListClusters_Call ¶
MockEcsClient_interfaces_ListClusters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListClusters'
func (*MockEcsClient_interfaces_ListClusters_Call) Return ¶
func (_c *MockEcsClient_interfaces_ListClusters_Call) Return(_a0 *ecs.ListClustersOutput, _a1 error) *MockEcsClient_interfaces_ListClusters_Call
func (*MockEcsClient_interfaces_ListClusters_Call) Run ¶
func (_c *MockEcsClient_interfaces_ListClusters_Call) Run(run func(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_ListClusters_Call
func (*MockEcsClient_interfaces_ListClusters_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_ListClusters_Call) RunAndReturn(run func(context.Context, *ecs.ListClustersInput, ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)) *MockEcsClient_interfaces_ListClusters_Call
type MockEcsClient_interfaces_ListTasks_Call ¶
MockEcsClient_interfaces_ListTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTasks'
func (*MockEcsClient_interfaces_ListTasks_Call) Return ¶
func (_c *MockEcsClient_interfaces_ListTasks_Call) Return(_a0 *ecs.ListTasksOutput, _a1 error) *MockEcsClient_interfaces_ListTasks_Call
func (*MockEcsClient_interfaces_ListTasks_Call) Run ¶
func (_c *MockEcsClient_interfaces_ListTasks_Call) Run(run func(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_ListTasks_Call
func (*MockEcsClient_interfaces_ListTasks_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_ListTasks_Call) RunAndReturn(run func(context.Context, *ecs.ListTasksInput, ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)) *MockEcsClient_interfaces_ListTasks_Call
type MockEcsClient_interfaces_RegisterTaskDefinition_Call ¶
MockEcsClient_interfaces_RegisterTaskDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterTaskDefinition'
func (*MockEcsClient_interfaces_RegisterTaskDefinition_Call) Run ¶
func (_c *MockEcsClient_interfaces_RegisterTaskDefinition_Call) Run(run func(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
func (*MockEcsClient_interfaces_RegisterTaskDefinition_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_RegisterTaskDefinition_Call) RunAndReturn(run func(context.Context, *ecs.RegisterTaskDefinitionInput, ...func(*ecs.Options)) (*ecs.RegisterTaskDefinitionOutput, error)) *MockEcsClient_interfaces_RegisterTaskDefinition_Call
type MockEcsClient_interfaces_RunTask_Call ¶
MockEcsClient_interfaces_RunTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunTask'
func (*MockEcsClient_interfaces_RunTask_Call) Return ¶
func (_c *MockEcsClient_interfaces_RunTask_Call) Return(_a0 *ecs.RunTaskOutput, _a1 error) *MockEcsClient_interfaces_RunTask_Call
func (*MockEcsClient_interfaces_RunTask_Call) Run ¶
func (_c *MockEcsClient_interfaces_RunTask_Call) Run(run func(ctx context.Context, params *ecs.RunTaskInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_RunTask_Call
func (*MockEcsClient_interfaces_RunTask_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_RunTask_Call) RunAndReturn(run func(context.Context, *ecs.RunTaskInput, ...func(*ecs.Options)) (*ecs.RunTaskOutput, error)) *MockEcsClient_interfaces_RunTask_Call
type MockEcsClient_interfaces_StopTask_Call ¶
MockEcsClient_interfaces_StopTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopTask'
func (*MockEcsClient_interfaces_StopTask_Call) Return ¶
func (_c *MockEcsClient_interfaces_StopTask_Call) Return(_a0 *ecs.StopTaskOutput, _a1 error) *MockEcsClient_interfaces_StopTask_Call
func (*MockEcsClient_interfaces_StopTask_Call) Run ¶
func (_c *MockEcsClient_interfaces_StopTask_Call) Run(run func(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_StopTask_Call
func (*MockEcsClient_interfaces_StopTask_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_StopTask_Call) RunAndReturn(run func(context.Context, *ecs.StopTaskInput, ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)) *MockEcsClient_interfaces_StopTask_Call
type MockEcsClient_interfaces_UpdateService_Call ¶
MockEcsClient_interfaces_UpdateService_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateService'
func (*MockEcsClient_interfaces_UpdateService_Call) Return ¶
func (_c *MockEcsClient_interfaces_UpdateService_Call) Return(_a0 *ecs.UpdateServiceOutput, _a1 error) *MockEcsClient_interfaces_UpdateService_Call
func (*MockEcsClient_interfaces_UpdateService_Call) Run ¶
func (_c *MockEcsClient_interfaces_UpdateService_Call) Run(run func(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options))) *MockEcsClient_interfaces_UpdateService_Call
func (*MockEcsClient_interfaces_UpdateService_Call) RunAndReturn ¶
func (_c *MockEcsClient_interfaces_UpdateService_Call) RunAndReturn(run func(context.Context, *ecs.UpdateServiceInput, ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)) *MockEcsClient_interfaces_UpdateService_Call
type MockExecution_repository ¶
MockExecution_repository is an autogenerated mock type for the Execution type
func NewMockExecution_repository ¶
func NewMockExecution_repository(t interface { mock.TestingT Cleanup(func()) }) *MockExecution_repository
NewMockExecution_repository creates a new instance of MockExecution_repository. 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 (*MockExecution_repository) Close ¶ added in v0.0.9
func (_m *MockExecution_repository) Close()
Close provides a mock function with given fields:
func (*MockExecution_repository) CloseExecution ¶
func (_m *MockExecution_repository) CloseExecution(ctx context.Context, id workflow.ExecutionIdentifier, result workflow.Status, output workflow.SerializedExecutionResult) error
CloseExecution provides a mock function with given fields: ctx, id, result, output
func (*MockExecution_repository) CreateExecution ¶
func (_m *MockExecution_repository) CreateExecution(ctx context.Context, ex *workflow.Execution) error
CreateExecution provides a mock function with given fields: ctx, ex
func (*MockExecution_repository) EXPECT ¶
func (_m *MockExecution_repository) EXPECT() *MockExecution_repository_Expecter
func (*MockExecution_repository) GetExecution ¶
func (_m *MockExecution_repository) GetExecution(ctx context.Context, id workflow.ExecutionIdentifier) (*workflow.Execution, error)
GetExecution provides a mock function with given fields: ctx, id
type MockExecution_repository_CloseExecution_Call ¶
MockExecution_repository_CloseExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseExecution'
func (*MockExecution_repository_CloseExecution_Call) Return ¶
func (_c *MockExecution_repository_CloseExecution_Call) Return(_a0 error) *MockExecution_repository_CloseExecution_Call
func (*MockExecution_repository_CloseExecution_Call) Run ¶
func (_c *MockExecution_repository_CloseExecution_Call) Run(run func(ctx context.Context, id workflow.ExecutionIdentifier, result workflow.Status, output workflow.SerializedExecutionResult)) *MockExecution_repository_CloseExecution_Call
func (*MockExecution_repository_CloseExecution_Call) RunAndReturn ¶
func (_c *MockExecution_repository_CloseExecution_Call) RunAndReturn(run func(context.Context, workflow.ExecutionIdentifier, workflow.Status, workflow.SerializedExecutionResult) error) *MockExecution_repository_CloseExecution_Call
type MockExecution_repository_Close_Call ¶ added in v0.0.9
MockExecution_repository_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockExecution_repository_Close_Call) Return ¶ added in v0.0.9
func (_c *MockExecution_repository_Close_Call) Return() *MockExecution_repository_Close_Call
func (*MockExecution_repository_Close_Call) Run ¶ added in v0.0.9
func (_c *MockExecution_repository_Close_Call) Run(run func()) *MockExecution_repository_Close_Call
func (*MockExecution_repository_Close_Call) RunAndReturn ¶ added in v0.0.9
func (_c *MockExecution_repository_Close_Call) RunAndReturn(run func()) *MockExecution_repository_Close_Call
type MockExecution_repository_CreateExecution_Call ¶
MockExecution_repository_CreateExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExecution'
func (*MockExecution_repository_CreateExecution_Call) Return ¶
func (_c *MockExecution_repository_CreateExecution_Call) Return(_a0 error) *MockExecution_repository_CreateExecution_Call
func (*MockExecution_repository_CreateExecution_Call) Run ¶
func (_c *MockExecution_repository_CreateExecution_Call) Run(run func(ctx context.Context, ex *workflow.Execution)) *MockExecution_repository_CreateExecution_Call
func (*MockExecution_repository_CreateExecution_Call) RunAndReturn ¶
func (_c *MockExecution_repository_CreateExecution_Call) RunAndReturn(run func(context.Context, *workflow.Execution) error) *MockExecution_repository_CreateExecution_Call
type MockExecution_repository_Expecter ¶
type MockExecution_repository_Expecter struct {
// contains filtered or unexported fields
}
func (*MockExecution_repository_Expecter) Close ¶ added in v0.0.9
func (_e *MockExecution_repository_Expecter) Close() *MockExecution_repository_Close_Call
Close is a helper method to define mock.On call
func (*MockExecution_repository_Expecter) CloseExecution ¶
func (_e *MockExecution_repository_Expecter) CloseExecution(ctx interface{}, id interface{}, result interface{}, output interface{}) *MockExecution_repository_CloseExecution_Call
CloseExecution is a helper method to define mock.On call
- ctx context.Context
- id workflow.ExecutionIdentifier
- result workflow.Status
- output workflow.SerializedExecutionResult
func (*MockExecution_repository_Expecter) CreateExecution ¶
func (_e *MockExecution_repository_Expecter) CreateExecution(ctx interface{}, ex interface{}) *MockExecution_repository_CreateExecution_Call
CreateExecution is a helper method to define mock.On call
- ctx context.Context
- ex *workflow.Execution
func (*MockExecution_repository_Expecter) GetExecution ¶
func (_e *MockExecution_repository_Expecter) GetExecution(ctx interface{}, id interface{}) *MockExecution_repository_GetExecution_Call
GetExecution is a helper method to define mock.On call
- ctx context.Context
- id workflow.ExecutionIdentifier
func (*MockExecution_repository_Expecter) Init ¶
func (_e *MockExecution_repository_Expecter) Init(ctx interface{}) *MockExecution_repository_Init_Call
Init is a helper method to define mock.On call
- ctx context.Context
type MockExecution_repository_GetExecution_Call ¶
MockExecution_repository_GetExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecution'
func (*MockExecution_repository_GetExecution_Call) Return ¶
func (_c *MockExecution_repository_GetExecution_Call) Return(_a0 *workflow.Execution, _a1 error) *MockExecution_repository_GetExecution_Call
func (*MockExecution_repository_GetExecution_Call) Run ¶
func (_c *MockExecution_repository_GetExecution_Call) Run(run func(ctx context.Context, id workflow.ExecutionIdentifier)) *MockExecution_repository_GetExecution_Call
func (*MockExecution_repository_GetExecution_Call) RunAndReturn ¶
func (_c *MockExecution_repository_GetExecution_Call) RunAndReturn(run func(context.Context, workflow.ExecutionIdentifier) (*workflow.Execution, error)) *MockExecution_repository_GetExecution_Call
type MockExecution_repository_Init_Call ¶
MockExecution_repository_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*MockExecution_repository_Init_Call) Return ¶
func (_c *MockExecution_repository_Init_Call) Return(_a0 error) *MockExecution_repository_Init_Call
func (*MockExecution_repository_Init_Call) Run ¶
func (_c *MockExecution_repository_Init_Call) Run(run func(ctx context.Context)) *MockExecution_repository_Init_Call
func (*MockExecution_repository_Init_Call) RunAndReturn ¶
func (_c *MockExecution_repository_Init_Call) RunAndReturn(run func(context.Context) error) *MockExecution_repository_Init_Call
type MockIamClient_interfaces ¶
MockIamClient_interfaces is an autogenerated mock type for the IamClient type
func NewMockIamClient_interfaces ¶
func NewMockIamClient_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockIamClient_interfaces
NewMockIamClient_interfaces creates a new instance of MockIamClient_interfaces. 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 (*MockIamClient_interfaces) AttachRolePolicy ¶
func (_m *MockIamClient_interfaces) AttachRolePolicy(ctx context.Context, params *iam.AttachRolePolicyInput, optFns ...func(*iam.Options)) (*iam.AttachRolePolicyOutput, error)
AttachRolePolicy provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) CreatePolicy ¶
func (_m *MockIamClient_interfaces) CreatePolicy(ctx context.Context, params *iam.CreatePolicyInput, optFns ...func(*iam.Options)) (*iam.CreatePolicyOutput, error)
CreatePolicy provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) CreateRole ¶
func (_m *MockIamClient_interfaces) CreateRole(ctx context.Context, params *iam.CreateRoleInput, optFns ...func(*iam.Options)) (*iam.CreateRoleOutput, error)
CreateRole provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) DeletePolicy ¶
func (_m *MockIamClient_interfaces) DeletePolicy(ctx context.Context, params *iam.DeletePolicyInput, optFns ...func(*iam.Options)) (*iam.DeletePolicyOutput, error)
DeletePolicy provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) DeleteRole ¶
func (_m *MockIamClient_interfaces) DeleteRole(ctx context.Context, params *iam.DeleteRoleInput, optFns ...func(*iam.Options)) (*iam.DeleteRoleOutput, error)
DeleteRole provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) DeleteRolePolicy ¶
func (_m *MockIamClient_interfaces) DeleteRolePolicy(ctx context.Context, params *iam.DeleteRolePolicyInput, optFns ...func(*iam.Options)) (*iam.DeleteRolePolicyOutput, error)
DeleteRolePolicy provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) DetachRolePolicy ¶
func (_m *MockIamClient_interfaces) DetachRolePolicy(ctx context.Context, params *iam.DetachRolePolicyInput, optFns ...func(*iam.Options)) (*iam.DetachRolePolicyOutput, error)
DetachRolePolicy provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) EXPECT ¶
func (_m *MockIamClient_interfaces) EXPECT() *MockIamClient_interfaces_Expecter
func (*MockIamClient_interfaces) GetRole ¶
func (_m *MockIamClient_interfaces) GetRole(ctx context.Context, params *iam.GetRoleInput, optFns ...func(*iam.Options)) (*iam.GetRoleOutput, error)
GetRole provides a mock function with given fields: ctx, params, optFns
func (*MockIamClient_interfaces) ListAttachedRolePolicies ¶
func (_m *MockIamClient_interfaces) ListAttachedRolePolicies(ctx context.Context, params *iam.ListAttachedRolePoliciesInput, optFns ...func(*iam.Options)) (*iam.ListAttachedRolePoliciesOutput, error)
ListAttachedRolePolicies provides a mock function with given fields: ctx, params, optFns
type MockIamClient_interfaces_AttachRolePolicy_Call ¶
MockIamClient_interfaces_AttachRolePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachRolePolicy'
func (*MockIamClient_interfaces_AttachRolePolicy_Call) Return ¶
func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) Return(_a0 *iam.AttachRolePolicyOutput, _a1 error) *MockIamClient_interfaces_AttachRolePolicy_Call
func (*MockIamClient_interfaces_AttachRolePolicy_Call) Run ¶
func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) Run(run func(ctx context.Context, params *iam.AttachRolePolicyInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_AttachRolePolicy_Call
func (*MockIamClient_interfaces_AttachRolePolicy_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_AttachRolePolicy_Call) RunAndReturn(run func(context.Context, *iam.AttachRolePolicyInput, ...func(*iam.Options)) (*iam.AttachRolePolicyOutput, error)) *MockIamClient_interfaces_AttachRolePolicy_Call
type MockIamClient_interfaces_CreatePolicy_Call ¶
MockIamClient_interfaces_CreatePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePolicy'
func (*MockIamClient_interfaces_CreatePolicy_Call) Return ¶
func (_c *MockIamClient_interfaces_CreatePolicy_Call) Return(_a0 *iam.CreatePolicyOutput, _a1 error) *MockIamClient_interfaces_CreatePolicy_Call
func (*MockIamClient_interfaces_CreatePolicy_Call) Run ¶
func (_c *MockIamClient_interfaces_CreatePolicy_Call) Run(run func(ctx context.Context, params *iam.CreatePolicyInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_CreatePolicy_Call
func (*MockIamClient_interfaces_CreatePolicy_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_CreatePolicy_Call) RunAndReturn(run func(context.Context, *iam.CreatePolicyInput, ...func(*iam.Options)) (*iam.CreatePolicyOutput, error)) *MockIamClient_interfaces_CreatePolicy_Call
type MockIamClient_interfaces_CreateRole_Call ¶
MockIamClient_interfaces_CreateRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRole'
func (*MockIamClient_interfaces_CreateRole_Call) Return ¶
func (_c *MockIamClient_interfaces_CreateRole_Call) Return(_a0 *iam.CreateRoleOutput, _a1 error) *MockIamClient_interfaces_CreateRole_Call
func (*MockIamClient_interfaces_CreateRole_Call) Run ¶
func (_c *MockIamClient_interfaces_CreateRole_Call) Run(run func(ctx context.Context, params *iam.CreateRoleInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_CreateRole_Call
func (*MockIamClient_interfaces_CreateRole_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_CreateRole_Call) RunAndReturn(run func(context.Context, *iam.CreateRoleInput, ...func(*iam.Options)) (*iam.CreateRoleOutput, error)) *MockIamClient_interfaces_CreateRole_Call
type MockIamClient_interfaces_DeletePolicy_Call ¶
MockIamClient_interfaces_DeletePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePolicy'
func (*MockIamClient_interfaces_DeletePolicy_Call) Return ¶
func (_c *MockIamClient_interfaces_DeletePolicy_Call) Return(_a0 *iam.DeletePolicyOutput, _a1 error) *MockIamClient_interfaces_DeletePolicy_Call
func (*MockIamClient_interfaces_DeletePolicy_Call) Run ¶
func (_c *MockIamClient_interfaces_DeletePolicy_Call) Run(run func(ctx context.Context, params *iam.DeletePolicyInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_DeletePolicy_Call
func (*MockIamClient_interfaces_DeletePolicy_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_DeletePolicy_Call) RunAndReturn(run func(context.Context, *iam.DeletePolicyInput, ...func(*iam.Options)) (*iam.DeletePolicyOutput, error)) *MockIamClient_interfaces_DeletePolicy_Call
type MockIamClient_interfaces_DeleteRolePolicy_Call ¶
MockIamClient_interfaces_DeleteRolePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRolePolicy'
func (*MockIamClient_interfaces_DeleteRolePolicy_Call) Return ¶
func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) Return(_a0 *iam.DeleteRolePolicyOutput, _a1 error) *MockIamClient_interfaces_DeleteRolePolicy_Call
func (*MockIamClient_interfaces_DeleteRolePolicy_Call) Run ¶
func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) Run(run func(ctx context.Context, params *iam.DeleteRolePolicyInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_DeleteRolePolicy_Call
func (*MockIamClient_interfaces_DeleteRolePolicy_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_DeleteRolePolicy_Call) RunAndReturn(run func(context.Context, *iam.DeleteRolePolicyInput, ...func(*iam.Options)) (*iam.DeleteRolePolicyOutput, error)) *MockIamClient_interfaces_DeleteRolePolicy_Call
type MockIamClient_interfaces_DeleteRole_Call ¶
MockIamClient_interfaces_DeleteRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRole'
func (*MockIamClient_interfaces_DeleteRole_Call) Return ¶
func (_c *MockIamClient_interfaces_DeleteRole_Call) Return(_a0 *iam.DeleteRoleOutput, _a1 error) *MockIamClient_interfaces_DeleteRole_Call
func (*MockIamClient_interfaces_DeleteRole_Call) Run ¶
func (_c *MockIamClient_interfaces_DeleteRole_Call) Run(run func(ctx context.Context, params *iam.DeleteRoleInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_DeleteRole_Call
func (*MockIamClient_interfaces_DeleteRole_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_DeleteRole_Call) RunAndReturn(run func(context.Context, *iam.DeleteRoleInput, ...func(*iam.Options)) (*iam.DeleteRoleOutput, error)) *MockIamClient_interfaces_DeleteRole_Call
type MockIamClient_interfaces_DetachRolePolicy_Call ¶
MockIamClient_interfaces_DetachRolePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetachRolePolicy'
func (*MockIamClient_interfaces_DetachRolePolicy_Call) Return ¶
func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) Return(_a0 *iam.DetachRolePolicyOutput, _a1 error) *MockIamClient_interfaces_DetachRolePolicy_Call
func (*MockIamClient_interfaces_DetachRolePolicy_Call) Run ¶
func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) Run(run func(ctx context.Context, params *iam.DetachRolePolicyInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_DetachRolePolicy_Call
func (*MockIamClient_interfaces_DetachRolePolicy_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_DetachRolePolicy_Call) RunAndReturn(run func(context.Context, *iam.DetachRolePolicyInput, ...func(*iam.Options)) (*iam.DetachRolePolicyOutput, error)) *MockIamClient_interfaces_DetachRolePolicy_Call
type MockIamClient_interfaces_Expecter ¶
type MockIamClient_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockIamClient_interfaces_Expecter) AttachRolePolicy ¶
func (_e *MockIamClient_interfaces_Expecter) AttachRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_AttachRolePolicy_Call
AttachRolePolicy is a helper method to define mock.On call
- ctx context.Context
- params *iam.AttachRolePolicyInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) CreatePolicy ¶
func (_e *MockIamClient_interfaces_Expecter) CreatePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_CreatePolicy_Call
CreatePolicy is a helper method to define mock.On call
- ctx context.Context
- params *iam.CreatePolicyInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) CreateRole ¶
func (_e *MockIamClient_interfaces_Expecter) CreateRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_CreateRole_Call
CreateRole is a helper method to define mock.On call
- ctx context.Context
- params *iam.CreateRoleInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) DeletePolicy ¶
func (_e *MockIamClient_interfaces_Expecter) DeletePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeletePolicy_Call
DeletePolicy is a helper method to define mock.On call
- ctx context.Context
- params *iam.DeletePolicyInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) DeleteRole ¶
func (_e *MockIamClient_interfaces_Expecter) DeleteRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeleteRole_Call
DeleteRole is a helper method to define mock.On call
- ctx context.Context
- params *iam.DeleteRoleInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) DeleteRolePolicy ¶
func (_e *MockIamClient_interfaces_Expecter) DeleteRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DeleteRolePolicy_Call
DeleteRolePolicy is a helper method to define mock.On call
- ctx context.Context
- params *iam.DeleteRolePolicyInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) DetachRolePolicy ¶
func (_e *MockIamClient_interfaces_Expecter) DetachRolePolicy(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_DetachRolePolicy_Call
DetachRolePolicy is a helper method to define mock.On call
- ctx context.Context
- params *iam.DetachRolePolicyInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) GetRole ¶
func (_e *MockIamClient_interfaces_Expecter) GetRole(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_GetRole_Call
GetRole is a helper method to define mock.On call
- ctx context.Context
- params *iam.GetRoleInput
- optFns ...func(*iam.Options)
func (*MockIamClient_interfaces_Expecter) ListAttachedRolePolicies ¶
func (_e *MockIamClient_interfaces_Expecter) ListAttachedRolePolicies(ctx interface{}, params interface{}, optFns ...interface{}) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
ListAttachedRolePolicies is a helper method to define mock.On call
- ctx context.Context
- params *iam.ListAttachedRolePoliciesInput
- optFns ...func(*iam.Options)
type MockIamClient_interfaces_GetRole_Call ¶
MockIamClient_interfaces_GetRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRole'
func (*MockIamClient_interfaces_GetRole_Call) Return ¶
func (_c *MockIamClient_interfaces_GetRole_Call) Return(_a0 *iam.GetRoleOutput, _a1 error) *MockIamClient_interfaces_GetRole_Call
func (*MockIamClient_interfaces_GetRole_Call) Run ¶
func (_c *MockIamClient_interfaces_GetRole_Call) Run(run func(ctx context.Context, params *iam.GetRoleInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_GetRole_Call
func (*MockIamClient_interfaces_GetRole_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_GetRole_Call) RunAndReturn(run func(context.Context, *iam.GetRoleInput, ...func(*iam.Options)) (*iam.GetRoleOutput, error)) *MockIamClient_interfaces_GetRole_Call
type MockIamClient_interfaces_ListAttachedRolePolicies_Call ¶
MockIamClient_interfaces_ListAttachedRolePolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAttachedRolePolicies'
func (*MockIamClient_interfaces_ListAttachedRolePolicies_Call) Run ¶
func (_c *MockIamClient_interfaces_ListAttachedRolePolicies_Call) Run(run func(ctx context.Context, params *iam.ListAttachedRolePoliciesInput, optFns ...func(*iam.Options))) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
func (*MockIamClient_interfaces_ListAttachedRolePolicies_Call) RunAndReturn ¶
func (_c *MockIamClient_interfaces_ListAttachedRolePolicies_Call) RunAndReturn(run func(context.Context, *iam.ListAttachedRolePoliciesInput, ...func(*iam.Options)) (*iam.ListAttachedRolePoliciesOutput, error)) *MockIamClient_interfaces_ListAttachedRolePolicies_Call
type MockInvoker_texit ¶
MockInvoker_texit is an autogenerated mock type for the Invoker type
func NewMockInvoker_texit ¶
func NewMockInvoker_texit(t interface { mock.TestingT Cleanup(func()) }) *MockInvoker_texit
NewMockInvoker_texit creates a new instance of MockInvoker_texit. 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 (*MockInvoker_texit) DeprovisionNode ¶
func (_m *MockInvoker_texit) DeprovisionNode(ctx context.Context, params texit.DeprovisionNodeParams) (texit.DeprovisionNodeRes, error)
DeprovisionNode provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) DescribeNode ¶
func (_m *MockInvoker_texit) DescribeNode(ctx context.Context, params texit.DescribeNodeParams) (texit.DescribeNodeRes, error)
DescribeNode provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) DescribeProvider ¶
func (_m *MockInvoker_texit) DescribeProvider(ctx context.Context, params texit.DescribeProviderParams) (texit.DescribeProviderRes, error)
DescribeProvider provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) DescribeTailnet ¶
func (_m *MockInvoker_texit) DescribeTailnet(ctx context.Context, params texit.DescribeTailnetParams) (texit.DescribeTailnetRes, error)
DescribeTailnet provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) EXPECT ¶
func (_m *MockInvoker_texit) EXPECT() *MockInvoker_texit_Expecter
func (*MockInvoker_texit) GetExecution ¶
func (_m *MockInvoker_texit) GetExecution(ctx context.Context, params texit.GetExecutionParams) (texit.GetExecutionRes, error)
GetExecution provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) GetNodeStatus ¶
func (_m *MockInvoker_texit) GetNodeStatus(ctx context.Context, params texit.GetNodeStatusParams) (texit.GetNodeStatusRes, error)
GetNodeStatus provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) Health ¶
func (_m *MockInvoker_texit) Health(ctx context.Context) (*texit.HealthResponseContent, error)
Health provides a mock function with given fields: ctx
func (*MockInvoker_texit) ListNodes ¶
func (_m *MockInvoker_texit) ListNodes(ctx context.Context) (*texit.ListNodesResponseContent, error)
ListNodes provides a mock function with given fields: ctx
func (*MockInvoker_texit) ListNotifiers ¶ added in v0.0.10
func (_m *MockInvoker_texit) ListNotifiers(ctx context.Context) (*texit.ListNotifiersResponseContent, error)
ListNotifiers provides a mock function with given fields: ctx
func (*MockInvoker_texit) ListProviders ¶
func (_m *MockInvoker_texit) ListProviders(ctx context.Context) (*texit.ListProvidersResponseContent, error)
ListProviders provides a mock function with given fields: ctx
func (*MockInvoker_texit) ListTailnets ¶
func (_m *MockInvoker_texit) ListTailnets(ctx context.Context) (*texit.ListTailnetsResponseContent, error)
ListTailnets provides a mock function with given fields: ctx
func (*MockInvoker_texit) ProvisionNode ¶
func (_m *MockInvoker_texit) ProvisionNode(ctx context.Context, request *texit.ProvisionNodeRequestContent) (texit.ProvisionNodeRes, error)
ProvisionNode provides a mock function with given fields: ctx, request
func (*MockInvoker_texit) StartNode ¶
func (_m *MockInvoker_texit) StartNode(ctx context.Context, params texit.StartNodeParams) (texit.StartNodeRes, error)
StartNode provides a mock function with given fields: ctx, params
func (*MockInvoker_texit) StopNode ¶
func (_m *MockInvoker_texit) StopNode(ctx context.Context, params texit.StopNodeParams) (texit.StopNodeRes, error)
StopNode provides a mock function with given fields: ctx, params
type MockInvoker_texit_DeprovisionNode_Call ¶
MockInvoker_texit_DeprovisionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeprovisionNode'
func (*MockInvoker_texit_DeprovisionNode_Call) Return ¶
func (_c *MockInvoker_texit_DeprovisionNode_Call) Return(_a0 texit.DeprovisionNodeRes, _a1 error) *MockInvoker_texit_DeprovisionNode_Call
func (*MockInvoker_texit_DeprovisionNode_Call) Run ¶
func (_c *MockInvoker_texit_DeprovisionNode_Call) Run(run func(ctx context.Context, params texit.DeprovisionNodeParams)) *MockInvoker_texit_DeprovisionNode_Call
func (*MockInvoker_texit_DeprovisionNode_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_DeprovisionNode_Call) RunAndReturn(run func(context.Context, texit.DeprovisionNodeParams) (texit.DeprovisionNodeRes, error)) *MockInvoker_texit_DeprovisionNode_Call
type MockInvoker_texit_DescribeNode_Call ¶
MockInvoker_texit_DescribeNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeNode'
func (*MockInvoker_texit_DescribeNode_Call) Return ¶
func (_c *MockInvoker_texit_DescribeNode_Call) Return(_a0 texit.DescribeNodeRes, _a1 error) *MockInvoker_texit_DescribeNode_Call
func (*MockInvoker_texit_DescribeNode_Call) Run ¶
func (_c *MockInvoker_texit_DescribeNode_Call) Run(run func(ctx context.Context, params texit.DescribeNodeParams)) *MockInvoker_texit_DescribeNode_Call
func (*MockInvoker_texit_DescribeNode_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_DescribeNode_Call) RunAndReturn(run func(context.Context, texit.DescribeNodeParams) (texit.DescribeNodeRes, error)) *MockInvoker_texit_DescribeNode_Call
type MockInvoker_texit_DescribeProvider_Call ¶
MockInvoker_texit_DescribeProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeProvider'
func (*MockInvoker_texit_DescribeProvider_Call) Return ¶
func (_c *MockInvoker_texit_DescribeProvider_Call) Return(_a0 texit.DescribeProviderRes, _a1 error) *MockInvoker_texit_DescribeProvider_Call
func (*MockInvoker_texit_DescribeProvider_Call) Run ¶
func (_c *MockInvoker_texit_DescribeProvider_Call) Run(run func(ctx context.Context, params texit.DescribeProviderParams)) *MockInvoker_texit_DescribeProvider_Call
func (*MockInvoker_texit_DescribeProvider_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_DescribeProvider_Call) RunAndReturn(run func(context.Context, texit.DescribeProviderParams) (texit.DescribeProviderRes, error)) *MockInvoker_texit_DescribeProvider_Call
type MockInvoker_texit_DescribeTailnet_Call ¶
MockInvoker_texit_DescribeTailnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeTailnet'
func (*MockInvoker_texit_DescribeTailnet_Call) Return ¶
func (_c *MockInvoker_texit_DescribeTailnet_Call) Return(_a0 texit.DescribeTailnetRes, _a1 error) *MockInvoker_texit_DescribeTailnet_Call
func (*MockInvoker_texit_DescribeTailnet_Call) Run ¶
func (_c *MockInvoker_texit_DescribeTailnet_Call) Run(run func(ctx context.Context, params texit.DescribeTailnetParams)) *MockInvoker_texit_DescribeTailnet_Call
func (*MockInvoker_texit_DescribeTailnet_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_DescribeTailnet_Call) RunAndReturn(run func(context.Context, texit.DescribeTailnetParams) (texit.DescribeTailnetRes, error)) *MockInvoker_texit_DescribeTailnet_Call
type MockInvoker_texit_Expecter ¶
type MockInvoker_texit_Expecter struct {
// contains filtered or unexported fields
}
func (*MockInvoker_texit_Expecter) DeprovisionNode ¶
func (_e *MockInvoker_texit_Expecter) DeprovisionNode(ctx interface{}, params interface{}) *MockInvoker_texit_DeprovisionNode_Call
DeprovisionNode is a helper method to define mock.On call
- ctx context.Context
- params texit.DeprovisionNodeParams
func (*MockInvoker_texit_Expecter) DescribeNode ¶
func (_e *MockInvoker_texit_Expecter) DescribeNode(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeNode_Call
DescribeNode is a helper method to define mock.On call
- ctx context.Context
- params texit.DescribeNodeParams
func (*MockInvoker_texit_Expecter) DescribeProvider ¶
func (_e *MockInvoker_texit_Expecter) DescribeProvider(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeProvider_Call
DescribeProvider is a helper method to define mock.On call
- ctx context.Context
- params texit.DescribeProviderParams
func (*MockInvoker_texit_Expecter) DescribeTailnet ¶
func (_e *MockInvoker_texit_Expecter) DescribeTailnet(ctx interface{}, params interface{}) *MockInvoker_texit_DescribeTailnet_Call
DescribeTailnet is a helper method to define mock.On call
- ctx context.Context
- params texit.DescribeTailnetParams
func (*MockInvoker_texit_Expecter) GetExecution ¶
func (_e *MockInvoker_texit_Expecter) GetExecution(ctx interface{}, params interface{}) *MockInvoker_texit_GetExecution_Call
GetExecution is a helper method to define mock.On call
- ctx context.Context
- params texit.GetExecutionParams
func (*MockInvoker_texit_Expecter) GetNodeStatus ¶
func (_e *MockInvoker_texit_Expecter) GetNodeStatus(ctx interface{}, params interface{}) *MockInvoker_texit_GetNodeStatus_Call
GetNodeStatus is a helper method to define mock.On call
- ctx context.Context
- params texit.GetNodeStatusParams
func (*MockInvoker_texit_Expecter) Health ¶
func (_e *MockInvoker_texit_Expecter) Health(ctx interface{}) *MockInvoker_texit_Health_Call
Health is a helper method to define mock.On call
- ctx context.Context
func (*MockInvoker_texit_Expecter) ListNodes ¶
func (_e *MockInvoker_texit_Expecter) ListNodes(ctx interface{}) *MockInvoker_texit_ListNodes_Call
ListNodes is a helper method to define mock.On call
- ctx context.Context
func (*MockInvoker_texit_Expecter) ListNotifiers ¶ added in v0.0.10
func (_e *MockInvoker_texit_Expecter) ListNotifiers(ctx interface{}) *MockInvoker_texit_ListNotifiers_Call
ListNotifiers is a helper method to define mock.On call
- ctx context.Context
func (*MockInvoker_texit_Expecter) ListProviders ¶
func (_e *MockInvoker_texit_Expecter) ListProviders(ctx interface{}) *MockInvoker_texit_ListProviders_Call
ListProviders is a helper method to define mock.On call
- ctx context.Context
func (*MockInvoker_texit_Expecter) ListTailnets ¶
func (_e *MockInvoker_texit_Expecter) ListTailnets(ctx interface{}) *MockInvoker_texit_ListTailnets_Call
ListTailnets is a helper method to define mock.On call
- ctx context.Context
func (*MockInvoker_texit_Expecter) ProvisionNode ¶
func (_e *MockInvoker_texit_Expecter) ProvisionNode(ctx interface{}, request interface{}) *MockInvoker_texit_ProvisionNode_Call
ProvisionNode is a helper method to define mock.On call
- ctx context.Context
- request *texit.ProvisionNodeRequestContent
func (*MockInvoker_texit_Expecter) StartNode ¶
func (_e *MockInvoker_texit_Expecter) StartNode(ctx interface{}, params interface{}) *MockInvoker_texit_StartNode_Call
StartNode is a helper method to define mock.On call
- ctx context.Context
- params texit.StartNodeParams
func (*MockInvoker_texit_Expecter) StopNode ¶
func (_e *MockInvoker_texit_Expecter) StopNode(ctx interface{}, params interface{}) *MockInvoker_texit_StopNode_Call
StopNode is a helper method to define mock.On call
- ctx context.Context
- params texit.StopNodeParams
type MockInvoker_texit_GetExecution_Call ¶
MockInvoker_texit_GetExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecution'
func (*MockInvoker_texit_GetExecution_Call) Return ¶
func (_c *MockInvoker_texit_GetExecution_Call) Return(_a0 texit.GetExecutionRes, _a1 error) *MockInvoker_texit_GetExecution_Call
func (*MockInvoker_texit_GetExecution_Call) Run ¶
func (_c *MockInvoker_texit_GetExecution_Call) Run(run func(ctx context.Context, params texit.GetExecutionParams)) *MockInvoker_texit_GetExecution_Call
func (*MockInvoker_texit_GetExecution_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_GetExecution_Call) RunAndReturn(run func(context.Context, texit.GetExecutionParams) (texit.GetExecutionRes, error)) *MockInvoker_texit_GetExecution_Call
type MockInvoker_texit_GetNodeStatus_Call ¶
MockInvoker_texit_GetNodeStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNodeStatus'
func (*MockInvoker_texit_GetNodeStatus_Call) Return ¶
func (_c *MockInvoker_texit_GetNodeStatus_Call) Return(_a0 texit.GetNodeStatusRes, _a1 error) *MockInvoker_texit_GetNodeStatus_Call
func (*MockInvoker_texit_GetNodeStatus_Call) Run ¶
func (_c *MockInvoker_texit_GetNodeStatus_Call) Run(run func(ctx context.Context, params texit.GetNodeStatusParams)) *MockInvoker_texit_GetNodeStatus_Call
func (*MockInvoker_texit_GetNodeStatus_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_GetNodeStatus_Call) RunAndReturn(run func(context.Context, texit.GetNodeStatusParams) (texit.GetNodeStatusRes, error)) *MockInvoker_texit_GetNodeStatus_Call
type MockInvoker_texit_Health_Call ¶
MockInvoker_texit_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*MockInvoker_texit_Health_Call) Return ¶
func (_c *MockInvoker_texit_Health_Call) Return(_a0 *texit.HealthResponseContent, _a1 error) *MockInvoker_texit_Health_Call
func (*MockInvoker_texit_Health_Call) Run ¶
func (_c *MockInvoker_texit_Health_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_Health_Call
func (*MockInvoker_texit_Health_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_Health_Call) RunAndReturn(run func(context.Context) (*texit.HealthResponseContent, error)) *MockInvoker_texit_Health_Call
type MockInvoker_texit_ListNodes_Call ¶
MockInvoker_texit_ListNodes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNodes'
func (*MockInvoker_texit_ListNodes_Call) Return ¶
func (_c *MockInvoker_texit_ListNodes_Call) Return(_a0 *texit.ListNodesResponseContent, _a1 error) *MockInvoker_texit_ListNodes_Call
func (*MockInvoker_texit_ListNodes_Call) Run ¶
func (_c *MockInvoker_texit_ListNodes_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListNodes_Call
func (*MockInvoker_texit_ListNodes_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_ListNodes_Call) RunAndReturn(run func(context.Context) (*texit.ListNodesResponseContent, error)) *MockInvoker_texit_ListNodes_Call
type MockInvoker_texit_ListNotifiers_Call ¶ added in v0.0.10
MockInvoker_texit_ListNotifiers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNotifiers'
func (*MockInvoker_texit_ListNotifiers_Call) Return ¶ added in v0.0.10
func (_c *MockInvoker_texit_ListNotifiers_Call) Return(_a0 *texit.ListNotifiersResponseContent, _a1 error) *MockInvoker_texit_ListNotifiers_Call
func (*MockInvoker_texit_ListNotifiers_Call) Run ¶ added in v0.0.10
func (_c *MockInvoker_texit_ListNotifiers_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListNotifiers_Call
func (*MockInvoker_texit_ListNotifiers_Call) RunAndReturn ¶ added in v0.0.10
func (_c *MockInvoker_texit_ListNotifiers_Call) RunAndReturn(run func(context.Context) (*texit.ListNotifiersResponseContent, error)) *MockInvoker_texit_ListNotifiers_Call
type MockInvoker_texit_ListProviders_Call ¶
MockInvoker_texit_ListProviders_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListProviders'
func (*MockInvoker_texit_ListProviders_Call) Return ¶
func (_c *MockInvoker_texit_ListProviders_Call) Return(_a0 *texit.ListProvidersResponseContent, _a1 error) *MockInvoker_texit_ListProviders_Call
func (*MockInvoker_texit_ListProviders_Call) Run ¶
func (_c *MockInvoker_texit_ListProviders_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListProviders_Call
func (*MockInvoker_texit_ListProviders_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_ListProviders_Call) RunAndReturn(run func(context.Context) (*texit.ListProvidersResponseContent, error)) *MockInvoker_texit_ListProviders_Call
type MockInvoker_texit_ListTailnets_Call ¶
MockInvoker_texit_ListTailnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTailnets'
func (*MockInvoker_texit_ListTailnets_Call) Return ¶
func (_c *MockInvoker_texit_ListTailnets_Call) Return(_a0 *texit.ListTailnetsResponseContent, _a1 error) *MockInvoker_texit_ListTailnets_Call
func (*MockInvoker_texit_ListTailnets_Call) Run ¶
func (_c *MockInvoker_texit_ListTailnets_Call) Run(run func(ctx context.Context)) *MockInvoker_texit_ListTailnets_Call
func (*MockInvoker_texit_ListTailnets_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_ListTailnets_Call) RunAndReturn(run func(context.Context) (*texit.ListTailnetsResponseContent, error)) *MockInvoker_texit_ListTailnets_Call
type MockInvoker_texit_ProvisionNode_Call ¶
MockInvoker_texit_ProvisionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProvisionNode'
func (*MockInvoker_texit_ProvisionNode_Call) Return ¶
func (_c *MockInvoker_texit_ProvisionNode_Call) Return(_a0 texit.ProvisionNodeRes, _a1 error) *MockInvoker_texit_ProvisionNode_Call
func (*MockInvoker_texit_ProvisionNode_Call) Run ¶
func (_c *MockInvoker_texit_ProvisionNode_Call) Run(run func(ctx context.Context, request *texit.ProvisionNodeRequestContent)) *MockInvoker_texit_ProvisionNode_Call
func (*MockInvoker_texit_ProvisionNode_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_ProvisionNode_Call) RunAndReturn(run func(context.Context, *texit.ProvisionNodeRequestContent) (texit.ProvisionNodeRes, error)) *MockInvoker_texit_ProvisionNode_Call
type MockInvoker_texit_StartNode_Call ¶
MockInvoker_texit_StartNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartNode'
func (*MockInvoker_texit_StartNode_Call) Return ¶
func (_c *MockInvoker_texit_StartNode_Call) Return(_a0 texit.StartNodeRes, _a1 error) *MockInvoker_texit_StartNode_Call
func (*MockInvoker_texit_StartNode_Call) Run ¶
func (_c *MockInvoker_texit_StartNode_Call) Run(run func(ctx context.Context, params texit.StartNodeParams)) *MockInvoker_texit_StartNode_Call
func (*MockInvoker_texit_StartNode_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_StartNode_Call) RunAndReturn(run func(context.Context, texit.StartNodeParams) (texit.StartNodeRes, error)) *MockInvoker_texit_StartNode_Call
type MockInvoker_texit_StopNode_Call ¶
MockInvoker_texit_StopNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopNode'
func (*MockInvoker_texit_StopNode_Call) Return ¶
func (_c *MockInvoker_texit_StopNode_Call) Return(_a0 texit.StopNodeRes, _a1 error) *MockInvoker_texit_StopNode_Call
func (*MockInvoker_texit_StopNode_Call) Run ¶
func (_c *MockInvoker_texit_StopNode_Call) Run(run func(ctx context.Context, params texit.StopNodeParams)) *MockInvoker_texit_StopNode_Call
func (*MockInvoker_texit_StopNode_Call) RunAndReturn ¶
func (_c *MockInvoker_texit_StopNode_Call) RunAndReturn(run func(context.Context, texit.StopNodeParams) (texit.StopNodeRes, error)) *MockInvoker_texit_StopNode_Call
type MockLinodeClient_interfaces ¶ added in v0.0.5
MockLinodeClient_interfaces is an autogenerated mock type for the LinodeClient type
func NewMockLinodeClient_interfaces ¶ added in v0.0.5
func NewMockLinodeClient_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockLinodeClient_interfaces
NewMockLinodeClient_interfaces creates a new instance of MockLinodeClient_interfaces. 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 (*MockLinodeClient_interfaces) BootInstance ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) BootInstance(ctx context.Context, linodeID int, configID int) error
BootInstance provides a mock function with given fields: ctx, linodeID, configID
func (*MockLinodeClient_interfaces) CreateInstance ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
CreateInstance provides a mock function with given fields: ctx, opts
func (*MockLinodeClient_interfaces) CreateStackscript ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
CreateStackscript provides a mock function with given fields: ctx, opts
func (*MockLinodeClient_interfaces) DeleteInstance ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) DeleteInstance(ctx context.Context, linodeID int) error
DeleteInstance provides a mock function with given fields: ctx, linodeID
func (*MockLinodeClient_interfaces) DeleteStackscript ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) DeleteStackscript(ctx context.Context, scriptID int) error
DeleteStackscript provides a mock function with given fields: ctx, scriptID
func (*MockLinodeClient_interfaces) EXPECT ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) EXPECT() *MockLinodeClient_interfaces_Expecter
func (*MockLinodeClient_interfaces) GetInstance ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)
GetInstance provides a mock function with given fields: ctx, linodeID
func (*MockLinodeClient_interfaces) ListStackscripts ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
ListStackscripts provides a mock function with given fields: ctx, opts
func (*MockLinodeClient_interfaces) ShutdownInstance ¶ added in v0.0.5
func (_m *MockLinodeClient_interfaces) ShutdownInstance(ctx context.Context, id int) error
ShutdownInstance provides a mock function with given fields: ctx, id
type MockLinodeClient_interfaces_BootInstance_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_BootInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BootInstance'
func (*MockLinodeClient_interfaces_BootInstance_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_BootInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_BootInstance_Call
func (*MockLinodeClient_interfaces_BootInstance_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_BootInstance_Call) Run(run func(ctx context.Context, linodeID int, configID int)) *MockLinodeClient_interfaces_BootInstance_Call
func (*MockLinodeClient_interfaces_BootInstance_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_BootInstance_Call) RunAndReturn(run func(context.Context, int, int) error) *MockLinodeClient_interfaces_BootInstance_Call
type MockLinodeClient_interfaces_CreateInstance_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_CreateInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateInstance'
func (*MockLinodeClient_interfaces_CreateInstance_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateInstance_Call) Return(_a0 *linodego.Instance, _a1 error) *MockLinodeClient_interfaces_CreateInstance_Call
func (*MockLinodeClient_interfaces_CreateInstance_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateInstance_Call) Run(run func(ctx context.Context, opts linodego.InstanceCreateOptions)) *MockLinodeClient_interfaces_CreateInstance_Call
func (*MockLinodeClient_interfaces_CreateInstance_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateInstance_Call) RunAndReturn(run func(context.Context, linodego.InstanceCreateOptions) (*linodego.Instance, error)) *MockLinodeClient_interfaces_CreateInstance_Call
type MockLinodeClient_interfaces_CreateStackscript_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_CreateStackscript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateStackscript'
func (*MockLinodeClient_interfaces_CreateStackscript_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) Return(_a0 *linodego.Stackscript, _a1 error) *MockLinodeClient_interfaces_CreateStackscript_Call
func (*MockLinodeClient_interfaces_CreateStackscript_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) Run(run func(ctx context.Context, opts linodego.StackscriptCreateOptions)) *MockLinodeClient_interfaces_CreateStackscript_Call
func (*MockLinodeClient_interfaces_CreateStackscript_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_CreateStackscript_Call) RunAndReturn(run func(context.Context, linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)) *MockLinodeClient_interfaces_CreateStackscript_Call
type MockLinodeClient_interfaces_DeleteInstance_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_DeleteInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteInstance'
func (*MockLinodeClient_interfaces_DeleteInstance_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_DeleteInstance_Call
func (*MockLinodeClient_interfaces_DeleteInstance_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) Run(run func(ctx context.Context, linodeID int)) *MockLinodeClient_interfaces_DeleteInstance_Call
func (*MockLinodeClient_interfaces_DeleteInstance_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_DeleteInstance_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_DeleteInstance_Call
type MockLinodeClient_interfaces_DeleteStackscript_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_DeleteStackscript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteStackscript'
func (*MockLinodeClient_interfaces_DeleteStackscript_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_DeleteStackscript_Call) Run(run func(ctx context.Context, scriptID int)) *MockLinodeClient_interfaces_DeleteStackscript_Call
func (*MockLinodeClient_interfaces_DeleteStackscript_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_DeleteStackscript_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_DeleteStackscript_Call
type MockLinodeClient_interfaces_Expecter ¶ added in v0.0.5
type MockLinodeClient_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockLinodeClient_interfaces_Expecter) BootInstance ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) BootInstance(ctx interface{}, linodeID interface{}, configID interface{}) *MockLinodeClient_interfaces_BootInstance_Call
BootInstance is a helper method to define mock.On call
- ctx context.Context
- linodeID int
- configID int
func (*MockLinodeClient_interfaces_Expecter) CreateInstance ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) CreateInstance(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_CreateInstance_Call
CreateInstance is a helper method to define mock.On call
- ctx context.Context
- opts linodego.InstanceCreateOptions
func (*MockLinodeClient_interfaces_Expecter) CreateStackscript ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) CreateStackscript(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_CreateStackscript_Call
CreateStackscript is a helper method to define mock.On call
- ctx context.Context
- opts linodego.StackscriptCreateOptions
func (*MockLinodeClient_interfaces_Expecter) DeleteInstance ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) DeleteInstance(ctx interface{}, linodeID interface{}) *MockLinodeClient_interfaces_DeleteInstance_Call
DeleteInstance is a helper method to define mock.On call
- ctx context.Context
- linodeID int
func (*MockLinodeClient_interfaces_Expecter) DeleteStackscript ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) DeleteStackscript(ctx interface{}, scriptID interface{}) *MockLinodeClient_interfaces_DeleteStackscript_Call
DeleteStackscript is a helper method to define mock.On call
- ctx context.Context
- scriptID int
func (*MockLinodeClient_interfaces_Expecter) GetInstance ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) GetInstance(ctx interface{}, linodeID interface{}) *MockLinodeClient_interfaces_GetInstance_Call
GetInstance is a helper method to define mock.On call
- ctx context.Context
- linodeID int
func (*MockLinodeClient_interfaces_Expecter) ListStackscripts ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) ListStackscripts(ctx interface{}, opts interface{}) *MockLinodeClient_interfaces_ListStackscripts_Call
ListStackscripts is a helper method to define mock.On call
- ctx context.Context
- opts *linodego.ListOptions
func (*MockLinodeClient_interfaces_Expecter) ShutdownInstance ¶ added in v0.0.5
func (_e *MockLinodeClient_interfaces_Expecter) ShutdownInstance(ctx interface{}, id interface{}) *MockLinodeClient_interfaces_ShutdownInstance_Call
ShutdownInstance is a helper method to define mock.On call
- ctx context.Context
- id int
type MockLinodeClient_interfaces_GetInstance_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_GetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstance'
func (*MockLinodeClient_interfaces_GetInstance_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_GetInstance_Call) Return(_a0 *linodego.Instance, _a1 error) *MockLinodeClient_interfaces_GetInstance_Call
func (*MockLinodeClient_interfaces_GetInstance_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_GetInstance_Call) Run(run func(ctx context.Context, linodeID int)) *MockLinodeClient_interfaces_GetInstance_Call
func (*MockLinodeClient_interfaces_GetInstance_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_GetInstance_Call) RunAndReturn(run func(context.Context, int) (*linodego.Instance, error)) *MockLinodeClient_interfaces_GetInstance_Call
type MockLinodeClient_interfaces_ListStackscripts_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_ListStackscripts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListStackscripts'
func (*MockLinodeClient_interfaces_ListStackscripts_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) Return(_a0 []linodego.Stackscript, _a1 error) *MockLinodeClient_interfaces_ListStackscripts_Call
func (*MockLinodeClient_interfaces_ListStackscripts_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) Run(run func(ctx context.Context, opts *linodego.ListOptions)) *MockLinodeClient_interfaces_ListStackscripts_Call
func (*MockLinodeClient_interfaces_ListStackscripts_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ListStackscripts_Call) RunAndReturn(run func(context.Context, *linodego.ListOptions) ([]linodego.Stackscript, error)) *MockLinodeClient_interfaces_ListStackscripts_Call
type MockLinodeClient_interfaces_ShutdownInstance_Call ¶ added in v0.0.5
MockLinodeClient_interfaces_ShutdownInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShutdownInstance'
func (*MockLinodeClient_interfaces_ShutdownInstance_Call) Return ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) Return(_a0 error) *MockLinodeClient_interfaces_ShutdownInstance_Call
func (*MockLinodeClient_interfaces_ShutdownInstance_Call) Run ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) Run(run func(ctx context.Context, id int)) *MockLinodeClient_interfaces_ShutdownInstance_Call
func (*MockLinodeClient_interfaces_ShutdownInstance_Call) RunAndReturn ¶ added in v0.0.5
func (_c *MockLinodeClient_interfaces_ShutdownInstance_Call) RunAndReturn(run func(context.Context, int) error) *MockLinodeClient_interfaces_ShutdownInstance_Call
type MockNode_repository ¶
MockNode_repository is an autogenerated mock type for the Node type
func NewMockNode_repository ¶
func NewMockNode_repository(t interface { mock.TestingT Cleanup(func()) }) *MockNode_repository
NewMockNode_repository creates a new instance of MockNode_repository. 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 (*MockNode_repository) Close ¶ added in v0.0.9
func (_m *MockNode_repository) Close()
Close provides a mock function with given fields:
func (*MockNode_repository) Delete ¶
func (_m *MockNode_repository) Delete(ctx context.Context, id node.Identifier) error
Delete provides a mock function with given fields: ctx, id
func (*MockNode_repository) EXPECT ¶
func (_m *MockNode_repository) EXPECT() *MockNode_repository_Expecter
func (*MockNode_repository) Get ¶
func (_m *MockNode_repository) Get(ctx context.Context, id node.Identifier) (*node.Node, error)
Get provides a mock function with given fields: ctx, id
type MockNode_repository_Close_Call ¶ added in v0.0.9
MockNode_repository_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockNode_repository_Close_Call) Return ¶ added in v0.0.9
func (_c *MockNode_repository_Close_Call) Return() *MockNode_repository_Close_Call
func (*MockNode_repository_Close_Call) Run ¶ added in v0.0.9
func (_c *MockNode_repository_Close_Call) Run(run func()) *MockNode_repository_Close_Call
func (*MockNode_repository_Close_Call) RunAndReturn ¶ added in v0.0.9
func (_c *MockNode_repository_Close_Call) RunAndReturn(run func()) *MockNode_repository_Close_Call
type MockNode_repository_Create_Call ¶
MockNode_repository_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockNode_repository_Create_Call) Return ¶
func (_c *MockNode_repository_Create_Call) Return(_a0 error) *MockNode_repository_Create_Call
func (*MockNode_repository_Create_Call) Run ¶
func (_c *MockNode_repository_Create_Call) Run(run func(ctx context.Context, _a1 *node.Node)) *MockNode_repository_Create_Call
func (*MockNode_repository_Create_Call) RunAndReturn ¶
func (_c *MockNode_repository_Create_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockNode_repository_Create_Call
type MockNode_repository_Delete_Call ¶
MockNode_repository_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockNode_repository_Delete_Call) Return ¶
func (_c *MockNode_repository_Delete_Call) Return(_a0 error) *MockNode_repository_Delete_Call
func (*MockNode_repository_Delete_Call) Run ¶
func (_c *MockNode_repository_Delete_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_repository_Delete_Call
func (*MockNode_repository_Delete_Call) RunAndReturn ¶
func (_c *MockNode_repository_Delete_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_repository_Delete_Call
type MockNode_repository_Expecter ¶
type MockNode_repository_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNode_repository_Expecter) Close ¶ added in v0.0.9
func (_e *MockNode_repository_Expecter) Close() *MockNode_repository_Close_Call
Close is a helper method to define mock.On call
func (*MockNode_repository_Expecter) Create ¶
func (_e *MockNode_repository_Expecter) Create(ctx interface{}, _a1 interface{}) *MockNode_repository_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- _a1 *node.Node
func (*MockNode_repository_Expecter) Delete ¶
func (_e *MockNode_repository_Expecter) Delete(ctx interface{}, id interface{}) *MockNode_repository_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
func (*MockNode_repository_Expecter) Get ¶
func (_e *MockNode_repository_Expecter) Get(ctx interface{}, id interface{}) *MockNode_repository_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
func (*MockNode_repository_Expecter) Init ¶
func (_e *MockNode_repository_Expecter) Init(ctx interface{}) *MockNode_repository_Init_Call
Init is a helper method to define mock.On call
- ctx context.Context
func (*MockNode_repository_Expecter) List ¶
func (_e *MockNode_repository_Expecter) List(ctx interface{}) *MockNode_repository_List_Call
List is a helper method to define mock.On call
- ctx context.Context
type MockNode_repository_Get_Call ¶
MockNode_repository_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockNode_repository_Get_Call) Return ¶
func (_c *MockNode_repository_Get_Call) Return(_a0 *node.Node, _a1 error) *MockNode_repository_Get_Call
func (*MockNode_repository_Get_Call) Run ¶
func (_c *MockNode_repository_Get_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_repository_Get_Call
func (*MockNode_repository_Get_Call) RunAndReturn ¶
func (_c *MockNode_repository_Get_Call) RunAndReturn(run func(context.Context, node.Identifier) (*node.Node, error)) *MockNode_repository_Get_Call
type MockNode_repository_Init_Call ¶
MockNode_repository_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*MockNode_repository_Init_Call) Return ¶
func (_c *MockNode_repository_Init_Call) Return(_a0 error) *MockNode_repository_Init_Call
func (*MockNode_repository_Init_Call) Run ¶
func (_c *MockNode_repository_Init_Call) Run(run func(ctx context.Context)) *MockNode_repository_Init_Call
func (*MockNode_repository_Init_Call) RunAndReturn ¶
func (_c *MockNode_repository_Init_Call) RunAndReturn(run func(context.Context) error) *MockNode_repository_Init_Call
type MockNode_repository_List_Call ¶
MockNode_repository_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockNode_repository_List_Call) Return ¶
func (_c *MockNode_repository_List_Call) Return(_a0 []*node.Node, _a1 error) *MockNode_repository_List_Call
func (*MockNode_repository_List_Call) Run ¶
func (_c *MockNode_repository_List_Call) Run(run func(ctx context.Context)) *MockNode_repository_List_Call
func (*MockNode_repository_List_Call) RunAndReturn ¶
func (_c *MockNode_repository_List_Call) RunAndReturn(run func(context.Context) ([]*node.Node, error)) *MockNode_repository_List_Call
type MockNode_service ¶
MockNode_service is an autogenerated mock type for the Node type
func NewMockNode_service ¶
func NewMockNode_service(t interface { mock.TestingT Cleanup(func()) }) *MockNode_service
NewMockNode_service creates a new instance of MockNode_service. 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 (*MockNode_service) Describe ¶
func (_m *MockNode_service) Describe(ctx context.Context, id node.Identifier) (*node.Node, error)
Describe provides a mock function with given fields: ctx, id
func (*MockNode_service) EXPECT ¶
func (_m *MockNode_service) EXPECT() *MockNode_service_Expecter
func (*MockNode_service) Start ¶
func (_m *MockNode_service) Start(ctx context.Context, id node.Identifier) error
Start provides a mock function with given fields: ctx, id
func (*MockNode_service) Status ¶
func (_m *MockNode_service) Status(ctx context.Context, id node.Identifier) (node.Status, error)
Status provides a mock function with given fields: ctx, id
func (*MockNode_service) Stop ¶
func (_m *MockNode_service) Stop(ctx context.Context, id node.Identifier) error
Stop provides a mock function with given fields: ctx, id
type MockNode_service_Describe_Call ¶
MockNode_service_Describe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Describe'
func (*MockNode_service_Describe_Call) Return ¶
func (_c *MockNode_service_Describe_Call) Return(_a0 *node.Node, _a1 error) *MockNode_service_Describe_Call
func (*MockNode_service_Describe_Call) Run ¶
func (_c *MockNode_service_Describe_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Describe_Call
func (*MockNode_service_Describe_Call) RunAndReturn ¶
func (_c *MockNode_service_Describe_Call) RunAndReturn(run func(context.Context, node.Identifier) (*node.Node, error)) *MockNode_service_Describe_Call
type MockNode_service_Expecter ¶
type MockNode_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNode_service_Expecter) Describe ¶
func (_e *MockNode_service_Expecter) Describe(ctx interface{}, id interface{}) *MockNode_service_Describe_Call
Describe is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
func (*MockNode_service_Expecter) List ¶
func (_e *MockNode_service_Expecter) List(ctx interface{}) *MockNode_service_List_Call
List is a helper method to define mock.On call
- ctx context.Context
func (*MockNode_service_Expecter) Start ¶
func (_e *MockNode_service_Expecter) Start(ctx interface{}, id interface{}) *MockNode_service_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
func (*MockNode_service_Expecter) Status ¶
func (_e *MockNode_service_Expecter) Status(ctx interface{}, id interface{}) *MockNode_service_Status_Call
Status is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
func (*MockNode_service_Expecter) Stop ¶
func (_e *MockNode_service_Expecter) Stop(ctx interface{}, id interface{}) *MockNode_service_Stop_Call
Stop is a helper method to define mock.On call
- ctx context.Context
- id node.Identifier
type MockNode_service_List_Call ¶
MockNode_service_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockNode_service_List_Call) Return ¶
func (_c *MockNode_service_List_Call) Return(_a0 []*node.Node, _a1 error) *MockNode_service_List_Call
func (*MockNode_service_List_Call) Run ¶
func (_c *MockNode_service_List_Call) Run(run func(ctx context.Context)) *MockNode_service_List_Call
func (*MockNode_service_List_Call) RunAndReturn ¶
func (_c *MockNode_service_List_Call) RunAndReturn(run func(context.Context) ([]*node.Node, error)) *MockNode_service_List_Call
type MockNode_service_Start_Call ¶
MockNode_service_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*MockNode_service_Start_Call) Return ¶
func (_c *MockNode_service_Start_Call) Return(_a0 error) *MockNode_service_Start_Call
func (*MockNode_service_Start_Call) Run ¶
func (_c *MockNode_service_Start_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Start_Call
func (*MockNode_service_Start_Call) RunAndReturn ¶
func (_c *MockNode_service_Start_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_service_Start_Call
type MockNode_service_Status_Call ¶
MockNode_service_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*MockNode_service_Status_Call) Return ¶
func (_c *MockNode_service_Status_Call) Return(_a0 node.Status, _a1 error) *MockNode_service_Status_Call
func (*MockNode_service_Status_Call) Run ¶
func (_c *MockNode_service_Status_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Status_Call
func (*MockNode_service_Status_Call) RunAndReturn ¶
func (_c *MockNode_service_Status_Call) RunAndReturn(run func(context.Context, node.Identifier) (node.Status, error)) *MockNode_service_Status_Call
type MockNode_service_Stop_Call ¶
MockNode_service_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*MockNode_service_Stop_Call) Return ¶
func (_c *MockNode_service_Stop_Call) Return(_a0 error) *MockNode_service_Stop_Call
func (*MockNode_service_Stop_Call) Run ¶
func (_c *MockNode_service_Stop_Call) Run(run func(ctx context.Context, id node.Identifier)) *MockNode_service_Stop_Call
func (*MockNode_service_Stop_Call) RunAndReturn ¶
func (_c *MockNode_service_Stop_Call) RunAndReturn(run func(context.Context, node.Identifier) error) *MockNode_service_Stop_Call
type MockNotification_gateway ¶ added in v0.0.9
MockNotification_gateway is an autogenerated mock type for the Notification type
func NewMockNotification_gateway ¶ added in v0.0.9
func NewMockNotification_gateway(t interface { mock.TestingT Cleanup(func()) }) *MockNotification_gateway
NewMockNotification_gateway creates a new instance of MockNotification_gateway. 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 (*MockNotification_gateway) EXPECT ¶ added in v0.0.9
func (_m *MockNotification_gateway) EXPECT() *MockNotification_gateway_Expecter
func (*MockNotification_gateway) Endpoint ¶ added in v0.0.9
func (_m *MockNotification_gateway) Endpoint() notification.Endpoint
Endpoint provides a mock function with given fields:
func (*MockNotification_gateway) SendMessage ¶ added in v0.0.9
func (_m *MockNotification_gateway) SendMessage(ctx context.Context, msg string) error
SendMessage provides a mock function with given fields: ctx, msg
func (*MockNotification_gateway) Type ¶ added in v0.0.10
func (_m *MockNotification_gateway) Type() notification.TopicType
Type provides a mock function with given fields:
type MockNotification_gateway_Endpoint_Call ¶ added in v0.0.9
MockNotification_gateway_Endpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Endpoint'
func (*MockNotification_gateway_Endpoint_Call) Return ¶ added in v0.0.9
func (_c *MockNotification_gateway_Endpoint_Call) Return(_a0 notification.Endpoint) *MockNotification_gateway_Endpoint_Call
func (*MockNotification_gateway_Endpoint_Call) Run ¶ added in v0.0.9
func (_c *MockNotification_gateway_Endpoint_Call) Run(run func()) *MockNotification_gateway_Endpoint_Call
func (*MockNotification_gateway_Endpoint_Call) RunAndReturn ¶ added in v0.0.9
func (_c *MockNotification_gateway_Endpoint_Call) RunAndReturn(run func() notification.Endpoint) *MockNotification_gateway_Endpoint_Call
type MockNotification_gateway_Expecter ¶ added in v0.0.9
type MockNotification_gateway_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNotification_gateway_Expecter) Endpoint ¶ added in v0.0.9
func (_e *MockNotification_gateway_Expecter) Endpoint() *MockNotification_gateway_Endpoint_Call
Endpoint is a helper method to define mock.On call
func (*MockNotification_gateway_Expecter) SendMessage ¶ added in v0.0.9
func (_e *MockNotification_gateway_Expecter) SendMessage(ctx interface{}, msg interface{}) *MockNotification_gateway_SendMessage_Call
SendMessage is a helper method to define mock.On call
- ctx context.Context
- msg string
func (*MockNotification_gateway_Expecter) Type ¶ added in v0.0.10
func (_e *MockNotification_gateway_Expecter) Type() *MockNotification_gateway_Type_Call
Type is a helper method to define mock.On call
type MockNotification_gateway_SendMessage_Call ¶ added in v0.0.9
MockNotification_gateway_SendMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMessage'
func (*MockNotification_gateway_SendMessage_Call) Return ¶ added in v0.0.9
func (_c *MockNotification_gateway_SendMessage_Call) Return(_a0 error) *MockNotification_gateway_SendMessage_Call
func (*MockNotification_gateway_SendMessage_Call) Run ¶ added in v0.0.9
func (_c *MockNotification_gateway_SendMessage_Call) Run(run func(ctx context.Context, msg string)) *MockNotification_gateway_SendMessage_Call
func (*MockNotification_gateway_SendMessage_Call) RunAndReturn ¶ added in v0.0.9
func (_c *MockNotification_gateway_SendMessage_Call) RunAndReturn(run func(context.Context, string) error) *MockNotification_gateway_SendMessage_Call
type MockNotification_gateway_Type_Call ¶ added in v0.0.10
MockNotification_gateway_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'
func (*MockNotification_gateway_Type_Call) Return ¶ added in v0.0.10
func (_c *MockNotification_gateway_Type_Call) Return(_a0 notification.TopicType) *MockNotification_gateway_Type_Call
func (*MockNotification_gateway_Type_Call) Run ¶ added in v0.0.10
func (_c *MockNotification_gateway_Type_Call) Run(run func()) *MockNotification_gateway_Type_Call
func (*MockNotification_gateway_Type_Call) RunAndReturn ¶ added in v0.0.10
func (_c *MockNotification_gateway_Type_Call) RunAndReturn(run func() notification.TopicType) *MockNotification_gateway_Type_Call
type MockNotification_service ¶ added in v0.0.9
MockNotification_service is an autogenerated mock type for the Notification type
func NewMockNotification_service ¶ added in v0.0.9
func NewMockNotification_service(t interface { mock.TestingT Cleanup(func()) }) *MockNotification_service
NewMockNotification_service creates a new instance of MockNotification_service. 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 (*MockNotification_service) EXPECT ¶ added in v0.0.9
func (_m *MockNotification_service) EXPECT() *MockNotification_service_Expecter
func (*MockNotification_service) ListNotifiers ¶ added in v0.0.10
func (_m *MockNotification_service) ListNotifiers(ctx context.Context) []*notification.Notifier
ListNotifiers provides a mock function with given fields: ctx
func (*MockNotification_service) NotifyExecutionCompletion ¶ added in v0.0.9
func (_m *MockNotification_service) NotifyExecutionCompletion(ctx context.Context, e workflow.ExecutionIdentifier, w workflow.WorkflowName, status workflow.Status, results workflow.ExecutionResult) error
NotifyExecutionCompletion provides a mock function with given fields: ctx, e, w, status, results
type MockNotification_service_Expecter ¶ added in v0.0.9
type MockNotification_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNotification_service_Expecter) ListNotifiers ¶ added in v0.0.10
func (_e *MockNotification_service_Expecter) ListNotifiers(ctx interface{}) *MockNotification_service_ListNotifiers_Call
ListNotifiers is a helper method to define mock.On call
- ctx context.Context
func (*MockNotification_service_Expecter) NotifyExecutionCompletion ¶ added in v0.0.9
func (_e *MockNotification_service_Expecter) NotifyExecutionCompletion(ctx interface{}, e interface{}, w interface{}, status interface{}, results interface{}) *MockNotification_service_NotifyExecutionCompletion_Call
NotifyExecutionCompletion is a helper method to define mock.On call
- ctx context.Context
- e workflow.ExecutionIdentifier
- w workflow.WorkflowName
- status workflow.Status
- results workflow.ExecutionResult
type MockNotification_service_ListNotifiers_Call ¶ added in v0.0.10
MockNotification_service_ListNotifiers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListNotifiers'
func (*MockNotification_service_ListNotifiers_Call) Return ¶ added in v0.0.10
func (_c *MockNotification_service_ListNotifiers_Call) Return(_a0 []*notification.Notifier) *MockNotification_service_ListNotifiers_Call
func (*MockNotification_service_ListNotifiers_Call) Run ¶ added in v0.0.10
func (_c *MockNotification_service_ListNotifiers_Call) Run(run func(ctx context.Context)) *MockNotification_service_ListNotifiers_Call
func (*MockNotification_service_ListNotifiers_Call) RunAndReturn ¶ added in v0.0.10
func (_c *MockNotification_service_ListNotifiers_Call) RunAndReturn(run func(context.Context) []*notification.Notifier) *MockNotification_service_ListNotifiers_Call
type MockNotification_service_NotifyExecutionCompletion_Call ¶ added in v0.0.9
MockNotification_service_NotifyExecutionCompletion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NotifyExecutionCompletion'
func (*MockNotification_service_NotifyExecutionCompletion_Call) Run ¶ added in v0.0.9
func (_c *MockNotification_service_NotifyExecutionCompletion_Call) Run(run func(ctx context.Context, e workflow.ExecutionIdentifier, w workflow.WorkflowName, status workflow.Status, results workflow.ExecutionResult)) *MockNotification_service_NotifyExecutionCompletion_Call
func (*MockNotification_service_NotifyExecutionCompletion_Call) RunAndReturn ¶ added in v0.0.9
type MockPlatform_gateway ¶
MockPlatform_gateway is an autogenerated mock type for the Platform type
func NewMockPlatform_gateway ¶
func NewMockPlatform_gateway(t interface { mock.TestingT Cleanup(func()) }) *MockPlatform_gateway
NewMockPlatform_gateway creates a new instance of MockPlatform_gateway. 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 (*MockPlatform_gateway) CreateNode ¶
func (_m *MockPlatform_gateway) CreateNode(_a0 context.Context, _a1 node.Identifier, _a2 tailnet.DeviceName, _a3 provider.Location, _a4 tailnet.ControlServer, _a5 tailnet.PreauthKey, _a6 node.Size) (node.PlatformIdentifier, error)
CreateNode provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5, _a6
func (*MockPlatform_gateway) DeleteNode ¶
DeleteNode provides a mock function with given fields: _a0, _a1
func (*MockPlatform_gateway) EXPECT ¶
func (_m *MockPlatform_gateway) EXPECT() *MockPlatform_gateway_Expecter
func (*MockPlatform_gateway) GetStatus ¶
GetStatus provides a mock function with given fields: _a0, _a1
type MockPlatform_gateway_CreateNode_Call ¶
MockPlatform_gateway_CreateNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateNode'
func (*MockPlatform_gateway_CreateNode_Call) Return ¶
func (_c *MockPlatform_gateway_CreateNode_Call) Return(_a0 node.PlatformIdentifier, _a1 error) *MockPlatform_gateway_CreateNode_Call
func (*MockPlatform_gateway_CreateNode_Call) Run ¶
func (_c *MockPlatform_gateway_CreateNode_Call) Run(run func(_a0 context.Context, _a1 node.Identifier, _a2 tailnet.DeviceName, _a3 provider.Location, _a4 tailnet.ControlServer, _a5 tailnet.PreauthKey, _a6 node.Size)) *MockPlatform_gateway_CreateNode_Call
func (*MockPlatform_gateway_CreateNode_Call) RunAndReturn ¶
func (_c *MockPlatform_gateway_CreateNode_Call) RunAndReturn(run func(context.Context, node.Identifier, tailnet.DeviceName, provider.Location, tailnet.ControlServer, tailnet.PreauthKey, node.Size) (node.PlatformIdentifier, error)) *MockPlatform_gateway_CreateNode_Call
type MockPlatform_gateway_DeleteNode_Call ¶
MockPlatform_gateway_DeleteNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteNode'
func (*MockPlatform_gateway_DeleteNode_Call) Return ¶
func (_c *MockPlatform_gateway_DeleteNode_Call) Return(_a0 error) *MockPlatform_gateway_DeleteNode_Call
func (*MockPlatform_gateway_DeleteNode_Call) Run ¶
func (_c *MockPlatform_gateway_DeleteNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_DeleteNode_Call
func (*MockPlatform_gateway_DeleteNode_Call) RunAndReturn ¶
func (_c *MockPlatform_gateway_DeleteNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_DeleteNode_Call
type MockPlatform_gateway_Expecter ¶
type MockPlatform_gateway_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPlatform_gateway_Expecter) CreateNode ¶
func (_e *MockPlatform_gateway_Expecter) CreateNode(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, _a4 interface{}, _a5 interface{}, _a6 interface{}) *MockPlatform_gateway_CreateNode_Call
CreateNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 node.Identifier
- _a2 tailnet.DeviceName
- _a3 provider.Location
- _a4 tailnet.ControlServer
- _a5 tailnet.PreauthKey
- _a6 node.Size
func (*MockPlatform_gateway_Expecter) DeleteNode ¶
func (_e *MockPlatform_gateway_Expecter) DeleteNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_DeleteNode_Call
DeleteNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 *node.Node
func (*MockPlatform_gateway_Expecter) GetStatus ¶
func (_e *MockPlatform_gateway_Expecter) GetStatus(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_GetStatus_Call
GetStatus is a helper method to define mock.On call
- _a0 context.Context
- _a1 *node.Node
func (*MockPlatform_gateway_Expecter) StartNode ¶
func (_e *MockPlatform_gateway_Expecter) StartNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_StartNode_Call
StartNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 *node.Node
func (*MockPlatform_gateway_Expecter) StopNode ¶
func (_e *MockPlatform_gateway_Expecter) StopNode(_a0 interface{}, _a1 interface{}) *MockPlatform_gateway_StopNode_Call
StopNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 *node.Node
type MockPlatform_gateway_GetStatus_Call ¶
MockPlatform_gateway_GetStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatus'
func (*MockPlatform_gateway_GetStatus_Call) Return ¶
func (_c *MockPlatform_gateway_GetStatus_Call) Return(_a0 node.Status, _a1 error) *MockPlatform_gateway_GetStatus_Call
func (*MockPlatform_gateway_GetStatus_Call) Run ¶
func (_c *MockPlatform_gateway_GetStatus_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_GetStatus_Call
func (*MockPlatform_gateway_GetStatus_Call) RunAndReturn ¶
func (_c *MockPlatform_gateway_GetStatus_Call) RunAndReturn(run func(context.Context, *node.Node) (node.Status, error)) *MockPlatform_gateway_GetStatus_Call
type MockPlatform_gateway_StartNode_Call ¶
MockPlatform_gateway_StartNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartNode'
func (*MockPlatform_gateway_StartNode_Call) Return ¶
func (_c *MockPlatform_gateway_StartNode_Call) Return(_a0 error) *MockPlatform_gateway_StartNode_Call
func (*MockPlatform_gateway_StartNode_Call) Run ¶
func (_c *MockPlatform_gateway_StartNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_StartNode_Call
func (*MockPlatform_gateway_StartNode_Call) RunAndReturn ¶
func (_c *MockPlatform_gateway_StartNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_StartNode_Call
type MockPlatform_gateway_StopNode_Call ¶
MockPlatform_gateway_StopNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopNode'
func (*MockPlatform_gateway_StopNode_Call) Return ¶
func (_c *MockPlatform_gateway_StopNode_Call) Return(_a0 error) *MockPlatform_gateway_StopNode_Call
func (*MockPlatform_gateway_StopNode_Call) Run ¶
func (_c *MockPlatform_gateway_StopNode_Call) Run(run func(_a0 context.Context, _a1 *node.Node)) *MockPlatform_gateway_StopNode_Call
func (*MockPlatform_gateway_StopNode_Call) RunAndReturn ¶
func (_c *MockPlatform_gateway_StopNode_Call) RunAndReturn(run func(context.Context, *node.Node) error) *MockPlatform_gateway_StopNode_Call
type MockProvider_service ¶
MockProvider_service is an autogenerated mock type for the Provider type
func NewMockProvider_service ¶
func NewMockProvider_service(t interface { mock.TestingT Cleanup(func()) }) *MockProvider_service
NewMockProvider_service creates a new instance of MockProvider_service. 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 (*MockProvider_service) Describe ¶
func (_m *MockProvider_service) Describe(_a0 context.Context, _a1 provider.Identifier) (*provider.Provider, error)
Describe provides a mock function with given fields: _a0, _a1
func (*MockProvider_service) EXPECT ¶
func (_m *MockProvider_service) EXPECT() *MockProvider_service_Expecter
type MockProvider_service_Describe_Call ¶
MockProvider_service_Describe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Describe'
func (*MockProvider_service_Describe_Call) Return ¶
func (_c *MockProvider_service_Describe_Call) Return(_a0 *provider.Provider, _a1 error) *MockProvider_service_Describe_Call
func (*MockProvider_service_Describe_Call) Run ¶
func (_c *MockProvider_service_Describe_Call) Run(run func(_a0 context.Context, _a1 provider.Identifier)) *MockProvider_service_Describe_Call
func (*MockProvider_service_Describe_Call) RunAndReturn ¶
func (_c *MockProvider_service_Describe_Call) RunAndReturn(run func(context.Context, provider.Identifier) (*provider.Provider, error)) *MockProvider_service_Describe_Call
type MockProvider_service_Expecter ¶
type MockProvider_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockProvider_service_Expecter) Describe ¶
func (_e *MockProvider_service_Expecter) Describe(_a0 interface{}, _a1 interface{}) *MockProvider_service_Describe_Call
Describe is a helper method to define mock.On call
- _a0 context.Context
- _a1 provider.Identifier
func (*MockProvider_service_Expecter) List ¶
func (_e *MockProvider_service_Expecter) List(_a0 interface{}) *MockProvider_service_List_Call
List is a helper method to define mock.On call
- _a0 context.Context
type MockProvider_service_List_Call ¶
MockProvider_service_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockProvider_service_List_Call) Return ¶
func (_c *MockProvider_service_List_Call) Return(_a0 []*provider.Provider, _a1 error) *MockProvider_service_List_Call
func (*MockProvider_service_List_Call) Run ¶
func (_c *MockProvider_service_List_Call) Run(run func(_a0 context.Context)) *MockProvider_service_List_Call
func (*MockProvider_service_List_Call) RunAndReturn ¶
func (_c *MockProvider_service_List_Call) RunAndReturn(run func(context.Context) ([]*provider.Provider, error)) *MockProvider_service_List_Call
type MockSqlDatabase_interfaces ¶
MockSqlDatabase_interfaces is an autogenerated mock type for the SqlDatabase type
func NewMockSqlDatabase_interfaces ¶
func NewMockSqlDatabase_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockSqlDatabase_interfaces
NewMockSqlDatabase_interfaces creates a new instance of MockSqlDatabase_interfaces. 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 (*MockSqlDatabase_interfaces) Close ¶
func (_m *MockSqlDatabase_interfaces) Close() error
Close provides a mock function with given fields:
func (*MockSqlDatabase_interfaces) EXPECT ¶
func (_m *MockSqlDatabase_interfaces) EXPECT() *MockSqlDatabase_interfaces_Expecter
func (*MockSqlDatabase_interfaces) ExecContext ¶
func (_m *MockSqlDatabase_interfaces) ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error)
ExecContext provides a mock function with given fields: ctx, query, args
func (*MockSqlDatabase_interfaces) GetContext ¶
func (_m *MockSqlDatabase_interfaces) GetContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
GetContext provides a mock function with given fields: ctx, dest, query, args
func (*MockSqlDatabase_interfaces) SelectContext ¶
func (_m *MockSqlDatabase_interfaces) SelectContext(ctx context.Context, dest interface{}, query string, args ...interface{}) error
SelectContext provides a mock function with given fields: ctx, dest, query, args
type MockSqlDatabase_interfaces_Close_Call ¶
MockSqlDatabase_interfaces_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockSqlDatabase_interfaces_Close_Call) Return ¶
func (_c *MockSqlDatabase_interfaces_Close_Call) Return(_a0 error) *MockSqlDatabase_interfaces_Close_Call
func (*MockSqlDatabase_interfaces_Close_Call) Run ¶
func (_c *MockSqlDatabase_interfaces_Close_Call) Run(run func()) *MockSqlDatabase_interfaces_Close_Call
func (*MockSqlDatabase_interfaces_Close_Call) RunAndReturn ¶
func (_c *MockSqlDatabase_interfaces_Close_Call) RunAndReturn(run func() error) *MockSqlDatabase_interfaces_Close_Call
type MockSqlDatabase_interfaces_ExecContext_Call ¶
MockSqlDatabase_interfaces_ExecContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecContext'
func (*MockSqlDatabase_interfaces_ExecContext_Call) Return ¶
func (_c *MockSqlDatabase_interfaces_ExecContext_Call) Return(_a0 sql.Result, _a1 error) *MockSqlDatabase_interfaces_ExecContext_Call
func (*MockSqlDatabase_interfaces_ExecContext_Call) Run ¶
func (_c *MockSqlDatabase_interfaces_ExecContext_Call) Run(run func(ctx context.Context, query string, args ...interface{})) *MockSqlDatabase_interfaces_ExecContext_Call
func (*MockSqlDatabase_interfaces_ExecContext_Call) RunAndReturn ¶
func (_c *MockSqlDatabase_interfaces_ExecContext_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (sql.Result, error)) *MockSqlDatabase_interfaces_ExecContext_Call
type MockSqlDatabase_interfaces_Expecter ¶
type MockSqlDatabase_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSqlDatabase_interfaces_Expecter) Close ¶
func (_e *MockSqlDatabase_interfaces_Expecter) Close() *MockSqlDatabase_interfaces_Close_Call
Close is a helper method to define mock.On call
func (*MockSqlDatabase_interfaces_Expecter) ExecContext ¶
func (_e *MockSqlDatabase_interfaces_Expecter) ExecContext(ctx interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_ExecContext_Call
ExecContext is a helper method to define mock.On call
- ctx context.Context
- query string
- args ...interface{}
func (*MockSqlDatabase_interfaces_Expecter) GetContext ¶
func (_e *MockSqlDatabase_interfaces_Expecter) GetContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_GetContext_Call
GetContext is a helper method to define mock.On call
- ctx context.Context
- dest interface{}
- query string
- args ...interface{}
func (*MockSqlDatabase_interfaces_Expecter) SelectContext ¶
func (_e *MockSqlDatabase_interfaces_Expecter) SelectContext(ctx interface{}, dest interface{}, query interface{}, args ...interface{}) *MockSqlDatabase_interfaces_SelectContext_Call
SelectContext is a helper method to define mock.On call
- ctx context.Context
- dest interface{}
- query string
- args ...interface{}
type MockSqlDatabase_interfaces_GetContext_Call ¶
MockSqlDatabase_interfaces_GetContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContext'
func (*MockSqlDatabase_interfaces_GetContext_Call) Return ¶
func (_c *MockSqlDatabase_interfaces_GetContext_Call) Return(_a0 error) *MockSqlDatabase_interfaces_GetContext_Call
func (*MockSqlDatabase_interfaces_GetContext_Call) Run ¶
func (_c *MockSqlDatabase_interfaces_GetContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *MockSqlDatabase_interfaces_GetContext_Call
func (*MockSqlDatabase_interfaces_GetContext_Call) RunAndReturn ¶
func (_c *MockSqlDatabase_interfaces_GetContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *MockSqlDatabase_interfaces_GetContext_Call
type MockSqlDatabase_interfaces_SelectContext_Call ¶
MockSqlDatabase_interfaces_SelectContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectContext'
func (*MockSqlDatabase_interfaces_SelectContext_Call) Return ¶
func (_c *MockSqlDatabase_interfaces_SelectContext_Call) Return(_a0 error) *MockSqlDatabase_interfaces_SelectContext_Call
func (*MockSqlDatabase_interfaces_SelectContext_Call) Run ¶
func (_c *MockSqlDatabase_interfaces_SelectContext_Call) Run(run func(ctx context.Context, dest interface{}, query string, args ...interface{})) *MockSqlDatabase_interfaces_SelectContext_Call
func (*MockSqlDatabase_interfaces_SelectContext_Call) RunAndReturn ¶
func (_c *MockSqlDatabase_interfaces_SelectContext_Call) RunAndReturn(run func(context.Context, interface{}, string, ...interface{}) error) *MockSqlDatabase_interfaces_SelectContext_Call
type MockSsmClient_interfaces ¶
MockSsmClient_interfaces is an autogenerated mock type for the SsmClient type
func NewMockSsmClient_interfaces ¶
func NewMockSsmClient_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockSsmClient_interfaces
NewMockSsmClient_interfaces creates a new instance of MockSsmClient_interfaces. 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 (*MockSsmClient_interfaces) DeleteParameter ¶
func (_m *MockSsmClient_interfaces) DeleteParameter(ctx context.Context, params *ssm.DeleteParameterInput, optFns ...func(*ssm.Options)) (*ssm.DeleteParameterOutput, error)
DeleteParameter provides a mock function with given fields: ctx, params, optFns
func (*MockSsmClient_interfaces) DescribeParameters ¶
func (_m *MockSsmClient_interfaces) DescribeParameters(ctx context.Context, params *ssm.DescribeParametersInput, optFns ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)
DescribeParameters provides a mock function with given fields: ctx, params, optFns
func (*MockSsmClient_interfaces) EXPECT ¶
func (_m *MockSsmClient_interfaces) EXPECT() *MockSsmClient_interfaces_Expecter
func (*MockSsmClient_interfaces) GetParameter ¶
func (_m *MockSsmClient_interfaces) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
GetParameter provides a mock function with given fields: ctx, params, optFns
func (*MockSsmClient_interfaces) PutParameter ¶
func (_m *MockSsmClient_interfaces) PutParameter(ctx context.Context, params *ssm.PutParameterInput, optFns ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)
PutParameter provides a mock function with given fields: ctx, params, optFns
type MockSsmClient_interfaces_DeleteParameter_Call ¶
MockSsmClient_interfaces_DeleteParameter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteParameter'
func (*MockSsmClient_interfaces_DeleteParameter_Call) Return ¶
func (_c *MockSsmClient_interfaces_DeleteParameter_Call) Return(_a0 *ssm.DeleteParameterOutput, _a1 error) *MockSsmClient_interfaces_DeleteParameter_Call
func (*MockSsmClient_interfaces_DeleteParameter_Call) Run ¶
func (_c *MockSsmClient_interfaces_DeleteParameter_Call) Run(run func(ctx context.Context, params *ssm.DeleteParameterInput, optFns ...func(*ssm.Options))) *MockSsmClient_interfaces_DeleteParameter_Call
func (*MockSsmClient_interfaces_DeleteParameter_Call) RunAndReturn ¶
func (_c *MockSsmClient_interfaces_DeleteParameter_Call) RunAndReturn(run func(context.Context, *ssm.DeleteParameterInput, ...func(*ssm.Options)) (*ssm.DeleteParameterOutput, error)) *MockSsmClient_interfaces_DeleteParameter_Call
type MockSsmClient_interfaces_DescribeParameters_Call ¶
MockSsmClient_interfaces_DescribeParameters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeParameters'
func (*MockSsmClient_interfaces_DescribeParameters_Call) Return ¶
func (_c *MockSsmClient_interfaces_DescribeParameters_Call) Return(_a0 *ssm.DescribeParametersOutput, _a1 error) *MockSsmClient_interfaces_DescribeParameters_Call
func (*MockSsmClient_interfaces_DescribeParameters_Call) Run ¶
func (_c *MockSsmClient_interfaces_DescribeParameters_Call) Run(run func(ctx context.Context, params *ssm.DescribeParametersInput, optFns ...func(*ssm.Options))) *MockSsmClient_interfaces_DescribeParameters_Call
func (*MockSsmClient_interfaces_DescribeParameters_Call) RunAndReturn ¶
func (_c *MockSsmClient_interfaces_DescribeParameters_Call) RunAndReturn(run func(context.Context, *ssm.DescribeParametersInput, ...func(*ssm.Options)) (*ssm.DescribeParametersOutput, error)) *MockSsmClient_interfaces_DescribeParameters_Call
type MockSsmClient_interfaces_Expecter ¶
type MockSsmClient_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSsmClient_interfaces_Expecter) DeleteParameter ¶
func (_e *MockSsmClient_interfaces_Expecter) DeleteParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_DeleteParameter_Call
DeleteParameter is a helper method to define mock.On call
- ctx context.Context
- params *ssm.DeleteParameterInput
- optFns ...func(*ssm.Options)
func (*MockSsmClient_interfaces_Expecter) DescribeParameters ¶
func (_e *MockSsmClient_interfaces_Expecter) DescribeParameters(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_DescribeParameters_Call
DescribeParameters is a helper method to define mock.On call
- ctx context.Context
- params *ssm.DescribeParametersInput
- optFns ...func(*ssm.Options)
func (*MockSsmClient_interfaces_Expecter) GetParameter ¶
func (_e *MockSsmClient_interfaces_Expecter) GetParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_GetParameter_Call
GetParameter is a helper method to define mock.On call
- ctx context.Context
- params *ssm.GetParameterInput
- optFns ...func(*ssm.Options)
func (*MockSsmClient_interfaces_Expecter) PutParameter ¶
func (_e *MockSsmClient_interfaces_Expecter) PutParameter(ctx interface{}, params interface{}, optFns ...interface{}) *MockSsmClient_interfaces_PutParameter_Call
PutParameter is a helper method to define mock.On call
- ctx context.Context
- params *ssm.PutParameterInput
- optFns ...func(*ssm.Options)
type MockSsmClient_interfaces_GetParameter_Call ¶
MockSsmClient_interfaces_GetParameter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetParameter'
func (*MockSsmClient_interfaces_GetParameter_Call) Return ¶
func (_c *MockSsmClient_interfaces_GetParameter_Call) Return(_a0 *ssm.GetParameterOutput, _a1 error) *MockSsmClient_interfaces_GetParameter_Call
func (*MockSsmClient_interfaces_GetParameter_Call) Run ¶
func (_c *MockSsmClient_interfaces_GetParameter_Call) Run(run func(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options))) *MockSsmClient_interfaces_GetParameter_Call
func (*MockSsmClient_interfaces_GetParameter_Call) RunAndReturn ¶
func (_c *MockSsmClient_interfaces_GetParameter_Call) RunAndReturn(run func(context.Context, *ssm.GetParameterInput, ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)) *MockSsmClient_interfaces_GetParameter_Call
type MockSsmClient_interfaces_PutParameter_Call ¶
MockSsmClient_interfaces_PutParameter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutParameter'
func (*MockSsmClient_interfaces_PutParameter_Call) Return ¶
func (_c *MockSsmClient_interfaces_PutParameter_Call) Return(_a0 *ssm.PutParameterOutput, _a1 error) *MockSsmClient_interfaces_PutParameter_Call
func (*MockSsmClient_interfaces_PutParameter_Call) Run ¶
func (_c *MockSsmClient_interfaces_PutParameter_Call) Run(run func(ctx context.Context, params *ssm.PutParameterInput, optFns ...func(*ssm.Options))) *MockSsmClient_interfaces_PutParameter_Call
func (*MockSsmClient_interfaces_PutParameter_Call) RunAndReturn ¶
func (_c *MockSsmClient_interfaces_PutParameter_Call) RunAndReturn(run func(context.Context, *ssm.PutParameterInput, ...func(*ssm.Options)) (*ssm.PutParameterOutput, error)) *MockSsmClient_interfaces_PutParameter_Call
type MockTailnet_gateway ¶
MockTailnet_gateway is an autogenerated mock type for the Tailnet type
func NewMockTailnet_gateway ¶
func NewMockTailnet_gateway(t interface { mock.TestingT Cleanup(func()) }) *MockTailnet_gateway
NewMockTailnet_gateway creates a new instance of MockTailnet_gateway. 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 (*MockTailnet_gateway) CreatePreauthKey ¶
func (_m *MockTailnet_gateway) CreatePreauthKey(_a0 context.Context, _a1 bool) (tailnet.PreauthKey, error)
CreatePreauthKey provides a mock function with given fields: _a0, _a1
func (*MockTailnet_gateway) DeleteDevice ¶
func (_m *MockTailnet_gateway) DeleteDevice(_a0 context.Context, _a1 tailnet.DeviceIdentifier) error
DeleteDevice provides a mock function with given fields: _a0, _a1
func (*MockTailnet_gateway) DeletePreauthKey ¶
func (_m *MockTailnet_gateway) DeletePreauthKey(_a0 context.Context, _a1 tailnet.PreauthKey) error
DeletePreauthKey provides a mock function with given fields: _a0, _a1
func (*MockTailnet_gateway) EXPECT ¶
func (_m *MockTailnet_gateway) EXPECT() *MockTailnet_gateway_Expecter
func (*MockTailnet_gateway) EnableExitNode ¶
func (_m *MockTailnet_gateway) EnableExitNode(_a0 context.Context, _a1 tailnet.DeviceIdentifier) error
EnableExitNode provides a mock function with given fields: _a0, _a1
func (*MockTailnet_gateway) GetDeviceId ¶
func (_m *MockTailnet_gateway) GetDeviceId(_a0 context.Context, _a1 tailnet.DeviceName) (tailnet.DeviceIdentifier, error)
GetDeviceId provides a mock function with given fields: _a0, _a1
type MockTailnet_gateway_CreatePreauthKey_Call ¶
MockTailnet_gateway_CreatePreauthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreatePreauthKey'
func (*MockTailnet_gateway_CreatePreauthKey_Call) Return ¶
func (_c *MockTailnet_gateway_CreatePreauthKey_Call) Return(_a0 tailnet.PreauthKey, _a1 error) *MockTailnet_gateway_CreatePreauthKey_Call
func (*MockTailnet_gateway_CreatePreauthKey_Call) Run ¶
func (_c *MockTailnet_gateway_CreatePreauthKey_Call) Run(run func(_a0 context.Context, _a1 bool)) *MockTailnet_gateway_CreatePreauthKey_Call
func (*MockTailnet_gateway_CreatePreauthKey_Call) RunAndReturn ¶
func (_c *MockTailnet_gateway_CreatePreauthKey_Call) RunAndReturn(run func(context.Context, bool) (tailnet.PreauthKey, error)) *MockTailnet_gateway_CreatePreauthKey_Call
type MockTailnet_gateway_DeleteDevice_Call ¶
MockTailnet_gateway_DeleteDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDevice'
func (*MockTailnet_gateway_DeleteDevice_Call) Return ¶
func (_c *MockTailnet_gateway_DeleteDevice_Call) Return(_a0 error) *MockTailnet_gateway_DeleteDevice_Call
func (*MockTailnet_gateway_DeleteDevice_Call) Run ¶
func (_c *MockTailnet_gateway_DeleteDevice_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceIdentifier)) *MockTailnet_gateway_DeleteDevice_Call
func (*MockTailnet_gateway_DeleteDevice_Call) RunAndReturn ¶
func (_c *MockTailnet_gateway_DeleteDevice_Call) RunAndReturn(run func(context.Context, tailnet.DeviceIdentifier) error) *MockTailnet_gateway_DeleteDevice_Call
type MockTailnet_gateway_DeletePreauthKey_Call ¶
MockTailnet_gateway_DeletePreauthKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeletePreauthKey'
func (*MockTailnet_gateway_DeletePreauthKey_Call) Return ¶
func (_c *MockTailnet_gateway_DeletePreauthKey_Call) Return(_a0 error) *MockTailnet_gateway_DeletePreauthKey_Call
func (*MockTailnet_gateway_DeletePreauthKey_Call) Run ¶
func (_c *MockTailnet_gateway_DeletePreauthKey_Call) Run(run func(_a0 context.Context, _a1 tailnet.PreauthKey)) *MockTailnet_gateway_DeletePreauthKey_Call
func (*MockTailnet_gateway_DeletePreauthKey_Call) RunAndReturn ¶
func (_c *MockTailnet_gateway_DeletePreauthKey_Call) RunAndReturn(run func(context.Context, tailnet.PreauthKey) error) *MockTailnet_gateway_DeletePreauthKey_Call
type MockTailnet_gateway_EnableExitNode_Call ¶
MockTailnet_gateway_EnableExitNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnableExitNode'
func (*MockTailnet_gateway_EnableExitNode_Call) Return ¶
func (_c *MockTailnet_gateway_EnableExitNode_Call) Return(_a0 error) *MockTailnet_gateway_EnableExitNode_Call
func (*MockTailnet_gateway_EnableExitNode_Call) Run ¶
func (_c *MockTailnet_gateway_EnableExitNode_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceIdentifier)) *MockTailnet_gateway_EnableExitNode_Call
func (*MockTailnet_gateway_EnableExitNode_Call) RunAndReturn ¶
func (_c *MockTailnet_gateway_EnableExitNode_Call) RunAndReturn(run func(context.Context, tailnet.DeviceIdentifier) error) *MockTailnet_gateway_EnableExitNode_Call
type MockTailnet_gateway_Expecter ¶
type MockTailnet_gateway_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTailnet_gateway_Expecter) CreatePreauthKey ¶
func (_e *MockTailnet_gateway_Expecter) CreatePreauthKey(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_CreatePreauthKey_Call
CreatePreauthKey is a helper method to define mock.On call
- _a0 context.Context
- _a1 bool
func (*MockTailnet_gateway_Expecter) DeleteDevice ¶
func (_e *MockTailnet_gateway_Expecter) DeleteDevice(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_DeleteDevice_Call
DeleteDevice is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.DeviceIdentifier
func (*MockTailnet_gateway_Expecter) DeletePreauthKey ¶
func (_e *MockTailnet_gateway_Expecter) DeletePreauthKey(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_DeletePreauthKey_Call
DeletePreauthKey is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.PreauthKey
func (*MockTailnet_gateway_Expecter) EnableExitNode ¶
func (_e *MockTailnet_gateway_Expecter) EnableExitNode(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_EnableExitNode_Call
EnableExitNode is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.DeviceIdentifier
func (*MockTailnet_gateway_Expecter) GetDeviceId ¶
func (_e *MockTailnet_gateway_Expecter) GetDeviceId(_a0 interface{}, _a1 interface{}) *MockTailnet_gateway_GetDeviceId_Call
GetDeviceId is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.DeviceName
type MockTailnet_gateway_GetDeviceId_Call ¶
MockTailnet_gateway_GetDeviceId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeviceId'
func (*MockTailnet_gateway_GetDeviceId_Call) Return ¶
func (_c *MockTailnet_gateway_GetDeviceId_Call) Return(_a0 tailnet.DeviceIdentifier, _a1 error) *MockTailnet_gateway_GetDeviceId_Call
func (*MockTailnet_gateway_GetDeviceId_Call) Run ¶
func (_c *MockTailnet_gateway_GetDeviceId_Call) Run(run func(_a0 context.Context, _a1 tailnet.DeviceName)) *MockTailnet_gateway_GetDeviceId_Call
func (*MockTailnet_gateway_GetDeviceId_Call) RunAndReturn ¶
func (_c *MockTailnet_gateway_GetDeviceId_Call) RunAndReturn(run func(context.Context, tailnet.DeviceName) (tailnet.DeviceIdentifier, error)) *MockTailnet_gateway_GetDeviceId_Call
type MockTailnet_service ¶
MockTailnet_service is an autogenerated mock type for the Tailnet type
func NewMockTailnet_service ¶
func NewMockTailnet_service(t interface { mock.TestingT Cleanup(func()) }) *MockTailnet_service
NewMockTailnet_service creates a new instance of MockTailnet_service. 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 (*MockTailnet_service) Describe ¶
func (_m *MockTailnet_service) Describe(_a0 context.Context, _a1 tailnet.Identifier) (*tailnet.Tailnet, error)
Describe provides a mock function with given fields: _a0, _a1
func (*MockTailnet_service) EXPECT ¶
func (_m *MockTailnet_service) EXPECT() *MockTailnet_service_Expecter
type MockTailnet_service_Describe_Call ¶
MockTailnet_service_Describe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Describe'
func (*MockTailnet_service_Describe_Call) Return ¶
func (_c *MockTailnet_service_Describe_Call) Return(_a0 *tailnet.Tailnet, _a1 error) *MockTailnet_service_Describe_Call
func (*MockTailnet_service_Describe_Call) Run ¶
func (_c *MockTailnet_service_Describe_Call) Run(run func(_a0 context.Context, _a1 tailnet.Identifier)) *MockTailnet_service_Describe_Call
func (*MockTailnet_service_Describe_Call) RunAndReturn ¶
func (_c *MockTailnet_service_Describe_Call) RunAndReturn(run func(context.Context, tailnet.Identifier) (*tailnet.Tailnet, error)) *MockTailnet_service_Describe_Call
type MockTailnet_service_Expecter ¶
type MockTailnet_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTailnet_service_Expecter) Describe ¶
func (_e *MockTailnet_service_Expecter) Describe(_a0 interface{}, _a1 interface{}) *MockTailnet_service_Describe_Call
Describe is a helper method to define mock.On call
- _a0 context.Context
- _a1 tailnet.Identifier
func (*MockTailnet_service_Expecter) List ¶
func (_e *MockTailnet_service_Expecter) List(_a0 interface{}) *MockTailnet_service_List_Call
List is a helper method to define mock.On call
- _a0 context.Context
type MockTailnet_service_List_Call ¶
MockTailnet_service_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockTailnet_service_List_Call) Return ¶
func (_c *MockTailnet_service_List_Call) Return(_a0 []*tailnet.Tailnet, _a1 error) *MockTailnet_service_List_Call
func (*MockTailnet_service_List_Call) Run ¶
func (_c *MockTailnet_service_List_Call) Run(run func(_a0 context.Context)) *MockTailnet_service_List_Call
func (*MockTailnet_service_List_Call) RunAndReturn ¶
func (_c *MockTailnet_service_List_Call) RunAndReturn(run func(context.Context) ([]*tailnet.Tailnet, error)) *MockTailnet_service_List_Call
type MockTailscale_interfaces ¶
MockTailscale_interfaces is an autogenerated mock type for the Tailscale type
func NewMockTailscale_interfaces ¶
func NewMockTailscale_interfaces(t interface { mock.TestingT Cleanup(func()) }) *MockTailscale_interfaces
NewMockTailscale_interfaces creates a new instance of MockTailscale_interfaces. 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 (*MockTailscale_interfaces) CreateKey ¶
func (_m *MockTailscale_interfaces) CreateKey(ctx context.Context, caps tailscale.KeyCapabilities, opts ...tailscale.CreateKeyOption) (tailscale.Key, error)
CreateKey provides a mock function with given fields: ctx, caps, opts
func (*MockTailscale_interfaces) DeleteDevice ¶
func (_m *MockTailscale_interfaces) DeleteDevice(_a0 context.Context, _a1 string) error
DeleteDevice provides a mock function with given fields: _a0, _a1
func (*MockTailscale_interfaces) DeleteKey ¶
func (_m *MockTailscale_interfaces) DeleteKey(_a0 context.Context, _a1 string) error
DeleteKey provides a mock function with given fields: _a0, _a1
func (*MockTailscale_interfaces) EXPECT ¶
func (_m *MockTailscale_interfaces) EXPECT() *MockTailscale_interfaces_Expecter
func (*MockTailscale_interfaces) SetACL ¶
func (_m *MockTailscale_interfaces) SetACL(ctx context.Context, acl tailscale.ACL, opts ...tailscale.SetACLOption) error
SetACL provides a mock function with given fields: ctx, acl, opts
func (*MockTailscale_interfaces) SetDeviceKey ¶ added in v0.0.4
func (_m *MockTailscale_interfaces) SetDeviceKey(ctx context.Context, deviceID string, key tailscale.DeviceKey) error
SetDeviceKey provides a mock function with given fields: ctx, deviceID, key
func (*MockTailscale_interfaces) SetDeviceTags ¶
func (_m *MockTailscale_interfaces) SetDeviceTags(ctx context.Context, deviceID string, tags []string) error
SetDeviceTags provides a mock function with given fields: ctx, deviceID, tags
func (*MockTailscale_interfaces) ValidateACL ¶
ValidateACL provides a mock function with given fields: ctx, acl
type MockTailscale_interfaces_ACL_Call ¶
MockTailscale_interfaces_ACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ACL'
func (*MockTailscale_interfaces_ACL_Call) Return ¶
func (_c *MockTailscale_interfaces_ACL_Call) Return(_a0 *tailscale.ACL, _a1 error) *MockTailscale_interfaces_ACL_Call
func (*MockTailscale_interfaces_ACL_Call) Run ¶
func (_c *MockTailscale_interfaces_ACL_Call) Run(run func(ctx context.Context)) *MockTailscale_interfaces_ACL_Call
func (*MockTailscale_interfaces_ACL_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_ACL_Call) RunAndReturn(run func(context.Context) (*tailscale.ACL, error)) *MockTailscale_interfaces_ACL_Call
type MockTailscale_interfaces_CreateKey_Call ¶
MockTailscale_interfaces_CreateKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateKey'
func (*MockTailscale_interfaces_CreateKey_Call) Return ¶
func (_c *MockTailscale_interfaces_CreateKey_Call) Return(_a0 tailscale.Key, _a1 error) *MockTailscale_interfaces_CreateKey_Call
func (*MockTailscale_interfaces_CreateKey_Call) Run ¶
func (_c *MockTailscale_interfaces_CreateKey_Call) Run(run func(ctx context.Context, caps tailscale.KeyCapabilities, opts ...tailscale.CreateKeyOption)) *MockTailscale_interfaces_CreateKey_Call
func (*MockTailscale_interfaces_CreateKey_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_CreateKey_Call) RunAndReturn(run func(context.Context, tailscale.KeyCapabilities, ...tailscale.CreateKeyOption) (tailscale.Key, error)) *MockTailscale_interfaces_CreateKey_Call
type MockTailscale_interfaces_DeleteDevice_Call ¶
MockTailscale_interfaces_DeleteDevice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDevice'
func (*MockTailscale_interfaces_DeleteDevice_Call) Return ¶
func (_c *MockTailscale_interfaces_DeleteDevice_Call) Return(_a0 error) *MockTailscale_interfaces_DeleteDevice_Call
func (*MockTailscale_interfaces_DeleteDevice_Call) Run ¶
func (_c *MockTailscale_interfaces_DeleteDevice_Call) Run(run func(_a0 context.Context, _a1 string)) *MockTailscale_interfaces_DeleteDevice_Call
func (*MockTailscale_interfaces_DeleteDevice_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_DeleteDevice_Call) RunAndReturn(run func(context.Context, string) error) *MockTailscale_interfaces_DeleteDevice_Call
type MockTailscale_interfaces_DeleteKey_Call ¶
MockTailscale_interfaces_DeleteKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteKey'
func (*MockTailscale_interfaces_DeleteKey_Call) Return ¶
func (_c *MockTailscale_interfaces_DeleteKey_Call) Return(_a0 error) *MockTailscale_interfaces_DeleteKey_Call
func (*MockTailscale_interfaces_DeleteKey_Call) Run ¶
func (_c *MockTailscale_interfaces_DeleteKey_Call) Run(run func(_a0 context.Context, _a1 string)) *MockTailscale_interfaces_DeleteKey_Call
func (*MockTailscale_interfaces_DeleteKey_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_DeleteKey_Call) RunAndReturn(run func(context.Context, string) error) *MockTailscale_interfaces_DeleteKey_Call
type MockTailscale_interfaces_Devices_Call ¶
MockTailscale_interfaces_Devices_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Devices'
func (*MockTailscale_interfaces_Devices_Call) Return ¶
func (_c *MockTailscale_interfaces_Devices_Call) Return(_a0 []tailscale.Device, _a1 error) *MockTailscale_interfaces_Devices_Call
func (*MockTailscale_interfaces_Devices_Call) Run ¶
func (_c *MockTailscale_interfaces_Devices_Call) Run(run func(ctx context.Context)) *MockTailscale_interfaces_Devices_Call
func (*MockTailscale_interfaces_Devices_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_Devices_Call) RunAndReturn(run func(context.Context) ([]tailscale.Device, error)) *MockTailscale_interfaces_Devices_Call
type MockTailscale_interfaces_Expecter ¶
type MockTailscale_interfaces_Expecter struct {
// contains filtered or unexported fields
}
func (*MockTailscale_interfaces_Expecter) ACL ¶
func (_e *MockTailscale_interfaces_Expecter) ACL(ctx interface{}) *MockTailscale_interfaces_ACL_Call
ACL is a helper method to define mock.On call
- ctx context.Context
func (*MockTailscale_interfaces_Expecter) CreateKey ¶
func (_e *MockTailscale_interfaces_Expecter) CreateKey(ctx interface{}, caps interface{}, opts ...interface{}) *MockTailscale_interfaces_CreateKey_Call
CreateKey is a helper method to define mock.On call
- ctx context.Context
- caps tailscale.KeyCapabilities
- opts ...tailscale.CreateKeyOption
func (*MockTailscale_interfaces_Expecter) DeleteDevice ¶
func (_e *MockTailscale_interfaces_Expecter) DeleteDevice(_a0 interface{}, _a1 interface{}) *MockTailscale_interfaces_DeleteDevice_Call
DeleteDevice is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*MockTailscale_interfaces_Expecter) DeleteKey ¶
func (_e *MockTailscale_interfaces_Expecter) DeleteKey(_a0 interface{}, _a1 interface{}) *MockTailscale_interfaces_DeleteKey_Call
DeleteKey is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*MockTailscale_interfaces_Expecter) Devices ¶
func (_e *MockTailscale_interfaces_Expecter) Devices(ctx interface{}) *MockTailscale_interfaces_Devices_Call
Devices is a helper method to define mock.On call
- ctx context.Context
func (*MockTailscale_interfaces_Expecter) SetACL ¶
func (_e *MockTailscale_interfaces_Expecter) SetACL(ctx interface{}, acl interface{}, opts ...interface{}) *MockTailscale_interfaces_SetACL_Call
SetACL is a helper method to define mock.On call
- ctx context.Context
- acl tailscale.ACL
- opts ...tailscale.SetACLOption
func (*MockTailscale_interfaces_Expecter) SetDeviceKey ¶ added in v0.0.4
func (_e *MockTailscale_interfaces_Expecter) SetDeviceKey(ctx interface{}, deviceID interface{}, key interface{}) *MockTailscale_interfaces_SetDeviceKey_Call
SetDeviceKey is a helper method to define mock.On call
- ctx context.Context
- deviceID string
- key tailscale.DeviceKey
func (*MockTailscale_interfaces_Expecter) SetDeviceTags ¶
func (_e *MockTailscale_interfaces_Expecter) SetDeviceTags(ctx interface{}, deviceID interface{}, tags interface{}) *MockTailscale_interfaces_SetDeviceTags_Call
SetDeviceTags is a helper method to define mock.On call
- ctx context.Context
- deviceID string
- tags []string
func (*MockTailscale_interfaces_Expecter) ValidateACL ¶
func (_e *MockTailscale_interfaces_Expecter) ValidateACL(ctx interface{}, acl interface{}) *MockTailscale_interfaces_ValidateACL_Call
ValidateACL is a helper method to define mock.On call
- ctx context.Context
- acl tailscale.ACL
type MockTailscale_interfaces_SetACL_Call ¶
MockTailscale_interfaces_SetACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetACL'
func (*MockTailscale_interfaces_SetACL_Call) Return ¶
func (_c *MockTailscale_interfaces_SetACL_Call) Return(_a0 error) *MockTailscale_interfaces_SetACL_Call
func (*MockTailscale_interfaces_SetACL_Call) Run ¶
func (_c *MockTailscale_interfaces_SetACL_Call) Run(run func(ctx context.Context, acl tailscale.ACL, opts ...tailscale.SetACLOption)) *MockTailscale_interfaces_SetACL_Call
func (*MockTailscale_interfaces_SetACL_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_SetACL_Call) RunAndReturn(run func(context.Context, tailscale.ACL, ...tailscale.SetACLOption) error) *MockTailscale_interfaces_SetACL_Call
type MockTailscale_interfaces_SetDeviceKey_Call ¶ added in v0.0.4
MockTailscale_interfaces_SetDeviceKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDeviceKey'
func (*MockTailscale_interfaces_SetDeviceKey_Call) Return ¶ added in v0.0.4
func (_c *MockTailscale_interfaces_SetDeviceKey_Call) Return(_a0 error) *MockTailscale_interfaces_SetDeviceKey_Call
func (*MockTailscale_interfaces_SetDeviceKey_Call) Run ¶ added in v0.0.4
func (_c *MockTailscale_interfaces_SetDeviceKey_Call) Run(run func(ctx context.Context, deviceID string, key tailscale.DeviceKey)) *MockTailscale_interfaces_SetDeviceKey_Call
func (*MockTailscale_interfaces_SetDeviceKey_Call) RunAndReturn ¶ added in v0.0.4
func (_c *MockTailscale_interfaces_SetDeviceKey_Call) RunAndReturn(run func(context.Context, string, tailscale.DeviceKey) error) *MockTailscale_interfaces_SetDeviceKey_Call
type MockTailscale_interfaces_SetDeviceTags_Call ¶
MockTailscale_interfaces_SetDeviceTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDeviceTags'
func (*MockTailscale_interfaces_SetDeviceTags_Call) Return ¶
func (_c *MockTailscale_interfaces_SetDeviceTags_Call) Return(_a0 error) *MockTailscale_interfaces_SetDeviceTags_Call
func (*MockTailscale_interfaces_SetDeviceTags_Call) Run ¶
func (_c *MockTailscale_interfaces_SetDeviceTags_Call) Run(run func(ctx context.Context, deviceID string, tags []string)) *MockTailscale_interfaces_SetDeviceTags_Call
func (*MockTailscale_interfaces_SetDeviceTags_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_SetDeviceTags_Call) RunAndReturn(run func(context.Context, string, []string) error) *MockTailscale_interfaces_SetDeviceTags_Call
type MockTailscale_interfaces_ValidateACL_Call ¶
MockTailscale_interfaces_ValidateACL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateACL'
func (*MockTailscale_interfaces_ValidateACL_Call) Return ¶
func (_c *MockTailscale_interfaces_ValidateACL_Call) Return(_a0 error) *MockTailscale_interfaces_ValidateACL_Call
func (*MockTailscale_interfaces_ValidateACL_Call) Run ¶
func (_c *MockTailscale_interfaces_ValidateACL_Call) Run(run func(ctx context.Context, acl tailscale.ACL)) *MockTailscale_interfaces_ValidateACL_Call
func (*MockTailscale_interfaces_ValidateACL_Call) RunAndReturn ¶
func (_c *MockTailscale_interfaces_ValidateACL_Call) RunAndReturn(run func(context.Context, tailscale.ACL) error) *MockTailscale_interfaces_ValidateACL_Call
type MockWorkflow_gateway ¶ added in v0.0.6
MockWorkflow_gateway is an autogenerated mock type for the Workflow type
func NewMockWorkflow_gateway ¶ added in v0.0.6
func NewMockWorkflow_gateway(t interface { mock.TestingT Cleanup(func()) }) *MockWorkflow_gateway
NewMockWorkflow_gateway creates a new instance of MockWorkflow_gateway. 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 (*MockWorkflow_gateway) DeprovisionNode ¶ added in v0.0.6
func (_m *MockWorkflow_gateway) DeprovisionNode(ctx context.Context, input *workflow.DeprovisionNodeInput) error
DeprovisionNode provides a mock function with given fields: ctx, input
func (*MockWorkflow_gateway) EXPECT ¶ added in v0.0.6
func (_m *MockWorkflow_gateway) EXPECT() *MockWorkflow_gateway_Expecter
func (*MockWorkflow_gateway) ProvisionNode ¶ added in v0.0.6
func (_m *MockWorkflow_gateway) ProvisionNode(ctx context.Context, input *workflow.ProvisionNodeInput) error
ProvisionNode provides a mock function with given fields: ctx, input
type MockWorkflow_gateway_DeprovisionNode_Call ¶ added in v0.0.6
MockWorkflow_gateway_DeprovisionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeprovisionNode'
func (*MockWorkflow_gateway_DeprovisionNode_Call) Return ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_DeprovisionNode_Call) Return(_a0 error) *MockWorkflow_gateway_DeprovisionNode_Call
func (*MockWorkflow_gateway_DeprovisionNode_Call) Run ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_DeprovisionNode_Call) Run(run func(ctx context.Context, input *workflow.DeprovisionNodeInput)) *MockWorkflow_gateway_DeprovisionNode_Call
func (*MockWorkflow_gateway_DeprovisionNode_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_DeprovisionNode_Call) RunAndReturn(run func(context.Context, *workflow.DeprovisionNodeInput) error) *MockWorkflow_gateway_DeprovisionNode_Call
type MockWorkflow_gateway_Expecter ¶ added in v0.0.6
type MockWorkflow_gateway_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWorkflow_gateway_Expecter) DeprovisionNode ¶ added in v0.0.6
func (_e *MockWorkflow_gateway_Expecter) DeprovisionNode(ctx interface{}, input interface{}) *MockWorkflow_gateway_DeprovisionNode_Call
DeprovisionNode is a helper method to define mock.On call
- ctx context.Context
- input *workflow.DeprovisionNodeInput
func (*MockWorkflow_gateway_Expecter) ProvisionNode ¶ added in v0.0.6
func (_e *MockWorkflow_gateway_Expecter) ProvisionNode(ctx interface{}, input interface{}) *MockWorkflow_gateway_ProvisionNode_Call
ProvisionNode is a helper method to define mock.On call
- ctx context.Context
- input *workflow.ProvisionNodeInput
type MockWorkflow_gateway_ProvisionNode_Call ¶ added in v0.0.6
MockWorkflow_gateway_ProvisionNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProvisionNode'
func (*MockWorkflow_gateway_ProvisionNode_Call) Return ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_ProvisionNode_Call) Return(_a0 error) *MockWorkflow_gateway_ProvisionNode_Call
func (*MockWorkflow_gateway_ProvisionNode_Call) Run ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_ProvisionNode_Call) Run(run func(ctx context.Context, input *workflow.ProvisionNodeInput)) *MockWorkflow_gateway_ProvisionNode_Call
func (*MockWorkflow_gateway_ProvisionNode_Call) RunAndReturn ¶ added in v0.0.6
func (_c *MockWorkflow_gateway_ProvisionNode_Call) RunAndReturn(run func(context.Context, *workflow.ProvisionNodeInput) error) *MockWorkflow_gateway_ProvisionNode_Call
type MockWorkflow_service ¶
MockWorkflow_service is an autogenerated mock type for the Workflow type
func NewMockWorkflow_service ¶
func NewMockWorkflow_service(t interface { mock.TestingT Cleanup(func()) }) *MockWorkflow_service
NewMockWorkflow_service creates a new instance of MockWorkflow_service. 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 (*MockWorkflow_service) EXPECT ¶
func (_m *MockWorkflow_service) EXPECT() *MockWorkflow_service_Expecter
func (*MockWorkflow_service) GetExecution ¶
func (_m *MockWorkflow_service) GetExecution(_a0 context.Context, _a1 workflow.ExecutionIdentifier) (*workflow.Execution, error)
GetExecution provides a mock function with given fields: _a0, _a1
func (*MockWorkflow_service) LaunchDeprovisionNodeWorkflow ¶
func (_m *MockWorkflow_service) LaunchDeprovisionNodeWorkflow(_a0 context.Context, _a1 node.Identifier) (workflow.ExecutionIdentifier, error)
LaunchDeprovisionNodeWorkflow provides a mock function with given fields: _a0, _a1
func (*MockWorkflow_service) LaunchProvisionNodeWorkflow ¶
func (_m *MockWorkflow_service) LaunchProvisionNodeWorkflow(_a0 context.Context, _a1 *provider.Provider, _a2 provider.Location, _a3 *tailnet.Tailnet, _a4 node.Size, _a5 bool) (workflow.ExecutionIdentifier, error)
LaunchProvisionNodeWorkflow provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5
type MockWorkflow_service_Expecter ¶
type MockWorkflow_service_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWorkflow_service_Expecter) GetExecution ¶
func (_e *MockWorkflow_service_Expecter) GetExecution(_a0 interface{}, _a1 interface{}) *MockWorkflow_service_GetExecution_Call
GetExecution is a helper method to define mock.On call
- _a0 context.Context
- _a1 workflow.ExecutionIdentifier
func (*MockWorkflow_service_Expecter) LaunchDeprovisionNodeWorkflow ¶
func (_e *MockWorkflow_service_Expecter) LaunchDeprovisionNodeWorkflow(_a0 interface{}, _a1 interface{}) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
LaunchDeprovisionNodeWorkflow is a helper method to define mock.On call
- _a0 context.Context
- _a1 node.Identifier
func (*MockWorkflow_service_Expecter) LaunchProvisionNodeWorkflow ¶
func (_e *MockWorkflow_service_Expecter) LaunchProvisionNodeWorkflow(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 interface{}, _a4 interface{}, _a5 interface{}) *MockWorkflow_service_LaunchProvisionNodeWorkflow_Call
LaunchProvisionNodeWorkflow is a helper method to define mock.On call
- _a0 context.Context
- _a1 *provider.Provider
- _a2 provider.Location
- _a3 *tailnet.Tailnet
- _a4 node.Size
- _a5 bool
type MockWorkflow_service_GetExecution_Call ¶
MockWorkflow_service_GetExecution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExecution'
func (*MockWorkflow_service_GetExecution_Call) Return ¶
func (_c *MockWorkflow_service_GetExecution_Call) Return(_a0 *workflow.Execution, _a1 error) *MockWorkflow_service_GetExecution_Call
func (*MockWorkflow_service_GetExecution_Call) Run ¶
func (_c *MockWorkflow_service_GetExecution_Call) Run(run func(_a0 context.Context, _a1 workflow.ExecutionIdentifier)) *MockWorkflow_service_GetExecution_Call
func (*MockWorkflow_service_GetExecution_Call) RunAndReturn ¶
func (_c *MockWorkflow_service_GetExecution_Call) RunAndReturn(run func(context.Context, workflow.ExecutionIdentifier) (*workflow.Execution, error)) *MockWorkflow_service_GetExecution_Call
type MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call ¶
MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LaunchDeprovisionNodeWorkflow'
func (*MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) Run ¶
func (_c *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) Run(run func(_a0 context.Context, _a1 node.Identifier)) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
func (*MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) RunAndReturn ¶
func (_c *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call) RunAndReturn(run func(context.Context, node.Identifier) (workflow.ExecutionIdentifier, error)) *MockWorkflow_service_LaunchDeprovisionNodeWorkflow_Call
type MockWorkflow_service_LaunchProvisionNodeWorkflow_Call ¶
MockWorkflow_service_LaunchProvisionNodeWorkflow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LaunchProvisionNodeWorkflow'
func (*MockWorkflow_service_LaunchProvisionNodeWorkflow_Call) RunAndReturn ¶
Source Files ¶
- mock_Activity_service.go
- mock_AwsAccountClient_interfaces.go
- mock_ClientOption_headscale_service.go
- mock_ClientService_headscale_service.go
- mock_Ec2Client_interfaces.go
- mock_EcsClient_interfaces.go
- mock_Execution_repository.go
- mock_IamClient_interfaces.go
- mock_Invoker_texit.go
- mock_LinodeClient_interfaces.go
- mock_Node_repository.go
- mock_Node_service.go
- mock_Notification_gateway.go
- mock_Notification_service.go
- mock_Platform_gateway.go
- mock_Provider_service.go
- mock_SqlDatabase_interfaces.go
- mock_SsmClient_interfaces.go
- mock_Tailnet_gateway.go
- mock_Tailnet_service.go
- mock_Tailscale_interfaces.go
- mock_Workflow_gateway.go
- mock_Workflow_service.go