mocks

package
v0.0.0-...-239afe9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredentialsService

type CredentialsService struct {
	mock.Mock
}

CredentialsService is an autogenerated mock type for the CredentialsService type

func (*CredentialsService) Create

func (_m *CredentialsService) Create(application string, appUID types.UID, bundleID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)

Create provides a mock function with given fields: application, appUID, bundleID, credentials

func (*CredentialsService) Delete

func (_m *CredentialsService) Delete(name string) apperrors.AppError

Delete provides a mock function with given fields: name

func (*CredentialsService) Get

Get provides a mock function with given fields: application, credentials

func (*CredentialsService) Upsert

func (_m *CredentialsService) Upsert(application string, appUID types.UID, bundleID string, credentials *model.Credentials) (applications.Credentials, apperrors.AppError)

Upsert provides a mock function with given fields: application, appUID, bundleID, credentials

type Repository

type Repository struct {
	mock.Mock
}

Repository is an autogenerated mock type for the Repository type

func (*Repository) Create

func (_m *Repository) Create(application string, appUID types.UID, name string, bundleID string, data strategy.SecretData) apperrors.AppError

Create provides a mock function with given fields: application, appUID, name, bundleID, data

func (*Repository) Delete

func (_m *Repository) Delete(name string) apperrors.AppError

Delete provides a mock function with given fields: name

func (*Repository) Get

Get provides a mock function with given fields: name

func (*Repository) Upsert

func (_m *Repository) Upsert(application string, appUID types.UID, name string, bundleID string, data strategy.SecretData) apperrors.AppError

Upsert provides a mock function with given fields: application, appUID, name, bundleID, data

type RequestParametersService

type RequestParametersService struct {
	mock.Mock
}

RequestParametersService is an autogenerated mock type for the RequestParametersService type

func (*RequestParametersService) Create

func (_m *RequestParametersService) Create(application string, appUID types.UID, bundleID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)

Create provides a mock function with given fields: application, appUID, bundleID, requestParameters

func (*RequestParametersService) Delete

func (_m *RequestParametersService) Delete(secretName string) apperrors.AppError

Delete provides a mock function with given fields: secretName

func (*RequestParametersService) Get

Get provides a mock function with given fields: secretName

func (*RequestParametersService) Upsert

func (_m *RequestParametersService) Upsert(application string, appUID types.UID, bundleID string, requestParameters *model.RequestParameters) (string, apperrors.AppError)

Upsert provides a mock function with given fields: application, appUID, bundleID, requestParameters

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL