Documentation ¶
Index ¶
- type MockCredentialsInterface
- func (_m *MockCredentialsInterface) Create(ctx context.Context, request provisioning.CreateCredentialRequest) (*provisioning.Credential, error)
- func (_m *MockCredentialsInterface) CredentialCredentialsNameToCredentialsIdMap(ctx context.Context) (map[string]string, error)
- func (_m *MockCredentialsInterface) Delete(ctx context.Context, request provisioning.DeleteCredentialRequest) error
- func (_m *MockCredentialsInterface) DeleteByCredentialsId(ctx context.Context, credentialsId string) error
- func (_m *MockCredentialsInterface) EXPECT() *MockCredentialsInterface_Expecter
- func (_m *MockCredentialsInterface) Get(ctx context.Context, request provisioning.GetCredentialRequest) (*provisioning.Credential, error)
- func (_m *MockCredentialsInterface) GetByCredentialsId(ctx context.Context, credentialsId string) (*provisioning.Credential, error)
- func (_m *MockCredentialsInterface) GetByCredentialsName(ctx context.Context, name string) (*provisioning.Credential, error)
- func (_m *MockCredentialsInterface) List(ctx context.Context) ([]provisioning.Credential, error)
- type MockCredentialsInterface_Create_Call
- func (_c *MockCredentialsInterface_Create_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_Create_Call
- func (_c *MockCredentialsInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateCredentialRequest)) *MockCredentialsInterface_Create_Call
- func (_c *MockCredentialsInterface_Create_Call) RunAndReturn(...) *MockCredentialsInterface_Create_Call
- type MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
- func (_c *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
- func (_c *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) Run(run func(ctx context.Context)) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
- func (_c *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
- type MockCredentialsInterface_DeleteByCredentialsId_Call
- func (_c *MockCredentialsInterface_DeleteByCredentialsId_Call) Return(_a0 error) *MockCredentialsInterface_DeleteByCredentialsId_Call
- func (_c *MockCredentialsInterface_DeleteByCredentialsId_Call) Run(run func(ctx context.Context, credentialsId string)) *MockCredentialsInterface_DeleteByCredentialsId_Call
- func (_c *MockCredentialsInterface_DeleteByCredentialsId_Call) RunAndReturn(run func(context.Context, string) error) *MockCredentialsInterface_DeleteByCredentialsId_Call
- type MockCredentialsInterface_Delete_Call
- func (_c *MockCredentialsInterface_Delete_Call) Return(_a0 error) *MockCredentialsInterface_Delete_Call
- func (_c *MockCredentialsInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteCredentialRequest)) *MockCredentialsInterface_Delete_Call
- func (_c *MockCredentialsInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteCredentialRequest) error) *MockCredentialsInterface_Delete_Call
- type MockCredentialsInterface_Expecter
- func (_e *MockCredentialsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCredentialsInterface_Create_Call
- func (_e *MockCredentialsInterface_Expecter) CredentialCredentialsNameToCredentialsIdMap(ctx interface{}) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
- func (_e *MockCredentialsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockCredentialsInterface_Delete_Call
- func (_e *MockCredentialsInterface_Expecter) DeleteByCredentialsId(ctx interface{}, credentialsId interface{}) *MockCredentialsInterface_DeleteByCredentialsId_Call
- func (_e *MockCredentialsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCredentialsInterface_Get_Call
- func (_e *MockCredentialsInterface_Expecter) GetByCredentialsId(ctx interface{}, credentialsId interface{}) *MockCredentialsInterface_GetByCredentialsId_Call
- func (_e *MockCredentialsInterface_Expecter) GetByCredentialsName(ctx interface{}, name interface{}) *MockCredentialsInterface_GetByCredentialsName_Call
- func (_e *MockCredentialsInterface_Expecter) List(ctx interface{}) *MockCredentialsInterface_List_Call
- type MockCredentialsInterface_GetByCredentialsId_Call
- func (_c *MockCredentialsInterface_GetByCredentialsId_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_GetByCredentialsId_Call
- func (_c *MockCredentialsInterface_GetByCredentialsId_Call) Run(run func(ctx context.Context, credentialsId string)) *MockCredentialsInterface_GetByCredentialsId_Call
- func (_c *MockCredentialsInterface_GetByCredentialsId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Credential, error)) *MockCredentialsInterface_GetByCredentialsId_Call
- type MockCredentialsInterface_GetByCredentialsName_Call
- func (_c *MockCredentialsInterface_GetByCredentialsName_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_GetByCredentialsName_Call
- func (_c *MockCredentialsInterface_GetByCredentialsName_Call) Run(run func(ctx context.Context, name string)) *MockCredentialsInterface_GetByCredentialsName_Call
- func (_c *MockCredentialsInterface_GetByCredentialsName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Credential, error)) *MockCredentialsInterface_GetByCredentialsName_Call
- type MockCredentialsInterface_Get_Call
- func (_c *MockCredentialsInterface_Get_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_Get_Call
- func (_c *MockCredentialsInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetCredentialRequest)) *MockCredentialsInterface_Get_Call
- func (_c *MockCredentialsInterface_Get_Call) RunAndReturn(...) *MockCredentialsInterface_Get_Call
- type MockCredentialsInterface_List_Call
- func (_c *MockCredentialsInterface_List_Call) Return(_a0 []provisioning.Credential, _a1 error) *MockCredentialsInterface_List_Call
- func (_c *MockCredentialsInterface_List_Call) Run(run func(ctx context.Context)) *MockCredentialsInterface_List_Call
- func (_c *MockCredentialsInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Credential, error)) *MockCredentialsInterface_List_Call
- type MockEncryptionKeysInterface
- func (_m *MockEncryptionKeysInterface) Create(ctx context.Context, request provisioning.CreateCustomerManagedKeyRequest) (*provisioning.CustomerManagedKey, error)
- func (_m *MockEncryptionKeysInterface) Delete(ctx context.Context, request provisioning.DeleteEncryptionKeyRequest) error
- func (_m *MockEncryptionKeysInterface) DeleteByCustomerManagedKeyId(ctx context.Context, customerManagedKeyId string) error
- func (_m *MockEncryptionKeysInterface) EXPECT() *MockEncryptionKeysInterface_Expecter
- func (_m *MockEncryptionKeysInterface) Get(ctx context.Context, request provisioning.GetEncryptionKeyRequest) (*provisioning.CustomerManagedKey, error)
- func (_m *MockEncryptionKeysInterface) GetByCustomerManagedKeyId(ctx context.Context, customerManagedKeyId string) (*provisioning.CustomerManagedKey, error)
- func (_m *MockEncryptionKeysInterface) List(ctx context.Context) ([]provisioning.CustomerManagedKey, error)
- type MockEncryptionKeysInterface_Create_Call
- func (_c *MockEncryptionKeysInterface_Create_Call) Return(_a0 *provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_Create_Call
- func (_c *MockEncryptionKeysInterface_Create_Call) Run(...) *MockEncryptionKeysInterface_Create_Call
- func (_c *MockEncryptionKeysInterface_Create_Call) RunAndReturn(...) *MockEncryptionKeysInterface_Create_Call
- type MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Return(_a0 error) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Run(run func(ctx context.Context, customerManagedKeyId string)) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) RunAndReturn(run func(context.Context, string) error) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
- type MockEncryptionKeysInterface_Delete_Call
- func (_c *MockEncryptionKeysInterface_Delete_Call) Return(_a0 error) *MockEncryptionKeysInterface_Delete_Call
- func (_c *MockEncryptionKeysInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteEncryptionKeyRequest)) *MockEncryptionKeysInterface_Delete_Call
- func (_c *MockEncryptionKeysInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteEncryptionKeyRequest) error) *MockEncryptionKeysInterface_Delete_Call
- type MockEncryptionKeysInterface_Expecter
- func (_e *MockEncryptionKeysInterface_Expecter) Create(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Create_Call
- func (_e *MockEncryptionKeysInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Delete_Call
- func (_e *MockEncryptionKeysInterface_Expecter) DeleteByCustomerManagedKeyId(ctx interface{}, customerManagedKeyId interface{}) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
- func (_e *MockEncryptionKeysInterface_Expecter) Get(ctx interface{}, request interface{}) *MockEncryptionKeysInterface_Get_Call
- func (_e *MockEncryptionKeysInterface_Expecter) GetByCustomerManagedKeyId(ctx interface{}, customerManagedKeyId interface{}) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
- func (_e *MockEncryptionKeysInterface_Expecter) List(ctx interface{}) *MockEncryptionKeysInterface_List_Call
- type MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) Return(_a0 *provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) Run(run func(ctx context.Context, customerManagedKeyId string)) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
- func (_c *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
- type MockEncryptionKeysInterface_Get_Call
- func (_c *MockEncryptionKeysInterface_Get_Call) Return(_a0 *provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_Get_Call
- func (_c *MockEncryptionKeysInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetEncryptionKeyRequest)) *MockEncryptionKeysInterface_Get_Call
- func (_c *MockEncryptionKeysInterface_Get_Call) RunAndReturn(...) *MockEncryptionKeysInterface_Get_Call
- type MockEncryptionKeysInterface_List_Call
- func (_c *MockEncryptionKeysInterface_List_Call) Return(_a0 []provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_List_Call
- func (_c *MockEncryptionKeysInterface_List_Call) Run(run func(ctx context.Context)) *MockEncryptionKeysInterface_List_Call
- func (_c *MockEncryptionKeysInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_List_Call
- type MockNetworksInterface
- func (_m *MockNetworksInterface) Create(ctx context.Context, request provisioning.CreateNetworkRequest) (*provisioning.Network, error)
- func (_m *MockNetworksInterface) Delete(ctx context.Context, request provisioning.DeleteNetworkRequest) error
- func (_m *MockNetworksInterface) DeleteByNetworkId(ctx context.Context, networkId string) error
- func (_m *MockNetworksInterface) EXPECT() *MockNetworksInterface_Expecter
- func (_m *MockNetworksInterface) Get(ctx context.Context, request provisioning.GetNetworkRequest) (*provisioning.Network, error)
- func (_m *MockNetworksInterface) GetByNetworkId(ctx context.Context, networkId string) (*provisioning.Network, error)
- func (_m *MockNetworksInterface) GetByNetworkName(ctx context.Context, name string) (*provisioning.Network, error)
- func (_m *MockNetworksInterface) List(ctx context.Context) ([]provisioning.Network, error)
- func (_m *MockNetworksInterface) NetworkNetworkNameToNetworkIdMap(ctx context.Context) (map[string]string, error)
- type MockNetworksInterface_Create_Call
- func (_c *MockNetworksInterface_Create_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_Create_Call
- func (_c *MockNetworksInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateNetworkRequest)) *MockNetworksInterface_Create_Call
- func (_c *MockNetworksInterface_Create_Call) RunAndReturn(...) *MockNetworksInterface_Create_Call
- type MockNetworksInterface_DeleteByNetworkId_Call
- func (_c *MockNetworksInterface_DeleteByNetworkId_Call) Return(_a0 error) *MockNetworksInterface_DeleteByNetworkId_Call
- func (_c *MockNetworksInterface_DeleteByNetworkId_Call) Run(run func(ctx context.Context, networkId string)) *MockNetworksInterface_DeleteByNetworkId_Call
- func (_c *MockNetworksInterface_DeleteByNetworkId_Call) RunAndReturn(run func(context.Context, string) error) *MockNetworksInterface_DeleteByNetworkId_Call
- type MockNetworksInterface_Delete_Call
- func (_c *MockNetworksInterface_Delete_Call) Return(_a0 error) *MockNetworksInterface_Delete_Call
- func (_c *MockNetworksInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteNetworkRequest)) *MockNetworksInterface_Delete_Call
- func (_c *MockNetworksInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteNetworkRequest) error) *MockNetworksInterface_Delete_Call
- type MockNetworksInterface_Expecter
- func (_e *MockNetworksInterface_Expecter) Create(ctx interface{}, request interface{}) *MockNetworksInterface_Create_Call
- func (_e *MockNetworksInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockNetworksInterface_Delete_Call
- func (_e *MockNetworksInterface_Expecter) DeleteByNetworkId(ctx interface{}, networkId interface{}) *MockNetworksInterface_DeleteByNetworkId_Call
- func (_e *MockNetworksInterface_Expecter) Get(ctx interface{}, request interface{}) *MockNetworksInterface_Get_Call
- func (_e *MockNetworksInterface_Expecter) GetByNetworkId(ctx interface{}, networkId interface{}) *MockNetworksInterface_GetByNetworkId_Call
- func (_e *MockNetworksInterface_Expecter) GetByNetworkName(ctx interface{}, name interface{}) *MockNetworksInterface_GetByNetworkName_Call
- func (_e *MockNetworksInterface_Expecter) List(ctx interface{}) *MockNetworksInterface_List_Call
- func (_e *MockNetworksInterface_Expecter) NetworkNetworkNameToNetworkIdMap(ctx interface{}) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
- type MockNetworksInterface_GetByNetworkId_Call
- func (_c *MockNetworksInterface_GetByNetworkId_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_GetByNetworkId_Call
- func (_c *MockNetworksInterface_GetByNetworkId_Call) Run(run func(ctx context.Context, networkId string)) *MockNetworksInterface_GetByNetworkId_Call
- func (_c *MockNetworksInterface_GetByNetworkId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Network, error)) *MockNetworksInterface_GetByNetworkId_Call
- type MockNetworksInterface_GetByNetworkName_Call
- func (_c *MockNetworksInterface_GetByNetworkName_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_GetByNetworkName_Call
- func (_c *MockNetworksInterface_GetByNetworkName_Call) Run(run func(ctx context.Context, name string)) *MockNetworksInterface_GetByNetworkName_Call
- func (_c *MockNetworksInterface_GetByNetworkName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Network, error)) *MockNetworksInterface_GetByNetworkName_Call
- type MockNetworksInterface_Get_Call
- func (_c *MockNetworksInterface_Get_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_Get_Call
- func (_c *MockNetworksInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetNetworkRequest)) *MockNetworksInterface_Get_Call
- func (_c *MockNetworksInterface_Get_Call) RunAndReturn(...) *MockNetworksInterface_Get_Call
- type MockNetworksInterface_List_Call
- func (_c *MockNetworksInterface_List_Call) Return(_a0 []provisioning.Network, _a1 error) *MockNetworksInterface_List_Call
- func (_c *MockNetworksInterface_List_Call) Run(run func(ctx context.Context)) *MockNetworksInterface_List_Call
- func (_c *MockNetworksInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Network, error)) *MockNetworksInterface_List_Call
- type MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
- func (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
- func (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Run(run func(ctx context.Context)) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
- func (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
- type MockPrivateAccessInterface
- func (_m *MockPrivateAccessInterface) Create(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest) (*provisioning.PrivateAccessSettings, error)
- func (_m *MockPrivateAccessInterface) Delete(ctx context.Context, request provisioning.DeletePrivateAccesRequest) error
- func (_m *MockPrivateAccessInterface) DeleteByPrivateAccessSettingsId(ctx context.Context, privateAccessSettingsId string) error
- func (_m *MockPrivateAccessInterface) EXPECT() *MockPrivateAccessInterface_Expecter
- func (_m *MockPrivateAccessInterface) Get(ctx context.Context, request provisioning.GetPrivateAccesRequest) (*provisioning.PrivateAccessSettings, error)
- func (_m *MockPrivateAccessInterface) GetByPrivateAccessSettingsId(ctx context.Context, privateAccessSettingsId string) (*provisioning.PrivateAccessSettings, error)
- func (_m *MockPrivateAccessInterface) GetByPrivateAccessSettingsName(ctx context.Context, name string) (*provisioning.PrivateAccessSettings, error)
- func (_m *MockPrivateAccessInterface) List(ctx context.Context) ([]provisioning.PrivateAccessSettings, error)
- func (_m *MockPrivateAccessInterface) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap(ctx context.Context) (map[string]string, error)
- func (_m *MockPrivateAccessInterface) Replace(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest) error
- type MockPrivateAccessInterface_Create_Call
- func (_c *MockPrivateAccessInterface_Create_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_Create_Call
- func (_c *MockPrivateAccessInterface_Create_Call) Run(...) *MockPrivateAccessInterface_Create_Call
- func (_c *MockPrivateAccessInterface_Create_Call) RunAndReturn(...) *MockPrivateAccessInterface_Create_Call
- type MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Return(_a0 error) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Run(run func(ctx context.Context, privateAccessSettingsId string)) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) RunAndReturn(run func(context.Context, string) error) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
- type MockPrivateAccessInterface_Delete_Call
- func (_c *MockPrivateAccessInterface_Delete_Call) Return(_a0 error) *MockPrivateAccessInterface_Delete_Call
- func (_c *MockPrivateAccessInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeletePrivateAccesRequest)) *MockPrivateAccessInterface_Delete_Call
- func (_c *MockPrivateAccessInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeletePrivateAccesRequest) error) *MockPrivateAccessInterface_Delete_Call
- type MockPrivateAccessInterface_Expecter
- func (_e *MockPrivateAccessInterface_Expecter) Create(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Create_Call
- func (_e *MockPrivateAccessInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Delete_Call
- func (_e *MockPrivateAccessInterface_Expecter) DeleteByPrivateAccessSettingsId(ctx interface{}, privateAccessSettingsId interface{}) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
- func (_e *MockPrivateAccessInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Get_Call
- func (_e *MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsId(ctx interface{}, privateAccessSettingsId interface{}) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
- func (_e *MockPrivateAccessInterface_Expecter) GetByPrivateAccessSettingsName(ctx interface{}, name interface{}) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
- func (_e *MockPrivateAccessInterface_Expecter) List(ctx interface{}) *MockPrivateAccessInterface_List_Call
- func (_e *MockPrivateAccessInterface_Expecter) PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap(ctx interface{}) ...
- func (_e *MockPrivateAccessInterface_Expecter) Replace(ctx interface{}, request interface{}) *MockPrivateAccessInterface_Replace_Call
- type MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) Run(run func(ctx context.Context, privateAccessSettingsId string)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
- type MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) Run(run func(ctx context.Context, name string)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
- func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
- type MockPrivateAccessInterface_Get_Call
- func (_c *MockPrivateAccessInterface_Get_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_Get_Call
- func (_c *MockPrivateAccessInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetPrivateAccesRequest)) *MockPrivateAccessInterface_Get_Call
- func (_c *MockPrivateAccessInterface_Get_Call) RunAndReturn(...) *MockPrivateAccessInterface_Get_Call
- type MockPrivateAccessInterface_List_Call
- func (_c *MockPrivateAccessInterface_List_Call) Return(_a0 []provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_List_Call
- func (_c *MockPrivateAccessInterface_List_Call) Run(run func(ctx context.Context)) *MockPrivateAccessInterface_List_Call
- func (_c *MockPrivateAccessInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_List_Call
- type MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call
- func (_c *MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) Return(_a0 map[string]string, _a1 error) ...
- func (_c *MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) Run(run func(ctx context.Context)) ...
- func (_c *MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) ...
- type MockPrivateAccessInterface_Replace_Call
- func (_c *MockPrivateAccessInterface_Replace_Call) Return(_a0 error) *MockPrivateAccessInterface_Replace_Call
- func (_c *MockPrivateAccessInterface_Replace_Call) Run(...) *MockPrivateAccessInterface_Replace_Call
- func (_c *MockPrivateAccessInterface_Replace_Call) RunAndReturn(...) *MockPrivateAccessInterface_Replace_Call
- type MockStorageInterface
- func (_m *MockStorageInterface) Create(ctx context.Context, request provisioning.CreateStorageConfigurationRequest) (*provisioning.StorageConfiguration, error)
- func (_m *MockStorageInterface) Delete(ctx context.Context, request provisioning.DeleteStorageRequest) error
- func (_m *MockStorageInterface) DeleteByStorageConfigurationId(ctx context.Context, storageConfigurationId string) error
- func (_m *MockStorageInterface) EXPECT() *MockStorageInterface_Expecter
- func (_m *MockStorageInterface) Get(ctx context.Context, request provisioning.GetStorageRequest) (*provisioning.StorageConfiguration, error)
- func (_m *MockStorageInterface) GetByStorageConfigurationId(ctx context.Context, storageConfigurationId string) (*provisioning.StorageConfiguration, error)
- func (_m *MockStorageInterface) GetByStorageConfigurationName(ctx context.Context, name string) (*provisioning.StorageConfiguration, error)
- func (_m *MockStorageInterface) List(ctx context.Context) ([]provisioning.StorageConfiguration, error)
- func (_m *MockStorageInterface) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap(ctx context.Context) (map[string]string, error)
- type MockStorageInterface_Create_Call
- func (_c *MockStorageInterface_Create_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_Create_Call
- func (_c *MockStorageInterface_Create_Call) Run(...) *MockStorageInterface_Create_Call
- func (_c *MockStorageInterface_Create_Call) RunAndReturn(...) *MockStorageInterface_Create_Call
- type MockStorageInterface_DeleteByStorageConfigurationId_Call
- func (_c *MockStorageInterface_DeleteByStorageConfigurationId_Call) Return(_a0 error) *MockStorageInterface_DeleteByStorageConfigurationId_Call
- func (_c *MockStorageInterface_DeleteByStorageConfigurationId_Call) Run(run func(ctx context.Context, storageConfigurationId string)) *MockStorageInterface_DeleteByStorageConfigurationId_Call
- func (_c *MockStorageInterface_DeleteByStorageConfigurationId_Call) RunAndReturn(run func(context.Context, string) error) *MockStorageInterface_DeleteByStorageConfigurationId_Call
- type MockStorageInterface_Delete_Call
- func (_c *MockStorageInterface_Delete_Call) Return(_a0 error) *MockStorageInterface_Delete_Call
- func (_c *MockStorageInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteStorageRequest)) *MockStorageInterface_Delete_Call
- func (_c *MockStorageInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteStorageRequest) error) *MockStorageInterface_Delete_Call
- type MockStorageInterface_Expecter
- func (_e *MockStorageInterface_Expecter) Create(ctx interface{}, request interface{}) *MockStorageInterface_Create_Call
- func (_e *MockStorageInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockStorageInterface_Delete_Call
- func (_e *MockStorageInterface_Expecter) DeleteByStorageConfigurationId(ctx interface{}, storageConfigurationId interface{}) *MockStorageInterface_DeleteByStorageConfigurationId_Call
- func (_e *MockStorageInterface_Expecter) Get(ctx interface{}, request interface{}) *MockStorageInterface_Get_Call
- func (_e *MockStorageInterface_Expecter) GetByStorageConfigurationId(ctx interface{}, storageConfigurationId interface{}) *MockStorageInterface_GetByStorageConfigurationId_Call
- func (_e *MockStorageInterface_Expecter) GetByStorageConfigurationName(ctx interface{}, name interface{}) *MockStorageInterface_GetByStorageConfigurationName_Call
- func (_e *MockStorageInterface_Expecter) List(ctx interface{}) *MockStorageInterface_List_Call
- func (_e *MockStorageInterface_Expecter) StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap(ctx interface{}) ...
- type MockStorageInterface_GetByStorageConfigurationId_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationId_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_GetByStorageConfigurationId_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationId_Call) Run(run func(ctx context.Context, storageConfigurationId string)) *MockStorageInterface_GetByStorageConfigurationId_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_GetByStorageConfigurationId_Call
- type MockStorageInterface_GetByStorageConfigurationName_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationName_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_GetByStorageConfigurationName_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationName_Call) Run(run func(ctx context.Context, name string)) *MockStorageInterface_GetByStorageConfigurationName_Call
- func (_c *MockStorageInterface_GetByStorageConfigurationName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_GetByStorageConfigurationName_Call
- type MockStorageInterface_Get_Call
- func (_c *MockStorageInterface_Get_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_Get_Call
- func (_c *MockStorageInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetStorageRequest)) *MockStorageInterface_Get_Call
- func (_c *MockStorageInterface_Get_Call) RunAndReturn(...) *MockStorageInterface_Get_Call
- type MockStorageInterface_List_Call
- func (_c *MockStorageInterface_List_Call) Return(_a0 []provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_List_Call
- func (_c *MockStorageInterface_List_Call) Run(run func(ctx context.Context)) *MockStorageInterface_List_Call
- func (_c *MockStorageInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.StorageConfiguration, error)) *MockStorageInterface_List_Call
- type MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call
- func (_c *MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) Return(_a0 map[string]string, _a1 error) ...
- func (_c *MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) Run(run func(ctx context.Context)) ...
- func (_c *MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) ...
- type MockVpcEndpointsInterface
- func (_m *MockVpcEndpointsInterface) Create(ctx context.Context, request provisioning.CreateVpcEndpointRequest) (*provisioning.VpcEndpoint, error)
- func (_m *MockVpcEndpointsInterface) Delete(ctx context.Context, request provisioning.DeleteVpcEndpointRequest) error
- func (_m *MockVpcEndpointsInterface) DeleteByVpcEndpointId(ctx context.Context, vpcEndpointId string) error
- func (_m *MockVpcEndpointsInterface) EXPECT() *MockVpcEndpointsInterface_Expecter
- func (_m *MockVpcEndpointsInterface) Get(ctx context.Context, request provisioning.GetVpcEndpointRequest) (*provisioning.VpcEndpoint, error)
- func (_m *MockVpcEndpointsInterface) GetByVpcEndpointId(ctx context.Context, vpcEndpointId string) (*provisioning.VpcEndpoint, error)
- func (_m *MockVpcEndpointsInterface) GetByVpcEndpointName(ctx context.Context, name string) (*provisioning.VpcEndpoint, error)
- func (_m *MockVpcEndpointsInterface) List(ctx context.Context) ([]provisioning.VpcEndpoint, error)
- func (_m *MockVpcEndpointsInterface) VpcEndpointVpcEndpointNameToVpcEndpointIdMap(ctx context.Context) (map[string]string, error)
- type MockVpcEndpointsInterface_Create_Call
- func (_c *MockVpcEndpointsInterface_Create_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_Create_Call
- func (_c *MockVpcEndpointsInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateVpcEndpointRequest)) *MockVpcEndpointsInterface_Create_Call
- func (_c *MockVpcEndpointsInterface_Create_Call) RunAndReturn(...) *MockVpcEndpointsInterface_Create_Call
- type MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Return(_a0 error) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Run(run func(ctx context.Context, vpcEndpointId string)) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) RunAndReturn(run func(context.Context, string) error) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
- type MockVpcEndpointsInterface_Delete_Call
- func (_c *MockVpcEndpointsInterface_Delete_Call) Return(_a0 error) *MockVpcEndpointsInterface_Delete_Call
- func (_c *MockVpcEndpointsInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteVpcEndpointRequest)) *MockVpcEndpointsInterface_Delete_Call
- func (_c *MockVpcEndpointsInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteVpcEndpointRequest) error) *MockVpcEndpointsInterface_Delete_Call
- type MockVpcEndpointsInterface_Expecter
- func (_e *MockVpcEndpointsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Create_Call
- func (_e *MockVpcEndpointsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Delete_Call
- func (_e *MockVpcEndpointsInterface_Expecter) DeleteByVpcEndpointId(ctx interface{}, vpcEndpointId interface{}) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
- func (_e *MockVpcEndpointsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockVpcEndpointsInterface_Get_Call
- func (_e *MockVpcEndpointsInterface_Expecter) GetByVpcEndpointId(ctx interface{}, vpcEndpointId interface{}) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
- func (_e *MockVpcEndpointsInterface_Expecter) GetByVpcEndpointName(ctx interface{}, name interface{}) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
- func (_e *MockVpcEndpointsInterface_Expecter) List(ctx interface{}) *MockVpcEndpointsInterface_List_Call
- func (_e *MockVpcEndpointsInterface_Expecter) VpcEndpointVpcEndpointNameToVpcEndpointIdMap(ctx interface{}) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
- type MockVpcEndpointsInterface_GetByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Run(run func(ctx context.Context, vpcEndpointId string)) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
- type MockVpcEndpointsInterface_GetByVpcEndpointName_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Run(run func(ctx context.Context, name string)) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
- func (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
- type MockVpcEndpointsInterface_Get_Call
- func (_c *MockVpcEndpointsInterface_Get_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_Get_Call
- func (_c *MockVpcEndpointsInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetVpcEndpointRequest)) *MockVpcEndpointsInterface_Get_Call
- func (_c *MockVpcEndpointsInterface_Get_Call) RunAndReturn(...) *MockVpcEndpointsInterface_Get_Call
- type MockVpcEndpointsInterface_List_Call
- func (_c *MockVpcEndpointsInterface_List_Call) Return(_a0 []provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_List_Call
- func (_c *MockVpcEndpointsInterface_List_Call) Run(run func(ctx context.Context)) *MockVpcEndpointsInterface_List_Call
- func (_c *MockVpcEndpointsInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_List_Call
- type MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
- func (_c *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
- func (_c *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) Run(run func(ctx context.Context)) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
- func (_c *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
- type MockWorkspacesInterface
- func (_m *MockWorkspacesInterface) Create(ctx context.Context, ...) (*provisioning.WaitGetWorkspaceRunning[provisioning.Workspace], error)
- func (_m *MockWorkspacesInterface) CreateAndWait(ctx context.Context, ...) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) Delete(ctx context.Context, request provisioning.DeleteWorkspaceRequest) error
- func (_m *MockWorkspacesInterface) DeleteByWorkspaceId(ctx context.Context, workspaceId int64) error
- func (_m *MockWorkspacesInterface) EXPECT() *MockWorkspacesInterface_Expecter
- func (_m *MockWorkspacesInterface) Get(ctx context.Context, request provisioning.GetWorkspaceRequest) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) GetByWorkspaceId(ctx context.Context, workspaceId int64) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) GetByWorkspaceName(ctx context.Context, name string) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) List(ctx context.Context) ([]provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) Update(ctx context.Context, ...) (*provisioning.WaitGetWorkspaceRunning[struct{}], error)
- func (_m *MockWorkspacesInterface) UpdateAndWait(ctx context.Context, ...) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) WaitGetWorkspaceRunning(ctx context.Context, workspaceId int64, timeout time.Duration, ...) (*provisioning.Workspace, error)
- func (_m *MockWorkspacesInterface) WorkspaceWorkspaceNameToWorkspaceIdMap(ctx context.Context) (map[string]int64, error)
- type MockWorkspacesInterface_CreateAndWait_Call
- func (_c *MockWorkspacesInterface_CreateAndWait_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_CreateAndWait_Call
- func (_c *MockWorkspacesInterface_CreateAndWait_Call) Run(run func(ctx context.Context, ...)) *MockWorkspacesInterface_CreateAndWait_Call
- func (_c *MockWorkspacesInterface_CreateAndWait_Call) RunAndReturn(...) *MockWorkspacesInterface_CreateAndWait_Call
- type MockWorkspacesInterface_Create_Call
- func (_c *MockWorkspacesInterface_Create_Call) Return(_a0 *provisioning.WaitGetWorkspaceRunning[provisioning.Workspace], _a1 error) *MockWorkspacesInterface_Create_Call
- func (_c *MockWorkspacesInterface_Create_Call) Run(run func(ctx context.Context, ...)) *MockWorkspacesInterface_Create_Call
- func (_c *MockWorkspacesInterface_Create_Call) RunAndReturn(...) *MockWorkspacesInterface_Create_Call
- type MockWorkspacesInterface_DeleteByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) Return(_a0 error) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) error) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
- type MockWorkspacesInterface_Delete_Call
- func (_c *MockWorkspacesInterface_Delete_Call) Return(_a0 error) *MockWorkspacesInterface_Delete_Call
- func (_c *MockWorkspacesInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteWorkspaceRequest)) *MockWorkspacesInterface_Delete_Call
- func (_c *MockWorkspacesInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteWorkspaceRequest) error) *MockWorkspacesInterface_Delete_Call
- type MockWorkspacesInterface_Expecter
- func (_e *MockWorkspacesInterface_Expecter) Create(ctx interface{}, createWorkspaceRequest interface{}) *MockWorkspacesInterface_Create_Call
- func (_e *MockWorkspacesInterface_Expecter) CreateAndWait(ctx interface{}, createWorkspaceRequest interface{}, options ...interface{}) *MockWorkspacesInterface_CreateAndWait_Call
- func (_e *MockWorkspacesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWorkspacesInterface_Delete_Call
- func (_e *MockWorkspacesInterface_Expecter) DeleteByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
- func (_e *MockWorkspacesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWorkspacesInterface_Get_Call
- func (_e *MockWorkspacesInterface_Expecter) GetByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspacesInterface_GetByWorkspaceId_Call
- func (_e *MockWorkspacesInterface_Expecter) GetByWorkspaceName(ctx interface{}, name interface{}) *MockWorkspacesInterface_GetByWorkspaceName_Call
- func (_e *MockWorkspacesInterface_Expecter) List(ctx interface{}) *MockWorkspacesInterface_List_Call
- func (_e *MockWorkspacesInterface_Expecter) Update(ctx interface{}, updateWorkspaceRequest interface{}) *MockWorkspacesInterface_Update_Call
- func (_e *MockWorkspacesInterface_Expecter) UpdateAndWait(ctx interface{}, updateWorkspaceRequest interface{}, options ...interface{}) *MockWorkspacesInterface_UpdateAndWait_Call
- func (_e *MockWorkspacesInterface_Expecter) WaitGetWorkspaceRunning(ctx interface{}, workspaceId interface{}, timeout interface{}, ...) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
- func (_e *MockWorkspacesInterface_Expecter) WorkspaceWorkspaceNameToWorkspaceIdMap(ctx interface{}) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call
- type MockWorkspacesInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspacesInterface_GetByWorkspaceId_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*provisioning.Workspace, error)) *MockWorkspacesInterface_GetByWorkspaceId_Call
- type MockWorkspacesInterface_GetByWorkspaceName_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_GetByWorkspaceName_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) Run(run func(ctx context.Context, name string)) *MockWorkspacesInterface_GetByWorkspaceName_Call
- func (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Workspace, error)) *MockWorkspacesInterface_GetByWorkspaceName_Call
- type MockWorkspacesInterface_Get_Call
- func (_c *MockWorkspacesInterface_Get_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_Get_Call
- func (_c *MockWorkspacesInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetWorkspaceRequest)) *MockWorkspacesInterface_Get_Call
- func (_c *MockWorkspacesInterface_Get_Call) RunAndReturn(...) *MockWorkspacesInterface_Get_Call
- type MockWorkspacesInterface_List_Call
- func (_c *MockWorkspacesInterface_List_Call) Return(_a0 []provisioning.Workspace, _a1 error) *MockWorkspacesInterface_List_Call
- func (_c *MockWorkspacesInterface_List_Call) Run(run func(ctx context.Context)) *MockWorkspacesInterface_List_Call
- func (_c *MockWorkspacesInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Workspace, error)) *MockWorkspacesInterface_List_Call
- type MockWorkspacesInterface_UpdateAndWait_Call
- func (_c *MockWorkspacesInterface_UpdateAndWait_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_UpdateAndWait_Call
- func (_c *MockWorkspacesInterface_UpdateAndWait_Call) Run(run func(ctx context.Context, ...)) *MockWorkspacesInterface_UpdateAndWait_Call
- func (_c *MockWorkspacesInterface_UpdateAndWait_Call) RunAndReturn(...) *MockWorkspacesInterface_UpdateAndWait_Call
- type MockWorkspacesInterface_Update_Call
- func (_c *MockWorkspacesInterface_Update_Call) Return(_a0 *provisioning.WaitGetWorkspaceRunning[struct{}], _a1 error) *MockWorkspacesInterface_Update_Call
- func (_c *MockWorkspacesInterface_Update_Call) Run(run func(ctx context.Context, ...)) *MockWorkspacesInterface_Update_Call
- func (_c *MockWorkspacesInterface_Update_Call) RunAndReturn(...) *MockWorkspacesInterface_Update_Call
- type MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
- func (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
- func (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Run(run func(ctx context.Context, workspaceId int64, timeout time.Duration, ...)) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
- func (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) RunAndReturn(...) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
- type MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call
- func (_c *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) Return(_a0 map[string]int64, _a1 error) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call
- func (_c *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) Run(run func(ctx context.Context)) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call
- func (_c *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) RunAndReturn(run func(context.Context) (map[string]int64, error)) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredentialsInterface ¶
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 ¶
func (_m *MockCredentialsInterface) Create(ctx context.Context, request provisioning.CreateCredentialRequest) (*provisioning.Credential, error)
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 ¶
func (_m *MockCredentialsInterface) Delete(ctx context.Context, request provisioning.DeleteCredentialRequest) error
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 (_m *MockCredentialsInterface) EXPECT() *MockCredentialsInterface_Expecter
func (*MockCredentialsInterface) Get ¶
func (_m *MockCredentialsInterface) Get(ctx context.Context, request provisioning.GetCredentialRequest) (*provisioning.Credential, error)
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 ¶
func (_m *MockCredentialsInterface) List(ctx context.Context) ([]provisioning.Credential, error)
List provides a mock function with given fields: ctx
type MockCredentialsInterface_Create_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 (_c *MockCredentialsInterface_Create_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_Create_Call
func (*MockCredentialsInterface_Create_Call) Run ¶
func (_c *MockCredentialsInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateCredentialRequest)) *MockCredentialsInterface_Create_Call
func (*MockCredentialsInterface_Create_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateCredentialRequest) (*provisioning.Credential, error)) *MockCredentialsInterface_Create_Call
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) RunAndReturn ¶
func (_c *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockCredentialsInterface_CredentialCredentialsNameToCredentialsIdMap_Call
type MockCredentialsInterface_DeleteByCredentialsId_Call ¶
MockCredentialsInterface_DeleteByCredentialsId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByCredentialsId'
func (*MockCredentialsInterface_DeleteByCredentialsId_Call) Run ¶
func (_c *MockCredentialsInterface_DeleteByCredentialsId_Call) Run(run func(ctx context.Context, credentialsId string)) *MockCredentialsInterface_DeleteByCredentialsId_Call
func (*MockCredentialsInterface_DeleteByCredentialsId_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_DeleteByCredentialsId_Call) RunAndReturn(run func(context.Context, string) error) *MockCredentialsInterface_DeleteByCredentialsId_Call
type MockCredentialsInterface_Delete_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 (_c *MockCredentialsInterface_Delete_Call) Return(_a0 error) *MockCredentialsInterface_Delete_Call
func (*MockCredentialsInterface_Delete_Call) Run ¶
func (_c *MockCredentialsInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteCredentialRequest)) *MockCredentialsInterface_Delete_Call
func (*MockCredentialsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteCredentialRequest) error) *MockCredentialsInterface_Delete_Call
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 ¶
func (_e *MockCredentialsInterface_Expecter) List(ctx interface{}) *MockCredentialsInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
type MockCredentialsInterface_GetByCredentialsId_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 (_c *MockCredentialsInterface_GetByCredentialsId_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_GetByCredentialsId_Call
func (*MockCredentialsInterface_GetByCredentialsId_Call) Run ¶
func (_c *MockCredentialsInterface_GetByCredentialsId_Call) Run(run func(ctx context.Context, credentialsId string)) *MockCredentialsInterface_GetByCredentialsId_Call
func (*MockCredentialsInterface_GetByCredentialsId_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_GetByCredentialsId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Credential, error)) *MockCredentialsInterface_GetByCredentialsId_Call
type MockCredentialsInterface_GetByCredentialsName_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 (_c *MockCredentialsInterface_GetByCredentialsName_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_GetByCredentialsName_Call
func (*MockCredentialsInterface_GetByCredentialsName_Call) Run ¶
func (_c *MockCredentialsInterface_GetByCredentialsName_Call) Run(run func(ctx context.Context, name string)) *MockCredentialsInterface_GetByCredentialsName_Call
func (*MockCredentialsInterface_GetByCredentialsName_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_GetByCredentialsName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Credential, error)) *MockCredentialsInterface_GetByCredentialsName_Call
type MockCredentialsInterface_Get_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 (_c *MockCredentialsInterface_Get_Call) Return(_a0 *provisioning.Credential, _a1 error) *MockCredentialsInterface_Get_Call
func (*MockCredentialsInterface_Get_Call) Run ¶
func (_c *MockCredentialsInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetCredentialRequest)) *MockCredentialsInterface_Get_Call
func (*MockCredentialsInterface_Get_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetCredentialRequest) (*provisioning.Credential, error)) *MockCredentialsInterface_Get_Call
type MockCredentialsInterface_List_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 (_c *MockCredentialsInterface_List_Call) Return(_a0 []provisioning.Credential, _a1 error) *MockCredentialsInterface_List_Call
func (*MockCredentialsInterface_List_Call) Run ¶
func (_c *MockCredentialsInterface_List_Call) Run(run func(ctx context.Context)) *MockCredentialsInterface_List_Call
func (*MockCredentialsInterface_List_Call) RunAndReturn ¶
func (_c *MockCredentialsInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Credential, error)) *MockCredentialsInterface_List_Call
type MockEncryptionKeysInterface ¶
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 ¶
func (_m *MockEncryptionKeysInterface) Create(ctx context.Context, request provisioning.CreateCustomerManagedKeyRequest) (*provisioning.CustomerManagedKey, error)
Create provides a mock function with given fields: ctx, request
func (*MockEncryptionKeysInterface) Delete ¶
func (_m *MockEncryptionKeysInterface) Delete(ctx context.Context, request provisioning.DeleteEncryptionKeyRequest) error
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 (_m *MockEncryptionKeysInterface) EXPECT() *MockEncryptionKeysInterface_Expecter
func (*MockEncryptionKeysInterface) Get ¶
func (_m *MockEncryptionKeysInterface) Get(ctx context.Context, request provisioning.GetEncryptionKeyRequest) (*provisioning.CustomerManagedKey, error)
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 ¶
func (_m *MockEncryptionKeysInterface) List(ctx context.Context) ([]provisioning.CustomerManagedKey, error)
List provides a mock function with given fields: ctx
type MockEncryptionKeysInterface_Create_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 (_c *MockEncryptionKeysInterface_Create_Call) Return(_a0 *provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_Create_Call
func (*MockEncryptionKeysInterface_Create_Call) Run ¶
func (_c *MockEncryptionKeysInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateCustomerManagedKeyRequest)) *MockEncryptionKeysInterface_Create_Call
func (*MockEncryptionKeysInterface_Create_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateCustomerManagedKeyRequest) (*provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_Create_Call
type MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call ¶
MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByCustomerManagedKeyId'
func (*MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Run ¶
func (_c *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) Run(run func(ctx context.Context, customerManagedKeyId string)) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
func (*MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call) RunAndReturn(run func(context.Context, string) error) *MockEncryptionKeysInterface_DeleteByCustomerManagedKeyId_Call
type MockEncryptionKeysInterface_Delete_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 (_c *MockEncryptionKeysInterface_Delete_Call) Return(_a0 error) *MockEncryptionKeysInterface_Delete_Call
func (*MockEncryptionKeysInterface_Delete_Call) Run ¶
func (_c *MockEncryptionKeysInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteEncryptionKeyRequest)) *MockEncryptionKeysInterface_Delete_Call
func (*MockEncryptionKeysInterface_Delete_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteEncryptionKeyRequest) error) *MockEncryptionKeysInterface_Delete_Call
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 ¶
func (_e *MockEncryptionKeysInterface_Expecter) List(ctx interface{}) *MockEncryptionKeysInterface_List_Call
List is a helper method to define mock.On call
- ctx context.Context
type MockEncryptionKeysInterface_GetByCustomerManagedKeyId_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 ¶
func (_c *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) Run(run func(ctx context.Context, customerManagedKeyId string)) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
func (*MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_GetByCustomerManagedKeyId_Call
type MockEncryptionKeysInterface_Get_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 (_c *MockEncryptionKeysInterface_Get_Call) Return(_a0 *provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_Get_Call
func (*MockEncryptionKeysInterface_Get_Call) Run ¶
func (_c *MockEncryptionKeysInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetEncryptionKeyRequest)) *MockEncryptionKeysInterface_Get_Call
func (*MockEncryptionKeysInterface_Get_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetEncryptionKeyRequest) (*provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_Get_Call
type MockEncryptionKeysInterface_List_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 (_c *MockEncryptionKeysInterface_List_Call) Return(_a0 []provisioning.CustomerManagedKey, _a1 error) *MockEncryptionKeysInterface_List_Call
func (*MockEncryptionKeysInterface_List_Call) Run ¶
func (_c *MockEncryptionKeysInterface_List_Call) Run(run func(ctx context.Context)) *MockEncryptionKeysInterface_List_Call
func (*MockEncryptionKeysInterface_List_Call) RunAndReturn ¶
func (_c *MockEncryptionKeysInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.CustomerManagedKey, error)) *MockEncryptionKeysInterface_List_Call
type MockNetworksInterface ¶
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 ¶
func (_m *MockNetworksInterface) Create(ctx context.Context, request provisioning.CreateNetworkRequest) (*provisioning.Network, error)
Create provides a mock function with given fields: ctx, request
func (*MockNetworksInterface) Delete ¶
func (_m *MockNetworksInterface) Delete(ctx context.Context, request provisioning.DeleteNetworkRequest) error
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 (_m *MockNetworksInterface) EXPECT() *MockNetworksInterface_Expecter
func (*MockNetworksInterface) Get ¶
func (_m *MockNetworksInterface) Get(ctx context.Context, request provisioning.GetNetworkRequest) (*provisioning.Network, error)
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 ¶
func (_m *MockNetworksInterface) List(ctx context.Context) ([]provisioning.Network, error)
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 ¶
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 (_c *MockNetworksInterface_Create_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_Create_Call
func (*MockNetworksInterface_Create_Call) Run ¶
func (_c *MockNetworksInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateNetworkRequest)) *MockNetworksInterface_Create_Call
func (*MockNetworksInterface_Create_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateNetworkRequest) (*provisioning.Network, error)) *MockNetworksInterface_Create_Call
type MockNetworksInterface_DeleteByNetworkId_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 (_c *MockNetworksInterface_DeleteByNetworkId_Call) Return(_a0 error) *MockNetworksInterface_DeleteByNetworkId_Call
func (*MockNetworksInterface_DeleteByNetworkId_Call) Run ¶
func (_c *MockNetworksInterface_DeleteByNetworkId_Call) Run(run func(ctx context.Context, networkId string)) *MockNetworksInterface_DeleteByNetworkId_Call
func (*MockNetworksInterface_DeleteByNetworkId_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_DeleteByNetworkId_Call) RunAndReturn(run func(context.Context, string) error) *MockNetworksInterface_DeleteByNetworkId_Call
type MockNetworksInterface_Delete_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 (_c *MockNetworksInterface_Delete_Call) Return(_a0 error) *MockNetworksInterface_Delete_Call
func (*MockNetworksInterface_Delete_Call) Run ¶
func (_c *MockNetworksInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteNetworkRequest)) *MockNetworksInterface_Delete_Call
func (*MockNetworksInterface_Delete_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteNetworkRequest) error) *MockNetworksInterface_Delete_Call
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 ¶
func (_e *MockNetworksInterface_Expecter) List(ctx interface{}) *MockNetworksInterface_List_Call
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 ¶
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 (_c *MockNetworksInterface_GetByNetworkId_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_GetByNetworkId_Call
func (*MockNetworksInterface_GetByNetworkId_Call) Run ¶
func (_c *MockNetworksInterface_GetByNetworkId_Call) Run(run func(ctx context.Context, networkId string)) *MockNetworksInterface_GetByNetworkId_Call
func (*MockNetworksInterface_GetByNetworkId_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_GetByNetworkId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Network, error)) *MockNetworksInterface_GetByNetworkId_Call
type MockNetworksInterface_GetByNetworkName_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 (_c *MockNetworksInterface_GetByNetworkName_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_GetByNetworkName_Call
func (*MockNetworksInterface_GetByNetworkName_Call) Run ¶
func (_c *MockNetworksInterface_GetByNetworkName_Call) Run(run func(ctx context.Context, name string)) *MockNetworksInterface_GetByNetworkName_Call
func (*MockNetworksInterface_GetByNetworkName_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_GetByNetworkName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Network, error)) *MockNetworksInterface_GetByNetworkName_Call
type MockNetworksInterface_Get_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 (_c *MockNetworksInterface_Get_Call) Return(_a0 *provisioning.Network, _a1 error) *MockNetworksInterface_Get_Call
func (*MockNetworksInterface_Get_Call) Run ¶
func (_c *MockNetworksInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetNetworkRequest)) *MockNetworksInterface_Get_Call
func (*MockNetworksInterface_Get_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetNetworkRequest) (*provisioning.Network, error)) *MockNetworksInterface_Get_Call
type MockNetworksInterface_List_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 (_c *MockNetworksInterface_List_Call) Return(_a0 []provisioning.Network, _a1 error) *MockNetworksInterface_List_Call
func (*MockNetworksInterface_List_Call) Run ¶
func (_c *MockNetworksInterface_List_Call) Run(run func(ctx context.Context)) *MockNetworksInterface_List_Call
func (*MockNetworksInterface_List_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Network, error)) *MockNetworksInterface_List_Call
type MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_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 (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Return(_a0 map[string]string, _a1 error) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
func (*MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Run ¶
func (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) Run(run func(ctx context.Context)) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
func (*MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) RunAndReturn ¶
func (_c *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockNetworksInterface_NetworkNetworkNameToNetworkIdMap_Call
type MockPrivateAccessInterface ¶
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 ¶
func (_m *MockPrivateAccessInterface) Create(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest) (*provisioning.PrivateAccessSettings, error)
Create provides a mock function with given fields: ctx, request
func (*MockPrivateAccessInterface) Delete ¶
func (_m *MockPrivateAccessInterface) Delete(ctx context.Context, request provisioning.DeletePrivateAccesRequest) error
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 (_m *MockPrivateAccessInterface) EXPECT() *MockPrivateAccessInterface_Expecter
func (*MockPrivateAccessInterface) Get ¶
func (_m *MockPrivateAccessInterface) Get(ctx context.Context, request provisioning.GetPrivateAccesRequest) (*provisioning.PrivateAccessSettings, error)
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 ¶
func (_m *MockPrivateAccessInterface) List(ctx context.Context) ([]provisioning.PrivateAccessSettings, error)
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 ¶
func (_m *MockPrivateAccessInterface) Replace(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest) error
Replace provides a mock function with given fields: ctx, request
type MockPrivateAccessInterface_Create_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 (_c *MockPrivateAccessInterface_Create_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_Create_Call
func (*MockPrivateAccessInterface_Create_Call) Run ¶
func (_c *MockPrivateAccessInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest)) *MockPrivateAccessInterface_Create_Call
func (*MockPrivateAccessInterface_Create_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.UpsertPrivateAccessSettingsRequest) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_Create_Call
type MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call ¶
MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByPrivateAccessSettingsId'
func (*MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Run ¶
func (_c *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) Run(run func(ctx context.Context, privateAccessSettingsId string)) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
func (*MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call) RunAndReturn(run func(context.Context, string) error) *MockPrivateAccessInterface_DeleteByPrivateAccessSettingsId_Call
type MockPrivateAccessInterface_Delete_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 (_c *MockPrivateAccessInterface_Delete_Call) Return(_a0 error) *MockPrivateAccessInterface_Delete_Call
func (*MockPrivateAccessInterface_Delete_Call) Run ¶
func (_c *MockPrivateAccessInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeletePrivateAccesRequest)) *MockPrivateAccessInterface_Delete_Call
func (*MockPrivateAccessInterface_Delete_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeletePrivateAccesRequest) error) *MockPrivateAccessInterface_Delete_Call
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 ¶
func (_e *MockPrivateAccessInterface_Expecter) List(ctx interface{}) *MockPrivateAccessInterface_List_Call
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 ¶
MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByPrivateAccessSettingsId'
func (*MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) Run ¶
func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) Run(run func(ctx context.Context, privateAccessSettingsId string)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
func (*MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsId_Call
type MockPrivateAccessInterface_GetByPrivateAccessSettingsName_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 ¶
func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) Run(run func(ctx context.Context, name string)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
func (*MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_GetByPrivateAccessSettingsName_Call
type MockPrivateAccessInterface_Get_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 (_c *MockPrivateAccessInterface_Get_Call) Return(_a0 *provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_Get_Call
func (*MockPrivateAccessInterface_Get_Call) Run ¶
func (_c *MockPrivateAccessInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetPrivateAccesRequest)) *MockPrivateAccessInterface_Get_Call
func (*MockPrivateAccessInterface_Get_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetPrivateAccesRequest) (*provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_Get_Call
type MockPrivateAccessInterface_List_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 (_c *MockPrivateAccessInterface_List_Call) Return(_a0 []provisioning.PrivateAccessSettings, _a1 error) *MockPrivateAccessInterface_List_Call
func (*MockPrivateAccessInterface_List_Call) Run ¶
func (_c *MockPrivateAccessInterface_List_Call) Run(run func(ctx context.Context)) *MockPrivateAccessInterface_List_Call
func (*MockPrivateAccessInterface_List_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.PrivateAccessSettings, error)) *MockPrivateAccessInterface_List_Call
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'
func (*MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) Return ¶
func (*MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) Run ¶
func (*MockPrivateAccessInterface_PrivateAccessSettingsPrivateAccessSettingsNameToPrivateAccessSettingsIdMap_Call) RunAndReturn ¶
type MockPrivateAccessInterface_Replace_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 (_c *MockPrivateAccessInterface_Replace_Call) Return(_a0 error) *MockPrivateAccessInterface_Replace_Call
func (*MockPrivateAccessInterface_Replace_Call) Run ¶
func (_c *MockPrivateAccessInterface_Replace_Call) Run(run func(ctx context.Context, request provisioning.UpsertPrivateAccessSettingsRequest)) *MockPrivateAccessInterface_Replace_Call
func (*MockPrivateAccessInterface_Replace_Call) RunAndReturn ¶
func (_c *MockPrivateAccessInterface_Replace_Call) RunAndReturn(run func(context.Context, provisioning.UpsertPrivateAccessSettingsRequest) error) *MockPrivateAccessInterface_Replace_Call
type MockStorageInterface ¶
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 ¶
func (_m *MockStorageInterface) Create(ctx context.Context, request provisioning.CreateStorageConfigurationRequest) (*provisioning.StorageConfiguration, error)
Create provides a mock function with given fields: ctx, request
func (*MockStorageInterface) Delete ¶
func (_m *MockStorageInterface) Delete(ctx context.Context, request provisioning.DeleteStorageRequest) error
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 (_m *MockStorageInterface) EXPECT() *MockStorageInterface_Expecter
func (*MockStorageInterface) Get ¶
func (_m *MockStorageInterface) Get(ctx context.Context, request provisioning.GetStorageRequest) (*provisioning.StorageConfiguration, error)
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 ¶
func (_m *MockStorageInterface) List(ctx context.Context) ([]provisioning.StorageConfiguration, error)
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 ¶
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 (_c *MockStorageInterface_Create_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_Create_Call
func (*MockStorageInterface_Create_Call) Run ¶
func (_c *MockStorageInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateStorageConfigurationRequest)) *MockStorageInterface_Create_Call
func (*MockStorageInterface_Create_Call) RunAndReturn ¶
func (_c *MockStorageInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateStorageConfigurationRequest) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_Create_Call
type MockStorageInterface_DeleteByStorageConfigurationId_Call ¶
MockStorageInterface_DeleteByStorageConfigurationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByStorageConfigurationId'
func (*MockStorageInterface_DeleteByStorageConfigurationId_Call) Run ¶
func (_c *MockStorageInterface_DeleteByStorageConfigurationId_Call) Run(run func(ctx context.Context, storageConfigurationId string)) *MockStorageInterface_DeleteByStorageConfigurationId_Call
func (*MockStorageInterface_DeleteByStorageConfigurationId_Call) RunAndReturn ¶
func (_c *MockStorageInterface_DeleteByStorageConfigurationId_Call) RunAndReturn(run func(context.Context, string) error) *MockStorageInterface_DeleteByStorageConfigurationId_Call
type MockStorageInterface_Delete_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 (_c *MockStorageInterface_Delete_Call) Return(_a0 error) *MockStorageInterface_Delete_Call
func (*MockStorageInterface_Delete_Call) Run ¶
func (_c *MockStorageInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteStorageRequest)) *MockStorageInterface_Delete_Call
func (*MockStorageInterface_Delete_Call) RunAndReturn ¶
func (_c *MockStorageInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteStorageRequest) error) *MockStorageInterface_Delete_Call
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 ¶
func (_e *MockStorageInterface_Expecter) List(ctx interface{}) *MockStorageInterface_List_Call
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 ¶
MockStorageInterface_GetByStorageConfigurationId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByStorageConfigurationId'
func (*MockStorageInterface_GetByStorageConfigurationId_Call) Run ¶
func (_c *MockStorageInterface_GetByStorageConfigurationId_Call) Run(run func(ctx context.Context, storageConfigurationId string)) *MockStorageInterface_GetByStorageConfigurationId_Call
func (*MockStorageInterface_GetByStorageConfigurationId_Call) RunAndReturn ¶
func (_c *MockStorageInterface_GetByStorageConfigurationId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_GetByStorageConfigurationId_Call
type MockStorageInterface_GetByStorageConfigurationName_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 ¶
func (_c *MockStorageInterface_GetByStorageConfigurationName_Call) Run(run func(ctx context.Context, name string)) *MockStorageInterface_GetByStorageConfigurationName_Call
func (*MockStorageInterface_GetByStorageConfigurationName_Call) RunAndReturn ¶
func (_c *MockStorageInterface_GetByStorageConfigurationName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_GetByStorageConfigurationName_Call
type MockStorageInterface_Get_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 (_c *MockStorageInterface_Get_Call) Return(_a0 *provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_Get_Call
func (*MockStorageInterface_Get_Call) Run ¶
func (_c *MockStorageInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetStorageRequest)) *MockStorageInterface_Get_Call
func (*MockStorageInterface_Get_Call) RunAndReturn ¶
func (_c *MockStorageInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetStorageRequest) (*provisioning.StorageConfiguration, error)) *MockStorageInterface_Get_Call
type MockStorageInterface_List_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 (_c *MockStorageInterface_List_Call) Return(_a0 []provisioning.StorageConfiguration, _a1 error) *MockStorageInterface_List_Call
func (*MockStorageInterface_List_Call) Run ¶
func (_c *MockStorageInterface_List_Call) Run(run func(ctx context.Context)) *MockStorageInterface_List_Call
func (*MockStorageInterface_List_Call) RunAndReturn ¶
func (_c *MockStorageInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.StorageConfiguration, error)) *MockStorageInterface_List_Call
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 ¶
func (*MockStorageInterface_StorageConfigurationStorageConfigurationNameToStorageConfigurationIdMap_Call) RunAndReturn ¶
type MockVpcEndpointsInterface ¶
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 ¶
func (_m *MockVpcEndpointsInterface) Create(ctx context.Context, request provisioning.CreateVpcEndpointRequest) (*provisioning.VpcEndpoint, error)
Create provides a mock function with given fields: ctx, request
func (*MockVpcEndpointsInterface) Delete ¶
func (_m *MockVpcEndpointsInterface) Delete(ctx context.Context, request provisioning.DeleteVpcEndpointRequest) error
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 (_m *MockVpcEndpointsInterface) EXPECT() *MockVpcEndpointsInterface_Expecter
func (*MockVpcEndpointsInterface) Get ¶
func (_m *MockVpcEndpointsInterface) Get(ctx context.Context, request provisioning.GetVpcEndpointRequest) (*provisioning.VpcEndpoint, error)
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 ¶
func (_m *MockVpcEndpointsInterface) List(ctx context.Context) ([]provisioning.VpcEndpoint, error)
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 ¶
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 (_c *MockVpcEndpointsInterface_Create_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_Create_Call
func (*MockVpcEndpointsInterface_Create_Call) Run ¶
func (_c *MockVpcEndpointsInterface_Create_Call) Run(run func(ctx context.Context, request provisioning.CreateVpcEndpointRequest)) *MockVpcEndpointsInterface_Create_Call
func (*MockVpcEndpointsInterface_Create_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateVpcEndpointRequest) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_Create_Call
type MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call ¶
MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteByVpcEndpointId'
func (*MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Run ¶
func (_c *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) Run(run func(ctx context.Context, vpcEndpointId string)) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
func (*MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call) RunAndReturn(run func(context.Context, string) error) *MockVpcEndpointsInterface_DeleteByVpcEndpointId_Call
type MockVpcEndpointsInterface_Delete_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 (_c *MockVpcEndpointsInterface_Delete_Call) Return(_a0 error) *MockVpcEndpointsInterface_Delete_Call
func (*MockVpcEndpointsInterface_Delete_Call) Run ¶
func (_c *MockVpcEndpointsInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteVpcEndpointRequest)) *MockVpcEndpointsInterface_Delete_Call
func (*MockVpcEndpointsInterface_Delete_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteVpcEndpointRequest) error) *MockVpcEndpointsInterface_Delete_Call
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 ¶
func (_e *MockVpcEndpointsInterface_Expecter) List(ctx interface{}) *MockVpcEndpointsInterface_List_Call
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 ¶
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 (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
func (*MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Run ¶
func (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) Run(run func(ctx context.Context, vpcEndpointId string)) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
func (*MockVpcEndpointsInterface_GetByVpcEndpointId_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_GetByVpcEndpointId_Call) RunAndReturn(run func(context.Context, string) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_GetByVpcEndpointId_Call
type MockVpcEndpointsInterface_GetByVpcEndpointName_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 (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
func (*MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Run ¶
func (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) Run(run func(ctx context.Context, name string)) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
func (*MockVpcEndpointsInterface_GetByVpcEndpointName_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_GetByVpcEndpointName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_GetByVpcEndpointName_Call
type MockVpcEndpointsInterface_Get_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 (_c *MockVpcEndpointsInterface_Get_Call) Return(_a0 *provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_Get_Call
func (*MockVpcEndpointsInterface_Get_Call) Run ¶
func (_c *MockVpcEndpointsInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetVpcEndpointRequest)) *MockVpcEndpointsInterface_Get_Call
func (*MockVpcEndpointsInterface_Get_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetVpcEndpointRequest) (*provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_Get_Call
type MockVpcEndpointsInterface_List_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 (_c *MockVpcEndpointsInterface_List_Call) Return(_a0 []provisioning.VpcEndpoint, _a1 error) *MockVpcEndpointsInterface_List_Call
func (*MockVpcEndpointsInterface_List_Call) Run ¶
func (_c *MockVpcEndpointsInterface_List_Call) Run(run func(ctx context.Context)) *MockVpcEndpointsInterface_List_Call
func (*MockVpcEndpointsInterface_List_Call) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.VpcEndpoint, error)) *MockVpcEndpointsInterface_List_Call
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) RunAndReturn ¶
func (_c *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call) RunAndReturn(run func(context.Context) (map[string]string, error)) *MockVpcEndpointsInterface_VpcEndpointVpcEndpointNameToVpcEndpointIdMap_Call
type MockWorkspacesInterface ¶
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 ¶
func (_m *MockWorkspacesInterface) Create(ctx context.Context, createWorkspaceRequest provisioning.CreateWorkspaceRequest) (*provisioning.WaitGetWorkspaceRunning[provisioning.Workspace], error)
Create provides a mock function with given fields: ctx, createWorkspaceRequest
func (*MockWorkspacesInterface) CreateAndWait ¶
func (_m *MockWorkspacesInterface) CreateAndWait(ctx context.Context, createWorkspaceRequest provisioning.CreateWorkspaceRequest, options ...retries.Option[provisioning.Workspace]) (*provisioning.Workspace, error)
CreateAndWait provides a mock function with given fields: ctx, createWorkspaceRequest, options
func (*MockWorkspacesInterface) Delete ¶
func (_m *MockWorkspacesInterface) Delete(ctx context.Context, request provisioning.DeleteWorkspaceRequest) error
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 (_m *MockWorkspacesInterface) EXPECT() *MockWorkspacesInterface_Expecter
func (*MockWorkspacesInterface) Get ¶
func (_m *MockWorkspacesInterface) Get(ctx context.Context, request provisioning.GetWorkspaceRequest) (*provisioning.Workspace, error)
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 ¶
func (_m *MockWorkspacesInterface) List(ctx context.Context) ([]provisioning.Workspace, error)
List provides a mock function with given fields: ctx
func (*MockWorkspacesInterface) Update ¶
func (_m *MockWorkspacesInterface) Update(ctx context.Context, updateWorkspaceRequest provisioning.UpdateWorkspaceRequest) (*provisioning.WaitGetWorkspaceRunning[struct{}], error)
Update provides a mock function with given fields: ctx, updateWorkspaceRequest
func (*MockWorkspacesInterface) UpdateAndWait ¶
func (_m *MockWorkspacesInterface) UpdateAndWait(ctx context.Context, updateWorkspaceRequest provisioning.UpdateWorkspaceRequest, options ...retries.Option[provisioning.Workspace]) (*provisioning.Workspace, error)
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 ¶
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 (_c *MockWorkspacesInterface_CreateAndWait_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_CreateAndWait_Call
func (*MockWorkspacesInterface_CreateAndWait_Call) Run ¶
func (_c *MockWorkspacesInterface_CreateAndWait_Call) Run(run func(ctx context.Context, createWorkspaceRequest provisioning.CreateWorkspaceRequest, options ...retries.Option[provisioning.Workspace])) *MockWorkspacesInterface_CreateAndWait_Call
func (*MockWorkspacesInterface_CreateAndWait_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_CreateAndWait_Call) RunAndReturn(run func(context.Context, provisioning.CreateWorkspaceRequest, ...retries.Option[provisioning.Workspace]) (*provisioning.Workspace, error)) *MockWorkspacesInterface_CreateAndWait_Call
type MockWorkspacesInterface_Create_Call ¶
MockWorkspacesInterface_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*MockWorkspacesInterface_Create_Call) Return ¶
func (_c *MockWorkspacesInterface_Create_Call) Return(_a0 *provisioning.WaitGetWorkspaceRunning[provisioning.Workspace], _a1 error) *MockWorkspacesInterface_Create_Call
func (*MockWorkspacesInterface_Create_Call) Run ¶
func (_c *MockWorkspacesInterface_Create_Call) Run(run func(ctx context.Context, createWorkspaceRequest provisioning.CreateWorkspaceRequest)) *MockWorkspacesInterface_Create_Call
func (*MockWorkspacesInterface_Create_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_Create_Call) RunAndReturn(run func(context.Context, provisioning.CreateWorkspaceRequest) (*provisioning.WaitGetWorkspaceRunning[provisioning.Workspace], error)) *MockWorkspacesInterface_Create_Call
type MockWorkspacesInterface_DeleteByWorkspaceId_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 (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) Return(_a0 error) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
func (*MockWorkspacesInterface_DeleteByWorkspaceId_Call) Run ¶
func (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
func (*MockWorkspacesInterface_DeleteByWorkspaceId_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_DeleteByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) error) *MockWorkspacesInterface_DeleteByWorkspaceId_Call
type MockWorkspacesInterface_Delete_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 (_c *MockWorkspacesInterface_Delete_Call) Return(_a0 error) *MockWorkspacesInterface_Delete_Call
func (*MockWorkspacesInterface_Delete_Call) Run ¶
func (_c *MockWorkspacesInterface_Delete_Call) Run(run func(ctx context.Context, request provisioning.DeleteWorkspaceRequest)) *MockWorkspacesInterface_Delete_Call
func (*MockWorkspacesInterface_Delete_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_Delete_Call) RunAndReturn(run func(context.Context, provisioning.DeleteWorkspaceRequest) error) *MockWorkspacesInterface_Delete_Call
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 ¶
func (_e *MockWorkspacesInterface_Expecter) List(ctx interface{}) *MockWorkspacesInterface_List_Call
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 ¶
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 (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_GetByWorkspaceId_Call
func (*MockWorkspacesInterface_GetByWorkspaceId_Call) Run ¶
func (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) Run(run func(ctx context.Context, workspaceId int64)) *MockWorkspacesInterface_GetByWorkspaceId_Call
func (*MockWorkspacesInterface_GetByWorkspaceId_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_GetByWorkspaceId_Call) RunAndReturn(run func(context.Context, int64) (*provisioning.Workspace, error)) *MockWorkspacesInterface_GetByWorkspaceId_Call
type MockWorkspacesInterface_GetByWorkspaceName_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 (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_GetByWorkspaceName_Call
func (*MockWorkspacesInterface_GetByWorkspaceName_Call) Run ¶
func (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) Run(run func(ctx context.Context, name string)) *MockWorkspacesInterface_GetByWorkspaceName_Call
func (*MockWorkspacesInterface_GetByWorkspaceName_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_GetByWorkspaceName_Call) RunAndReturn(run func(context.Context, string) (*provisioning.Workspace, error)) *MockWorkspacesInterface_GetByWorkspaceName_Call
type MockWorkspacesInterface_Get_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 (_c *MockWorkspacesInterface_Get_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_Get_Call
func (*MockWorkspacesInterface_Get_Call) Run ¶
func (_c *MockWorkspacesInterface_Get_Call) Run(run func(ctx context.Context, request provisioning.GetWorkspaceRequest)) *MockWorkspacesInterface_Get_Call
func (*MockWorkspacesInterface_Get_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_Get_Call) RunAndReturn(run func(context.Context, provisioning.GetWorkspaceRequest) (*provisioning.Workspace, error)) *MockWorkspacesInterface_Get_Call
type MockWorkspacesInterface_List_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 (_c *MockWorkspacesInterface_List_Call) Return(_a0 []provisioning.Workspace, _a1 error) *MockWorkspacesInterface_List_Call
func (*MockWorkspacesInterface_List_Call) Run ¶
func (_c *MockWorkspacesInterface_List_Call) Run(run func(ctx context.Context)) *MockWorkspacesInterface_List_Call
func (*MockWorkspacesInterface_List_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_List_Call) RunAndReturn(run func(context.Context) ([]provisioning.Workspace, error)) *MockWorkspacesInterface_List_Call
type MockWorkspacesInterface_UpdateAndWait_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 (_c *MockWorkspacesInterface_UpdateAndWait_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_UpdateAndWait_Call
func (*MockWorkspacesInterface_UpdateAndWait_Call) Run ¶
func (_c *MockWorkspacesInterface_UpdateAndWait_Call) Run(run func(ctx context.Context, updateWorkspaceRequest provisioning.UpdateWorkspaceRequest, options ...retries.Option[provisioning.Workspace])) *MockWorkspacesInterface_UpdateAndWait_Call
func (*MockWorkspacesInterface_UpdateAndWait_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_UpdateAndWait_Call) RunAndReturn(run func(context.Context, provisioning.UpdateWorkspaceRequest, ...retries.Option[provisioning.Workspace]) (*provisioning.Workspace, error)) *MockWorkspacesInterface_UpdateAndWait_Call
type MockWorkspacesInterface_Update_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 (_c *MockWorkspacesInterface_Update_Call) Return(_a0 *provisioning.WaitGetWorkspaceRunning[struct{}], _a1 error) *MockWorkspacesInterface_Update_Call
func (*MockWorkspacesInterface_Update_Call) Run ¶
func (_c *MockWorkspacesInterface_Update_Call) Run(run func(ctx context.Context, updateWorkspaceRequest provisioning.UpdateWorkspaceRequest)) *MockWorkspacesInterface_Update_Call
func (*MockWorkspacesInterface_Update_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_Update_Call) RunAndReturn(run func(context.Context, provisioning.UpdateWorkspaceRequest) (*provisioning.WaitGetWorkspaceRunning[struct{}], error)) *MockWorkspacesInterface_Update_Call
type MockWorkspacesInterface_WaitGetWorkspaceRunning_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 (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Return(_a0 *provisioning.Workspace, _a1 error) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
func (*MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Run ¶
func (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) Run(run func(ctx context.Context, workspaceId int64, timeout time.Duration, callback func(*provisioning.Workspace))) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
func (*MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call) RunAndReturn(run func(context.Context, int64, time.Duration, func(*provisioning.Workspace)) (*provisioning.Workspace, error)) *MockWorkspacesInterface_WaitGetWorkspaceRunning_Call
type MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call ¶
MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkspaceWorkspaceNameToWorkspaceIdMap'
func (*MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) RunAndReturn ¶
func (_c *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call) RunAndReturn(run func(context.Context) (map[string]int64, error)) *MockWorkspacesInterface_WorkspaceWorkspaceNameToWorkspaceIdMap_Call