Documentation ¶
Index ¶
- type DomainInteractor
- func (_m *DomainInteractor) CreateDomainToken(xrhid *identity.XRHID, params *public.CreateDomainTokenParams, ...) (string, public.DomainType, error)
- func (_m *DomainInteractor) Delete(xrhid *identity.XRHID, UUID uuid.UUID, params *public.DeleteDomainParams) (string, uuid.UUID, error)
- func (_m *DomainInteractor) GetByID(xrhid *identity.XRHID, params *public.ReadDomainParams) (string, error)
- func (_m *DomainInteractor) List(xrhid *identity.XRHID, params *public.ListDomainsParams) (string, int, int, error)
- func (_m *DomainInteractor) Register(domainRegKey []byte, xrhid *identity.XRHID, ...) (string, *header.XRHIDMVersion, *model.Domain, error)
- func (_m *DomainInteractor) UpdateAgent(xrhid *identity.XRHID, UUID uuid.UUID, params *public.UpdateDomainAgentParams, ...) (string, *header.XRHIDMVersion, *model.Domain, error)
- func (_m *DomainInteractor) UpdateUser(xrhid *identity.XRHID, UUID uuid.UUID, params *public.UpdateDomainUserParams, ...) (string, *model.Domain, error)
- type HostInteractor
- type HostconfJwkInteractor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainInteractor ¶
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 ¶
func (_m *DomainInteractor) CreateDomainToken(xrhid *identity.XRHID, params *public.CreateDomainTokenParams, body *public.DomainRegTokenRequest) (string, public.DomainType, error)
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 ¶
func (_m *DomainInteractor) UpdateAgent(xrhid *identity.XRHID, UUID uuid.UUID, params *public.UpdateDomainAgentParams, body *public.UpdateDomainAgentRequest) (string, *header.XRHIDMVersion, *model.Domain, error)
UpdateAgent provides a mock function with given fields: xrhid, UUID, params, body
func (*DomainInteractor) UpdateUser ¶
func (_m *DomainInteractor) UpdateUser(xrhid *identity.XRHID, UUID uuid.UUID, params *public.UpdateDomainUserParams, body *public.UpdateDomainUserRequest) (string, *model.Domain, error)
UpdateUser provides a mock function with given fields: xrhid, UUID, params, body
type HostInteractor ¶
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 ¶
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