Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) Create(ctx context.Context, secret *v1.Secret, options metav1.CreateOptions) (*v1.Secret, error)
- func (_m *Manager) Delete(ctx context.Context, name string, options metav1.DeleteOptions) error
- func (_m *Manager) Get(ctx context.Context, name string, options metav1.GetOptions) (*v1.Secret, error)
- func (_m *Manager) Update(ctx context.Context, secret *v1.Secret, opts metav1.UpdateOptions) (*v1.Secret, error)
- type Repository
- func (_m *Repository) Create(application string, appUID types.UID, name string, serviceID string, ...) apperrors.AppError
- func (_m *Repository) Delete(name string) apperrors.AppError
- func (_m *Repository) Get(name string) (strategy.SecretData, apperrors.AppError)
- func (_m *Repository) Upsert(application string, appUID types.UID, name string, secretID string, ...) apperrors.AppError
- type RequestParametersService
- func (_m *RequestParametersService) Create(application string, appUID types.UID, serviceID string, ...) (string, apperrors.AppError)
- func (_m *RequestParametersService) Delete(application string, serviceId string) apperrors.AppError
- func (_m *RequestParametersService) Get(secretName string) (*model.RequestParameters, apperrors.AppError)
- func (_m *RequestParametersService) Upsert(application string, appUID types.UID, serviceID string, ...) (string, apperrors.AppError)
- type Service
- func (_m *Service) Create(application string, appUID types.UID, serviceID string, ...) (applications.Credentials, apperrors.AppError)
- func (_m *Service) Delete(name string) apperrors.AppError
- func (_m *Service) Get(application string, credentials applications.Credentials) (model.CredentialsWithCSRF, apperrors.AppError)
- func (_m *Service) Upsert(application string, appUID types.UID, serviceID string, ...) (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) Create ¶
func (_m *Manager) Create(ctx context.Context, secret *v1.Secret, options metav1.CreateOptions) (*v1.Secret, error)
Create provides a mock function with given fields: ctx, secret, options
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Create ¶
func (_m *Repository) Create(application string, appUID types.UID, name string, serviceID string, data strategy.SecretData) apperrors.AppError
Create provides a mock function with given fields: application, appUID, 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(name string) (strategy.SecretData, apperrors.AppError)
Get provides a mock function with given fields: name
type RequestParametersService ¶
RequestParametersService is an autogenerated mock type for the RequestParametersService type
func (*RequestParametersService) Create ¶
func (_m *RequestParametersService) Create(application string, appUID types.UID, serviceID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)
Create provides a mock function with given fields: application, appUID, serviceID, requestParameters
func (*RequestParametersService) Delete ¶
func (_m *RequestParametersService) Delete(application string, serviceId string) apperrors.AppError
Delete provides a mock function with given fields: application, serviceId
func (*RequestParametersService) Get ¶
func (_m *RequestParametersService) Get(secretName string) (*model.RequestParameters, apperrors.AppError)
Get provides a mock function with given fields: secretName
func (*RequestParametersService) Upsert ¶
func (_m *RequestParametersService) Upsert(application string, appUID types.UID, serviceID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)
Upsert provides a mock function with given fields: application, appUID, serviceID, requestParameters
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) Create ¶
func (_m *Service) Create(application string, appUID types.UID, serviceID string, credentials *model.CredentialsWithCSRF) (applications.Credentials, apperrors.AppError)
Create provides a mock function with given fields: application, appUID, serviceID, credentials
func (*Service) Get ¶
func (_m *Service) Get(application string, credentials applications.Credentials) (model.CredentialsWithCSRF, apperrors.AppError)
Get provides a mock function with given fields: application, credentials
func (*Service) Upsert ¶
func (_m *Service) Upsert(application string, appUID types.UID, serviceID string, credentials *model.CredentialsWithCSRF) (applications.Credentials, apperrors.AppError)
Upsert provides a mock function with given fields: application, appUID, serviceID, credentials