oauth2

package
v0.56.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountFederationPolicyInterface added in v0.54.0

type MockAccountFederationPolicyInterface struct {
	mock.Mock
}

MockAccountFederationPolicyInterface is an autogenerated mock type for the AccountFederationPolicyInterface type

func NewMockAccountFederationPolicyInterface added in v0.54.0

func NewMockAccountFederationPolicyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountFederationPolicyInterface

NewMockAccountFederationPolicyInterface creates a new instance of MockAccountFederationPolicyInterface. 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 (*MockAccountFederationPolicyInterface) Create added in v0.54.0

Create provides a mock function with given fields: ctx, request

func (*MockAccountFederationPolicyInterface) Delete added in v0.54.0

Delete provides a mock function with given fields: ctx, request

func (*MockAccountFederationPolicyInterface) DeleteByPolicyId added in v0.54.0

func (_m *MockAccountFederationPolicyInterface) DeleteByPolicyId(ctx context.Context, policyId string) error

DeleteByPolicyId provides a mock function with given fields: ctx, policyId

func (*MockAccountFederationPolicyInterface) EXPECT added in v0.54.0

func (*MockAccountFederationPolicyInterface) Get added in v0.54.0

Get provides a mock function with given fields: ctx, request

func (*MockAccountFederationPolicyInterface) GetByPolicyId added in v0.54.0

GetByPolicyId provides a mock function with given fields: ctx, policyId

func (*MockAccountFederationPolicyInterface) List added in v0.54.0

List provides a mock function with given fields: ctx, request

func (*MockAccountFederationPolicyInterface) ListAll added in v0.54.0

ListAll provides a mock function with given fields: ctx, request

func (*MockAccountFederationPolicyInterface) Update added in v0.54.0

Update provides a mock function with given fields: ctx, request

type MockAccountFederationPolicyInterface_Create_Call added in v0.54.0

type MockAccountFederationPolicyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_Create_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_Create_Call) Run added in v0.54.0

type MockAccountFederationPolicyInterface_DeleteByPolicyId_Call added in v0.54.0

type MockAccountFederationPolicyInterface_DeleteByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_DeleteByPolicyId_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_DeleteByPolicyId_Call) Run added in v0.54.0

func (*MockAccountFederationPolicyInterface_DeleteByPolicyId_Call) RunAndReturn added in v0.54.0

type MockAccountFederationPolicyInterface_Delete_Call added in v0.54.0

type MockAccountFederationPolicyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_Delete_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_Delete_Call) Run added in v0.54.0

func (*MockAccountFederationPolicyInterface_Delete_Call) RunAndReturn added in v0.54.0

type MockAccountFederationPolicyInterface_Expecter added in v0.54.0

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

func (*MockAccountFederationPolicyInterface_Expecter) Create added in v0.54.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.CreateAccountFederationPolicyRequest

func (*MockAccountFederationPolicyInterface_Expecter) Delete added in v0.54.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.DeleteAccountFederationPolicyRequest

func (*MockAccountFederationPolicyInterface_Expecter) DeleteByPolicyId added in v0.54.0

func (_e *MockAccountFederationPolicyInterface_Expecter) DeleteByPolicyId(ctx interface{}, policyId interface{}) *MockAccountFederationPolicyInterface_DeleteByPolicyId_Call

DeleteByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockAccountFederationPolicyInterface_Expecter) Get added in v0.54.0

Get is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.GetAccountFederationPolicyRequest

func (*MockAccountFederationPolicyInterface_Expecter) GetByPolicyId added in v0.54.0

func (_e *MockAccountFederationPolicyInterface_Expecter) GetByPolicyId(ctx interface{}, policyId interface{}) *MockAccountFederationPolicyInterface_GetByPolicyId_Call

GetByPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • policyId string

func (*MockAccountFederationPolicyInterface_Expecter) List added in v0.54.0

List is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListAccountFederationPoliciesRequest

func (*MockAccountFederationPolicyInterface_Expecter) ListAll added in v0.54.0

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListAccountFederationPoliciesRequest

func (*MockAccountFederationPolicyInterface_Expecter) Update added in v0.54.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.UpdateAccountFederationPolicyRequest

type MockAccountFederationPolicyInterface_GetByPolicyId_Call added in v0.54.0

type MockAccountFederationPolicyInterface_GetByPolicyId_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_GetByPolicyId_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_GetByPolicyId_Call) Run added in v0.54.0

func (*MockAccountFederationPolicyInterface_GetByPolicyId_Call) RunAndReturn added in v0.54.0

type MockAccountFederationPolicyInterface_Get_Call added in v0.54.0

type MockAccountFederationPolicyInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_Get_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_Get_Call) Run added in v0.54.0

func (*MockAccountFederationPolicyInterface_Get_Call) RunAndReturn added in v0.54.0

type MockAccountFederationPolicyInterface_ListAll_Call added in v0.54.0

type MockAccountFederationPolicyInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_ListAll_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_ListAll_Call) Run added in v0.54.0

type MockAccountFederationPolicyInterface_List_Call added in v0.54.0

type MockAccountFederationPolicyInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_List_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_List_Call) Run added in v0.54.0

type MockAccountFederationPolicyInterface_Update_Call added in v0.54.0

type MockAccountFederationPolicyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAccountFederationPolicyInterface_Update_Call) Return added in v0.54.0

func (*MockAccountFederationPolicyInterface_Update_Call) Run added in v0.54.0

type MockCustomAppIntegrationInterface

type MockCustomAppIntegrationInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockCustomAppIntegrationInterface) Delete

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 (*MockCustomAppIntegrationInterface) Get

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

List provides a mock function with given fields: ctx, request

func (*MockCustomAppIntegrationInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockCustomAppIntegrationInterface) Update

Update provides a mock function with given fields: ctx, request

type MockCustomAppIntegrationInterface_Create_Call

type MockCustomAppIntegrationInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockCustomAppIntegrationInterface_Create_Call) Run

type MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call

type MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call struct {
	*mock.Call
}

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

func (*MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Return

func (*MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) Run

func (*MockCustomAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn

type MockCustomAppIntegrationInterface_Delete_Call

type MockCustomAppIntegrationInterface_Delete_Call struct {
	*mock.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 (*MockCustomAppIntegrationInterface_Delete_Call) Run

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

type MockCustomAppIntegrationInterface_GetByIntegrationId_Call struct {
	*mock.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

type MockCustomAppIntegrationInterface_Get_Call

type MockCustomAppIntegrationInterface_Get_Call struct {
	*mock.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 (*MockCustomAppIntegrationInterface_Get_Call) Run

type MockCustomAppIntegrationInterface_ListAll_Call

type MockCustomAppIntegrationInterface_ListAll_Call struct {
	*mock.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 (*MockCustomAppIntegrationInterface_ListAll_Call) Run

type MockCustomAppIntegrationInterface_List_Call

type MockCustomAppIntegrationInterface_List_Call struct {
	*mock.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

type MockCustomAppIntegrationInterface_Update_Call

type MockCustomAppIntegrationInterface_Update_Call struct {
	*mock.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 (*MockCustomAppIntegrationInterface_Update_Call) Run

type MockOAuthPublishedAppsInterface

type MockOAuthPublishedAppsInterface struct {
	mock.Mock
}

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 (*MockOAuthPublishedAppsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockOAuthPublishedAppsInterface) ListAll

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

type MockOAuthPublishedAppsInterface_ListAll_Call struct {
	*mock.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 (*MockOAuthPublishedAppsInterface_ListAll_Call) Run

type MockOAuthPublishedAppsInterface_List_Call

type MockOAuthPublishedAppsInterface_List_Call struct {
	*mock.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

type MockPublishedAppIntegrationInterface

type MockPublishedAppIntegrationInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockPublishedAppIntegrationInterface) Delete

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 (*MockPublishedAppIntegrationInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockPublishedAppIntegrationInterface) GetByIntegrationId

GetByIntegrationId provides a mock function with given fields: ctx, integrationId

func (*MockPublishedAppIntegrationInterface) List

List provides a mock function with given fields: ctx, request

func (*MockPublishedAppIntegrationInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockPublishedAppIntegrationInterface) Update

Update provides a mock function with given fields: ctx, request

type MockPublishedAppIntegrationInterface_Create_Call

type MockPublishedAppIntegrationInterface_Create_Call struct {
	*mock.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

type MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call

type MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call struct {
	*mock.Call
}

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

func (*MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Return

func (*MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) Run

func (*MockPublishedAppIntegrationInterface_DeleteByIntegrationId_Call) RunAndReturn

type MockPublishedAppIntegrationInterface_Delete_Call

type MockPublishedAppIntegrationInterface_Delete_Call struct {
	*mock.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 (*MockPublishedAppIntegrationInterface_Delete_Call) Run

type MockPublishedAppIntegrationInterface_Expecter

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

func (*MockPublishedAppIntegrationInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.CreatePublishedAppIntegration

func (*MockPublishedAppIntegrationInterface_Expecter) Delete

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

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

List is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListPublishedAppIntegrationsRequest

func (*MockPublishedAppIntegrationInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListPublishedAppIntegrationsRequest

func (*MockPublishedAppIntegrationInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.UpdatePublishedAppIntegration

type MockPublishedAppIntegrationInterface_GetByIntegrationId_Call

type MockPublishedAppIntegrationInterface_GetByIntegrationId_Call struct {
	*mock.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

type MockPublishedAppIntegrationInterface_Get_Call

type MockPublishedAppIntegrationInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockPublishedAppIntegrationInterface_Get_Call) Run

type MockPublishedAppIntegrationInterface_ListAll_Call

type MockPublishedAppIntegrationInterface_ListAll_Call struct {
	*mock.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

type MockPublishedAppIntegrationInterface_List_Call

type MockPublishedAppIntegrationInterface_List_Call struct {
	*mock.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

type MockPublishedAppIntegrationInterface_Update_Call

type MockPublishedAppIntegrationInterface_Update_Call struct {
	*mock.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 (*MockPublishedAppIntegrationInterface_Update_Call) Run

type MockServicePrincipalFederationPolicyInterface added in v0.54.0

type MockServicePrincipalFederationPolicyInterface struct {
	mock.Mock
}

MockServicePrincipalFederationPolicyInterface is an autogenerated mock type for the ServicePrincipalFederationPolicyInterface type

func NewMockServicePrincipalFederationPolicyInterface added in v0.54.0

func NewMockServicePrincipalFederationPolicyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockServicePrincipalFederationPolicyInterface

NewMockServicePrincipalFederationPolicyInterface creates a new instance of MockServicePrincipalFederationPolicyInterface. 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 (*MockServicePrincipalFederationPolicyInterface) Create added in v0.54.0

Create provides a mock function with given fields: ctx, request

func (*MockServicePrincipalFederationPolicyInterface) Delete added in v0.54.0

Delete provides a mock function with given fields: ctx, request

func (*MockServicePrincipalFederationPolicyInterface) DeleteByServicePrincipalIdAndPolicyId added in v0.54.0

func (_m *MockServicePrincipalFederationPolicyInterface) DeleteByServicePrincipalIdAndPolicyId(ctx context.Context, servicePrincipalId int64, policyId string) error

DeleteByServicePrincipalIdAndPolicyId provides a mock function with given fields: ctx, servicePrincipalId, policyId

func (*MockServicePrincipalFederationPolicyInterface) EXPECT added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface) Get added in v0.54.0

Get provides a mock function with given fields: ctx, request

func (*MockServicePrincipalFederationPolicyInterface) GetByServicePrincipalIdAndPolicyId added in v0.54.0

func (_m *MockServicePrincipalFederationPolicyInterface) GetByServicePrincipalIdAndPolicyId(ctx context.Context, servicePrincipalId int64, policyId string) (*oauth2.FederationPolicy, error)

GetByServicePrincipalIdAndPolicyId provides a mock function with given fields: ctx, servicePrincipalId, policyId

func (*MockServicePrincipalFederationPolicyInterface) List added in v0.54.0

List provides a mock function with given fields: ctx, request

func (*MockServicePrincipalFederationPolicyInterface) ListAll added in v0.54.0

ListAll provides a mock function with given fields: ctx, request

func (*MockServicePrincipalFederationPolicyInterface) ListByServicePrincipalId added in v0.54.0

func (_m *MockServicePrincipalFederationPolicyInterface) ListByServicePrincipalId(ctx context.Context, servicePrincipalId int64) (*oauth2.ListFederationPoliciesResponse, error)

ListByServicePrincipalId provides a mock function with given fields: ctx, servicePrincipalId

func (*MockServicePrincipalFederationPolicyInterface) Update added in v0.54.0

Update provides a mock function with given fields: ctx, request

type MockServicePrincipalFederationPolicyInterface_Create_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_Create_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_Create_Call) Run added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call) Run added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call) RunAndReturn added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Delete_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_Delete_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_Delete_Call) Run added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Expecter added in v0.54.0

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

func (*MockServicePrincipalFederationPolicyInterface_Expecter) Create added in v0.54.0

Create is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.CreateServicePrincipalFederationPolicyRequest

func (*MockServicePrincipalFederationPolicyInterface_Expecter) Delete added in v0.54.0

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.DeleteServicePrincipalFederationPolicyRequest

func (*MockServicePrincipalFederationPolicyInterface_Expecter) DeleteByServicePrincipalIdAndPolicyId added in v0.54.0

func (_e *MockServicePrincipalFederationPolicyInterface_Expecter) DeleteByServicePrincipalIdAndPolicyId(ctx interface{}, servicePrincipalId interface{}, policyId interface{}) *MockServicePrincipalFederationPolicyInterface_DeleteByServicePrincipalIdAndPolicyId_Call

DeleteByServicePrincipalIdAndPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • servicePrincipalId int64
  • policyId string

func (*MockServicePrincipalFederationPolicyInterface_Expecter) Get added in v0.54.0

Get is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.GetServicePrincipalFederationPolicyRequest

func (*MockServicePrincipalFederationPolicyInterface_Expecter) GetByServicePrincipalIdAndPolicyId added in v0.54.0

func (_e *MockServicePrincipalFederationPolicyInterface_Expecter) GetByServicePrincipalIdAndPolicyId(ctx interface{}, servicePrincipalId interface{}, policyId interface{}) *MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call

GetByServicePrincipalIdAndPolicyId is a helper method to define mock.On call

  • ctx context.Context
  • servicePrincipalId int64
  • policyId string

func (*MockServicePrincipalFederationPolicyInterface_Expecter) List added in v0.54.0

List is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListServicePrincipalFederationPoliciesRequest

func (*MockServicePrincipalFederationPolicyInterface_Expecter) ListAll added in v0.54.0

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListServicePrincipalFederationPoliciesRequest

func (*MockServicePrincipalFederationPolicyInterface_Expecter) ListByServicePrincipalId added in v0.54.0

func (_e *MockServicePrincipalFederationPolicyInterface_Expecter) ListByServicePrincipalId(ctx interface{}, servicePrincipalId interface{}) *MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call

ListByServicePrincipalId is a helper method to define mock.On call

  • ctx context.Context
  • servicePrincipalId int64

func (*MockServicePrincipalFederationPolicyInterface_Expecter) Update added in v0.54.0

Update is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.UpdateServicePrincipalFederationPolicyRequest

type MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call) Run added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_GetByServicePrincipalIdAndPolicyId_Call) RunAndReturn added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Get_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_Get_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_Get_Call) Run added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_ListAll_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_ListAll_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_ListAll_Call) Run added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call) Run added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_ListByServicePrincipalId_Call) RunAndReturn added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_List_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_List_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_List_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_List_Call) Run added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Update_Call added in v0.54.0

type MockServicePrincipalFederationPolicyInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalFederationPolicyInterface_Update_Call) Return added in v0.54.0

func (*MockServicePrincipalFederationPolicyInterface_Update_Call) Run added in v0.54.0

type MockServicePrincipalSecretsInterface

type MockServicePrincipalSecretsInterface struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, request

func (*MockServicePrincipalSecretsInterface) Delete

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 (*MockServicePrincipalSecretsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockServicePrincipalSecretsInterface) ListAll

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

type MockServicePrincipalSecretsInterface_Create_Call struct {
	*mock.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

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) Return

func (*MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) Run

func (*MockServicePrincipalSecretsInterface_DeleteByServicePrincipalIdAndSecretId_Call) RunAndReturn

type MockServicePrincipalSecretsInterface_Delete_Call

type MockServicePrincipalSecretsInterface_Delete_Call struct {
	*mock.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 (*MockServicePrincipalSecretsInterface_Delete_Call) Run

type MockServicePrincipalSecretsInterface_Expecter

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

func (*MockServicePrincipalSecretsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.CreateServicePrincipalSecretRequest

func (*MockServicePrincipalSecretsInterface_Expecter) Delete

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

List is a helper method to define mock.On call

  • ctx context.Context
  • request oauth2.ListServicePrincipalSecretsRequest

func (*MockServicePrincipalSecretsInterface_Expecter) ListAll

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

type MockServicePrincipalSecretsInterface_ListAll_Call struct {
	*mock.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 (*MockServicePrincipalSecretsInterface_ListAll_Call) Run

type MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call

type MockServicePrincipalSecretsInterface_ListByServicePrincipalId_Call struct {
	*mock.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

type MockServicePrincipalSecretsInterface_List_Call

type MockServicePrincipalSecretsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalSecretsInterface_List_Call) Return

func (*MockServicePrincipalSecretsInterface_List_Call) Run

Jump to

Keyboard shortcuts

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