Documentation ¶
Index ¶
- type DomainPresenter
- func (_m *DomainPresenter) CreateDomainToken(token *repository.DomainRegToken) (*public.DomainRegToken, error)
- func (_m *DomainPresenter) Get(domain *model.Domain) (*public.Domain, error)
- func (_m *DomainPresenter) List(count int64, offset int, limit int, data []model.Domain) (*public.ListDomainsResponseSchema, error)
- func (_m *DomainPresenter) Register(domain *model.Domain) (*public.Domain, error)
- func (_m *DomainPresenter) UpdateAgent(domain *model.Domain) (*public.Domain, error)
- func (_m *DomainPresenter) UpdateUser(domain *model.Domain) (*public.Domain, error)
- type HostPresenter
- type HostconfJwkPresenter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainPresenter ¶
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) 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) UpdateAgent ¶
UpdateAgent provides a mock function with given fields: domain
func (*DomainPresenter) UpdateUser ¶
UpdateUser provides a mock function with given fields: domain
type HostPresenter ¶
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 ¶
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