Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAzureStorageAccountRESTClient
- func (fake *FakeAzureStorageAccountRESTClient) CheckCompletion(asyncURL string) (bool, error)
- func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionArgsForCall(i int) string
- func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionCallCount() int
- func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionReturns(result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccount() (string, error)
- func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountCallCount() int
- func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountReturns(result1 string, result2 error)
- func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAzureStorageAccountRESTClient) Invocations() map[string][][]interface{}
- type FakeAzureStorageAccountSDKClient
- func (fake *FakeAzureStorageAccountSDKClient) CreateFileShare(fileShareName string) error
- func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareArgsForCall(i int) string
- func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareReturns(result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareReturnsOnCall(i int, result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShare(fileShareName string) error
- func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareArgsForCall(i int) string
- func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareReturns(result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareReturnsOnCall(i int, result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccount() error
- func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturns(result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturnsOnCall(i int, result1 error)
- func (fake *FakeAzureStorageAccountSDKClient) Exists() (bool, error)
- func (fake *FakeAzureStorageAccountSDKClient) ExistsCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) ExistsReturns(result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) ExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) GetAccessKey() (string, error)
- func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyReturns(result1 string, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) GetShareURL(fileShareName string) (string, error)
- func (fake *FakeAzureStorageAccountSDKClient) GetShareURLArgsForCall(i int) string
- func (fake *FakeAzureStorageAccountSDKClient) GetShareURLCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) GetShareURLReturns(result1 string, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) GetShareURLReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) HasFileShare(fileShareName string) (bool, error)
- func (fake *FakeAzureStorageAccountSDKClient) HasFileShareArgsForCall(i int) string
- func (fake *FakeAzureStorageAccountSDKClient) HasFileShareCallCount() int
- func (fake *FakeAzureStorageAccountSDKClient) HasFileShareReturns(result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) HasFileShareReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAzureStorageAccountSDKClient) Invocations() map[string][][]interface{}
- type FakeSQLMockConnection
- type FakeSqlConnection
- func (fake *FakeSqlConnection) Begin() (*sql.Tx, error)
- func (fake *FakeSqlConnection) BeginCallCount() int
- func (fake *FakeSqlConnection) BeginReturns(result1 *sql.Tx, result2 error)
- func (fake *FakeSqlConnection) BeginReturnsOnCall(i int, result1 *sql.Tx, result2 error)
- func (fake *FakeSqlConnection) Close() error
- func (fake *FakeSqlConnection) CloseCallCount() int
- func (fake *FakeSqlConnection) CloseReturns(result1 error)
- func (fake *FakeSqlConnection) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSqlConnection) Connect() error
- func (fake *FakeSqlConnection) ConnectCallCount() int
- func (fake *FakeSqlConnection) ConnectReturns(result1 error)
- func (fake *FakeSqlConnection) ConnectReturnsOnCall(i int, result1 error)
- func (fake *FakeSqlConnection) Driver() driver.Driver
- func (fake *FakeSqlConnection) DriverCallCount() int
- func (fake *FakeSqlConnection) DriverReturns(result1 driver.Driver)
- func (fake *FakeSqlConnection) DriverReturnsOnCall(i int, result1 driver.Driver)
- func (fake *FakeSqlConnection) Exec(query string, args ...interface{}) (sql.Result, error)
- func (fake *FakeSqlConnection) ExecArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlConnection) ExecCallCount() int
- func (fake *FakeSqlConnection) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FakeSqlConnection) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakeSqlConnection) GetAppLockSQL() string
- func (fake *FakeSqlConnection) GetAppLockSQLCallCount() int
- func (fake *FakeSqlConnection) GetAppLockSQLReturns(result1 string)
- func (fake *FakeSqlConnection) GetAppLockSQLReturnsOnCall(i int, result1 string)
- func (fake *FakeSqlConnection) GetInitializeDatabaseSQL() []string
- func (fake *FakeSqlConnection) GetInitializeDatabaseSQLCallCount() int
- func (fake *FakeSqlConnection) GetInitializeDatabaseSQLReturns(result1 []string)
- func (fake *FakeSqlConnection) GetInitializeDatabaseSQLReturnsOnCall(i int, result1 []string)
- func (fake *FakeSqlConnection) GetReleaseAppLockSQL() string
- func (fake *FakeSqlConnection) GetReleaseAppLockSQLCallCount() int
- func (fake *FakeSqlConnection) GetReleaseAppLockSQLReturns(result1 string)
- func (fake *FakeSqlConnection) GetReleaseAppLockSQLReturnsOnCall(i int, result1 string)
- func (fake *FakeSqlConnection) Invocations() map[string][][]interface{}
- func (fake *FakeSqlConnection) Ping() error
- func (fake *FakeSqlConnection) PingCallCount() int
- func (fake *FakeSqlConnection) PingReturns(result1 error)
- func (fake *FakeSqlConnection) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeSqlConnection) Prepare(query string) (*sql.Stmt, error)
- func (fake *FakeSqlConnection) PrepareArgsForCall(i int) string
- func (fake *FakeSqlConnection) PrepareCallCount() int
- func (fake *FakeSqlConnection) PrepareReturns(result1 *sql.Stmt, result2 error)
- func (fake *FakeSqlConnection) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
- func (fake *FakeSqlConnection) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *FakeSqlConnection) QueryArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlConnection) QueryCallCount() int
- func (fake *FakeSqlConnection) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *FakeSqlConnection) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakeSqlConnection) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *FakeSqlConnection) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *FakeSqlConnection) QueryRowCallCount() int
- func (fake *FakeSqlConnection) QueryRowReturns(result1 *sql.Row)
- func (fake *FakeSqlConnection) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- func (fake *FakeSqlConnection) SetConnMaxLifetime(d time.Duration)
- func (fake *FakeSqlConnection) SetConnMaxLifetimeArgsForCall(i int) time.Duration
- func (fake *FakeSqlConnection) SetConnMaxLifetimeCallCount() int
- func (fake *FakeSqlConnection) SetMaxIdleConns(n int)
- func (fake *FakeSqlConnection) SetMaxIdleConnsArgsForCall(i int) int
- func (fake *FakeSqlConnection) SetMaxIdleConnsCallCount() int
- func (fake *FakeSqlConnection) SetMaxOpenConns(n int)
- func (fake *FakeSqlConnection) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FakeSqlConnection) SetMaxOpenConnsCallCount() int
- func (fake *FakeSqlConnection) Stats() sql.DBStats
- func (fake *FakeSqlConnection) StatsCallCount() int
- func (fake *FakeSqlConnection) StatsReturns(result1 sql.DBStats)
- func (fake *FakeSqlConnection) StatsReturnsOnCall(i int, result1 sql.DBStats)
- type FakeSqlVariant
- func (fake *FakeSqlVariant) Connect() (sqlshim.SqlDB, error)
- func (fake *FakeSqlVariant) ConnectCallCount() int
- func (fake *FakeSqlVariant) ConnectReturns(result1 sqlshim.SqlDB, result2 error)
- func (fake *FakeSqlVariant) ConnectReturnsOnCall(i int, result1 sqlshim.SqlDB, result2 error)
- func (fake *FakeSqlVariant) GetAppLockSQL() string
- func (fake *FakeSqlVariant) GetAppLockSQLCallCount() int
- func (fake *FakeSqlVariant) GetAppLockSQLReturns(result1 string)
- func (fake *FakeSqlVariant) GetAppLockSQLReturnsOnCall(i int, result1 string)
- func (fake *FakeSqlVariant) GetInitializeDatabaseSQL() []string
- func (fake *FakeSqlVariant) GetInitializeDatabaseSQLCallCount() int
- func (fake *FakeSqlVariant) GetInitializeDatabaseSQLReturns(result1 []string)
- func (fake *FakeSqlVariant) GetInitializeDatabaseSQLReturnsOnCall(i int, result1 []string)
- func (fake *FakeSqlVariant) GetReleaseAppLockSQL() string
- func (fake *FakeSqlVariant) GetReleaseAppLockSQLCallCount() int
- func (fake *FakeSqlVariant) GetReleaseAppLockSQLReturns(result1 string)
- func (fake *FakeSqlVariant) GetReleaseAppLockSQLReturnsOnCall(i int, result1 string)
- func (fake *FakeSqlVariant) Invocations() map[string][][]interface{}
- type FakeStore
- func (fake *FakeStore) CreateBindingDetails(id string, details brokerapi.BindDetails, redactRawParameter bool) error
- func (fake *FakeStore) CreateBindingDetailsArgsForCall(i int) (string, brokerapi.BindDetails, bool)
- func (fake *FakeStore) CreateBindingDetailsCallCount() int
- func (fake *FakeStore) CreateBindingDetailsReturns(result1 error)
- func (fake *FakeStore) CreateBindingDetailsReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) CreateFileShare(id string, share azurefilebroker.FileShare) error
- func (fake *FakeStore) CreateFileShareArgsForCall(i int) (string, azurefilebroker.FileShare)
- func (fake *FakeStore) CreateFileShareCallCount() int
- func (fake *FakeStore) CreateFileShareReturns(result1 error)
- func (fake *FakeStore) CreateFileShareReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) CreateServiceInstance(id string, instance azurefilebroker.ServiceInstance) error
- func (fake *FakeStore) CreateServiceInstanceArgsForCall(i int) (string, azurefilebroker.ServiceInstance)
- func (fake *FakeStore) CreateServiceInstanceCallCount() int
- func (fake *FakeStore) CreateServiceInstanceReturns(result1 error)
- func (fake *FakeStore) CreateServiceInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) DeleteBindingDetails(id string) error
- func (fake *FakeStore) DeleteBindingDetailsArgsForCall(i int) string
- func (fake *FakeStore) DeleteBindingDetailsCallCount() int
- func (fake *FakeStore) DeleteBindingDetailsReturns(result1 error)
- func (fake *FakeStore) DeleteBindingDetailsReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) DeleteFileShare(id string) error
- func (fake *FakeStore) DeleteFileShareArgsForCall(i int) string
- func (fake *FakeStore) DeleteFileShareCallCount() int
- func (fake *FakeStore) DeleteFileShareReturns(result1 error)
- func (fake *FakeStore) DeleteFileShareReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) DeleteServiceInstance(id string) error
- func (fake *FakeStore) DeleteServiceInstanceArgsForCall(i int) string
- func (fake *FakeStore) DeleteServiceInstanceCallCount() int
- func (fake *FakeStore) DeleteServiceInstanceReturns(result1 error)
- func (fake *FakeStore) DeleteServiceInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) GetLockForUpdate(lockName string, timeoutInSeconds int) error
- func (fake *FakeStore) GetLockForUpdateArgsForCall(i int) (string, int)
- func (fake *FakeStore) GetLockForUpdateCallCount() int
- func (fake *FakeStore) GetLockForUpdateReturns(result1 error)
- func (fake *FakeStore) GetLockForUpdateReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) Invocations() map[string][][]interface{}
- func (fake *FakeStore) ReleaseLockForUpdate(lockName string) error
- func (fake *FakeStore) ReleaseLockForUpdateArgsForCall(i int) string
- func (fake *FakeStore) ReleaseLockForUpdateCallCount() int
- func (fake *FakeStore) ReleaseLockForUpdateReturns(result1 error)
- func (fake *FakeStore) ReleaseLockForUpdateReturnsOnCall(i int, result1 error)
- func (fake *FakeStore) RetrieveBindingDetails(id string) (brokerapi.BindDetails, error)
- func (fake *FakeStore) RetrieveBindingDetailsArgsForCall(i int) string
- func (fake *FakeStore) RetrieveBindingDetailsCallCount() int
- func (fake *FakeStore) RetrieveBindingDetailsReturns(result1 brokerapi.BindDetails, result2 error)
- func (fake *FakeStore) RetrieveBindingDetailsReturnsOnCall(i int, result1 brokerapi.BindDetails, result2 error)
- func (fake *FakeStore) RetrieveFileShare(id string) (azurefilebroker.FileShare, error)
- func (fake *FakeStore) RetrieveFileShareArgsForCall(i int) string
- func (fake *FakeStore) RetrieveFileShareCallCount() int
- func (fake *FakeStore) RetrieveFileShareReturns(result1 azurefilebroker.FileShare, result2 error)
- func (fake *FakeStore) RetrieveFileShareReturnsOnCall(i int, result1 azurefilebroker.FileShare, result2 error)
- func (fake *FakeStore) RetrieveServiceInstance(id string) (azurefilebroker.ServiceInstance, error)
- func (fake *FakeStore) RetrieveServiceInstanceArgsForCall(i int) string
- func (fake *FakeStore) RetrieveServiceInstanceCallCount() int
- func (fake *FakeStore) RetrieveServiceInstanceReturns(result1 azurefilebroker.ServiceInstance, result2 error)
- func (fake *FakeStore) RetrieveServiceInstanceReturnsOnCall(i int, result1 azurefilebroker.ServiceInstance, result2 error)
- func (fake *FakeStore) UpdateFileShare(id string, share azurefilebroker.FileShare) error
- func (fake *FakeStore) UpdateFileShareArgsForCall(i int) (string, azurefilebroker.FileShare)
- func (fake *FakeStore) UpdateFileShareCallCount() int
- func (fake *FakeStore) UpdateFileShareReturns(result1 error)
- func (fake *FakeStore) UpdateFileShareReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAzureStorageAccountRESTClient ¶
type FakeAzureStorageAccountRESTClient struct { CreateStorageAccountStub func() (string, error) CheckCompletionStub func(asyncURL string) (bool, error) // contains filtered or unexported fields }
func (*FakeAzureStorageAccountRESTClient) CheckCompletion ¶
func (fake *FakeAzureStorageAccountRESTClient) CheckCompletion(asyncURL string) (bool, error)
func (*FakeAzureStorageAccountRESTClient) CheckCompletionArgsForCall ¶
func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionArgsForCall(i int) string
func (*FakeAzureStorageAccountRESTClient) CheckCompletionCallCount ¶
func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionCallCount() int
func (*FakeAzureStorageAccountRESTClient) CheckCompletionReturns ¶
func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionReturns(result1 bool, result2 error)
func (*FakeAzureStorageAccountRESTClient) CheckCompletionReturnsOnCall ¶
func (fake *FakeAzureStorageAccountRESTClient) CheckCompletionReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAzureStorageAccountRESTClient) CreateStorageAccount ¶
func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccount() (string, error)
func (*FakeAzureStorageAccountRESTClient) CreateStorageAccountCallCount ¶
func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountCallCount() int
func (*FakeAzureStorageAccountRESTClient) CreateStorageAccountReturns ¶
func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountReturns(result1 string, result2 error)
func (*FakeAzureStorageAccountRESTClient) CreateStorageAccountReturnsOnCall ¶
func (fake *FakeAzureStorageAccountRESTClient) CreateStorageAccountReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAzureStorageAccountRESTClient) Invocations ¶
func (fake *FakeAzureStorageAccountRESTClient) Invocations() map[string][][]interface{}
type FakeAzureStorageAccountSDKClient ¶
type FakeAzureStorageAccountSDKClient struct { ExistsStub func() (bool, error) GetAccessKeyStub func() (string, error) DeleteStorageAccountStub func() error // contains filtered or unexported fields }
func (*FakeAzureStorageAccountSDKClient) CreateFileShare ¶
func (fake *FakeAzureStorageAccountSDKClient) CreateFileShare(fileShareName string) error
func (*FakeAzureStorageAccountSDKClient) CreateFileShareArgsForCall ¶
func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareArgsForCall(i int) string
func (*FakeAzureStorageAccountSDKClient) CreateFileShareCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareCallCount() int
func (*FakeAzureStorageAccountSDKClient) CreateFileShareReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareReturns(result1 error)
func (*FakeAzureStorageAccountSDKClient) CreateFileShareReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) CreateFileShareReturnsOnCall(i int, result1 error)
func (*FakeAzureStorageAccountSDKClient) DeleteFileShare ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShare(fileShareName string) error
func (*FakeAzureStorageAccountSDKClient) DeleteFileShareArgsForCall ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareArgsForCall(i int) string
func (*FakeAzureStorageAccountSDKClient) DeleteFileShareCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareCallCount() int
func (*FakeAzureStorageAccountSDKClient) DeleteFileShareReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareReturns(result1 error)
func (*FakeAzureStorageAccountSDKClient) DeleteFileShareReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteFileShareReturnsOnCall(i int, result1 error)
func (*FakeAzureStorageAccountSDKClient) DeleteStorageAccount ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccount() error
func (*FakeAzureStorageAccountSDKClient) DeleteStorageAccountCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountCallCount() int
func (*FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturns(result1 error)
func (*FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) DeleteStorageAccountReturnsOnCall(i int, result1 error)
func (*FakeAzureStorageAccountSDKClient) Exists ¶
func (fake *FakeAzureStorageAccountSDKClient) Exists() (bool, error)
func (*FakeAzureStorageAccountSDKClient) ExistsCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) ExistsCallCount() int
func (*FakeAzureStorageAccountSDKClient) ExistsReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) ExistsReturns(result1 bool, result2 error)
func (*FakeAzureStorageAccountSDKClient) ExistsReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) ExistsReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAzureStorageAccountSDKClient) GetAccessKey ¶
func (fake *FakeAzureStorageAccountSDKClient) GetAccessKey() (string, error)
func (*FakeAzureStorageAccountSDKClient) GetAccessKeyCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyCallCount() int
func (*FakeAzureStorageAccountSDKClient) GetAccessKeyReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyReturns(result1 string, result2 error)
func (*FakeAzureStorageAccountSDKClient) GetAccessKeyReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) GetAccessKeyReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAzureStorageAccountSDKClient) GetShareURL ¶
func (fake *FakeAzureStorageAccountSDKClient) GetShareURL(fileShareName string) (string, error)
func (*FakeAzureStorageAccountSDKClient) GetShareURLArgsForCall ¶
func (fake *FakeAzureStorageAccountSDKClient) GetShareURLArgsForCall(i int) string
func (*FakeAzureStorageAccountSDKClient) GetShareURLCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) GetShareURLCallCount() int
func (*FakeAzureStorageAccountSDKClient) GetShareURLReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) GetShareURLReturns(result1 string, result2 error)
func (*FakeAzureStorageAccountSDKClient) GetShareURLReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) GetShareURLReturnsOnCall(i int, result1 string, result2 error)
func (*FakeAzureStorageAccountSDKClient) HasFileShare ¶
func (fake *FakeAzureStorageAccountSDKClient) HasFileShare(fileShareName string) (bool, error)
func (*FakeAzureStorageAccountSDKClient) HasFileShareArgsForCall ¶
func (fake *FakeAzureStorageAccountSDKClient) HasFileShareArgsForCall(i int) string
func (*FakeAzureStorageAccountSDKClient) HasFileShareCallCount ¶
func (fake *FakeAzureStorageAccountSDKClient) HasFileShareCallCount() int
func (*FakeAzureStorageAccountSDKClient) HasFileShareReturns ¶
func (fake *FakeAzureStorageAccountSDKClient) HasFileShareReturns(result1 bool, result2 error)
func (*FakeAzureStorageAccountSDKClient) HasFileShareReturnsOnCall ¶
func (fake *FakeAzureStorageAccountSDKClient) HasFileShareReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAzureStorageAccountSDKClient) Invocations ¶
func (fake *FakeAzureStorageAccountSDKClient) Invocations() map[string][][]interface{}
type FakeSQLMockConnection ¶
func (FakeSQLMockConnection) Connect ¶
func (fake FakeSQLMockConnection) Connect() error
func (FakeSQLMockConnection) GetAppLockSQL ¶
func (fake FakeSQLMockConnection) GetAppLockSQL() string
func (FakeSQLMockConnection) GetInitializeDatabaseSQL ¶
func (fake FakeSQLMockConnection) GetInitializeDatabaseSQL() []string
func (FakeSQLMockConnection) GetReleaseAppLockSQL ¶
func (fake FakeSQLMockConnection) GetReleaseAppLockSQL() string
type FakeSqlConnection ¶
type FakeSqlConnection struct { ConnectStub func() error PingStub func() error CloseStub func() error SetMaxIdleConnsStub func(n int) SetMaxOpenConnsStub func(n int) SetConnMaxLifetimeStub func(d time.Duration) StatsStub func() sql.DBStats PrepareStub func(query string) (*sql.Stmt, error) ExecStub func(query string, args ...interface{}) (sql.Result, error) QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row BeginStub func() (*sql.Tx, error) DriverStub func() driver.Driver GetInitializeDatabaseSQLStub func() []string GetAppLockSQLStub func() string GetReleaseAppLockSQLStub func() string // contains filtered or unexported fields }
func (*FakeSqlConnection) BeginCallCount ¶
func (fake *FakeSqlConnection) BeginCallCount() int
func (*FakeSqlConnection) BeginReturns ¶
func (fake *FakeSqlConnection) BeginReturns(result1 *sql.Tx, result2 error)
func (*FakeSqlConnection) BeginReturnsOnCall ¶
func (fake *FakeSqlConnection) BeginReturnsOnCall(i int, result1 *sql.Tx, result2 error)
func (*FakeSqlConnection) Close ¶
func (fake *FakeSqlConnection) Close() error
func (*FakeSqlConnection) CloseCallCount ¶
func (fake *FakeSqlConnection) CloseCallCount() int
func (*FakeSqlConnection) CloseReturns ¶
func (fake *FakeSqlConnection) CloseReturns(result1 error)
func (*FakeSqlConnection) CloseReturnsOnCall ¶
func (fake *FakeSqlConnection) CloseReturnsOnCall(i int, result1 error)
func (*FakeSqlConnection) Connect ¶
func (fake *FakeSqlConnection) Connect() error
func (*FakeSqlConnection) ConnectCallCount ¶
func (fake *FakeSqlConnection) ConnectCallCount() int
func (*FakeSqlConnection) ConnectReturns ¶
func (fake *FakeSqlConnection) ConnectReturns(result1 error)
func (*FakeSqlConnection) ConnectReturnsOnCall ¶
func (fake *FakeSqlConnection) ConnectReturnsOnCall(i int, result1 error)
func (*FakeSqlConnection) Driver ¶
func (fake *FakeSqlConnection) Driver() driver.Driver
func (*FakeSqlConnection) DriverCallCount ¶
func (fake *FakeSqlConnection) DriverCallCount() int
func (*FakeSqlConnection) DriverReturns ¶
func (fake *FakeSqlConnection) DriverReturns(result1 driver.Driver)
func (*FakeSqlConnection) DriverReturnsOnCall ¶
func (fake *FakeSqlConnection) DriverReturnsOnCall(i int, result1 driver.Driver)
func (*FakeSqlConnection) Exec ¶
func (fake *FakeSqlConnection) Exec(query string, args ...interface{}) (sql.Result, error)
func (*FakeSqlConnection) ExecArgsForCall ¶
func (fake *FakeSqlConnection) ExecArgsForCall(i int) (string, []interface{})
func (*FakeSqlConnection) ExecCallCount ¶
func (fake *FakeSqlConnection) ExecCallCount() int
func (*FakeSqlConnection) ExecReturns ¶
func (fake *FakeSqlConnection) ExecReturns(result1 sql.Result, result2 error)
func (*FakeSqlConnection) ExecReturnsOnCall ¶
func (fake *FakeSqlConnection) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*FakeSqlConnection) GetAppLockSQL ¶
func (fake *FakeSqlConnection) GetAppLockSQL() string
func (*FakeSqlConnection) GetAppLockSQLCallCount ¶
func (fake *FakeSqlConnection) GetAppLockSQLCallCount() int
func (*FakeSqlConnection) GetAppLockSQLReturns ¶
func (fake *FakeSqlConnection) GetAppLockSQLReturns(result1 string)
func (*FakeSqlConnection) GetAppLockSQLReturnsOnCall ¶
func (fake *FakeSqlConnection) GetAppLockSQLReturnsOnCall(i int, result1 string)
func (*FakeSqlConnection) GetInitializeDatabaseSQL ¶
func (fake *FakeSqlConnection) GetInitializeDatabaseSQL() []string
func (*FakeSqlConnection) GetInitializeDatabaseSQLCallCount ¶
func (fake *FakeSqlConnection) GetInitializeDatabaseSQLCallCount() int
func (*FakeSqlConnection) GetInitializeDatabaseSQLReturns ¶
func (fake *FakeSqlConnection) GetInitializeDatabaseSQLReturns(result1 []string)
func (*FakeSqlConnection) GetInitializeDatabaseSQLReturnsOnCall ¶
func (fake *FakeSqlConnection) GetInitializeDatabaseSQLReturnsOnCall(i int, result1 []string)
func (*FakeSqlConnection) GetReleaseAppLockSQL ¶
func (fake *FakeSqlConnection) GetReleaseAppLockSQL() string
func (*FakeSqlConnection) GetReleaseAppLockSQLCallCount ¶
func (fake *FakeSqlConnection) GetReleaseAppLockSQLCallCount() int
func (*FakeSqlConnection) GetReleaseAppLockSQLReturns ¶
func (fake *FakeSqlConnection) GetReleaseAppLockSQLReturns(result1 string)
func (*FakeSqlConnection) GetReleaseAppLockSQLReturnsOnCall ¶
func (fake *FakeSqlConnection) GetReleaseAppLockSQLReturnsOnCall(i int, result1 string)
func (*FakeSqlConnection) Invocations ¶
func (fake *FakeSqlConnection) Invocations() map[string][][]interface{}
func (*FakeSqlConnection) Ping ¶
func (fake *FakeSqlConnection) Ping() error
func (*FakeSqlConnection) PingCallCount ¶
func (fake *FakeSqlConnection) PingCallCount() int
func (*FakeSqlConnection) PingReturns ¶
func (fake *FakeSqlConnection) PingReturns(result1 error)
func (*FakeSqlConnection) PingReturnsOnCall ¶
func (fake *FakeSqlConnection) PingReturnsOnCall(i int, result1 error)
func (*FakeSqlConnection) Prepare ¶
func (fake *FakeSqlConnection) Prepare(query string) (*sql.Stmt, error)
func (*FakeSqlConnection) PrepareArgsForCall ¶
func (fake *FakeSqlConnection) PrepareArgsForCall(i int) string
func (*FakeSqlConnection) PrepareCallCount ¶
func (fake *FakeSqlConnection) PrepareCallCount() int
func (*FakeSqlConnection) PrepareReturns ¶
func (fake *FakeSqlConnection) PrepareReturns(result1 *sql.Stmt, result2 error)
func (*FakeSqlConnection) PrepareReturnsOnCall ¶
func (fake *FakeSqlConnection) PrepareReturnsOnCall(i int, result1 *sql.Stmt, result2 error)
func (*FakeSqlConnection) Query ¶
func (fake *FakeSqlConnection) Query(query string, args ...interface{}) (*sql.Rows, error)
func (*FakeSqlConnection) QueryArgsForCall ¶
func (fake *FakeSqlConnection) QueryArgsForCall(i int) (string, []interface{})
func (*FakeSqlConnection) QueryCallCount ¶
func (fake *FakeSqlConnection) QueryCallCount() int
func (*FakeSqlConnection) QueryReturns ¶
func (fake *FakeSqlConnection) QueryReturns(result1 *sql.Rows, result2 error)
func (*FakeSqlConnection) QueryReturnsOnCall ¶
func (fake *FakeSqlConnection) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
func (*FakeSqlConnection) QueryRow ¶
func (fake *FakeSqlConnection) QueryRow(query string, args ...interface{}) *sql.Row
func (*FakeSqlConnection) QueryRowArgsForCall ¶
func (fake *FakeSqlConnection) QueryRowArgsForCall(i int) (string, []interface{})
func (*FakeSqlConnection) QueryRowCallCount ¶
func (fake *FakeSqlConnection) QueryRowCallCount() int
func (*FakeSqlConnection) QueryRowReturns ¶
func (fake *FakeSqlConnection) QueryRowReturns(result1 *sql.Row)
func (*FakeSqlConnection) QueryRowReturnsOnCall ¶
func (fake *FakeSqlConnection) QueryRowReturnsOnCall(i int, result1 *sql.Row)
func (*FakeSqlConnection) SetConnMaxLifetime ¶
func (fake *FakeSqlConnection) SetConnMaxLifetime(d time.Duration)
func (*FakeSqlConnection) SetConnMaxLifetimeArgsForCall ¶
func (fake *FakeSqlConnection) SetConnMaxLifetimeArgsForCall(i int) time.Duration
func (*FakeSqlConnection) SetConnMaxLifetimeCallCount ¶
func (fake *FakeSqlConnection) SetConnMaxLifetimeCallCount() int
func (*FakeSqlConnection) SetMaxIdleConns ¶
func (fake *FakeSqlConnection) SetMaxIdleConns(n int)
func (*FakeSqlConnection) SetMaxIdleConnsArgsForCall ¶
func (fake *FakeSqlConnection) SetMaxIdleConnsArgsForCall(i int) int
func (*FakeSqlConnection) SetMaxIdleConnsCallCount ¶
func (fake *FakeSqlConnection) SetMaxIdleConnsCallCount() int
func (*FakeSqlConnection) SetMaxOpenConns ¶
func (fake *FakeSqlConnection) SetMaxOpenConns(n int)
func (*FakeSqlConnection) SetMaxOpenConnsArgsForCall ¶
func (fake *FakeSqlConnection) SetMaxOpenConnsArgsForCall(i int) int
func (*FakeSqlConnection) SetMaxOpenConnsCallCount ¶
func (fake *FakeSqlConnection) SetMaxOpenConnsCallCount() int
func (*FakeSqlConnection) Stats ¶
func (fake *FakeSqlConnection) Stats() sql.DBStats
func (*FakeSqlConnection) StatsCallCount ¶
func (fake *FakeSqlConnection) StatsCallCount() int
func (*FakeSqlConnection) StatsReturns ¶
func (fake *FakeSqlConnection) StatsReturns(result1 sql.DBStats)
func (*FakeSqlConnection) StatsReturnsOnCall ¶
func (fake *FakeSqlConnection) StatsReturnsOnCall(i int, result1 sql.DBStats)
type FakeSqlVariant ¶
type FakeSqlVariant struct { ConnectStub func() (sqlshim.SqlDB, error) GetInitializeDatabaseSQLStub func() []string GetAppLockSQLStub func() string GetReleaseAppLockSQLStub func() string // contains filtered or unexported fields }
func (*FakeSqlVariant) ConnectCallCount ¶
func (fake *FakeSqlVariant) ConnectCallCount() int
func (*FakeSqlVariant) ConnectReturns ¶
func (fake *FakeSqlVariant) ConnectReturns(result1 sqlshim.SqlDB, result2 error)
func (*FakeSqlVariant) ConnectReturnsOnCall ¶
func (fake *FakeSqlVariant) ConnectReturnsOnCall(i int, result1 sqlshim.SqlDB, result2 error)
func (*FakeSqlVariant) GetAppLockSQL ¶
func (fake *FakeSqlVariant) GetAppLockSQL() string
func (*FakeSqlVariant) GetAppLockSQLCallCount ¶
func (fake *FakeSqlVariant) GetAppLockSQLCallCount() int
func (*FakeSqlVariant) GetAppLockSQLReturns ¶
func (fake *FakeSqlVariant) GetAppLockSQLReturns(result1 string)
func (*FakeSqlVariant) GetAppLockSQLReturnsOnCall ¶
func (fake *FakeSqlVariant) GetAppLockSQLReturnsOnCall(i int, result1 string)
func (*FakeSqlVariant) GetInitializeDatabaseSQL ¶
func (fake *FakeSqlVariant) GetInitializeDatabaseSQL() []string
func (*FakeSqlVariant) GetInitializeDatabaseSQLCallCount ¶
func (fake *FakeSqlVariant) GetInitializeDatabaseSQLCallCount() int
func (*FakeSqlVariant) GetInitializeDatabaseSQLReturns ¶
func (fake *FakeSqlVariant) GetInitializeDatabaseSQLReturns(result1 []string)
func (*FakeSqlVariant) GetInitializeDatabaseSQLReturnsOnCall ¶
func (fake *FakeSqlVariant) GetInitializeDatabaseSQLReturnsOnCall(i int, result1 []string)
func (*FakeSqlVariant) GetReleaseAppLockSQL ¶
func (fake *FakeSqlVariant) GetReleaseAppLockSQL() string
func (*FakeSqlVariant) GetReleaseAppLockSQLCallCount ¶
func (fake *FakeSqlVariant) GetReleaseAppLockSQLCallCount() int
func (*FakeSqlVariant) GetReleaseAppLockSQLReturns ¶
func (fake *FakeSqlVariant) GetReleaseAppLockSQLReturns(result1 string)
func (*FakeSqlVariant) GetReleaseAppLockSQLReturnsOnCall ¶
func (fake *FakeSqlVariant) GetReleaseAppLockSQLReturnsOnCall(i int, result1 string)
func (*FakeSqlVariant) Invocations ¶
func (fake *FakeSqlVariant) Invocations() map[string][][]interface{}
type FakeStore ¶
type FakeStore struct { RetrieveServiceInstanceStub func(id string) (azurefilebroker.ServiceInstance, error) RetrieveBindingDetailsStub func(id string) (brokerapi.BindDetails, error) CreateServiceInstanceStub func(id string, instance azurefilebroker.ServiceInstance) error CreateBindingDetailsStub func(id string, details brokerapi.BindDetails, redactRawParameter bool) error DeleteServiceInstanceStub func(id string) error DeleteBindingDetailsStub func(id string) error GetLockForUpdateStub func(lockName string, timeoutInSeconds int) error ReleaseLockForUpdateStub func(lockName string) error // contains filtered or unexported fields }
func (*FakeStore) CreateBindingDetails ¶
func (*FakeStore) CreateBindingDetailsArgsForCall ¶
func (*FakeStore) CreateBindingDetailsCallCount ¶
func (*FakeStore) CreateBindingDetailsReturns ¶
func (*FakeStore) CreateBindingDetailsReturnsOnCall ¶
func (*FakeStore) CreateFileShare ¶
func (fake *FakeStore) CreateFileShare(id string, share azurefilebroker.FileShare) error
func (*FakeStore) CreateFileShareArgsForCall ¶
func (fake *FakeStore) CreateFileShareArgsForCall(i int) (string, azurefilebroker.FileShare)
func (*FakeStore) CreateFileShareCallCount ¶
func (*FakeStore) CreateFileShareReturns ¶
func (*FakeStore) CreateFileShareReturnsOnCall ¶
func (*FakeStore) CreateServiceInstance ¶
func (fake *FakeStore) CreateServiceInstance(id string, instance azurefilebroker.ServiceInstance) error
func (*FakeStore) CreateServiceInstanceArgsForCall ¶
func (fake *FakeStore) CreateServiceInstanceArgsForCall(i int) (string, azurefilebroker.ServiceInstance)
func (*FakeStore) CreateServiceInstanceCallCount ¶
func (*FakeStore) CreateServiceInstanceReturns ¶
func (*FakeStore) CreateServiceInstanceReturnsOnCall ¶
func (*FakeStore) DeleteBindingDetails ¶
func (*FakeStore) DeleteBindingDetailsArgsForCall ¶
func (*FakeStore) DeleteBindingDetailsCallCount ¶
func (*FakeStore) DeleteBindingDetailsReturns ¶
func (*FakeStore) DeleteBindingDetailsReturnsOnCall ¶
func (*FakeStore) DeleteFileShare ¶
func (*FakeStore) DeleteFileShareArgsForCall ¶
func (*FakeStore) DeleteFileShareCallCount ¶
func (*FakeStore) DeleteFileShareReturns ¶
func (*FakeStore) DeleteFileShareReturnsOnCall ¶
func (*FakeStore) DeleteServiceInstance ¶
func (*FakeStore) DeleteServiceInstanceArgsForCall ¶
func (*FakeStore) DeleteServiceInstanceCallCount ¶
func (*FakeStore) DeleteServiceInstanceReturns ¶
func (*FakeStore) DeleteServiceInstanceReturnsOnCall ¶
func (*FakeStore) GetLockForUpdate ¶
func (*FakeStore) GetLockForUpdateArgsForCall ¶
func (*FakeStore) GetLockForUpdateCallCount ¶
func (*FakeStore) GetLockForUpdateReturns ¶
func (*FakeStore) GetLockForUpdateReturnsOnCall ¶
func (*FakeStore) Invocations ¶
func (*FakeStore) ReleaseLockForUpdate ¶
func (*FakeStore) ReleaseLockForUpdateArgsForCall ¶
func (*FakeStore) ReleaseLockForUpdateCallCount ¶
func (*FakeStore) ReleaseLockForUpdateReturns ¶
func (*FakeStore) ReleaseLockForUpdateReturnsOnCall ¶
func (*FakeStore) RetrieveBindingDetails ¶
func (fake *FakeStore) RetrieveBindingDetails(id string) (brokerapi.BindDetails, error)
func (*FakeStore) RetrieveBindingDetailsArgsForCall ¶
func (*FakeStore) RetrieveBindingDetailsCallCount ¶
func (*FakeStore) RetrieveBindingDetailsReturns ¶
func (fake *FakeStore) RetrieveBindingDetailsReturns(result1 brokerapi.BindDetails, result2 error)
func (*FakeStore) RetrieveBindingDetailsReturnsOnCall ¶
func (fake *FakeStore) RetrieveBindingDetailsReturnsOnCall(i int, result1 brokerapi.BindDetails, result2 error)
func (*FakeStore) RetrieveFileShare ¶
func (fake *FakeStore) RetrieveFileShare(id string) (azurefilebroker.FileShare, error)
func (*FakeStore) RetrieveFileShareArgsForCall ¶
func (*FakeStore) RetrieveFileShareCallCount ¶
func (*FakeStore) RetrieveFileShareReturns ¶
func (fake *FakeStore) RetrieveFileShareReturns(result1 azurefilebroker.FileShare, result2 error)
func (*FakeStore) RetrieveFileShareReturnsOnCall ¶
func (fake *FakeStore) RetrieveFileShareReturnsOnCall(i int, result1 azurefilebroker.FileShare, result2 error)
func (*FakeStore) RetrieveServiceInstance ¶
func (fake *FakeStore) RetrieveServiceInstance(id string) (azurefilebroker.ServiceInstance, error)
func (*FakeStore) RetrieveServiceInstanceArgsForCall ¶
func (*FakeStore) RetrieveServiceInstanceCallCount ¶
func (*FakeStore) RetrieveServiceInstanceReturns ¶
func (fake *FakeStore) RetrieveServiceInstanceReturns(result1 azurefilebroker.ServiceInstance, result2 error)
func (*FakeStore) RetrieveServiceInstanceReturnsOnCall ¶
func (fake *FakeStore) RetrieveServiceInstanceReturnsOnCall(i int, result1 azurefilebroker.ServiceInstance, result2 error)
func (*FakeStore) UpdateFileShare ¶
func (fake *FakeStore) UpdateFileShare(id string, share azurefilebroker.FileShare) error
func (*FakeStore) UpdateFileShareArgsForCall ¶
func (fake *FakeStore) UpdateFileShareArgsForCall(i int) (string, azurefilebroker.FileShare)
func (*FakeStore) UpdateFileShareCallCount ¶
func (*FakeStore) UpdateFileShareReturns ¶
func (*FakeStore) UpdateFileShareReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.