presenter

package
v0.0.0-...-1a88b7f Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainPresenter

type DomainPresenter struct {
	mock.Mock
}

DomainPresenter is an autogenerated mock type for the DomainPresenter type

func NewDomainPresenter

func NewDomainPresenter(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomainPresenter

NewDomainPresenter creates a new instance of DomainPresenter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DomainPresenter) CreateDomainToken

func (_m *DomainPresenter) CreateDomainToken(token *repository.DomainRegToken) (*public.DomainRegToken, error)

CreateDomainToken provides a mock function with given fields: token

func (*DomainPresenter) Get

func (_m *DomainPresenter) Get(domain *model.Domain) (*public.Domain, error)

Get provides a mock function with given fields: domain

func (*DomainPresenter) List

func (_m *DomainPresenter) List(count int64, offset int, limit int, data []model.Domain) (*public.ListDomainsResponseSchema, error)

List provides a mock function with given fields: count, offset, limit, data

func (*DomainPresenter) Register

func (_m *DomainPresenter) Register(domain *model.Domain) (*public.Domain, error)

Register provides a mock function with given fields: domain

func (*DomainPresenter) UpdateAgent

func (_m *DomainPresenter) UpdateAgent(domain *model.Domain) (*public.Domain, error)

UpdateAgent provides a mock function with given fields: domain

func (*DomainPresenter) UpdateUser

func (_m *DomainPresenter) UpdateUser(domain *model.Domain) (*public.Domain, error)

UpdateUser provides a mock function with given fields: domain

type HostPresenter

type HostPresenter struct {
	mock.Mock
}

HostPresenter is an autogenerated mock type for the HostPresenter type

func NewHostPresenter

func NewHostPresenter(t interface {
	mock.TestingT
	Cleanup(func())
}) *HostPresenter

NewHostPresenter creates a new instance of HostPresenter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*HostPresenter) HostConf

func (_m *HostPresenter) HostConf(domain *model.Domain, token string) (*public.HostConfResponseSchema, error)

HostConf provides a mock function with given fields: domain, token

type HostconfJwkPresenter

type HostconfJwkPresenter struct {
	mock.Mock
}

HostconfJwkPresenter is an autogenerated mock type for the HostconfJwkPresenter type

func NewHostconfJwkPresenter

func NewHostconfJwkPresenter(t interface {
	mock.TestingT
	Cleanup(func())
}) *HostconfJwkPresenter

NewHostconfJwkPresenter creates a new instance of HostconfJwkPresenter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*HostconfJwkPresenter) PublicSigningKeys

func (_m *HostconfJwkPresenter) PublicSigningKeys(keys []string, revokedKids []string) (*public.SigningKeysResponse, error)

PublicSigningKeys provides a mock function with given fields: keys, revokedKids

Jump to

Keyboard shortcuts

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