Documentation ¶
Index ¶
- type MockCustomAppIntegrationInterface
- func (_m *MockCustomAppIntegrationInterface) Create(ctx context.Context, request oauth2.CreateCustomAppIntegration) (*oauth2.CreateCustomAppIntegrationOutput, error)
- func (_m *MockCustomAppIntegrationInterface) Delete(ctx context.Context, request oauth2.DeleteCustomAppIntegrationRequest) error
- func (_m *MockCustomAppIntegrationInterface) DeleteByIntegrationId(ctx context.Context, integrationId string) error
- func (_m *MockCustomAppIntegrationInterface) EXPECT() *MockCustomAppIntegrationInterface_Expecter
- func (_m *MockCustomAppIntegrationInterface) Get(ctx context.Context, request oauth2.GetCustomAppIntegrationRequest) (*oauth2.GetCustomAppIntegrationOutput, error)
- func (_m *MockCustomAppIntegrationInterface) GetByIntegrationId(ctx context.Context, integrationId string) (*oauth2.GetCustomAppIntegrationOutput, error)
- func (_m *MockCustomAppIntegrationInterface) List(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest) listing.Iterator[oauth2.GetCustomAppIntegrationOutput]
- func (_m *MockCustomAppIntegrationInterface) ListAll(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest) ([]oauth2.GetCustomAppIntegrationOutput, error)
- func (_m *MockCustomAppIntegrationInterface) Update(ctx context.Context, request oauth2.UpdateCustomAppIntegration) error
- type MockCustomAppIntegrationInterface_Create_Call
- func (_c *MockCustomAppIntegrationInterface_Create_Call) Return(_a0 *oauth2.CreateCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_Create_Call
- func (_c *MockCustomAppIntegrationInterface_Create_Call) Run(run func(ctx context.Context, request oauth2.CreateCustomAppIntegration)) *MockCustomAppIntegrationInterface_Create_Call
- func (_c *MockCustomAppIntegrationInterface_Create_Call) RunAndReturn(...) *MockCustomAppIntegrationInterface_Create_Call
- type MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Return(_a0 error) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn(run func(context.Context, string) error) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
- type MockCustomAppIntegrationInterface_Delete_Call
- func (_c *MockCustomAppIntegrationInterface_Delete_Call) Return(_a0 error) *MockCustomAppIntegrationInterface_Delete_Call
- func (_c *MockCustomAppIntegrationInterface_Delete_Call) Run(...) *MockCustomAppIntegrationInterface_Delete_Call
- func (_c *MockCustomAppIntegrationInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeleteCustomAppIntegrationRequest) error) *MockCustomAppIntegrationInterface_Delete_Call
- type MockCustomAppIntegrationInterface_Expecter
- func (_e *MockCustomAppIntegrationInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Create_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Delete_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) DeleteByIntegrationId(ctx interface{}, integrationId interface{}) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Get_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) GetByIntegrationId(ctx interface{}, integrationId interface{}) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) List(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_List_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_ListAll_Call
- func (_e *MockCustomAppIntegrationInterface_Expecter) Update(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Update_Call
- type MockCustomAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_GetByIntegrationId_Call) Return(_a0 *oauth2.GetCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_GetByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockCustomAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn(...) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
- type MockCustomAppIntegrationInterface_Get_Call
- func (_c *MockCustomAppIntegrationInterface_Get_Call) Return(_a0 *oauth2.GetCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_Get_Call
- func (_c *MockCustomAppIntegrationInterface_Get_Call) Run(run func(ctx context.Context, request oauth2.GetCustomAppIntegrationRequest)) *MockCustomAppIntegrationInterface_Get_Call
- func (_c *MockCustomAppIntegrationInterface_Get_Call) RunAndReturn(...) *MockCustomAppIntegrationInterface_Get_Call
- type MockCustomAppIntegrationInterface_ListAll_Call
- func (_c *MockCustomAppIntegrationInterface_ListAll_Call) Return(_a0 []oauth2.GetCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_ListAll_Call
- func (_c *MockCustomAppIntegrationInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest)) *MockCustomAppIntegrationInterface_ListAll_Call
- func (_c *MockCustomAppIntegrationInterface_ListAll_Call) RunAndReturn(...) *MockCustomAppIntegrationInterface_ListAll_Call
- type MockCustomAppIntegrationInterface_List_Call
- func (_c *MockCustomAppIntegrationInterface_List_Call) Return(_a0 listing.Iterator[oauth2.GetCustomAppIntegrationOutput]) *MockCustomAppIntegrationInterface_List_Call
- func (_c *MockCustomAppIntegrationInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest)) *MockCustomAppIntegrationInterface_List_Call
- func (_c *MockCustomAppIntegrationInterface_List_Call) RunAndReturn(...) *MockCustomAppIntegrationInterface_List_Call
- type MockCustomAppIntegrationInterface_Update_Call
- func (_c *MockCustomAppIntegrationInterface_Update_Call) Return(_a0 error) *MockCustomAppIntegrationInterface_Update_Call
- func (_c *MockCustomAppIntegrationInterface_Update_Call) Run(run func(ctx context.Context, request oauth2.UpdateCustomAppIntegration)) *MockCustomAppIntegrationInterface_Update_Call
- func (_c *MockCustomAppIntegrationInterface_Update_Call) RunAndReturn(run func(context.Context, oauth2.UpdateCustomAppIntegration) error) *MockCustomAppIntegrationInterface_Update_Call
- type MockOAuthPublishedAppsInterface
- func (_m *MockOAuthPublishedAppsInterface) EXPECT() *MockOAuthPublishedAppsInterface_Expecter
- func (_m *MockOAuthPublishedAppsInterface) List(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest) listing.Iterator[oauth2.PublishedAppOutput]
- func (_m *MockOAuthPublishedAppsInterface) ListAll(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest) ([]oauth2.PublishedAppOutput, error)
- type MockOAuthPublishedAppsInterface_Expecter
- type MockOAuthPublishedAppsInterface_ListAll_Call
- func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) Return(_a0 []oauth2.PublishedAppOutput, _a1 error) *MockOAuthPublishedAppsInterface_ListAll_Call
- func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest)) *MockOAuthPublishedAppsInterface_ListAll_Call
- func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) RunAndReturn(...) *MockOAuthPublishedAppsInterface_ListAll_Call
- type MockOAuthPublishedAppsInterface_List_Call
- func (_c *MockOAuthPublishedAppsInterface_List_Call) Return(_a0 listing.Iterator[oauth2.PublishedAppOutput]) *MockOAuthPublishedAppsInterface_List_Call
- func (_c *MockOAuthPublishedAppsInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest)) *MockOAuthPublishedAppsInterface_List_Call
- func (_c *MockOAuthPublishedAppsInterface_List_Call) RunAndReturn(...) *MockOAuthPublishedAppsInterface_List_Call
- type MockPublishedAppIntegrationInterface
- func (_m *MockPublishedAppIntegrationInterface) Create(ctx context.Context, request oauth2.CreatePublishedAppIntegration) (*oauth2.CreatePublishedAppIntegrationOutput, error)
- func (_m *MockPublishedAppIntegrationInterface) Delete(ctx context.Context, request oauth2.DeletePublishedAppIntegrationRequest) error
- func (_m *MockPublishedAppIntegrationInterface) DeleteByIntegrationId(ctx context.Context, integrationId string) error
- func (_m *MockPublishedAppIntegrationInterface) EXPECT() *MockPublishedAppIntegrationInterface_Expecter
- func (_m *MockPublishedAppIntegrationInterface) Get(ctx context.Context, request oauth2.GetPublishedAppIntegrationRequest) (*oauth2.GetPublishedAppIntegrationOutput, error)
- func (_m *MockPublishedAppIntegrationInterface) GetByIntegrationId(ctx context.Context, integrationId string) (*oauth2.GetPublishedAppIntegrationOutput, error)
- func (_m *MockPublishedAppIntegrationInterface) List(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest) listing.Iterator[oauth2.GetPublishedAppIntegrationOutput]
- func (_m *MockPublishedAppIntegrationInterface) ListAll(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest) ([]oauth2.GetPublishedAppIntegrationOutput, error)
- func (_m *MockPublishedAppIntegrationInterface) Update(ctx context.Context, request oauth2.UpdatePublishedAppIntegration) error
- type MockPublishedAppIntegrationInterface_Create_Call
- func (_c *MockPublishedAppIntegrationInterface_Create_Call) Return(_a0 *oauth2.CreatePublishedAppIntegrationOutput, _a1 error) *MockPublishedAppIntegrationInterface_Create_Call
- func (_c *MockPublishedAppIntegrationInterface_Create_Call) Run(run func(ctx context.Context, request oauth2.CreatePublishedAppIntegration)) *MockPublishedAppIntegrationInterface_Create_Call
- func (_c *MockPublishedAppIntegrationInterface_Create_Call) RunAndReturn(...) *MockPublishedAppIntegrationInterface_Create_Call
- type MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Return(_a0 error) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn(run func(context.Context, string) error) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
- type MockPublishedAppIntegrationInterface_Delete_Call
- func (_c *MockPublishedAppIntegrationInterface_Delete_Call) Return(_a0 error) *MockPublishedAppIntegrationInterface_Delete_Call
- func (_c *MockPublishedAppIntegrationInterface_Delete_Call) Run(...) *MockPublishedAppIntegrationInterface_Delete_Call
- func (_c *MockPublishedAppIntegrationInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeletePublishedAppIntegrationRequest) error) *MockPublishedAppIntegrationInterface_Delete_Call
- type MockPublishedAppIntegrationInterface_Expecter
- func (_e *MockPublishedAppIntegrationInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Create_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Delete_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) DeleteByIntegrationId(ctx interface{}, integrationId interface{}) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Get_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) GetByIntegrationId(ctx interface{}, integrationId interface{}) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) List(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_List_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_ListAll_Call
- func (_e *MockPublishedAppIntegrationInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Update_Call
- type MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) Return(_a0 *oauth2.GetPublishedAppIntegrationOutput, _a1 error) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
- func (_c *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn(...) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
- type MockPublishedAppIntegrationInterface_Get_Call
- func (_c *MockPublishedAppIntegrationInterface_Get_Call) Return(_a0 *oauth2.GetPublishedAppIntegrationOutput, _a1 error) *MockPublishedAppIntegrationInterface_Get_Call
- func (_c *MockPublishedAppIntegrationInterface_Get_Call) Run(...) *MockPublishedAppIntegrationInterface_Get_Call
- func (_c *MockPublishedAppIntegrationInterface_Get_Call) RunAndReturn(...) *MockPublishedAppIntegrationInterface_Get_Call
- type MockPublishedAppIntegrationInterface_ListAll_Call
- func (_c *MockPublishedAppIntegrationInterface_ListAll_Call) Return(_a0 []oauth2.GetPublishedAppIntegrationOutput, _a1 error) *MockPublishedAppIntegrationInterface_ListAll_Call
- func (_c *MockPublishedAppIntegrationInterface_ListAll_Call) Run(...) *MockPublishedAppIntegrationInterface_ListAll_Call
- func (_c *MockPublishedAppIntegrationInterface_ListAll_Call) RunAndReturn(...) *MockPublishedAppIntegrationInterface_ListAll_Call
- type MockPublishedAppIntegrationInterface_List_Call
- func (_c *MockPublishedAppIntegrationInterface_List_Call) Return(_a0 listing.Iterator[oauth2.GetPublishedAppIntegrationOutput]) *MockPublishedAppIntegrationInterface_List_Call
- func (_c *MockPublishedAppIntegrationInterface_List_Call) Run(...) *MockPublishedAppIntegrationInterface_List_Call
- func (_c *MockPublishedAppIntegrationInterface_List_Call) RunAndReturn(...) *MockPublishedAppIntegrationInterface_List_Call
- type MockPublishedAppIntegrationInterface_Update_Call
- func (_c *MockPublishedAppIntegrationInterface_Update_Call) Return(_a0 error) *MockPublishedAppIntegrationInterface_Update_Call
- func (_c *MockPublishedAppIntegrationInterface_Update_Call) Run(run func(ctx context.Context, request oauth2.UpdatePublishedAppIntegration)) *MockPublishedAppIntegrationInterface_Update_Call
- func (_c *MockPublishedAppIntegrationInterface_Update_Call) RunAndReturn(run func(context.Context, oauth2.UpdatePublishedAppIntegration) error) *MockPublishedAppIntegrationInterface_Update_Call
- type MockServicePrincipalSecretsInterface
- func (_m *MockServicePrincipalSecretsInterface) Create(ctx context.Context, request oauth2.CreateServicePrincipalSecretRequest) (*oauth2.CreateServicePrincipalSecretResponse, error)
- func (_m *MockServicePrincipalSecretsInterface) Delete(ctx context.Context, request oauth2.DeleteServicePrincipalSecretRequest) error
- func (_m *MockServicePrincipalSecretsInterface) DeleteByServicePrincipalIdAndSecretId(ctx context.Context, servicePrincipalId int64, secretId string) error
- func (_m *MockServicePrincipalSecretsInterface) EXPECT() *MockServicePrincipalSecretsInterface_Expecter
- func (_m *MockServicePrincipalSecretsInterface) List(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest) listing.Iterator[oauth2.SecretInfo]
- func (_m *MockServicePrincipalSecretsInterface) ListAll(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest) ([]oauth2.SecretInfo, error)
- func (_m *MockServicePrincipalSecretsInterface) ListByServicePrincipalId(ctx context.Context, servicePrincipalId int64) (*oauth2.ListServicePrincipalSecretsResponse, error)
- type MockServicePrincipalSecretsInterface_Create_Call
- func (_c *MockServicePrincipalSecretsInterface_Create_Call) Return(_a0 *oauth2.CreateServicePrincipalSecretResponse, _a1 error) *MockServicePrincipalSecretsInterface_Create_Call
- func (_c *MockServicePrincipalSecretsInterface_Create_Call) Run(...) *MockServicePrincipalSecretsInterface_Create_Call
- func (_c *MockServicePrincipalSecretsInterface_Create_Call) RunAndReturn(...) *MockServicePrincipalSecretsInterface_Create_Call
- type MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call
- func (_c *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) Return(_a0 error) ...
- func (_c *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) Run(run func(ctx context.Context, servicePrincipalId int64, secretId string)) ...
- func (_c *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) RunAndReturn(run func(context.Context, int64, string) error) ...
- type MockServicePrincipalSecretsInterface_Delete_Call
- func (_c *MockServicePrincipalSecretsInterface_Delete_Call) Return(_a0 error) *MockServicePrincipalSecretsInterface_Delete_Call
- func (_c *MockServicePrincipalSecretsInterface_Delete_Call) Run(...) *MockServicePrincipalSecretsInterface_Delete_Call
- func (_c *MockServicePrincipalSecretsInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeleteServicePrincipalSecretRequest) error) *MockServicePrincipalSecretsInterface_Delete_Call
- type MockServicePrincipalSecretsInterface_Expecter
- func (_e *MockServicePrincipalSecretsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_Create_Call
- func (_e *MockServicePrincipalSecretsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_Delete_Call
- func (_e *MockServicePrincipalSecretsInterface_Expecter) DeleteByServicePrincipalIdAndSecretId(ctx interface{}, servicePrincipalId interface{}, secretId interface{}) ...
- func (_e *MockServicePrincipalSecretsInterface_Expecter) List(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_List_Call
- func (_e *MockServicePrincipalSecretsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_ListAll_Call
- func (_e *MockServicePrincipalSecretsInterface_Expecter) ListByServicePrincipalId(ctx interface{}, servicePrincipalId interface{}) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
- type MockServicePrincipalSecretsInterface_ListAll_Call
- func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) Return(_a0 []oauth2.SecretInfo, _a1 error) *MockServicePrincipalSecretsInterface_ListAll_Call
- func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) Run(...) *MockServicePrincipalSecretsInterface_ListAll_Call
- func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) RunAndReturn(...) *MockServicePrincipalSecretsInterface_ListAll_Call
- type MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
- func (_c *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) Return(_a0 *oauth2.ListServicePrincipalSecretsResponse, _a1 error) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
- func (_c *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) Run(run func(ctx context.Context, servicePrincipalId int64)) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
- func (_c *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) RunAndReturn(...) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
- type MockServicePrincipalSecretsInterface_List_Call
- func (_c *MockServicePrincipalSecretsInterface_List_Call) Return(_a0 listing.Iterator[oauth2.SecretInfo]) *MockServicePrincipalSecretsInterface_List_Call
- func (_c *MockServicePrincipalSecretsInterface_List_Call) Run(...) *MockServicePrincipalSecretsInterface_List_Call
- func (_c *MockServicePrincipalSecretsInterface_List_Call) RunAndReturn(...) *MockServicePrincipalSecretsInterface_List_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCustomAppIntegrationInterface ¶
MockCustomAppIntegrationInterface is an autogenerated mock type for the CustomAppIntegrationInterface type
func NewMockCustomAppIntegrationInterface ¶
func NewMockCustomAppIntegrationInterface(t interface { mock.TestingT Cleanup(func()) }) *MockCustomAppIntegrationInterface
NewMockCustomAppIntegrationInterface creates a new instance of MockCustomAppIntegrationInterface. 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 (*MockCustomAppIntegrationInterface) Create ¶
func (_m *MockCustomAppIntegrationInterface) Create(ctx context.Context, request oauth2.CreateCustomAppIntegration) (*oauth2.CreateCustomAppIntegrationOutput, error)
Create provides a mock function with given fields: ctx, request
func (*MockCustomAppIntegrationInterface) Delete ¶
func (_m *MockCustomAppIntegrationInterface) Delete(ctx context.Context, request oauth2.DeleteCustomAppIntegrationRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockCustomAppIntegrationInterface) DeleteByIntegrationId ¶
func (_m *MockCustomAppIntegrationInterface) DeleteByIntegrationId(ctx context.Context, integrationId string) error
DeleteByIntegrationId provides a mock function with given fields: ctx, integrationId
func (*MockCustomAppIntegrationInterface) EXPECT ¶
func (_m *MockCustomAppIntegrationInterface) EXPECT() *MockCustomAppIntegrationInterface_Expecter
func (*MockCustomAppIntegrationInterface) Get ¶
func (_m *MockCustomAppIntegrationInterface) Get(ctx context.Context, request oauth2.GetCustomAppIntegrationRequest) (*oauth2.GetCustomAppIntegrationOutput, error)
Get provides a mock function with given fields: ctx, request
func (*MockCustomAppIntegrationInterface) GetByIntegrationId ¶
func (_m *MockCustomAppIntegrationInterface) GetByIntegrationId(ctx context.Context, integrationId string) (*oauth2.GetCustomAppIntegrationOutput, error)
GetByIntegrationId provides a mock function with given fields: ctx, integrationId
func (*MockCustomAppIntegrationInterface) List ¶
func (_m *MockCustomAppIntegrationInterface) List(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest) listing.Iterator[oauth2.GetCustomAppIntegrationOutput]
List provides a mock function with given fields: ctx, request
func (*MockCustomAppIntegrationInterface) ListAll ¶
func (_m *MockCustomAppIntegrationInterface) ListAll(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest) ([]oauth2.GetCustomAppIntegrationOutput, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockCustomAppIntegrationInterface) Update ¶
func (_m *MockCustomAppIntegrationInterface) Update(ctx context.Context, request oauth2.UpdateCustomAppIntegration) error
Update provides a mock function with given fields: ctx, request
type MockCustomAppIntegrationInterface_Create_Call ¶
MockCustomAppIntegrationInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockCustomAppIntegrationInterface_Create_Call) Return ¶
func (_c *MockCustomAppIntegrationInterface_Create_Call) Return(_a0 *oauth2.CreateCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_Create_Call
func (*MockCustomAppIntegrationInterface_Create_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_Create_Call) Run(run func(ctx context.Context, request oauth2.CreateCustomAppIntegration)) *MockCustomAppIntegrationInterface_Create_Call
func (*MockCustomAppIntegrationInterface_Create_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_Create_Call) RunAndReturn(run func(context.Context, oauth2.CreateCustomAppIntegration) (*oauth2.CreateCustomAppIntegrationOutput, error)) *MockCustomAppIntegrationInterface_Create_Call
type MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call ¶
MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByIntegrationId'
func (*MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
func (*MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn(run func(context.Context, string) error) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
type MockCustomAppIntegrationInterface_Delete_Call ¶
MockCustomAppIntegrationInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockCustomAppIntegrationInterface_Delete_Call) Return ¶
func (_c *MockCustomAppIntegrationInterface_Delete_Call) Return(_a0 error) *MockCustomAppIntegrationInterface_Delete_Call
func (*MockCustomAppIntegrationInterface_Delete_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_Delete_Call) Run(run func(ctx context.Context, request oauth2.DeleteCustomAppIntegrationRequest)) *MockCustomAppIntegrationInterface_Delete_Call
func (*MockCustomAppIntegrationInterface_Delete_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeleteCustomAppIntegrationRequest) error) *MockCustomAppIntegrationInterface_Delete_Call
type MockCustomAppIntegrationInterface_Expecter ¶
type MockCustomAppIntegrationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCustomAppIntegrationInterface_Expecter) Create ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request oauth2.CreateCustomAppIntegration
func (*MockCustomAppIntegrationInterface_Expecter) Delete ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request oauth2.DeleteCustomAppIntegrationRequest
func (*MockCustomAppIntegrationInterface_Expecter) DeleteByIntegrationId ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) DeleteByIntegrationId(ctx interface{}, integrationId interface{}) *MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call
DeleteByIntegrationId is a helper method to define mock.On call
- ctx context.Context
- integrationId string
func (*MockCustomAppIntegrationInterface_Expecter) Get ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request oauth2.GetCustomAppIntegrationRequest
func (*MockCustomAppIntegrationInterface_Expecter) GetByIntegrationId ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) GetByIntegrationId(ctx interface{}, integrationId interface{}) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
GetByIntegrationId is a helper method to define mock.On call
- ctx context.Context
- integrationId string
func (*MockCustomAppIntegrationInterface_Expecter) List ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) List(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListCustomAppIntegrationsRequest
func (*MockCustomAppIntegrationInterface_Expecter) ListAll ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListCustomAppIntegrationsRequest
func (*MockCustomAppIntegrationInterface_Expecter) Update ¶
func (_e *MockCustomAppIntegrationInterface_Expecter) Update(ctx interface{}, request interface{}) *MockCustomAppIntegrationInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request oauth2.UpdateCustomAppIntegration
type MockCustomAppIntegrationInterface_GetByIntegrationId_Call ¶
MockCustomAppIntegrationInterface_GetByIntegrationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByIntegrationId'
func (*MockCustomAppIntegrationInterface_GetByIntegrationId_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_GetByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
func (*MockCustomAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn(run func(context.Context, string) (*oauth2.GetCustomAppIntegrationOutput, error)) *MockCustomAppIntegrationInterface_GetByIntegrationId_Call
type MockCustomAppIntegrationInterface_Get_Call ¶
MockCustomAppIntegrationInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockCustomAppIntegrationInterface_Get_Call) Return ¶
func (_c *MockCustomAppIntegrationInterface_Get_Call) Return(_a0 *oauth2.GetCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_Get_Call
func (*MockCustomAppIntegrationInterface_Get_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_Get_Call) Run(run func(ctx context.Context, request oauth2.GetCustomAppIntegrationRequest)) *MockCustomAppIntegrationInterface_Get_Call
func (*MockCustomAppIntegrationInterface_Get_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_Get_Call) RunAndReturn(run func(context.Context, oauth2.GetCustomAppIntegrationRequest) (*oauth2.GetCustomAppIntegrationOutput, error)) *MockCustomAppIntegrationInterface_Get_Call
type MockCustomAppIntegrationInterface_ListAll_Call ¶
MockCustomAppIntegrationInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockCustomAppIntegrationInterface_ListAll_Call) Return ¶
func (_c *MockCustomAppIntegrationInterface_ListAll_Call) Return(_a0 []oauth2.GetCustomAppIntegrationOutput, _a1 error) *MockCustomAppIntegrationInterface_ListAll_Call
func (*MockCustomAppIntegrationInterface_ListAll_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest)) *MockCustomAppIntegrationInterface_ListAll_Call
func (*MockCustomAppIntegrationInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_ListAll_Call) RunAndReturn(run func(context.Context, oauth2.ListCustomAppIntegrationsRequest) ([]oauth2.GetCustomAppIntegrationOutput, error)) *MockCustomAppIntegrationInterface_ListAll_Call
type MockCustomAppIntegrationInterface_List_Call ¶
MockCustomAppIntegrationInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockCustomAppIntegrationInterface_List_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListCustomAppIntegrationsRequest)) *MockCustomAppIntegrationInterface_List_Call
func (*MockCustomAppIntegrationInterface_List_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_List_Call) RunAndReturn(run func(context.Context, oauth2.ListCustomAppIntegrationsRequest) listing.Iterator[oauth2.GetCustomAppIntegrationOutput]) *MockCustomAppIntegrationInterface_List_Call
type MockCustomAppIntegrationInterface_Update_Call ¶
MockCustomAppIntegrationInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockCustomAppIntegrationInterface_Update_Call) Return ¶
func (_c *MockCustomAppIntegrationInterface_Update_Call) Return(_a0 error) *MockCustomAppIntegrationInterface_Update_Call
func (*MockCustomAppIntegrationInterface_Update_Call) Run ¶
func (_c *MockCustomAppIntegrationInterface_Update_Call) Run(run func(ctx context.Context, request oauth2.UpdateCustomAppIntegration)) *MockCustomAppIntegrationInterface_Update_Call
func (*MockCustomAppIntegrationInterface_Update_Call) RunAndReturn ¶
func (_c *MockCustomAppIntegrationInterface_Update_Call) RunAndReturn(run func(context.Context, oauth2.UpdateCustomAppIntegration) error) *MockCustomAppIntegrationInterface_Update_Call
type MockOAuthPublishedAppsInterface ¶
MockOAuthPublishedAppsInterface is an autogenerated mock type for the OAuthPublishedAppsInterface type
func NewMockOAuthPublishedAppsInterface ¶
func NewMockOAuthPublishedAppsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockOAuthPublishedAppsInterface
NewMockOAuthPublishedAppsInterface creates a new instance of MockOAuthPublishedAppsInterface. 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 (*MockOAuthPublishedAppsInterface) EXPECT ¶
func (_m *MockOAuthPublishedAppsInterface) EXPECT() *MockOAuthPublishedAppsInterface_Expecter
func (*MockOAuthPublishedAppsInterface) List ¶
func (_m *MockOAuthPublishedAppsInterface) List(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest) listing.Iterator[oauth2.PublishedAppOutput]
List provides a mock function with given fields: ctx, request
func (*MockOAuthPublishedAppsInterface) ListAll ¶
func (_m *MockOAuthPublishedAppsInterface) ListAll(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest) ([]oauth2.PublishedAppOutput, error)
ListAll provides a mock function with given fields: ctx, request
type MockOAuthPublishedAppsInterface_Expecter ¶
type MockOAuthPublishedAppsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOAuthPublishedAppsInterface_Expecter) List ¶
func (_e *MockOAuthPublishedAppsInterface_Expecter) List(ctx interface{}, request interface{}) *MockOAuthPublishedAppsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListOAuthPublishedAppsRequest
func (*MockOAuthPublishedAppsInterface_Expecter) ListAll ¶
func (_e *MockOAuthPublishedAppsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockOAuthPublishedAppsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListOAuthPublishedAppsRequest
type MockOAuthPublishedAppsInterface_ListAll_Call ¶
MockOAuthPublishedAppsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockOAuthPublishedAppsInterface_ListAll_Call) Return ¶
func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) Return(_a0 []oauth2.PublishedAppOutput, _a1 error) *MockOAuthPublishedAppsInterface_ListAll_Call
func (*MockOAuthPublishedAppsInterface_ListAll_Call) Run ¶
func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest)) *MockOAuthPublishedAppsInterface_ListAll_Call
func (*MockOAuthPublishedAppsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockOAuthPublishedAppsInterface_ListAll_Call) RunAndReturn(run func(context.Context, oauth2.ListOAuthPublishedAppsRequest) ([]oauth2.PublishedAppOutput, error)) *MockOAuthPublishedAppsInterface_ListAll_Call
type MockOAuthPublishedAppsInterface_List_Call ¶
MockOAuthPublishedAppsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockOAuthPublishedAppsInterface_List_Call) Run ¶
func (_c *MockOAuthPublishedAppsInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListOAuthPublishedAppsRequest)) *MockOAuthPublishedAppsInterface_List_Call
func (*MockOAuthPublishedAppsInterface_List_Call) RunAndReturn ¶
func (_c *MockOAuthPublishedAppsInterface_List_Call) RunAndReturn(run func(context.Context, oauth2.ListOAuthPublishedAppsRequest) listing.Iterator[oauth2.PublishedAppOutput]) *MockOAuthPublishedAppsInterface_List_Call
type MockPublishedAppIntegrationInterface ¶
MockPublishedAppIntegrationInterface is an autogenerated mock type for the PublishedAppIntegrationInterface type
func NewMockPublishedAppIntegrationInterface ¶
func NewMockPublishedAppIntegrationInterface(t interface { mock.TestingT Cleanup(func()) }) *MockPublishedAppIntegrationInterface
NewMockPublishedAppIntegrationInterface creates a new instance of MockPublishedAppIntegrationInterface. 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 (*MockPublishedAppIntegrationInterface) Create ¶
func (_m *MockPublishedAppIntegrationInterface) Create(ctx context.Context, request oauth2.CreatePublishedAppIntegration) (*oauth2.CreatePublishedAppIntegrationOutput, error)
Create provides a mock function with given fields: ctx, request
func (*MockPublishedAppIntegrationInterface) Delete ¶
func (_m *MockPublishedAppIntegrationInterface) Delete(ctx context.Context, request oauth2.DeletePublishedAppIntegrationRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockPublishedAppIntegrationInterface) DeleteByIntegrationId ¶
func (_m *MockPublishedAppIntegrationInterface) DeleteByIntegrationId(ctx context.Context, integrationId string) error
DeleteByIntegrationId provides a mock function with given fields: ctx, integrationId
func (*MockPublishedAppIntegrationInterface) EXPECT ¶
func (_m *MockPublishedAppIntegrationInterface) EXPECT() *MockPublishedAppIntegrationInterface_Expecter
func (*MockPublishedAppIntegrationInterface) Get ¶
func (_m *MockPublishedAppIntegrationInterface) Get(ctx context.Context, request oauth2.GetPublishedAppIntegrationRequest) (*oauth2.GetPublishedAppIntegrationOutput, error)
Get provides a mock function with given fields: ctx, request
func (*MockPublishedAppIntegrationInterface) GetByIntegrationId ¶
func (_m *MockPublishedAppIntegrationInterface) GetByIntegrationId(ctx context.Context, integrationId string) (*oauth2.GetPublishedAppIntegrationOutput, error)
GetByIntegrationId provides a mock function with given fields: ctx, integrationId
func (*MockPublishedAppIntegrationInterface) List ¶
func (_m *MockPublishedAppIntegrationInterface) List(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest) listing.Iterator[oauth2.GetPublishedAppIntegrationOutput]
List provides a mock function with given fields: ctx, request
func (*MockPublishedAppIntegrationInterface) ListAll ¶
func (_m *MockPublishedAppIntegrationInterface) ListAll(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest) ([]oauth2.GetPublishedAppIntegrationOutput, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockPublishedAppIntegrationInterface) Update ¶
func (_m *MockPublishedAppIntegrationInterface) Update(ctx context.Context, request oauth2.UpdatePublishedAppIntegration) error
Update provides a mock function with given fields: ctx, request
type MockPublishedAppIntegrationInterface_Create_Call ¶
MockPublishedAppIntegrationInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockPublishedAppIntegrationInterface_Create_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_Create_Call) Run(run func(ctx context.Context, request oauth2.CreatePublishedAppIntegration)) *MockPublishedAppIntegrationInterface_Create_Call
func (*MockPublishedAppIntegrationInterface_Create_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_Create_Call) RunAndReturn(run func(context.Context, oauth2.CreatePublishedAppIntegration) (*oauth2.CreatePublishedAppIntegrationOutput, error)) *MockPublishedAppIntegrationInterface_Create_Call
type MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call ¶
MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByIntegrationId'
func (*MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
func (*MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn(run func(context.Context, string) error) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
type MockPublishedAppIntegrationInterface_Delete_Call ¶
MockPublishedAppIntegrationInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockPublishedAppIntegrationInterface_Delete_Call) Return ¶
func (_c *MockPublishedAppIntegrationInterface_Delete_Call) Return(_a0 error) *MockPublishedAppIntegrationInterface_Delete_Call
func (*MockPublishedAppIntegrationInterface_Delete_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_Delete_Call) Run(run func(ctx context.Context, request oauth2.DeletePublishedAppIntegrationRequest)) *MockPublishedAppIntegrationInterface_Delete_Call
func (*MockPublishedAppIntegrationInterface_Delete_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeletePublishedAppIntegrationRequest) error) *MockPublishedAppIntegrationInterface_Delete_Call
type MockPublishedAppIntegrationInterface_Expecter ¶
type MockPublishedAppIntegrationInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockPublishedAppIntegrationInterface_Expecter) Create ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request oauth2.CreatePublishedAppIntegration
func (*MockPublishedAppIntegrationInterface_Expecter) Delete ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request oauth2.DeletePublishedAppIntegrationRequest
func (*MockPublishedAppIntegrationInterface_Expecter) DeleteByIntegrationId ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) DeleteByIntegrationId(ctx interface{}, integrationId interface{}) *MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call
DeleteByIntegrationId is a helper method to define mock.On call
- ctx context.Context
- integrationId string
func (*MockPublishedAppIntegrationInterface_Expecter) Get ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- request oauth2.GetPublishedAppIntegrationRequest
func (*MockPublishedAppIntegrationInterface_Expecter) GetByIntegrationId ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) GetByIntegrationId(ctx interface{}, integrationId interface{}) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
GetByIntegrationId is a helper method to define mock.On call
- ctx context.Context
- integrationId string
func (*MockPublishedAppIntegrationInterface_Expecter) List ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) List(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListPublishedAppIntegrationsRequest
func (*MockPublishedAppIntegrationInterface_Expecter) ListAll ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListPublishedAppIntegrationsRequest
func (*MockPublishedAppIntegrationInterface_Expecter) Update ¶
func (_e *MockPublishedAppIntegrationInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPublishedAppIntegrationInterface_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- request oauth2.UpdatePublishedAppIntegration
type MockPublishedAppIntegrationInterface_GetByIntegrationId_Call ¶
MockPublishedAppIntegrationInterface_GetByIntegrationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByIntegrationId'
func (*MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) Run(run func(ctx context.Context, integrationId string)) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
func (*MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call) RunAndReturn(run func(context.Context, string) (*oauth2.GetPublishedAppIntegrationOutput, error)) *MockPublishedAppIntegrationInterface_GetByIntegrationId_Call
type MockPublishedAppIntegrationInterface_Get_Call ¶
MockPublishedAppIntegrationInterface_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockPublishedAppIntegrationInterface_Get_Call) Return ¶
func (_c *MockPublishedAppIntegrationInterface_Get_Call) Return(_a0 *oauth2.GetPublishedAppIntegrationOutput, _a1 error) *MockPublishedAppIntegrationInterface_Get_Call
func (*MockPublishedAppIntegrationInterface_Get_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_Get_Call) Run(run func(ctx context.Context, request oauth2.GetPublishedAppIntegrationRequest)) *MockPublishedAppIntegrationInterface_Get_Call
func (*MockPublishedAppIntegrationInterface_Get_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_Get_Call) RunAndReturn(run func(context.Context, oauth2.GetPublishedAppIntegrationRequest) (*oauth2.GetPublishedAppIntegrationOutput, error)) *MockPublishedAppIntegrationInterface_Get_Call
type MockPublishedAppIntegrationInterface_ListAll_Call ¶
MockPublishedAppIntegrationInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockPublishedAppIntegrationInterface_ListAll_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest)) *MockPublishedAppIntegrationInterface_ListAll_Call
func (*MockPublishedAppIntegrationInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_ListAll_Call) RunAndReturn(run func(context.Context, oauth2.ListPublishedAppIntegrationsRequest) ([]oauth2.GetPublishedAppIntegrationOutput, error)) *MockPublishedAppIntegrationInterface_ListAll_Call
type MockPublishedAppIntegrationInterface_List_Call ¶
MockPublishedAppIntegrationInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockPublishedAppIntegrationInterface_List_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListPublishedAppIntegrationsRequest)) *MockPublishedAppIntegrationInterface_List_Call
func (*MockPublishedAppIntegrationInterface_List_Call) RunAndReturn ¶
type MockPublishedAppIntegrationInterface_Update_Call ¶
MockPublishedAppIntegrationInterface_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockPublishedAppIntegrationInterface_Update_Call) Return ¶
func (_c *MockPublishedAppIntegrationInterface_Update_Call) Return(_a0 error) *MockPublishedAppIntegrationInterface_Update_Call
func (*MockPublishedAppIntegrationInterface_Update_Call) Run ¶
func (_c *MockPublishedAppIntegrationInterface_Update_Call) Run(run func(ctx context.Context, request oauth2.UpdatePublishedAppIntegration)) *MockPublishedAppIntegrationInterface_Update_Call
func (*MockPublishedAppIntegrationInterface_Update_Call) RunAndReturn ¶
func (_c *MockPublishedAppIntegrationInterface_Update_Call) RunAndReturn(run func(context.Context, oauth2.UpdatePublishedAppIntegration) error) *MockPublishedAppIntegrationInterface_Update_Call
type MockServicePrincipalSecretsInterface ¶
MockServicePrincipalSecretsInterface is an autogenerated mock type for the ServicePrincipalSecretsInterface type
func NewMockServicePrincipalSecretsInterface ¶
func NewMockServicePrincipalSecretsInterface(t interface { mock.TestingT Cleanup(func()) }) *MockServicePrincipalSecretsInterface
NewMockServicePrincipalSecretsInterface creates a new instance of MockServicePrincipalSecretsInterface. 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 (*MockServicePrincipalSecretsInterface) Create ¶
func (_m *MockServicePrincipalSecretsInterface) Create(ctx context.Context, request oauth2.CreateServicePrincipalSecretRequest) (*oauth2.CreateServicePrincipalSecretResponse, error)
Create provides a mock function with given fields: ctx, request
func (*MockServicePrincipalSecretsInterface) Delete ¶
func (_m *MockServicePrincipalSecretsInterface) Delete(ctx context.Context, request oauth2.DeleteServicePrincipalSecretRequest) error
Delete provides a mock function with given fields: ctx, request
func (*MockServicePrincipalSecretsInterface) DeleteByServicePrincipalIdAndSecretId ¶
func (_m *MockServicePrincipalSecretsInterface) DeleteByServicePrincipalIdAndSecretId(ctx context.Context, servicePrincipalId int64, secretId string) error
DeleteByServicePrincipalIdAndSecretId provides a mock function with given fields: ctx, servicePrincipalId, secretId
func (*MockServicePrincipalSecretsInterface) EXPECT ¶
func (_m *MockServicePrincipalSecretsInterface) EXPECT() *MockServicePrincipalSecretsInterface_Expecter
func (*MockServicePrincipalSecretsInterface) List ¶
func (_m *MockServicePrincipalSecretsInterface) List(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest) listing.Iterator[oauth2.SecretInfo]
List provides a mock function with given fields: ctx, request
func (*MockServicePrincipalSecretsInterface) ListAll ¶
func (_m *MockServicePrincipalSecretsInterface) ListAll(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest) ([]oauth2.SecretInfo, error)
ListAll provides a mock function with given fields: ctx, request
func (*MockServicePrincipalSecretsInterface) ListByServicePrincipalId ¶
func (_m *MockServicePrincipalSecretsInterface) ListByServicePrincipalId(ctx context.Context, servicePrincipalId int64) (*oauth2.ListServicePrincipalSecretsResponse, error)
ListByServicePrincipalId provides a mock function with given fields: ctx, servicePrincipalId
type MockServicePrincipalSecretsInterface_Create_Call ¶
MockServicePrincipalSecretsInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockServicePrincipalSecretsInterface_Create_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_Create_Call) Run(run func(ctx context.Context, request oauth2.CreateServicePrincipalSecretRequest)) *MockServicePrincipalSecretsInterface_Create_Call
func (*MockServicePrincipalSecretsInterface_Create_Call) RunAndReturn ¶
type MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call ¶
type MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call struct {
*mock.Call
}
MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByServicePrincipalIdAndSecretId'
func (*MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) Run(run func(ctx context.Context, servicePrincipalId int64, secretId string)) *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call
func (*MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) RunAndReturn ¶
type MockServicePrincipalSecretsInterface_Delete_Call ¶
MockServicePrincipalSecretsInterface_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockServicePrincipalSecretsInterface_Delete_Call) Return ¶
func (_c *MockServicePrincipalSecretsInterface_Delete_Call) Return(_a0 error) *MockServicePrincipalSecretsInterface_Delete_Call
func (*MockServicePrincipalSecretsInterface_Delete_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_Delete_Call) Run(run func(ctx context.Context, request oauth2.DeleteServicePrincipalSecretRequest)) *MockServicePrincipalSecretsInterface_Delete_Call
func (*MockServicePrincipalSecretsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockServicePrincipalSecretsInterface_Delete_Call) RunAndReturn(run func(context.Context, oauth2.DeleteServicePrincipalSecretRequest) error) *MockServicePrincipalSecretsInterface_Delete_Call
type MockServicePrincipalSecretsInterface_Expecter ¶
type MockServicePrincipalSecretsInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockServicePrincipalSecretsInterface_Expecter) Create ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- request oauth2.CreateServicePrincipalSecretRequest
func (*MockServicePrincipalSecretsInterface_Expecter) Delete ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- request oauth2.DeleteServicePrincipalSecretRequest
func (*MockServicePrincipalSecretsInterface_Expecter) DeleteByServicePrincipalIdAndSecretId ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) DeleteByServicePrincipalIdAndSecretId(ctx interface{}, servicePrincipalId interface{}, secretId interface{}) *MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call
DeleteByServicePrincipalIdAndSecretId is a helper method to define mock.On call
- ctx context.Context
- servicePrincipalId int64
- secretId string
func (*MockServicePrincipalSecretsInterface_Expecter) List ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) List(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListServicePrincipalSecretsRequest
func (*MockServicePrincipalSecretsInterface_Expecter) ListAll ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockServicePrincipalSecretsInterface_ListAll_Call
ListAll is a helper method to define mock.On call
- ctx context.Context
- request oauth2.ListServicePrincipalSecretsRequest
func (*MockServicePrincipalSecretsInterface_Expecter) ListByServicePrincipalId ¶
func (_e *MockServicePrincipalSecretsInterface_Expecter) ListByServicePrincipalId(ctx interface{}, servicePrincipalId interface{}) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
ListByServicePrincipalId is a helper method to define mock.On call
- ctx context.Context
- servicePrincipalId int64
type MockServicePrincipalSecretsInterface_ListAll_Call ¶
MockServicePrincipalSecretsInterface_ListAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAll'
func (*MockServicePrincipalSecretsInterface_ListAll_Call) Return ¶
func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) Return(_a0 []oauth2.SecretInfo, _a1 error) *MockServicePrincipalSecretsInterface_ListAll_Call
func (*MockServicePrincipalSecretsInterface_ListAll_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) Run(run func(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest)) *MockServicePrincipalSecretsInterface_ListAll_Call
func (*MockServicePrincipalSecretsInterface_ListAll_Call) RunAndReturn ¶
func (_c *MockServicePrincipalSecretsInterface_ListAll_Call) RunAndReturn(run func(context.Context, oauth2.ListServicePrincipalSecretsRequest) ([]oauth2.SecretInfo, error)) *MockServicePrincipalSecretsInterface_ListAll_Call
type MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call ¶
MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListByServicePrincipalId'
func (*MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) Run(run func(ctx context.Context, servicePrincipalId int64)) *MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call
func (*MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call) RunAndReturn ¶
type MockServicePrincipalSecretsInterface_List_Call ¶
MockServicePrincipalSecretsInterface_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockServicePrincipalSecretsInterface_List_Call) Run ¶
func (_c *MockServicePrincipalSecretsInterface_List_Call) Run(run func(ctx context.Context, request oauth2.ListServicePrincipalSecretsRequest)) *MockServicePrincipalSecretsInterface_List_Call
func (*MockServicePrincipalSecretsInterface_List_Call) RunAndReturn ¶
func (_c *MockServicePrincipalSecretsInterface_List_Call) RunAndReturn(run func(context.Context, oauth2.ListServicePrincipalSecretsRequest) listing.Iterator[oauth2.SecretInfo]) *MockServicePrincipalSecretsInterface_List_Call