externalopensearchservice

package
v0.0.0-...-b0d1086 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

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