Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type AccessStrategy
- type Factory
- type ModificationStrategy
- func (_m *ModificationStrategy) CreateSecretData(credentials *model.Credentials) (strategy.SecretData, apperrors.AppError)
- func (_m *ModificationStrategy) CredentialsProvided(credentials *model.Credentials) bool
- func (_m *ModificationStrategy) ShouldUpdate(currentData strategy.SecretData, newData strategy.SecretData) bool
- func (_m *ModificationStrategy) ToCredentialsInfo(credentials *model.Credentials, secretName string) applications.Credentials
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessStrategy ¶
AccessStrategy is an autogenerated mock type for the AccessStrategy type
func (*AccessStrategy) ToCredentials ¶
func (_m *AccessStrategy) ToCredentials(secretData strategy.SecretData, appCredentials *applications.Credentials) model.Credentials
ToCredentials provides a mock function with given fields: secretData, appCredentials
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func (*Factory) NewSecretAccessStrategy ¶
func (_m *Factory) NewSecretAccessStrategy(credentials *applications.Credentials) (strategy.AccessStrategy, apperrors.AppError)
NewSecretAccessStrategy provides a mock function with given fields: credentials
func (*Factory) NewSecretModificationStrategy ¶
func (_m *Factory) NewSecretModificationStrategy(credentials *model.Credentials) (strategy.ModificationStrategy, apperrors.AppError)
NewSecretModificationStrategy provides a mock function with given fields: credentials
type ModificationStrategy ¶
ModificationStrategy is an autogenerated mock type for the ModificationStrategy type
func (*ModificationStrategy) CreateSecretData ¶
func (_m *ModificationStrategy) CreateSecretData(credentials *model.Credentials) (strategy.SecretData, apperrors.AppError)
CreateSecretData provides a mock function with given fields: credentials
func (*ModificationStrategy) CredentialsProvided ¶
func (_m *ModificationStrategy) CredentialsProvided(credentials *model.Credentials) bool
CredentialsProvided provides a mock function with given fields: credentials
func (*ModificationStrategy) ShouldUpdate ¶
func (_m *ModificationStrategy) ShouldUpdate(currentData strategy.SecretData, newData strategy.SecretData) bool
ShouldUpdate provides a mock function with given fields: currentData, newData
func (*ModificationStrategy) ToCredentialsInfo ¶
func (_m *ModificationStrategy) ToCredentialsInfo(credentials *model.Credentials, secretName string) applications.Credentials
ToCredentialsInfo provides a mock function with given fields: credentials, secretName