provisioning

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCredentialsInterface

type MockCredentialsInterface struct {
	mock.Mock
}

MockCredentialsInterface is an autogenerated mock type for the CredentialsInterface type

func NewMockCredentialsInterface

func NewMockCredentialsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCredentialsInterface

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

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

func (*MockCredentialsInterface) CredentialCredentialsNameToCredentialsIdMap

func (_m *MockCredentialsInterface) CredentialCredentialsNameToCredentialsIdMap(ctx context.Context) (map[string]string, error)

CredentialCredentialsNameToCredentialsIdMap provides a mock function with given fields: ctx

func (*MockCredentialsInterface) Delete

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

func (*MockCredentialsInterface) DeleteByCredentialsId

func (_m *MockCredentialsInterface) DeleteByCredentialsId(ctx context.Context, credentialsId string) error

DeleteByCredentialsId provides a mock function with given fields: ctx, credentialsId

func (*MockCredentialsInterface) EXPECT

func (*MockCredentialsInterface) Get

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

func (*MockCredentialsInterface) GetByCredentialsId

func (_m *MockCredentialsInterface) GetByCredentialsId(ctx context.Context, credentialsId string) (*provisioning.Credential, error)

GetByCredentialsId provides a mock function with given fields: ctx, credentialsId

func (*MockCredentialsInterface) GetByCredentialsName

func (_m *MockCredentialsInterface) GetByCredentialsName(ctx context.Context, name string) (*provisioning.Credential, error)

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

func (*MockCredentialsInterface) List

List provides a mock function with given fields: ctx

type MockCredentialsInterface_Create_Call

type MockCredentialsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_Create_Call) Return

func (*MockCredentialsInterface_Create_Call) Run

type MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call

type MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) Return

func (*MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) Run

func (*MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) RunAndReturn

type MockCredentialsInterface_DeleteByCredentialsId_Call

type MockCredentialsInterface_DeleteByCredentialsId_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_DeleteByCredentialsId_Call) Return

func (*MockCredentialsInterface_DeleteByCredentialsId_Call) Run

func (*MockCredentialsInterface_DeleteByCredentialsId_Call) RunAndReturn

type MockCredentialsInterface_Delete_Call

type MockCredentialsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_Delete_Call) Return

func (*MockCredentialsInterface_Delete_Call) Run

type MockCredentialsInterface_Expecter

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

func (*MockCredentialsInterface_Expecter) Create

func (_e *MockCredentialsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCredentialsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.CreateCredentialRequest

func (*MockCredentialsInterface_Expecter) CredentialCredentialsNameToCredentialsIdMap

func (_e *MockCredentialsInterface_Expecter) CredentialCredentialsNameToCredentialsIdMap(ctx interface{}) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call

CredentialCredentialsNameToCredentialsIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockCredentialsInterface_Expecter) Delete

func (_e *MockCredentialsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockCredentialsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteCredentialRequest

func (*MockCredentialsInterface_Expecter) DeleteByCredentialsId

func (_e *MockCredentialsInterface_Expecter) DeleteByCredentialsId(ctx interface{}, credentialsId interface{}) *MockCredentialsInterface_DeleteByCredentialsId_Call

DeleteByCredentialsId is a helper method to define mock.On call

  • ctx context.Context
  • credentialsId string

func (*MockCredentialsInterface_Expecter) Get

func (_e *MockCredentialsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCredentialsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetCredentialRequest

func (*MockCredentialsInterface_Expecter) GetByCredentialsId

func (_e *MockCredentialsInterface_Expecter) GetByCredentialsId(ctx interface{}, credentialsId interface{}) *MockCredentialsInterface_GetByCredentialsId_Call

GetByCredentialsId is a helper method to define mock.On call

  • ctx context.Context
  • credentialsId string

func (*MockCredentialsInterface_Expecter) GetByCredentialsName

func (_e *MockCredentialsInterface_Expecter) GetByCredentialsName(ctx interface{}, name interface{}) *MockCredentialsInterface_GetByCredentialsName_Call

GetByCredentialsName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockCredentialsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

type MockCredentialsInterface_GetByCredentialsId_Call

type MockCredentialsInterface_GetByCredentialsId_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_GetByCredentialsId_Call) Return

func (*MockCredentialsInterface_GetByCredentialsId_Call) Run

func (*MockCredentialsInterface_GetByCredentialsId_Call) RunAndReturn

type MockCredentialsInterface_GetByCredentialsName_Call

type MockCredentialsInterface_GetByCredentialsName_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_GetByCredentialsName_Call) Return

func (*MockCredentialsInterface_GetByCredentialsName_Call) Run

func (*MockCredentialsInterface_GetByCredentialsName_Call) RunAndReturn

type MockCredentialsInterface_Get_Call

type MockCredentialsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_Get_Call) Return

func (*MockCredentialsInterface_Get_Call) Run

type MockCredentialsInterface_List_Call

type MockCredentialsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockCredentialsInterface_List_Call) Return

func (*MockCredentialsInterface_List_Call) Run

func (*MockCredentialsInterface_List_Call) RunAndReturn

type MockEncryptionKeysInterface

type MockEncryptionKeysInterface struct {
	mock.Mock
}

MockEncryptionKeysInterface is an autogenerated mock type for the EncryptionKeysInterface type

func NewMockEncryptionKeysInterface

func NewMockEncryptionKeysInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockEncryptionKeysInterface

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

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

func (*MockEncryptionKeysInterface) Delete

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

func (*MockEncryptionKeysInterface) DeleteByCustomerManagedKeyId

func (_m *MockEncryptionKeysInterface) DeleteByCustomerManagedKeyId(ctx context.Context, customerManagedKeyId string) error

DeleteByCustomerManagedKeyId provides a mock function with given fields: ctx, customerManagedKeyId

func (*MockEncryptionKeysInterface) EXPECT

func (*MockEncryptionKeysInterface) Get

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

func (*MockEncryptionKeysInterface) GetByCustomerManagedKeyId

func (_m *MockEncryptionKeysInterface) GetByCustomerManagedKeyId(ctx context.Context, customerManagedKeyId string) (*provisioning.CustomerManagedKey, error)

GetByCustomerManagedKeyId provides a mock function with given fields: ctx, customerManagedKeyId

func (*MockEncryptionKeysInterface) List

List provides a mock function with given fields: ctx

type MockEncryptionKeysInterface_Create_Call

type MockEncryptionKeysInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_Create_Call) Return

func (*MockEncryptionKeysInterface_Create_Call) Run

type MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call

type MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Return

func (*MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Run

func (*MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) RunAndReturn

type MockEncryptionKeysInterface_Delete_Call

type MockEncryptionKeysInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_Delete_Call) Return

func (*MockEncryptionKeysInterface_Delete_Call) Run

type MockEncryptionKeysInterface_Expecter

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

func (*MockEncryptionKeysInterface_Expecter) Create

func (_e *MockEncryptionKeysInterface_Expecter) Create(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.CreateCustomerManagedKeyRequest

func (*MockEncryptionKeysInterface_Expecter) Delete

func (_e *MockEncryptionKeysInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteEncryptionKeyRequest

func (*MockEncryptionKeysInterface_Expecter) DeleteByCustomerManagedKeyId

func (_e *MockEncryptionKeysInterface_Expecter) DeleteByCustomerManagedKeyId(ctx interface{}, customerManagedKeyId interface{}) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call

DeleteByCustomerManagedKeyId is a helper method to define mock.On call

  • ctx context.Context
  • customerManagedKeyId string

func (*MockEncryptionKeysInterface_Expecter) Get

func (_e *MockEncryptionKeysInterface_Expecter) Get(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetEncryptionKeyRequest

func (*MockEncryptionKeysInterface_Expecter) GetByCustomerManagedKeyId

func (_e *MockEncryptionKeysInterface_Expecter) GetByCustomerManagedKeyId(ctx interface{}, customerManagedKeyId interface{}) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call

GetByCustomerManagedKeyId is a helper method to define mock.On call

  • ctx context.Context
  • customerManagedKeyId string

func (*MockEncryptionKeysInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

type MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call

type MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) Run

type MockEncryptionKeysInterface_Get_Call

type MockEncryptionKeysInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_Get_Call) Return

func (*MockEncryptionKeysInterface_Get_Call) Run

type MockEncryptionKeysInterface_List_Call

type MockEncryptionKeysInterface_List_Call struct {
	*mock.Call
}

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

func (*MockEncryptionKeysInterface_List_Call) Return

func (*MockEncryptionKeysInterface_List_Call) Run

func (*MockEncryptionKeysInterface_List_Call) RunAndReturn

type MockNetworksInterface

type MockNetworksInterface struct {
	mock.Mock
}

MockNetworksInterface is an autogenerated mock type for the NetworksInterface type

func NewMockNetworksInterface

func NewMockNetworksInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockNetworksInterface

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

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

func (*MockNetworksInterface) Delete

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

func (*MockNetworksInterface) DeleteByNetworkId

func (_m *MockNetworksInterface) DeleteByNetworkId(ctx context.Context, networkId string) error

DeleteByNetworkId provides a mock function with given fields: ctx, networkId

func (*MockNetworksInterface) EXPECT

func (*MockNetworksInterface) Get

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

func (*MockNetworksInterface) GetByNetworkId

func (_m *MockNetworksInterface) GetByNetworkId(ctx context.Context, networkId string) (*provisioning.Network, error)

GetByNetworkId provides a mock function with given fields: ctx, networkId

func (*MockNetworksInterface) GetByNetworkName

func (_m *MockNetworksInterface) GetByNetworkName(ctx context.Context, name string) (*provisioning.Network, error)

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

func (*MockNetworksInterface) List

List provides a mock function with given fields: ctx

func (*MockNetworksInterface) NetworkNetworkNameToNetworkIdMap

func (_m *MockNetworksInterface) NetworkNetworkNameToNetworkIdMap(ctx context.Context) (map[string]string, error)

NetworkNetworkNameToNetworkIdMap provides a mock function with given fields: ctx

type MockNetworksInterface_Create_Call

type MockNetworksInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_Create_Call) Return

func (*MockNetworksInterface_Create_Call) Run

type MockNetworksInterface_DeleteByNetworkId_Call

type MockNetworksInterface_DeleteByNetworkId_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_DeleteByNetworkId_Call) Return

func (*MockNetworksInterface_DeleteByNetworkId_Call) Run

func (*MockNetworksInterface_DeleteByNetworkId_Call) RunAndReturn

type MockNetworksInterface_Delete_Call

type MockNetworksInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_Delete_Call) Return

func (*MockNetworksInterface_Delete_Call) Run

func (*MockNetworksInterface_Delete_Call) RunAndReturn

type MockNetworksInterface_Expecter

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

func (*MockNetworksInterface_Expecter) Create

func (_e *MockNetworksInterface_Expecter) Create(ctx interface{}, request interface{}) *MockNetworksInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.CreateNetworkRequest

func (*MockNetworksInterface_Expecter) Delete

func (_e *MockNetworksInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockNetworksInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteNetworkRequest

func (*MockNetworksInterface_Expecter) DeleteByNetworkId

func (_e *MockNetworksInterface_Expecter) DeleteByNetworkId(ctx interface{}, networkId interface{}) *MockNetworksInterface_DeleteByNetworkId_Call

DeleteByNetworkId is a helper method to define mock.On call

  • ctx context.Context
  • networkId string

func (*MockNetworksInterface_Expecter) Get

func (_e *MockNetworksInterface_Expecter) Get(ctx interface{}, request interface{}) *MockNetworksInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetNetworkRequest

func (*MockNetworksInterface_Expecter) GetByNetworkId

func (_e *MockNetworksInterface_Expecter) GetByNetworkId(ctx interface{}, networkId interface{}) *MockNetworksInterface_GetByNetworkId_Call

GetByNetworkId is a helper method to define mock.On call

  • ctx context.Context
  • networkId string

func (*MockNetworksInterface_Expecter) GetByNetworkName

func (_e *MockNetworksInterface_Expecter) GetByNetworkName(ctx interface{}, name interface{}) *MockNetworksInterface_GetByNetworkName_Call

GetByNetworkName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockNetworksInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockNetworksInterface_Expecter) NetworkNetworkNameToNetworkIdMap

func (_e *MockNetworksInterface_Expecter) NetworkNetworkNameToNetworkIdMap(ctx interface{}) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call

NetworkNetworkNameToNetworkIdMap is a helper method to define mock.On call

  • ctx context.Context

type MockNetworksInterface_GetByNetworkId_Call

type MockNetworksInterface_GetByNetworkId_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_GetByNetworkId_Call) Return

func (*MockNetworksInterface_GetByNetworkId_Call) Run

func (*MockNetworksInterface_GetByNetworkId_Call) RunAndReturn

type MockNetworksInterface_GetByNetworkName_Call

type MockNetworksInterface_GetByNetworkName_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_GetByNetworkName_Call) Return

func (*MockNetworksInterface_GetByNetworkName_Call) Run

func (*MockNetworksInterface_GetByNetworkName_Call) RunAndReturn

type MockNetworksInterface_Get_Call

type MockNetworksInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_Get_Call) Return

func (*MockNetworksInterface_Get_Call) Run

type MockNetworksInterface_List_Call

type MockNetworksInterface_List_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_List_Call) Return

func (*MockNetworksInterface_List_Call) Run

func (*MockNetworksInterface_List_Call) RunAndReturn

type MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call

type MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call struct {
	*mock.Call
}

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

func (*MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Return

func (*MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Run

func (*MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) RunAndReturn

type MockPrivateAccessInterface

type MockPrivateAccessInterface struct {
	mock.Mock
}

MockPrivateAccessInterface is an autogenerated mock type for the PrivateAccessInterface type

func NewMockPrivateAccessInterface

func NewMockPrivateAccessInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPrivateAccessInterface

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

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

func (*MockPrivateAccessInterface) Delete

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

func (*MockPrivateAccessInterface) DeleteByPrivateAccessSettingsId

func (_m *MockPrivateAccessInterface) DeleteByPrivateAccessSettingsId(ctx context.Context, privateAccessSettingsId string) error

DeleteByPrivateAccessSettingsId provides a mock function with given fields: ctx, privateAccessSettingsId

func (*MockPrivateAccessInterface) EXPECT

func (*MockPrivateAccessInterface) Get

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

func (*MockPrivateAccessInterface) GetByPrivateAccessSettingsId

func (_m *MockPrivateAccessInterface) GetByPrivateAccessSettingsId(ctx context.Context, privateAccessSettingsId string) (*provisioning.PrivateAccessSettings, error)

GetByPrivateAccessSettingsId provides a mock function with given fields: ctx, privateAccessSettingsId

func (*MockPrivateAccessInterface) GetByPrivateAccessSettingsName

func (_m *MockPrivateAccessInterface) GetByPrivateAccessSettingsName(ctx context.Context, name string) (*provisioning.PrivateAccessSettings, error)

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

func (*MockPrivateAccessInterface) List

List provides a mock function with given fields: ctx

func (*MockPrivateAccessInterface) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap

func (_m *MockPrivateAccessInterface) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap(ctx context.Context) (map[string]string, error)

PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap provides a mock function with given fields: ctx

func (*MockPrivateAccessInterface) Replace

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

type MockPrivateAccessInterface_Create_Call

type MockPrivateAccessInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_Create_Call) Return

func (*MockPrivateAccessInterface_Create_Call) Run

type MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call

type MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Return

func (*MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Run

func (*MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) RunAndReturn

type MockPrivateAccessInterface_Delete_Call

type MockPrivateAccessInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_Delete_Call) Return

func (*MockPrivateAccessInterface_Delete_Call) Run

type MockPrivateAccessInterface_Expecter

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

func (*MockPrivateAccessInterface_Expecter) Create

func (_e *MockPrivateAccessInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.UpsertPrivateAccessSettingsRequest

func (*MockPrivateAccessInterface_Expecter) Delete

func (_e *MockPrivateAccessInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeletePrivateAccesRequest

func (*MockPrivateAccessInterface_Expecter) DeleteByPrivateAccessSettingsId

func (_e *MockPrivateAccessInterface_Expecter) DeleteByPrivateAccessSettingsId(ctx interface{}, privateAccessSettingsId interface{}) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call

DeleteByPrivateAccessSettingsId is a helper method to define mock.On call

  • ctx context.Context
  • privateAccessSettingsId string

func (*MockPrivateAccessInterface_Expecter) Get

func (_e *MockPrivateAccessInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetPrivateAccesRequest

func (*MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsId

func (_e *MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsId(ctx interface{}, privateAccessSettingsId interface{}) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call

GetByPrivateAccessSettingsId is a helper method to define mock.On call

  • ctx context.Context
  • privateAccessSettingsId string

func (*MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsName

func (_e *MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsName(ctx interface{}, name interface{}) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call

GetByPrivateAccessSettingsName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockPrivateAccessInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockPrivateAccessInterface_Expecter) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap

func (_e *MockPrivateAccessInterface_Expecter) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap(ctx interface{}) *MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call

PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap is a helper method to define mock.On call

  • ctx context.Context

func (*MockPrivateAccessInterface_Expecter) Replace

func (_e *MockPrivateAccessInterface_Expecter) Replace(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Replace_Call

Replace is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.UpsertPrivateAccessSettingsRequest

type MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call

type MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) Run

type MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call

type MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) Run

type MockPrivateAccessInterface_Get_Call

type MockPrivateAccessInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_Get_Call) Return

func (*MockPrivateAccessInterface_Get_Call) Run

type MockPrivateAccessInterface_List_Call

type MockPrivateAccessInterface_List_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_List_Call) Return

func (*MockPrivateAccessInterface_List_Call) Run

func (*MockPrivateAccessInterface_List_Call) RunAndReturn

type MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call

type MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call struct {
	*mock.Call
}

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

type MockPrivateAccessInterface_Replace_Call

type MockPrivateAccessInterface_Replace_Call struct {
	*mock.Call
}

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

func (*MockPrivateAccessInterface_Replace_Call) Return

func (*MockPrivateAccessInterface_Replace_Call) Run

type MockStorageInterface

type MockStorageInterface struct {
	mock.Mock
}

MockStorageInterface is an autogenerated mock type for the StorageInterface type

func NewMockStorageInterface

func NewMockStorageInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockStorageInterface

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

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

func (*MockStorageInterface) Delete

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

func (*MockStorageInterface) DeleteByStorageConfigurationId

func (_m *MockStorageInterface) DeleteByStorageConfigurationId(ctx context.Context, storageConfigurationId string) error

DeleteByStorageConfigurationId provides a mock function with given fields: ctx, storageConfigurationId

func (*MockStorageInterface) EXPECT

func (*MockStorageInterface) Get

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

func (*MockStorageInterface) GetByStorageConfigurationId

func (_m *MockStorageInterface) GetByStorageConfigurationId(ctx context.Context, storageConfigurationId string) (*provisioning.StorageConfiguration, error)

GetByStorageConfigurationId provides a mock function with given fields: ctx, storageConfigurationId

func (*MockStorageInterface) GetByStorageConfigurationName

func (_m *MockStorageInterface) GetByStorageConfigurationName(ctx context.Context, name string) (*provisioning.StorageConfiguration, error)

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

func (*MockStorageInterface) List

List provides a mock function with given fields: ctx

func (*MockStorageInterface) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap

func (_m *MockStorageInterface) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap(ctx context.Context) (map[string]string, error)

StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap provides a mock function with given fields: ctx

type MockStorageInterface_Create_Call

type MockStorageInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_Create_Call) Return

func (*MockStorageInterface_Create_Call) Run

type MockStorageInterface_DeleteByStorageConfigurationId_Call

type MockStorageInterface_DeleteByStorageConfigurationId_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_DeleteByStorageConfigurationId_Call) Return

func (*MockStorageInterface_DeleteByStorageConfigurationId_Call) Run

func (*MockStorageInterface_DeleteByStorageConfigurationId_Call) RunAndReturn

type MockStorageInterface_Delete_Call

type MockStorageInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_Delete_Call) Return

func (*MockStorageInterface_Delete_Call) Run

func (*MockStorageInterface_Delete_Call) RunAndReturn

type MockStorageInterface_Expecter

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

func (*MockStorageInterface_Expecter) Create

func (_e *MockStorageInterface_Expecter) Create(ctx interface{}, request interface{}) *MockStorageInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.CreateStorageConfigurationRequest

func (*MockStorageInterface_Expecter) Delete

func (_e *MockStorageInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockStorageInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteStorageRequest

func (*MockStorageInterface_Expecter) DeleteByStorageConfigurationId

func (_e *MockStorageInterface_Expecter) DeleteByStorageConfigurationId(ctx interface{}, storageConfigurationId interface{}) *MockStorageInterface_DeleteByStorageConfigurationId_Call

DeleteByStorageConfigurationId is a helper method to define mock.On call

  • ctx context.Context
  • storageConfigurationId string

func (*MockStorageInterface_Expecter) Get

func (_e *MockStorageInterface_Expecter) Get(ctx interface{}, request interface{}) *MockStorageInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetStorageRequest

func (*MockStorageInterface_Expecter) GetByStorageConfigurationId

func (_e *MockStorageInterface_Expecter) GetByStorageConfigurationId(ctx interface{}, storageConfigurationId interface{}) *MockStorageInterface_GetByStorageConfigurationId_Call

GetByStorageConfigurationId is a helper method to define mock.On call

  • ctx context.Context
  • storageConfigurationId string

func (*MockStorageInterface_Expecter) GetByStorageConfigurationName

func (_e *MockStorageInterface_Expecter) GetByStorageConfigurationName(ctx interface{}, name interface{}) *MockStorageInterface_GetByStorageConfigurationName_Call

GetByStorageConfigurationName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockStorageInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockStorageInterface_Expecter) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap

func (_e *MockStorageInterface_Expecter) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap(ctx interface{}) *MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call

StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap is a helper method to define mock.On call

  • ctx context.Context

type MockStorageInterface_GetByStorageConfigurationId_Call

type MockStorageInterface_GetByStorageConfigurationId_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_GetByStorageConfigurationId_Call) Run

type MockStorageInterface_GetByStorageConfigurationName_Call

type MockStorageInterface_GetByStorageConfigurationName_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_GetByStorageConfigurationName_Call) Run

type MockStorageInterface_Get_Call

type MockStorageInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_Get_Call) Return

func (*MockStorageInterface_Get_Call) Run

type MockStorageInterface_List_Call

type MockStorageInterface_List_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_List_Call) Return

func (*MockStorageInterface_List_Call) Run

func (*MockStorageInterface_List_Call) RunAndReturn

type MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call

type MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call struct {
	*mock.Call
}

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

func (*MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) Return

func (*MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) Run

type MockVpcEndpointsInterface

type MockVpcEndpointsInterface struct {
	mock.Mock
}

MockVpcEndpointsInterface is an autogenerated mock type for the VpcEndpointsInterface type

func NewMockVpcEndpointsInterface

func NewMockVpcEndpointsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockVpcEndpointsInterface

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

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

func (*MockVpcEndpointsInterface) Delete

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

func (*MockVpcEndpointsInterface) DeleteByVpcEndpointId

func (_m *MockVpcEndpointsInterface) DeleteByVpcEndpointId(ctx context.Context, vpcEndpointId string) error

DeleteByVpcEndpointId provides a mock function with given fields: ctx, vpcEndpointId

func (*MockVpcEndpointsInterface) EXPECT

func (*MockVpcEndpointsInterface) Get

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

func (*MockVpcEndpointsInterface) GetByVpcEndpointId

func (_m *MockVpcEndpointsInterface) GetByVpcEndpointId(ctx context.Context, vpcEndpointId string) (*provisioning.VpcEndpoint, error)

GetByVpcEndpointId provides a mock function with given fields: ctx, vpcEndpointId

func (*MockVpcEndpointsInterface) GetByVpcEndpointName

func (_m *MockVpcEndpointsInterface) GetByVpcEndpointName(ctx context.Context, name string) (*provisioning.VpcEndpoint, error)

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

func (*MockVpcEndpointsInterface) List

List provides a mock function with given fields: ctx

func (*MockVpcEndpointsInterface) VpcEndpointVpcEndpointNameToVpcEndpointIdMap

func (_m *MockVpcEndpointsInterface) VpcEndpointVpcEndpointNameToVpcEndpointIdMap(ctx context.Context) (map[string]string, error)

VpcEndpointVpcEndpointNameToVpcEndpointIdMap provides a mock function with given fields: ctx

type MockVpcEndpointsInterface_Create_Call

type MockVpcEndpointsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_Create_Call) Return

func (*MockVpcEndpointsInterface_Create_Call) Run

type MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call

type MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Return

func (*MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Run

func (*MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) RunAndReturn

type MockVpcEndpointsInterface_Delete_Call

type MockVpcEndpointsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_Delete_Call) Return

func (*MockVpcEndpointsInterface_Delete_Call) Run

type MockVpcEndpointsInterface_Expecter

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

func (*MockVpcEndpointsInterface_Expecter) Create

func (_e *MockVpcEndpointsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.CreateVpcEndpointRequest

func (*MockVpcEndpointsInterface_Expecter) Delete

func (_e *MockVpcEndpointsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteVpcEndpointRequest

func (*MockVpcEndpointsInterface_Expecter) DeleteByVpcEndpointId

func (_e *MockVpcEndpointsInterface_Expecter) DeleteByVpcEndpointId(ctx interface{}, vpcEndpointId interface{}) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call

DeleteByVpcEndpointId is a helper method to define mock.On call

  • ctx context.Context
  • vpcEndpointId string

func (*MockVpcEndpointsInterface_Expecter) Get

func (_e *MockVpcEndpointsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetVpcEndpointRequest

func (*MockVpcEndpointsInterface_Expecter) GetByVpcEndpointId

func (_e *MockVpcEndpointsInterface_Expecter) GetByVpcEndpointId(ctx interface{}, vpcEndpointId interface{}) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call

GetByVpcEndpointId is a helper method to define mock.On call

  • ctx context.Context
  • vpcEndpointId string

func (*MockVpcEndpointsInterface_Expecter) GetByVpcEndpointName

func (_e *MockVpcEndpointsInterface_Expecter) GetByVpcEndpointName(ctx interface{}, name interface{}) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call

GetByVpcEndpointName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockVpcEndpointsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockVpcEndpointsInterface_Expecter) VpcEndpointVpcEndpointNameToVpcEndpointIdMap

func (_e *MockVpcEndpointsInterface_Expecter) VpcEndpointVpcEndpointNameToVpcEndpointIdMap(ctx interface{}) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call

VpcEndpointVpcEndpointNameToVpcEndpointIdMap is a helper method to define mock.On call

  • ctx context.Context

type MockVpcEndpointsInterface_GetByVpcEndpointId_Call

type MockVpcEndpointsInterface_GetByVpcEndpointId_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Return

func (*MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Run

func (*MockVpcEndpointsInterface_GetByVpcEndpointId_Call) RunAndReturn

type MockVpcEndpointsInterface_GetByVpcEndpointName_Call

type MockVpcEndpointsInterface_GetByVpcEndpointName_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Return

func (*MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Run

func (*MockVpcEndpointsInterface_GetByVpcEndpointName_Call) RunAndReturn

type MockVpcEndpointsInterface_Get_Call

type MockVpcEndpointsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_Get_Call) Return

func (*MockVpcEndpointsInterface_Get_Call) Run

type MockVpcEndpointsInterface_List_Call

type MockVpcEndpointsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_List_Call) Return

func (*MockVpcEndpointsInterface_List_Call) Run

func (*MockVpcEndpointsInterface_List_Call) RunAndReturn

type MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call

type MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call struct {
	*mock.Call
}

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

func (*MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) Return

func (*MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) Run

func (*MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) RunAndReturn

type MockWorkspacesInterface

type MockWorkspacesInterface struct {
	mock.Mock
}

MockWorkspacesInterface is an autogenerated mock type for the WorkspacesInterface type

func NewMockWorkspacesInterface

func NewMockWorkspacesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkspacesInterface

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

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

func (*MockWorkspacesInterface) CreateAndWait

CreateAndWait provides a mock function with given fields: ctx, createWorkspaceRequest, options

func (*MockWorkspacesInterface) Delete

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

func (*MockWorkspacesInterface) DeleteByWorkspaceId

func (_m *MockWorkspacesInterface) DeleteByWorkspaceId(ctx context.Context, workspaceId int64) error

DeleteByWorkspaceId provides a mock function with given fields: ctx, workspaceId

func (*MockWorkspacesInterface) EXPECT

func (*MockWorkspacesInterface) Get

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

func (*MockWorkspacesInterface) GetByWorkspaceId

func (_m *MockWorkspacesInterface) GetByWorkspaceId(ctx context.Context, workspaceId int64) (*provisioning.Workspace, error)

GetByWorkspaceId provides a mock function with given fields: ctx, workspaceId

func (*MockWorkspacesInterface) GetByWorkspaceName

func (_m *MockWorkspacesInterface) GetByWorkspaceName(ctx context.Context, name string) (*provisioning.Workspace, error)

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

func (*MockWorkspacesInterface) List

List provides a mock function with given fields: ctx

func (*MockWorkspacesInterface) Update

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

func (*MockWorkspacesInterface) UpdateAndWait

UpdateAndWait provides a mock function with given fields: ctx, updateWorkspaceRequest, options

func (*MockWorkspacesInterface) WaitGetWorkspaceRunning

func (_m *MockWorkspacesInterface) WaitGetWorkspaceRunning(ctx context.Context, workspaceId int64, timeout time.Duration, callback func(*provisioning.Workspace)) (*provisioning.Workspace, error)

WaitGetWorkspaceRunning provides a mock function with given fields: ctx, workspaceId, timeout, callback

func (*MockWorkspacesInterface) WorkspaceWorkspaceNameToWorkspaceIdMap

func (_m *MockWorkspacesInterface) WorkspaceWorkspaceNameToWorkspaceIdMap(ctx context.Context) (map[string]int64, error)

WorkspaceWorkspaceNameToWorkspaceIdMap provides a mock function with given fields: ctx

type MockWorkspacesInterface_CreateAndWait_Call

type MockWorkspacesInterface_CreateAndWait_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_CreateAndWait_Call) Return

func (*MockWorkspacesInterface_CreateAndWait_Call) Run

type MockWorkspacesInterface_Create_Call

type MockWorkspacesInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_Create_Call) Run

type MockWorkspacesInterface_DeleteByWorkspaceId_Call

type MockWorkspacesInterface_DeleteByWorkspaceId_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_DeleteByWorkspaceId_Call) Return

func (*MockWorkspacesInterface_DeleteByWorkspaceId_Call) Run

func (*MockWorkspacesInterface_DeleteByWorkspaceId_Call) RunAndReturn

type MockWorkspacesInterface_Delete_Call

type MockWorkspacesInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_Delete_Call) Return

func (*MockWorkspacesInterface_Delete_Call) Run

type MockWorkspacesInterface_Expecter

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

func (*MockWorkspacesInterface_Expecter) Create

func (_e *MockWorkspacesInterface_Expecter) Create(ctx interface{}, createWorkspaceRequest interface{}) *MockWorkspacesInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • createWorkspaceRequest provisioning.CreateWorkspaceRequest

func (*MockWorkspacesInterface_Expecter) CreateAndWait

func (_e *MockWorkspacesInterface_Expecter) CreateAndWait(ctx interface{}, createWorkspaceRequest interface{}, options ...interface{}) *MockWorkspacesInterface_CreateAndWait_Call

CreateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • createWorkspaceRequest provisioning.CreateWorkspaceRequest
  • options ...retries.Option[provisioning.Workspace]

func (*MockWorkspacesInterface_Expecter) Delete

func (_e *MockWorkspacesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWorkspacesInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.DeleteWorkspaceRequest

func (*MockWorkspacesInterface_Expecter) DeleteByWorkspaceId

func (_e *MockWorkspacesInterface_Expecter) DeleteByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspacesInterface_DeleteByWorkspaceId_Call

DeleteByWorkspaceId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64

func (*MockWorkspacesInterface_Expecter) Get

func (_e *MockWorkspacesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWorkspacesInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request provisioning.GetWorkspaceRequest

func (*MockWorkspacesInterface_Expecter) GetByWorkspaceId

func (_e *MockWorkspacesInterface_Expecter) GetByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspacesInterface_GetByWorkspaceId_Call

GetByWorkspaceId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64

func (*MockWorkspacesInterface_Expecter) GetByWorkspaceName

func (_e *MockWorkspacesInterface_Expecter) GetByWorkspaceName(ctx interface{}, name interface{}) *MockWorkspacesInterface_GetByWorkspaceName_Call

GetByWorkspaceName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockWorkspacesInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context

func (*MockWorkspacesInterface_Expecter) Update

func (_e *MockWorkspacesInterface_Expecter) Update(ctx interface{}, updateWorkspaceRequest interface{}) *MockWorkspacesInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • updateWorkspaceRequest provisioning.UpdateWorkspaceRequest

func (*MockWorkspacesInterface_Expecter) UpdateAndWait

func (_e *MockWorkspacesInterface_Expecter) UpdateAndWait(ctx interface{}, updateWorkspaceRequest interface{}, options ...interface{}) *MockWorkspacesInterface_UpdateAndWait_Call

UpdateAndWait is a helper method to define mock.On call

  • ctx context.Context
  • updateWorkspaceRequest provisioning.UpdateWorkspaceRequest
  • options ...retries.Option[provisioning.Workspace]

func (*MockWorkspacesInterface_Expecter) WaitGetWorkspaceRunning

func (_e *MockWorkspacesInterface_Expecter) WaitGetWorkspaceRunning(ctx interface{}, workspaceId interface{}, timeout interface{}, callback interface{}) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call

WaitGetWorkspaceRunning is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64
  • timeout time.Duration
  • callback func(*provisioning.Workspace)

func (*MockWorkspacesInterface_Expecter) WorkspaceWorkspaceNameToWorkspaceIdMap

func (_e *MockWorkspacesInterface_Expecter) WorkspaceWorkspaceNameToWorkspaceIdMap(ctx interface{}) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call

WorkspaceWorkspaceNameToWorkspaceIdMap is a helper method to define mock.On call

  • ctx context.Context

type MockWorkspacesInterface_GetByWorkspaceId_Call

type MockWorkspacesInterface_GetByWorkspaceId_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_GetByWorkspaceId_Call) Return

func (*MockWorkspacesInterface_GetByWorkspaceId_Call) Run

func (*MockWorkspacesInterface_GetByWorkspaceId_Call) RunAndReturn

type MockWorkspacesInterface_GetByWorkspaceName_Call

type MockWorkspacesInterface_GetByWorkspaceName_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_GetByWorkspaceName_Call) Return

func (*MockWorkspacesInterface_GetByWorkspaceName_Call) Run

func (*MockWorkspacesInterface_GetByWorkspaceName_Call) RunAndReturn

type MockWorkspacesInterface_Get_Call

type MockWorkspacesInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_Get_Call) Return

func (*MockWorkspacesInterface_Get_Call) Run

type MockWorkspacesInterface_List_Call

type MockWorkspacesInterface_List_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_List_Call) Return

func (*MockWorkspacesInterface_List_Call) Run

func (*MockWorkspacesInterface_List_Call) RunAndReturn

type MockWorkspacesInterface_UpdateAndWait_Call

type MockWorkspacesInterface_UpdateAndWait_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_UpdateAndWait_Call) Return

func (*MockWorkspacesInterface_UpdateAndWait_Call) Run

type MockWorkspacesInterface_Update_Call

type MockWorkspacesInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_Update_Call) Return

func (*MockWorkspacesInterface_Update_Call) Run

type MockWorkspacesInterface_WaitGetWorkspaceRunning_Call

type MockWorkspacesInterface_WaitGetWorkspaceRunning_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Return

func (*MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Run

type MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call

type MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call struct {
	*mock.Call
}

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

func (*MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) Return

func (*MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) Run

func (*MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) RunAndReturn

Jump to

Keyboard shortcuts

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