Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExternalOpensearchService ¶
type ExternalOpensearchService struct {
// contains filtered or unexported fields
}
func (*ExternalOpensearchService) GetExternalOpensearchDetails ¶
func (eos *ExternalOpensearchService) GetExternalOpensearchDetails(reqBody models.ExternalOSRequest) models.ExternalOpensearchResponse
type IExternalOpensearchService ¶
type IExternalOpensearchService interface {
GetExternalOpensearchDetails(models.ExternalOSRequest) models.ExternalOpensearchResponse
}
func NewExternalOpensearchService ¶
func NewExternalOpensearchService(log logger.Logger, timeout time.Duration) IExternalOpensearchService
type MockExternalOpensearchService ¶
type MockExternalOpensearchService struct {
GetExternalOpensearchDetailsFunc func(reqBody models.ExternalOSRequest) models.ExternalOpensearchResponse
}
func (*MockExternalOpensearchService) GetExternalOpensearchDetails ¶
func (meos *MockExternalOpensearchService) GetExternalOpensearchDetails(reqBody models.ExternalOSRequest) models.ExternalOpensearchResponse
Click to show internal directories.
Click to hide internal directories.