Documentation
¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type Manager
- type Repository
- func (_m *Repository) Create(application string, name string, serviceID string, data strategy.SecretData) apperrors.AppError
- func (_m *Repository) Delete(name string) apperrors.AppError
- func (_m *Repository) Get(application string, name string) (strategy.SecretData, apperrors.AppError)
- func (_m *Repository) Upsert(application string, name string, secretID string, data strategy.SecretData) apperrors.AppError
- type Service
- func (_m *Service) Create(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)
- func (_m *Service) Delete(name string) apperrors.AppError
- func (_m *Service) Get(application string, credentials applications.Credentials) (model.Credentials, apperrors.AppError)
- func (_m *Service) Upsert(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func (*Manager) Delete ¶
func (_m *Manager) Delete(name string, options *metav1.DeleteOptions) error
Delete provides a mock function with given fields: name, options
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Create ¶
func (_m *Repository) Create(application string, name string, serviceID string, data strategy.SecretData) apperrors.AppError
Create provides a mock function with given fields: application, name, serviceID, data
func (*Repository) Delete ¶
func (_m *Repository) Delete(name string) apperrors.AppError
Delete provides a mock function with given fields: name
func (*Repository) Get ¶
func (_m *Repository) Get(application string, name string) (strategy.SecretData, apperrors.AppError)
Get provides a mock function with given fields: application, name
func (*Repository) Upsert ¶
func (_m *Repository) Upsert(application string, name string, secretID string, data strategy.SecretData) apperrors.AppError
Upsert provides a mock function with given fields: application, name, secretID, data
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) Create ¶
func (_m *Service) Create(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)
Create provides a mock function with given fields: application, serviceID, credentials
func (*Service) Get ¶
func (_m *Service) Get(application string, credentials applications.Credentials) (model.Credentials, apperrors.AppError)
Get provides a mock function with given fields: application, credentials
func (*Service) Upsert ¶
func (_m *Service) Upsert(application string, serviceID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)
Upsert provides a mock function with given fields: application, serviceID, credentials