settings

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 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 MockAccountIpAccessListsInterface

type MockAccountIpAccessListsInterface struct {
	mock.Mock
}

MockAccountIpAccessListsInterface is an autogenerated mock type for the AccountIpAccessListsInterface type

func NewMockAccountIpAccessListsInterface

func NewMockAccountIpAccessListsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountIpAccessListsInterface

NewMockAccountIpAccessListsInterface creates a new instance of MockAccountIpAccessListsInterface. 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 (*MockAccountIpAccessListsInterface) Create

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

func (*MockAccountIpAccessListsInterface) Delete

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

func (*MockAccountIpAccessListsInterface) DeleteByIpAccessListId

func (_m *MockAccountIpAccessListsInterface) DeleteByIpAccessListId(ctx context.Context, ipAccessListId string) error

DeleteByIpAccessListId provides a mock function with given fields: ctx, ipAccessListId

func (*MockAccountIpAccessListsInterface) EXPECT

func (*MockAccountIpAccessListsInterface) Get

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

func (*MockAccountIpAccessListsInterface) GetByIpAccessListId

func (_m *MockAccountIpAccessListsInterface) GetByIpAccessListId(ctx context.Context, ipAccessListId string) (*settings.GetIpAccessListResponse, error)

GetByIpAccessListId provides a mock function with given fields: ctx, ipAccessListId

func (*MockAccountIpAccessListsInterface) GetByLabel

GetByLabel provides a mock function with given fields: ctx, name

func (*MockAccountIpAccessListsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountIpAccessListsInterface) IpAccessListInfoLabelToListIdMap

func (_m *MockAccountIpAccessListsInterface) IpAccessListInfoLabelToListIdMap(ctx context.Context) (map[string]string, error)

IpAccessListInfoLabelToListIdMap provides a mock function with given fields: ctx

func (*MockAccountIpAccessListsInterface) List

List provides a mock function with given fields: ctx

func (*MockAccountIpAccessListsInterface) ListAll

ListAll provides a mock function with given fields: ctx

func (*MockAccountIpAccessListsInterface) Replace

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

func (*MockAccountIpAccessListsInterface) Update

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

func (*MockAccountIpAccessListsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountIpAccessListsInterface_Create_Call

type MockAccountIpAccessListsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Create_Call) Return

func (*MockAccountIpAccessListsInterface_Create_Call) Run

type MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call

type MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call) Return

func (*MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call) Run

func (*MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call) RunAndReturn

type MockAccountIpAccessListsInterface_Delete_Call

type MockAccountIpAccessListsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Delete_Call) Return

func (*MockAccountIpAccessListsInterface_Delete_Call) Run

type MockAccountIpAccessListsInterface_Expecter

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

func (*MockAccountIpAccessListsInterface_Expecter) Create

func (_e *MockAccountIpAccessListsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountIpAccessListsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreateIpAccessList

func (*MockAccountIpAccessListsInterface_Expecter) Delete

func (_e *MockAccountIpAccessListsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountIpAccessListsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeleteAccountIpAccessListRequest

func (*MockAccountIpAccessListsInterface_Expecter) DeleteByIpAccessListId

func (_e *MockAccountIpAccessListsInterface_Expecter) DeleteByIpAccessListId(ctx interface{}, ipAccessListId interface{}) *MockAccountIpAccessListsInterface_DeleteByIpAccessListId_Call

DeleteByIpAccessListId is a helper method to define mock.On call

  • ctx context.Context
  • ipAccessListId string

func (*MockAccountIpAccessListsInterface_Expecter) Get

func (_e *MockAccountIpAccessListsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountIpAccessListsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetAccountIpAccessListRequest

func (*MockAccountIpAccessListsInterface_Expecter) GetByIpAccessListId

func (_e *MockAccountIpAccessListsInterface_Expecter) GetByIpAccessListId(ctx interface{}, ipAccessListId interface{}) *MockAccountIpAccessListsInterface_GetByIpAccessListId_Call

GetByIpAccessListId is a helper method to define mock.On call

  • ctx context.Context
  • ipAccessListId string

func (*MockAccountIpAccessListsInterface_Expecter) GetByLabel

func (_e *MockAccountIpAccessListsInterface_Expecter) GetByLabel(ctx interface{}, name interface{}) *MockAccountIpAccessListsInterface_GetByLabel_Call

GetByLabel is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAccountIpAccessListsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountIpAccessListsInterface_Expecter) IpAccessListInfoLabelToListIdMap

IpAccessListInfoLabelToListIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockAccountIpAccessListsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockAccountIpAccessListsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockAccountIpAccessListsInterface_Expecter) Replace

func (_e *MockAccountIpAccessListsInterface_Expecter) Replace(ctx interface{}, request interface{}) *MockAccountIpAccessListsInterface_Replace_Call

Replace is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ReplaceIpAccessList

func (*MockAccountIpAccessListsInterface_Expecter) Update

func (_e *MockAccountIpAccessListsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountIpAccessListsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request settings.UpdateIpAccessList

func (*MockAccountIpAccessListsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.AccountIpAccessListsService

type MockAccountIpAccessListsInterface_GetByIpAccessListId_Call

type MockAccountIpAccessListsInterface_GetByIpAccessListId_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_GetByIpAccessListId_Call) Run

type MockAccountIpAccessListsInterface_GetByLabel_Call

type MockAccountIpAccessListsInterface_GetByLabel_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_GetByLabel_Call) Return

func (*MockAccountIpAccessListsInterface_GetByLabel_Call) Run

func (*MockAccountIpAccessListsInterface_GetByLabel_Call) RunAndReturn

type MockAccountIpAccessListsInterface_Get_Call

type MockAccountIpAccessListsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Get_Call) Return

func (*MockAccountIpAccessListsInterface_Get_Call) Run

type MockAccountIpAccessListsInterface_Impl_Call

type MockAccountIpAccessListsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Impl_Call) Run

func (*MockAccountIpAccessListsInterface_Impl_Call) RunAndReturn

type MockAccountIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call

type MockAccountIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) Return

func (*MockAccountIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) Run

func (*MockAccountIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) RunAndReturn

type MockAccountIpAccessListsInterface_ListAll_Call

type MockAccountIpAccessListsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_ListAll_Call) Return

func (*MockAccountIpAccessListsInterface_ListAll_Call) Run

func (*MockAccountIpAccessListsInterface_ListAll_Call) RunAndReturn

type MockAccountIpAccessListsInterface_List_Call

type MockAccountIpAccessListsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_List_Call) Run

type MockAccountIpAccessListsInterface_Replace_Call

type MockAccountIpAccessListsInterface_Replace_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Replace_Call) Return

func (*MockAccountIpAccessListsInterface_Replace_Call) Run

func (*MockAccountIpAccessListsInterface_Replace_Call) RunAndReturn

type MockAccountIpAccessListsInterface_Update_Call

type MockAccountIpAccessListsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_Update_Call) Return

func (*MockAccountIpAccessListsInterface_Update_Call) Run

func (*MockAccountIpAccessListsInterface_Update_Call) RunAndReturn

type MockAccountIpAccessListsInterface_WithImpl_Call

type MockAccountIpAccessListsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountIpAccessListsInterface_WithImpl_Call) Run

type MockAccountSettingsInterface

type MockAccountSettingsInterface struct {
	mock.Mock
}

MockAccountSettingsInterface is an autogenerated mock type for the AccountSettingsInterface type

func NewMockAccountSettingsInterface

func NewMockAccountSettingsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountSettingsInterface

NewMockAccountSettingsInterface creates a new instance of MockAccountSettingsInterface. 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 (*MockAccountSettingsInterface) DeletePersonalComputeSetting

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

func (*MockAccountSettingsInterface) EXPECT

func (*MockAccountSettingsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountSettingsInterface) ReadPersonalComputeSetting

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

func (*MockAccountSettingsInterface) UpdatePersonalComputeSetting

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

func (*MockAccountSettingsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountSettingsInterface_DeletePersonalComputeSetting_Call

type MockAccountSettingsInterface_DeletePersonalComputeSetting_Call struct {
	*mock.Call
}

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

type MockAccountSettingsInterface_Expecter

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

func (*MockAccountSettingsInterface_Expecter) DeletePersonalComputeSetting

func (_e *MockAccountSettingsInterface_Expecter) DeletePersonalComputeSetting(ctx interface{}, request interface{}) *MockAccountSettingsInterface_DeletePersonalComputeSetting_Call

DeletePersonalComputeSetting is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeletePersonalComputeSettingRequest

func (*MockAccountSettingsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountSettingsInterface_Expecter) ReadPersonalComputeSetting

func (_e *MockAccountSettingsInterface_Expecter) ReadPersonalComputeSetting(ctx interface{}, request interface{}) *MockAccountSettingsInterface_ReadPersonalComputeSetting_Call

ReadPersonalComputeSetting is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ReadPersonalComputeSettingRequest

func (*MockAccountSettingsInterface_Expecter) UpdatePersonalComputeSetting

func (_e *MockAccountSettingsInterface_Expecter) UpdatePersonalComputeSetting(ctx interface{}, request interface{}) *MockAccountSettingsInterface_UpdatePersonalComputeSetting_Call

UpdatePersonalComputeSetting is a helper method to define mock.On call

  • ctx context.Context
  • request settings.UpdatePersonalComputeSettingRequest

func (*MockAccountSettingsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.AccountSettingsService

type MockAccountSettingsInterface_Impl_Call

type MockAccountSettingsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountSettingsInterface_Impl_Call) Return

func (*MockAccountSettingsInterface_Impl_Call) Run

func (*MockAccountSettingsInterface_Impl_Call) RunAndReturn

type MockAccountSettingsInterface_ReadPersonalComputeSetting_Call

type MockAccountSettingsInterface_ReadPersonalComputeSetting_Call struct {
	*mock.Call
}

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

type MockAccountSettingsInterface_UpdatePersonalComputeSetting_Call

type MockAccountSettingsInterface_UpdatePersonalComputeSetting_Call struct {
	*mock.Call
}

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

type MockAccountSettingsInterface_WithImpl_Call

type MockAccountSettingsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountSettingsInterface_WithImpl_Call) Run

type MockCredentialsManagerInterface

type MockCredentialsManagerInterface struct {
	mock.Mock
}

MockCredentialsManagerInterface is an autogenerated mock type for the CredentialsManagerInterface type

func NewMockCredentialsManagerInterface

func NewMockCredentialsManagerInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCredentialsManagerInterface

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

func (*MockCredentialsManagerInterface) ExchangeToken

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

func (*MockCredentialsManagerInterface) Impl

Impl provides a mock function with given fields:

func (*MockCredentialsManagerInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockCredentialsManagerInterface_ExchangeToken_Call

type MockCredentialsManagerInterface_ExchangeToken_Call struct {
	*mock.Call
}

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

func (*MockCredentialsManagerInterface_ExchangeToken_Call) Return

func (*MockCredentialsManagerInterface_ExchangeToken_Call) Run

type MockCredentialsManagerInterface_Expecter

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

func (*MockCredentialsManagerInterface_Expecter) ExchangeToken

func (_e *MockCredentialsManagerInterface_Expecter) ExchangeToken(ctx interface{}, request interface{}) *MockCredentialsManagerInterface_ExchangeToken_Call

ExchangeToken is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ExchangeTokenRequest

func (*MockCredentialsManagerInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockCredentialsManagerInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.CredentialsManagerService

type MockCredentialsManagerInterface_Impl_Call

type MockCredentialsManagerInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockCredentialsManagerInterface_Impl_Call) Run

func (*MockCredentialsManagerInterface_Impl_Call) RunAndReturn

type MockCredentialsManagerInterface_WithImpl_Call

type MockCredentialsManagerInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockCredentialsManagerInterface_WithImpl_Call) Run

type MockIpAccessListsInterface

type MockIpAccessListsInterface struct {
	mock.Mock
}

MockIpAccessListsInterface is an autogenerated mock type for the IpAccessListsInterface type

func NewMockIpAccessListsInterface

func NewMockIpAccessListsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockIpAccessListsInterface

NewMockIpAccessListsInterface creates a new instance of MockIpAccessListsInterface. 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 (*MockIpAccessListsInterface) Create

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

func (*MockIpAccessListsInterface) Delete

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

func (*MockIpAccessListsInterface) DeleteByIpAccessListId

func (_m *MockIpAccessListsInterface) DeleteByIpAccessListId(ctx context.Context, ipAccessListId string) error

DeleteByIpAccessListId provides a mock function with given fields: ctx, ipAccessListId

func (*MockIpAccessListsInterface) EXPECT

func (*MockIpAccessListsInterface) Get

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

func (*MockIpAccessListsInterface) GetByIpAccessListId

func (_m *MockIpAccessListsInterface) GetByIpAccessListId(ctx context.Context, ipAccessListId string) (*settings.FetchIpAccessListResponse, error)

GetByIpAccessListId provides a mock function with given fields: ctx, ipAccessListId

func (*MockIpAccessListsInterface) GetByLabel

GetByLabel provides a mock function with given fields: ctx, name

func (*MockIpAccessListsInterface) Impl

Impl provides a mock function with given fields:

func (*MockIpAccessListsInterface) IpAccessListInfoLabelToListIdMap

func (_m *MockIpAccessListsInterface) IpAccessListInfoLabelToListIdMap(ctx context.Context) (map[string]string, error)

IpAccessListInfoLabelToListIdMap provides a mock function with given fields: ctx

func (*MockIpAccessListsInterface) List

List provides a mock function with given fields: ctx

func (*MockIpAccessListsInterface) ListAll

ListAll provides a mock function with given fields: ctx

func (*MockIpAccessListsInterface) Replace

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

func (*MockIpAccessListsInterface) Update

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

func (*MockIpAccessListsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockIpAccessListsInterface_Create_Call

type MockIpAccessListsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Create_Call) Return

func (*MockIpAccessListsInterface_Create_Call) Run

type MockIpAccessListsInterface_DeleteByIpAccessListId_Call

type MockIpAccessListsInterface_DeleteByIpAccessListId_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_DeleteByIpAccessListId_Call) Return

func (*MockIpAccessListsInterface_DeleteByIpAccessListId_Call) Run

func (*MockIpAccessListsInterface_DeleteByIpAccessListId_Call) RunAndReturn

type MockIpAccessListsInterface_Delete_Call

type MockIpAccessListsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Delete_Call) Return

func (*MockIpAccessListsInterface_Delete_Call) Run

type MockIpAccessListsInterface_Expecter

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

func (*MockIpAccessListsInterface_Expecter) Create

func (_e *MockIpAccessListsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockIpAccessListsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreateIpAccessList

func (*MockIpAccessListsInterface_Expecter) Delete

func (_e *MockIpAccessListsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockIpAccessListsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeleteIpAccessListRequest

func (*MockIpAccessListsInterface_Expecter) DeleteByIpAccessListId

func (_e *MockIpAccessListsInterface_Expecter) DeleteByIpAccessListId(ctx interface{}, ipAccessListId interface{}) *MockIpAccessListsInterface_DeleteByIpAccessListId_Call

DeleteByIpAccessListId is a helper method to define mock.On call

  • ctx context.Context
  • ipAccessListId string

func (*MockIpAccessListsInterface_Expecter) Get

func (_e *MockIpAccessListsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockIpAccessListsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetIpAccessListRequest

func (*MockIpAccessListsInterface_Expecter) GetByIpAccessListId

func (_e *MockIpAccessListsInterface_Expecter) GetByIpAccessListId(ctx interface{}, ipAccessListId interface{}) *MockIpAccessListsInterface_GetByIpAccessListId_Call

GetByIpAccessListId is a helper method to define mock.On call

  • ctx context.Context
  • ipAccessListId string

func (*MockIpAccessListsInterface_Expecter) GetByLabel

func (_e *MockIpAccessListsInterface_Expecter) GetByLabel(ctx interface{}, name interface{}) *MockIpAccessListsInterface_GetByLabel_Call

GetByLabel is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockIpAccessListsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockIpAccessListsInterface_Expecter) IpAccessListInfoLabelToListIdMap

IpAccessListInfoLabelToListIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockIpAccessListsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockIpAccessListsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockIpAccessListsInterface_Expecter) Replace

func (_e *MockIpAccessListsInterface_Expecter) Replace(ctx interface{}, request interface{}) *MockIpAccessListsInterface_Replace_Call

Replace is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ReplaceIpAccessList

func (*MockIpAccessListsInterface_Expecter) Update

func (_e *MockIpAccessListsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockIpAccessListsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request settings.UpdateIpAccessList

func (*MockIpAccessListsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.IpAccessListsService

type MockIpAccessListsInterface_GetByIpAccessListId_Call

type MockIpAccessListsInterface_GetByIpAccessListId_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_GetByIpAccessListId_Call) Run

type MockIpAccessListsInterface_GetByLabel_Call

type MockIpAccessListsInterface_GetByLabel_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_GetByLabel_Call) Return

func (*MockIpAccessListsInterface_GetByLabel_Call) Run

func (*MockIpAccessListsInterface_GetByLabel_Call) RunAndReturn

type MockIpAccessListsInterface_Get_Call

type MockIpAccessListsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Get_Call) Return

func (*MockIpAccessListsInterface_Get_Call) Run

type MockIpAccessListsInterface_Impl_Call

type MockIpAccessListsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Impl_Call) Return

func (*MockIpAccessListsInterface_Impl_Call) Run

func (*MockIpAccessListsInterface_Impl_Call) RunAndReturn

type MockIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call

type MockIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) Return

func (*MockIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) Run

func (*MockIpAccessListsInterface_IpAccessListInfoLabelToListIdMap_Call) RunAndReturn

type MockIpAccessListsInterface_ListAll_Call

type MockIpAccessListsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_ListAll_Call) Return

func (*MockIpAccessListsInterface_ListAll_Call) Run

func (*MockIpAccessListsInterface_ListAll_Call) RunAndReturn

type MockIpAccessListsInterface_List_Call

type MockIpAccessListsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_List_Call) Run

type MockIpAccessListsInterface_Replace_Call

type MockIpAccessListsInterface_Replace_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Replace_Call) Return

func (*MockIpAccessListsInterface_Replace_Call) Run

func (*MockIpAccessListsInterface_Replace_Call) RunAndReturn

type MockIpAccessListsInterface_Update_Call

type MockIpAccessListsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_Update_Call) Return

func (*MockIpAccessListsInterface_Update_Call) Run

func (*MockIpAccessListsInterface_Update_Call) RunAndReturn

type MockIpAccessListsInterface_WithImpl_Call

type MockIpAccessListsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockIpAccessListsInterface_WithImpl_Call) Return

func (*MockIpAccessListsInterface_WithImpl_Call) Run

type MockNetworkConnectivityInterface

type MockNetworkConnectivityInterface struct {
	mock.Mock
}

MockNetworkConnectivityInterface is an autogenerated mock type for the NetworkConnectivityInterface type

func NewMockNetworkConnectivityInterface

func NewMockNetworkConnectivityInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockNetworkConnectivityInterface

NewMockNetworkConnectivityInterface creates a new instance of MockNetworkConnectivityInterface. 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 (*MockNetworkConnectivityInterface) CreateNetworkConnectivityConfiguration

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

func (*MockNetworkConnectivityInterface) CreatePrivateEndpointRule

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

func (*MockNetworkConnectivityInterface) DeleteNetworkConnectivityConfiguration

func (_m *MockNetworkConnectivityInterface) DeleteNetworkConnectivityConfiguration(ctx context.Context, request settings.DeleteNetworkConnectivityConfigurationRequest) error

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

func (*MockNetworkConnectivityInterface) DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId

func (_m *MockNetworkConnectivityInterface) DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId(ctx context.Context, networkConnectivityConfigId string) error

DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId provides a mock function with given fields: ctx, networkConnectivityConfigId

func (*MockNetworkConnectivityInterface) DeletePrivateEndpointRule

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

func (*MockNetworkConnectivityInterface) DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId

func (_m *MockNetworkConnectivityInterface) DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId(ctx context.Context, networkConnectivityConfigId string, privateEndpointRuleId string) (*settings.NccAzurePrivateEndpointRule, error)

DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId provides a mock function with given fields: ctx, networkConnectivityConfigId, privateEndpointRuleId

func (*MockNetworkConnectivityInterface) EXPECT

func (*MockNetworkConnectivityInterface) GetNetworkConnectivityConfiguration

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

func (*MockNetworkConnectivityInterface) GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId

func (_m *MockNetworkConnectivityInterface) GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId(ctx context.Context, networkConnectivityConfigId string) (*settings.NetworkConnectivityConfiguration, error)

GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId provides a mock function with given fields: ctx, networkConnectivityConfigId

func (*MockNetworkConnectivityInterface) GetPrivateEndpointRule

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

func (*MockNetworkConnectivityInterface) GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId

func (_m *MockNetworkConnectivityInterface) GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId(ctx context.Context, networkConnectivityConfigId string, privateEndpointRuleId string) (*settings.NccAzurePrivateEndpointRule, error)

GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId provides a mock function with given fields: ctx, networkConnectivityConfigId, privateEndpointRuleId

func (*MockNetworkConnectivityInterface) Impl

Impl provides a mock function with given fields:

func (*MockNetworkConnectivityInterface) ListNetworkConnectivityConfigurations

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

func (*MockNetworkConnectivityInterface) ListNetworkConnectivityConfigurationsAll

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

func (*MockNetworkConnectivityInterface) ListPrivateEndpointRules

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

func (*MockNetworkConnectivityInterface) ListPrivateEndpointRulesAll

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

func (*MockNetworkConnectivityInterface) ListPrivateEndpointRulesByNetworkConnectivityConfigId

func (_m *MockNetworkConnectivityInterface) ListPrivateEndpointRulesByNetworkConnectivityConfigId(ctx context.Context, networkConnectivityConfigId string) (*settings.ListNccAzurePrivateEndpointRulesResponse, error)

ListPrivateEndpointRulesByNetworkConnectivityConfigId provides a mock function with given fields: ctx, networkConnectivityConfigId

func (*MockNetworkConnectivityInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockNetworkConnectivityInterface_CreateNetworkConnectivityConfiguration_Call

type MockNetworkConnectivityInterface_CreateNetworkConnectivityConfiguration_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_CreatePrivateEndpointRule_Call

type MockNetworkConnectivityInterface_CreatePrivateEndpointRule_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call

type MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call) Run

type MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfiguration_Call

type MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfiguration_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfiguration_Call) Return

type MockNetworkConnectivityInterface_DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call

type MockNetworkConnectivityInterface_DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call) Run

type MockNetworkConnectivityInterface_DeletePrivateEndpointRule_Call

type MockNetworkConnectivityInterface_DeletePrivateEndpointRule_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_Expecter

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

func (*MockNetworkConnectivityInterface_Expecter) CreateNetworkConnectivityConfiguration

func (_e *MockNetworkConnectivityInterface_Expecter) CreateNetworkConnectivityConfiguration(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_CreateNetworkConnectivityConfiguration_Call

CreateNetworkConnectivityConfiguration is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreateNetworkConnectivityConfigRequest

func (*MockNetworkConnectivityInterface_Expecter) CreatePrivateEndpointRule

func (_e *MockNetworkConnectivityInterface_Expecter) CreatePrivateEndpointRule(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_CreatePrivateEndpointRule_Call

CreatePrivateEndpointRule is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreatePrivateEndpointRuleRequest

func (*MockNetworkConnectivityInterface_Expecter) DeleteNetworkConnectivityConfiguration

func (_e *MockNetworkConnectivityInterface_Expecter) DeleteNetworkConnectivityConfiguration(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfiguration_Call

DeleteNetworkConnectivityConfiguration is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeleteNetworkConnectivityConfigurationRequest

func (*MockNetworkConnectivityInterface_Expecter) DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId

func (_e *MockNetworkConnectivityInterface_Expecter) DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId(ctx interface{}, networkConnectivityConfigId interface{}) *MockNetworkConnectivityInterface_DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call

DeleteNetworkConnectivityConfigurationByNetworkConnectivityConfigId is a helper method to define mock.On call

  • ctx context.Context
  • networkConnectivityConfigId string

func (*MockNetworkConnectivityInterface_Expecter) DeletePrivateEndpointRule

func (_e *MockNetworkConnectivityInterface_Expecter) DeletePrivateEndpointRule(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_DeletePrivateEndpointRule_Call

DeletePrivateEndpointRule is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeletePrivateEndpointRuleRequest

func (*MockNetworkConnectivityInterface_Expecter) DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId

func (_e *MockNetworkConnectivityInterface_Expecter) DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId(ctx interface{}, networkConnectivityConfigId interface{}, privateEndpointRuleId interface{}) *MockNetworkConnectivityInterface_DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call

DeletePrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId is a helper method to define mock.On call

  • ctx context.Context
  • networkConnectivityConfigId string
  • privateEndpointRuleId string

func (*MockNetworkConnectivityInterface_Expecter) GetNetworkConnectivityConfiguration

func (_e *MockNetworkConnectivityInterface_Expecter) GetNetworkConnectivityConfiguration(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_GetNetworkConnectivityConfiguration_Call

GetNetworkConnectivityConfiguration is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetNetworkConnectivityConfigurationRequest

func (*MockNetworkConnectivityInterface_Expecter) GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId

func (_e *MockNetworkConnectivityInterface_Expecter) GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId(ctx interface{}, networkConnectivityConfigId interface{}) *MockNetworkConnectivityInterface_GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call

GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId is a helper method to define mock.On call

  • ctx context.Context
  • networkConnectivityConfigId string

func (*MockNetworkConnectivityInterface_Expecter) GetPrivateEndpointRule

func (_e *MockNetworkConnectivityInterface_Expecter) GetPrivateEndpointRule(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_GetPrivateEndpointRule_Call

GetPrivateEndpointRule is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetPrivateEndpointRuleRequest

func (*MockNetworkConnectivityInterface_Expecter) GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId

func (_e *MockNetworkConnectivityInterface_Expecter) GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId(ctx interface{}, networkConnectivityConfigId interface{}, privateEndpointRuleId interface{}) *MockNetworkConnectivityInterface_GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call

GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId is a helper method to define mock.On call

  • ctx context.Context
  • networkConnectivityConfigId string
  • privateEndpointRuleId string

func (*MockNetworkConnectivityInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockNetworkConnectivityInterface_Expecter) ListNetworkConnectivityConfigurations

func (_e *MockNetworkConnectivityInterface_Expecter) ListNetworkConnectivityConfigurations(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurations_Call

ListNetworkConnectivityConfigurations is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListNetworkConnectivityConfigurationsRequest

func (*MockNetworkConnectivityInterface_Expecter) ListNetworkConnectivityConfigurationsAll

func (_e *MockNetworkConnectivityInterface_Expecter) ListNetworkConnectivityConfigurationsAll(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurationsAll_Call

ListNetworkConnectivityConfigurationsAll is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListNetworkConnectivityConfigurationsRequest

func (*MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRules

func (_e *MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRules(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_ListPrivateEndpointRules_Call

ListPrivateEndpointRules is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListPrivateEndpointRulesRequest

func (*MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRulesAll

func (_e *MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRulesAll(ctx interface{}, request interface{}) *MockNetworkConnectivityInterface_ListPrivateEndpointRulesAll_Call

ListPrivateEndpointRulesAll is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListPrivateEndpointRulesRequest

func (*MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRulesByNetworkConnectivityConfigId

func (_e *MockNetworkConnectivityInterface_Expecter) ListPrivateEndpointRulesByNetworkConnectivityConfigId(ctx interface{}, networkConnectivityConfigId interface{}) *MockNetworkConnectivityInterface_ListPrivateEndpointRulesByNetworkConnectivityConfigId_Call

ListPrivateEndpointRulesByNetworkConnectivityConfigId is a helper method to define mock.On call

  • ctx context.Context
  • networkConnectivityConfigId string

func (*MockNetworkConnectivityInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.NetworkConnectivityService

type MockNetworkConnectivityInterface_GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call

type MockNetworkConnectivityInterface_GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_GetNetworkConnectivityConfigurationByNetworkConnectivityConfigId_Call) Run

type MockNetworkConnectivityInterface_GetNetworkConnectivityConfiguration_Call

type MockNetworkConnectivityInterface_GetNetworkConnectivityConfiguration_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call

type MockNetworkConnectivityInterface_GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_GetPrivateEndpointRuleByNetworkConnectivityConfigIdAndPrivateEndpointRuleId_Call) Run

type MockNetworkConnectivityInterface_GetPrivateEndpointRule_Call

type MockNetworkConnectivityInterface_GetPrivateEndpointRule_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_GetPrivateEndpointRule_Call) Run

type MockNetworkConnectivityInterface_Impl_Call

type MockNetworkConnectivityInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_Impl_Call) Run

func (*MockNetworkConnectivityInterface_Impl_Call) RunAndReturn

type MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurationsAll_Call

type MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurationsAll_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurations_Call

type MockNetworkConnectivityInterface_ListNetworkConnectivityConfigurations_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_ListPrivateEndpointRulesAll_Call

type MockNetworkConnectivityInterface_ListPrivateEndpointRulesAll_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_ListPrivateEndpointRulesByNetworkConnectivityConfigId_Call

type MockNetworkConnectivityInterface_ListPrivateEndpointRulesByNetworkConnectivityConfigId_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_ListPrivateEndpointRulesByNetworkConnectivityConfigId_Call) Run

type MockNetworkConnectivityInterface_ListPrivateEndpointRules_Call

type MockNetworkConnectivityInterface_ListPrivateEndpointRules_Call struct {
	*mock.Call
}

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

type MockNetworkConnectivityInterface_WithImpl_Call

type MockNetworkConnectivityInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockNetworkConnectivityInterface_WithImpl_Call) Run

type MockSettingsInterface

type MockSettingsInterface struct {
	mock.Mock
}

MockSettingsInterface is an autogenerated mock type for the SettingsInterface type

func NewMockSettingsInterface

func NewMockSettingsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSettingsInterface

NewMockSettingsInterface creates a new instance of MockSettingsInterface. 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 (*MockSettingsInterface) DeleteDefaultWorkspaceNamespace

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

func (*MockSettingsInterface) EXPECT

func (*MockSettingsInterface) Impl

Impl provides a mock function with given fields:

func (*MockSettingsInterface) ReadDefaultWorkspaceNamespace

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

func (*MockSettingsInterface) UpdateDefaultWorkspaceNamespace

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

func (*MockSettingsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockSettingsInterface_DeleteDefaultWorkspaceNamespace_Call

type MockSettingsInterface_DeleteDefaultWorkspaceNamespace_Call struct {
	*mock.Call
}

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

type MockSettingsInterface_Expecter

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

func (*MockSettingsInterface_Expecter) DeleteDefaultWorkspaceNamespace

func (_e *MockSettingsInterface_Expecter) DeleteDefaultWorkspaceNamespace(ctx interface{}, request interface{}) *MockSettingsInterface_DeleteDefaultWorkspaceNamespace_Call

DeleteDefaultWorkspaceNamespace is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeleteDefaultWorkspaceNamespaceRequest

func (*MockSettingsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockSettingsInterface_Expecter) ReadDefaultWorkspaceNamespace

func (_e *MockSettingsInterface_Expecter) ReadDefaultWorkspaceNamespace(ctx interface{}, request interface{}) *MockSettingsInterface_ReadDefaultWorkspaceNamespace_Call

ReadDefaultWorkspaceNamespace is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ReadDefaultWorkspaceNamespaceRequest

func (*MockSettingsInterface_Expecter) UpdateDefaultWorkspaceNamespace

func (_e *MockSettingsInterface_Expecter) UpdateDefaultWorkspaceNamespace(ctx interface{}, request interface{}) *MockSettingsInterface_UpdateDefaultWorkspaceNamespace_Call

UpdateDefaultWorkspaceNamespace is a helper method to define mock.On call

  • ctx context.Context
  • request settings.UpdateDefaultWorkspaceNamespaceRequest

func (*MockSettingsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.SettingsService

type MockSettingsInterface_Impl_Call

type MockSettingsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockSettingsInterface_Impl_Call) Return

func (*MockSettingsInterface_Impl_Call) Run

func (*MockSettingsInterface_Impl_Call) RunAndReturn

type MockSettingsInterface_ReadDefaultWorkspaceNamespace_Call

type MockSettingsInterface_ReadDefaultWorkspaceNamespace_Call struct {
	*mock.Call
}

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

type MockSettingsInterface_UpdateDefaultWorkspaceNamespace_Call

type MockSettingsInterface_UpdateDefaultWorkspaceNamespace_Call struct {
	*mock.Call
}

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

type MockSettingsInterface_WithImpl_Call

type MockSettingsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockSettingsInterface_WithImpl_Call) Return

func (*MockSettingsInterface_WithImpl_Call) Run

func (*MockSettingsInterface_WithImpl_Call) RunAndReturn

type MockTokenManagementInterface

type MockTokenManagementInterface struct {
	mock.Mock
}

MockTokenManagementInterface is an autogenerated mock type for the TokenManagementInterface type

func NewMockTokenManagementInterface

func NewMockTokenManagementInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTokenManagementInterface

NewMockTokenManagementInterface creates a new instance of MockTokenManagementInterface. 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 (*MockTokenManagementInterface) CreateOboToken

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

func (*MockTokenManagementInterface) Delete

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

func (*MockTokenManagementInterface) DeleteByTokenId

func (_m *MockTokenManagementInterface) DeleteByTokenId(ctx context.Context, tokenId string) error

DeleteByTokenId provides a mock function with given fields: ctx, tokenId

func (*MockTokenManagementInterface) EXPECT

func (*MockTokenManagementInterface) Get

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

func (*MockTokenManagementInterface) GetByComment

func (_m *MockTokenManagementInterface) GetByComment(ctx context.Context, name string) (*settings.TokenInfo, error)

GetByComment provides a mock function with given fields: ctx, name

func (*MockTokenManagementInterface) GetByTokenId

func (_m *MockTokenManagementInterface) GetByTokenId(ctx context.Context, tokenId string) (*settings.TokenInfo, error)

GetByTokenId provides a mock function with given fields: ctx, tokenId

func (*MockTokenManagementInterface) GetPermissionLevels

GetPermissionLevels provides a mock function with given fields: ctx

func (*MockTokenManagementInterface) GetPermissions

GetPermissions provides a mock function with given fields: ctx

func (*MockTokenManagementInterface) Impl

Impl provides a mock function with given fields:

func (*MockTokenManagementInterface) List

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

func (*MockTokenManagementInterface) ListAll

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

func (*MockTokenManagementInterface) SetPermissions

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

func (*MockTokenManagementInterface) TokenInfoCommentToTokenIdMap

func (_m *MockTokenManagementInterface) TokenInfoCommentToTokenIdMap(ctx context.Context, request settings.ListTokenManagementRequest) (map[string]string, error)

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

func (*MockTokenManagementInterface) UpdatePermissions

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

func (*MockTokenManagementInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockTokenManagementInterface_CreateOboToken_Call

type MockTokenManagementInterface_CreateOboToken_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_CreateOboToken_Call) Return

func (*MockTokenManagementInterface_CreateOboToken_Call) Run

type MockTokenManagementInterface_DeleteByTokenId_Call

type MockTokenManagementInterface_DeleteByTokenId_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_DeleteByTokenId_Call) Return

func (*MockTokenManagementInterface_DeleteByTokenId_Call) Run

func (*MockTokenManagementInterface_DeleteByTokenId_Call) RunAndReturn

type MockTokenManagementInterface_Delete_Call

type MockTokenManagementInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_Delete_Call) Return

func (*MockTokenManagementInterface_Delete_Call) Run

type MockTokenManagementInterface_Expecter

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

func (*MockTokenManagementInterface_Expecter) CreateOboToken

func (_e *MockTokenManagementInterface_Expecter) CreateOboToken(ctx interface{}, request interface{}) *MockTokenManagementInterface_CreateOboToken_Call

CreateOboToken is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreateOboTokenRequest

func (*MockTokenManagementInterface_Expecter) Delete

func (_e *MockTokenManagementInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockTokenManagementInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request settings.DeleteTokenManagementRequest

func (*MockTokenManagementInterface_Expecter) DeleteByTokenId

func (_e *MockTokenManagementInterface_Expecter) DeleteByTokenId(ctx interface{}, tokenId interface{}) *MockTokenManagementInterface_DeleteByTokenId_Call

DeleteByTokenId is a helper method to define mock.On call

  • ctx context.Context
  • tokenId string

func (*MockTokenManagementInterface_Expecter) Get

func (_e *MockTokenManagementInterface_Expecter) Get(ctx interface{}, request interface{}) *MockTokenManagementInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetTokenManagementRequest

func (*MockTokenManagementInterface_Expecter) GetByComment

func (_e *MockTokenManagementInterface_Expecter) GetByComment(ctx interface{}, name interface{}) *MockTokenManagementInterface_GetByComment_Call

GetByComment is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockTokenManagementInterface_Expecter) GetByTokenId

func (_e *MockTokenManagementInterface_Expecter) GetByTokenId(ctx interface{}, tokenId interface{}) *MockTokenManagementInterface_GetByTokenId_Call

GetByTokenId is a helper method to define mock.On call

  • ctx context.Context
  • tokenId string

func (*MockTokenManagementInterface_Expecter) GetPermissionLevels

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context

func (*MockTokenManagementInterface_Expecter) GetPermissions

GetPermissions is a helper method to define mock.On call

  • ctx context.Context

func (*MockTokenManagementInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockTokenManagementInterface_Expecter) List

func (_e *MockTokenManagementInterface_Expecter) List(ctx interface{}, request interface{}) *MockTokenManagementInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListTokenManagementRequest

func (*MockTokenManagementInterface_Expecter) ListAll

func (_e *MockTokenManagementInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockTokenManagementInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListTokenManagementRequest

func (*MockTokenManagementInterface_Expecter) SetPermissions

func (_e *MockTokenManagementInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockTokenManagementInterface_SetPermissions_Call

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request settings.TokenPermissionsRequest

func (*MockTokenManagementInterface_Expecter) TokenInfoCommentToTokenIdMap

func (_e *MockTokenManagementInterface_Expecter) TokenInfoCommentToTokenIdMap(ctx interface{}, request interface{}) *MockTokenManagementInterface_TokenInfoCommentToTokenIdMap_Call

TokenInfoCommentToTokenIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request settings.ListTokenManagementRequest

func (*MockTokenManagementInterface_Expecter) UpdatePermissions

func (_e *MockTokenManagementInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockTokenManagementInterface_UpdatePermissions_Call

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request settings.TokenPermissionsRequest

func (*MockTokenManagementInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.TokenManagementService

type MockTokenManagementInterface_GetByComment_Call

type MockTokenManagementInterface_GetByComment_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_GetByComment_Call) Return

func (*MockTokenManagementInterface_GetByComment_Call) Run

func (*MockTokenManagementInterface_GetByComment_Call) RunAndReturn

type MockTokenManagementInterface_GetByTokenId_Call

type MockTokenManagementInterface_GetByTokenId_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_GetByTokenId_Call) Return

func (*MockTokenManagementInterface_GetByTokenId_Call) Run

func (*MockTokenManagementInterface_GetByTokenId_Call) RunAndReturn

type MockTokenManagementInterface_GetPermissionLevels_Call

type MockTokenManagementInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_GetPermissionLevels_Call) Run

type MockTokenManagementInterface_GetPermissions_Call

type MockTokenManagementInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_GetPermissions_Call) Return

func (*MockTokenManagementInterface_GetPermissions_Call) Run

func (*MockTokenManagementInterface_GetPermissions_Call) RunAndReturn

type MockTokenManagementInterface_Get_Call

type MockTokenManagementInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_Get_Call) Return

func (*MockTokenManagementInterface_Get_Call) Run

type MockTokenManagementInterface_Impl_Call

type MockTokenManagementInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_Impl_Call) Return

func (*MockTokenManagementInterface_Impl_Call) Run

func (*MockTokenManagementInterface_Impl_Call) RunAndReturn

type MockTokenManagementInterface_ListAll_Call

type MockTokenManagementInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_ListAll_Call) Return

func (*MockTokenManagementInterface_ListAll_Call) Run

type MockTokenManagementInterface_List_Call

type MockTokenManagementInterface_List_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_List_Call) Run

type MockTokenManagementInterface_SetPermissions_Call

type MockTokenManagementInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_SetPermissions_Call) Return

func (*MockTokenManagementInterface_SetPermissions_Call) Run

type MockTokenManagementInterface_TokenInfoCommentToTokenIdMap_Call

type MockTokenManagementInterface_TokenInfoCommentToTokenIdMap_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_TokenInfoCommentToTokenIdMap_Call) Return

func (*MockTokenManagementInterface_TokenInfoCommentToTokenIdMap_Call) Run

type MockTokenManagementInterface_UpdatePermissions_Call

type MockTokenManagementInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_UpdatePermissions_Call) Return

func (*MockTokenManagementInterface_UpdatePermissions_Call) Run

type MockTokenManagementInterface_WithImpl_Call

type MockTokenManagementInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockTokenManagementInterface_WithImpl_Call) Run

type MockTokensInterface

type MockTokensInterface struct {
	mock.Mock
}

MockTokensInterface is an autogenerated mock type for the TokensInterface type

func NewMockTokensInterface

func NewMockTokensInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockTokensInterface

NewMockTokensInterface creates a new instance of MockTokensInterface. 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 (*MockTokensInterface) Create

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

func (*MockTokensInterface) Delete

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

func (*MockTokensInterface) DeleteByTokenId

func (_m *MockTokensInterface) DeleteByTokenId(ctx context.Context, tokenId string) error

DeleteByTokenId provides a mock function with given fields: ctx, tokenId

func (*MockTokensInterface) EXPECT

func (*MockTokensInterface) GetByComment

func (_m *MockTokensInterface) GetByComment(ctx context.Context, name string) (*settings.PublicTokenInfo, error)

GetByComment provides a mock function with given fields: ctx, name

func (*MockTokensInterface) Impl

Impl provides a mock function with given fields:

func (*MockTokensInterface) List

List provides a mock function with given fields: ctx

func (*MockTokensInterface) ListAll

ListAll provides a mock function with given fields: ctx

func (*MockTokensInterface) PublicTokenInfoCommentToTokenIdMap

func (_m *MockTokensInterface) PublicTokenInfoCommentToTokenIdMap(ctx context.Context) (map[string]string, error)

PublicTokenInfoCommentToTokenIdMap provides a mock function with given fields: ctx

func (*MockTokensInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockTokensInterface_Create_Call

type MockTokensInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_Create_Call) Return

func (*MockTokensInterface_Create_Call) Run

type MockTokensInterface_DeleteByTokenId_Call

type MockTokensInterface_DeleteByTokenId_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_DeleteByTokenId_Call) Return

func (*MockTokensInterface_DeleteByTokenId_Call) Run

func (*MockTokensInterface_DeleteByTokenId_Call) RunAndReturn

type MockTokensInterface_Delete_Call

type MockTokensInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_Delete_Call) Return

func (*MockTokensInterface_Delete_Call) Run

func (*MockTokensInterface_Delete_Call) RunAndReturn

type MockTokensInterface_Expecter

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

func (*MockTokensInterface_Expecter) Create

func (_e *MockTokensInterface_Expecter) Create(ctx interface{}, request interface{}) *MockTokensInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request settings.CreateTokenRequest

func (*MockTokensInterface_Expecter) Delete

func (_e *MockTokensInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockTokensInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request settings.RevokeTokenRequest

func (*MockTokensInterface_Expecter) DeleteByTokenId

func (_e *MockTokensInterface_Expecter) DeleteByTokenId(ctx interface{}, tokenId interface{}) *MockTokensInterface_DeleteByTokenId_Call

DeleteByTokenId is a helper method to define mock.On call

  • ctx context.Context
  • tokenId string

func (*MockTokensInterface_Expecter) GetByComment

func (_e *MockTokensInterface_Expecter) GetByComment(ctx interface{}, name interface{}) *MockTokensInterface_GetByComment_Call

GetByComment is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockTokensInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockTokensInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockTokensInterface_Expecter) ListAll

func (_e *MockTokensInterface_Expecter) ListAll(ctx interface{}) *MockTokensInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context

func (*MockTokensInterface_Expecter) PublicTokenInfoCommentToTokenIdMap

func (_e *MockTokensInterface_Expecter) PublicTokenInfoCommentToTokenIdMap(ctx interface{}) *MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call

PublicTokenInfoCommentToTokenIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockTokensInterface_Expecter) WithImpl

func (_e *MockTokensInterface_Expecter) WithImpl(impl interface{}) *MockTokensInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl settings.TokensService

type MockTokensInterface_GetByComment_Call

type MockTokensInterface_GetByComment_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_GetByComment_Call) Return

func (*MockTokensInterface_GetByComment_Call) Run

func (*MockTokensInterface_GetByComment_Call) RunAndReturn

type MockTokensInterface_Impl_Call

type MockTokensInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_Impl_Call) Return

func (*MockTokensInterface_Impl_Call) Run

func (*MockTokensInterface_Impl_Call) RunAndReturn

type MockTokensInterface_ListAll_Call

type MockTokensInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_ListAll_Call) Return

func (*MockTokensInterface_ListAll_Call) Run

func (*MockTokensInterface_ListAll_Call) RunAndReturn

type MockTokensInterface_List_Call

type MockTokensInterface_List_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_List_Call) Run

type MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call

type MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call) Return

func (*MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call) Run

func (*MockTokensInterface_PublicTokenInfoCommentToTokenIdMap_Call) RunAndReturn

type MockTokensInterface_WithImpl_Call

type MockTokensInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockTokensInterface_WithImpl_Call) Return

func (*MockTokensInterface_WithImpl_Call) Run

func (*MockTokensInterface_WithImpl_Call) RunAndReturn

type MockWorkspaceConfInterface

type MockWorkspaceConfInterface struct {
	mock.Mock
}

MockWorkspaceConfInterface is an autogenerated mock type for the WorkspaceConfInterface type

func NewMockWorkspaceConfInterface

func NewMockWorkspaceConfInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkspaceConfInterface

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

func (*MockWorkspaceConfInterface) GetStatus

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

func (*MockWorkspaceConfInterface) Impl

Impl provides a mock function with given fields:

func (*MockWorkspaceConfInterface) SetStatus

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

func (*MockWorkspaceConfInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockWorkspaceConfInterface_Expecter

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

func (*MockWorkspaceConfInterface_Expecter) GetStatus

func (_e *MockWorkspaceConfInterface_Expecter) GetStatus(ctx interface{}, request interface{}) *MockWorkspaceConfInterface_GetStatus_Call

GetStatus is a helper method to define mock.On call

  • ctx context.Context
  • request settings.GetStatusRequest

func (*MockWorkspaceConfInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockWorkspaceConfInterface_Expecter) SetStatus

func (_e *MockWorkspaceConfInterface_Expecter) SetStatus(ctx interface{}, request interface{}) *MockWorkspaceConfInterface_SetStatus_Call

SetStatus is a helper method to define mock.On call

  • ctx context.Context
  • request settings.WorkspaceConf

func (*MockWorkspaceConfInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl settings.WorkspaceConfService

type MockWorkspaceConfInterface_GetStatus_Call

type MockWorkspaceConfInterface_GetStatus_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceConfInterface_GetStatus_Call) Return

func (*MockWorkspaceConfInterface_GetStatus_Call) Run

func (*MockWorkspaceConfInterface_GetStatus_Call) RunAndReturn

type MockWorkspaceConfInterface_Impl_Call

type MockWorkspaceConfInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceConfInterface_Impl_Call) Return

func (*MockWorkspaceConfInterface_Impl_Call) Run

func (*MockWorkspaceConfInterface_Impl_Call) RunAndReturn

type MockWorkspaceConfInterface_SetStatus_Call

type MockWorkspaceConfInterface_SetStatus_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceConfInterface_SetStatus_Call) Return

func (*MockWorkspaceConfInterface_SetStatus_Call) Run

func (*MockWorkspaceConfInterface_SetStatus_Call) RunAndReturn

type MockWorkspaceConfInterface_WithImpl_Call

type MockWorkspaceConfInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceConfInterface_WithImpl_Call) Return

func (*MockWorkspaceConfInterface_WithImpl_Call) Run

Jump to

Keyboard shortcuts

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