Documentation
¶
Index ¶
- type ServerService
- func (_m *ServerService) AuditRecordsGet(_a0 context.Context, _a1 service.AuditRecordsGetInput) (*service.AuditRecordsGetOutput, error)
- func (_m *ServerService) AuditRecordsList(_a0 context.Context, _a1 service.AuditRecordsListInput) (service.AuditRecordsListOutput, error)
- func (_m *ServerService) AuthContextByAPIToken(_a0 context.Context, _a1 string) (context.Context, error)
- func (_m *ServerService) AuthContextByLarkID(_a0 context.Context, _a1 string) (context.Context, error)
- func (_m *ServerService) AuthContextBySlackID(_a0 context.Context, _a1 string) (context.Context, error)
- func (_m *ServerService) AuthContextByTelegramID(_a0 context.Context, _a1 int64) (context.Context, error)
- func (_m *ServerService) DNSRecordsClear(_a0 context.Context, _a1 service.DNSRecordsClearInput) (service.DNSRecordsClearOutput, error)
- func (_m *ServerService) DNSRecordsCreate(_a0 context.Context, _a1 service.DNSRecordsCreateInput) (*service.DNSRecordsCreateOutput, error)
- func (_m *ServerService) DNSRecordsDelete(_a0 context.Context, _a1 service.DNSRecordsDeleteInput) (*service.DNSRecordsDeleteOutput, error)
- func (_m *ServerService) DNSRecordsList(_a0 context.Context, _a1 service.DNSRecordsListInput) (service.DNSRecordsListOutput, error)
- func (_m *ServerService) EventsGet(_a0 context.Context, _a1 service.EventsGetInput) (*service.EventsGetOutput, error)
- func (_m *ServerService) EventsList(_a0 context.Context, _a1 service.EventsListInput) (service.EventsListOutput, error)
- func (_m *ServerService) HTTPRoutesClear(_a0 context.Context, _a1 service.HTTPRoutesClearInput) (service.HTTPRoutesClearOutput, error)
- func (_m *ServerService) HTTPRoutesCreate(_a0 context.Context, _a1 service.HTTPRoutesCreateInput) (*service.HTTPRoutesCreateOutput, error)
- func (_m *ServerService) HTTPRoutesDelete(_a0 context.Context, _a1 service.HTTPRoutesDeleteInput) (*service.HTTPRoutesDeleteOutput, error)
- func (_m *ServerService) HTTPRoutesList(_a0 context.Context, _a1 service.HTTPRoutesListInput) (service.HTTPRoutesListOutput, error)
- func (_m *ServerService) HTTPRoutesUpdate(_a0 context.Context, _a1 service.HTTPRoutesUpdateInput) (*service.HTTPRoutesUpdateOutput, error)
- func (_m *ServerService) LarkProvisionUser(_a0 context.Context, _a1 string) error
- func (_m *ServerService) PayloadsClear(_a0 context.Context, _a1 service.PayloadsClearInput) (service.PayloadsClearOutput, error)
- func (_m *ServerService) PayloadsCreate(_a0 context.Context, _a1 service.PayloadsCreateInput) (*service.PayloadsCreateOutput, error)
- func (_m *ServerService) PayloadsDelete(_a0 context.Context, _a1 service.PayloadsDeleteInput) (*service.PayloadsDeleteOutput, error)
- func (_m *ServerService) PayloadsList(_a0 context.Context, _a1 service.PayloadsListInput) (service.PayloadsListOutput, error)
- func (_m *ServerService) PayloadsUpdate(_a0 context.Context, _a1 service.PayloadsUpdateInput) (*service.PayloadsUpdateOutput, error)
- func (_m *ServerService) ProfileGet(_a0 context.Context) (*service.ProfileGetOutput, error)
- func (_m *ServerService) UsersCreate(_a0 context.Context, _a1 service.UsersCreateInput) (*service.UsersCreateOutput, error)
- func (_m *ServerService) UsersDelete(_a0 context.Context, _a1 service.UsersDeleteInput) (*service.UsersDeleteOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerService ¶
ServerService is an autogenerated mock type for the ServerService type
func NewServerService ¶
func NewServerService(t interface {
mock.TestingT
Cleanup(func())
}) *ServerService
NewServerService creates a new instance of ServerService. 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 (*ServerService) AuditRecordsGet ¶
func (_m *ServerService) AuditRecordsGet(_a0 context.Context, _a1 service.AuditRecordsGetInput) (*service.AuditRecordsGetOutput, error)
AuditRecordsGet provides a mock function with given fields: _a0, _a1
func (*ServerService) AuditRecordsList ¶
func (_m *ServerService) AuditRecordsList(_a0 context.Context, _a1 service.AuditRecordsListInput) (service.AuditRecordsListOutput, error)
AuditRecordsList provides a mock function with given fields: _a0, _a1
func (*ServerService) AuthContextByAPIToken ¶
func (_m *ServerService) AuthContextByAPIToken(_a0 context.Context, _a1 string) (context.Context, error)
AuthContextByAPIToken provides a mock function with given fields: _a0, _a1
func (*ServerService) AuthContextByLarkID ¶
func (_m *ServerService) AuthContextByLarkID(_a0 context.Context, _a1 string) (context.Context, error)
AuthContextByLarkID provides a mock function with given fields: _a0, _a1
func (*ServerService) AuthContextBySlackID ¶
func (_m *ServerService) AuthContextBySlackID(_a0 context.Context, _a1 string) (context.Context, error)
AuthContextBySlackID provides a mock function with given fields: _a0, _a1
func (*ServerService) AuthContextByTelegramID ¶
func (_m *ServerService) AuthContextByTelegramID(_a0 context.Context, _a1 int64) (context.Context, error)
AuthContextByTelegramID provides a mock function with given fields: _a0, _a1
func (*ServerService) DNSRecordsClear ¶
func (_m *ServerService) DNSRecordsClear(_a0 context.Context, _a1 service.DNSRecordsClearInput) (service.DNSRecordsClearOutput, error)
DNSRecordsClear provides a mock function with given fields: _a0, _a1
func (*ServerService) DNSRecordsCreate ¶
func (_m *ServerService) DNSRecordsCreate(_a0 context.Context, _a1 service.DNSRecordsCreateInput) (*service.DNSRecordsCreateOutput, error)
DNSRecordsCreate provides a mock function with given fields: _a0, _a1
func (*ServerService) DNSRecordsDelete ¶
func (_m *ServerService) DNSRecordsDelete(_a0 context.Context, _a1 service.DNSRecordsDeleteInput) (*service.DNSRecordsDeleteOutput, error)
DNSRecordsDelete provides a mock function with given fields: _a0, _a1
func (*ServerService) DNSRecordsList ¶
func (_m *ServerService) DNSRecordsList(_a0 context.Context, _a1 service.DNSRecordsListInput) (service.DNSRecordsListOutput, error)
DNSRecordsList provides a mock function with given fields: _a0, _a1
func (*ServerService) EventsGet ¶
func (_m *ServerService) EventsGet(_a0 context.Context, _a1 service.EventsGetInput) (*service.EventsGetOutput, error)
EventsGet provides a mock function with given fields: _a0, _a1
func (*ServerService) EventsList ¶
func (_m *ServerService) EventsList(_a0 context.Context, _a1 service.EventsListInput) (service.EventsListOutput, error)
EventsList provides a mock function with given fields: _a0, _a1
func (*ServerService) HTTPRoutesClear ¶
func (_m *ServerService) HTTPRoutesClear(_a0 context.Context, _a1 service.HTTPRoutesClearInput) (service.HTTPRoutesClearOutput, error)
HTTPRoutesClear provides a mock function with given fields: _a0, _a1
func (*ServerService) HTTPRoutesCreate ¶
func (_m *ServerService) HTTPRoutesCreate(_a0 context.Context, _a1 service.HTTPRoutesCreateInput) (*service.HTTPRoutesCreateOutput, error)
HTTPRoutesCreate provides a mock function with given fields: _a0, _a1
func (*ServerService) HTTPRoutesDelete ¶
func (_m *ServerService) HTTPRoutesDelete(_a0 context.Context, _a1 service.HTTPRoutesDeleteInput) (*service.HTTPRoutesDeleteOutput, error)
HTTPRoutesDelete provides a mock function with given fields: _a0, _a1
func (*ServerService) HTTPRoutesList ¶
func (_m *ServerService) HTTPRoutesList(_a0 context.Context, _a1 service.HTTPRoutesListInput) (service.HTTPRoutesListOutput, error)
HTTPRoutesList provides a mock function with given fields: _a0, _a1
func (*ServerService) HTTPRoutesUpdate ¶
func (_m *ServerService) HTTPRoutesUpdate(_a0 context.Context, _a1 service.HTTPRoutesUpdateInput) (*service.HTTPRoutesUpdateOutput, error)
HTTPRoutesUpdate provides a mock function with given fields: _a0, _a1
func (*ServerService) LarkProvisionUser ¶
func (_m *ServerService) LarkProvisionUser(_a0 context.Context, _a1 string) error
LarkProvisionUser provides a mock function with given fields: _a0, _a1
func (*ServerService) PayloadsClear ¶
func (_m *ServerService) PayloadsClear(_a0 context.Context, _a1 service.PayloadsClearInput) (service.PayloadsClearOutput, error)
PayloadsClear provides a mock function with given fields: _a0, _a1
func (*ServerService) PayloadsCreate ¶
func (_m *ServerService) PayloadsCreate(_a0 context.Context, _a1 service.PayloadsCreateInput) (*service.PayloadsCreateOutput, error)
PayloadsCreate provides a mock function with given fields: _a0, _a1
func (*ServerService) PayloadsDelete ¶
func (_m *ServerService) PayloadsDelete(_a0 context.Context, _a1 service.PayloadsDeleteInput) (*service.PayloadsDeleteOutput, error)
PayloadsDelete provides a mock function with given fields: _a0, _a1
func (*ServerService) PayloadsList ¶
func (_m *ServerService) PayloadsList(_a0 context.Context, _a1 service.PayloadsListInput) (service.PayloadsListOutput, error)
PayloadsList provides a mock function with given fields: _a0, _a1
func (*ServerService) PayloadsUpdate ¶
func (_m *ServerService) PayloadsUpdate(_a0 context.Context, _a1 service.PayloadsUpdateInput) (*service.PayloadsUpdateOutput, error)
PayloadsUpdate provides a mock function with given fields: _a0, _a1
func (*ServerService) ProfileGet ¶
func (_m *ServerService) ProfileGet(_a0 context.Context) (*service.ProfileGetOutput, error)
ProfileGet provides a mock function with given fields: _a0
func (*ServerService) UsersCreate ¶
func (_m *ServerService) UsersCreate(_a0 context.Context, _a1 service.UsersCreateInput) (*service.UsersCreateOutput, error)
UsersCreate provides a mock function with given fields: _a0, _a1
func (*ServerService) UsersDelete ¶
func (_m *ServerService) UsersDelete(_a0 context.Context, _a1 service.UsersDeleteInput) (*service.UsersDeleteOutput, error)
UsersDelete provides a mock function with given fields: _a0, _a1