interactor

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainInteractor

type DomainInteractor struct {
	mock.Mock
}

DomainInteractor is an autogenerated mock type for the DomainInteractor type

func NewDomainInteractor

func NewDomainInteractor(t interface {
	mock.TestingT
	Cleanup(func())
}) *DomainInteractor

NewDomainInteractor creates a new instance of DomainInteractor. 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 (*DomainInteractor) CreateDomainToken

CreateDomainToken provides a mock function with given fields: xrhid, params, body

func (*DomainInteractor) Delete

func (_m *DomainInteractor) Delete(xrhid *identity.XRHID, UUID uuid.UUID, params *public.DeleteDomainParams) (string, uuid.UUID, error)

Delete provides a mock function with given fields: xrhid, UUID, params

func (*DomainInteractor) GetByID

func (_m *DomainInteractor) GetByID(xrhid *identity.XRHID, params *public.ReadDomainParams) (string, error)

GetByID provides a mock function with given fields: xrhid, params

func (*DomainInteractor) List

func (_m *DomainInteractor) List(xrhid *identity.XRHID, params *public.ListDomainsParams) (string, int, int, error)

List provides a mock function with given fields: xrhid, params

func (*DomainInteractor) Register

func (_m *DomainInteractor) Register(domainRegKey []byte, xrhid *identity.XRHID, params *public.RegisterDomainParams, body *public.Domain) (string, *header.XRHIDMVersion, *model.Domain, error)

Register provides a mock function with given fields: domainRegKey, xrhid, params, body

func (*DomainInteractor) UpdateAgent

UpdateAgent provides a mock function with given fields: xrhid, UUID, params, body

func (*DomainInteractor) UpdateUser

UpdateUser provides a mock function with given fields: xrhid, UUID, params, body

type HostInteractor

type HostInteractor struct {
	mock.Mock
}

HostInteractor is an autogenerated mock type for the HostInteractor type

func NewHostInteractor

func NewHostInteractor(t interface {
	mock.TestingT
	Cleanup(func())
}) *HostInteractor

NewHostInteractor creates a new instance of HostInteractor. 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 (*HostInteractor) HostConf

func (_m *HostInteractor) HostConf(xrhid *identity.XRHID, inventoryId uuid.UUID, fqdn string, params *public.HostConfParams, body *public.HostConf) (*interactor.HostConfOptions, error)

HostConf provides a mock function with given fields: xrhid, inventoryId, fqdn, params, body

type HostconfJwkInteractor

type HostconfJwkInteractor struct {
	mock.Mock
}

HostconfJwkInteractor is an autogenerated mock type for the HostconfJwkInteractor type

func NewHostconfJwkInteractor

func NewHostconfJwkInteractor(t interface {
	mock.TestingT
	Cleanup(func())
}) *HostconfJwkInteractor

NewHostconfJwkInteractor creates a new instance of HostconfJwkInteractor. 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 (*HostconfJwkInteractor) GetSigningKeys

func (_m *HostconfJwkInteractor) GetSigningKeys(rhid *identity.XRHID, params *public.GetSigningKeysParams) (string, error)

GetSigningKeys provides a mock function with given fields: rhid, params

Jump to

Keyboard shortcuts

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