Documentation ¶
Index ¶
- func ExtractRaw(carBytes []byte) (response []byte, err error)
- func ParseCidFromPath(path string) string
- func PushMetrics(runID uuid.UUID) error
- type CidContactChecker
- type CidContactOutput
- type RequestExecutor
- type ResponseBytesMismatch
- type Result
- type Results
- type URLBuilder
- func (b *URLBuilder) BuildBifrostUrl(bifrostUrl string) string
- func (b *URLBuilder) BuildKuboGWUrl(bifrostUrl string) string
- func (b *URLBuilder) BuildL1NginxUrl(bifrostUrl string) string
- func (b *URLBuilder) BuildL1ShimUrl(bifrostUrl string) string
- func (b *URLBuilder) BuildLassieUrl(bifrostUrl string) string
- func (ub *URLBuilder) BuildURLsToTest(bifrostReqUrl string) URLsToTest
- type URLsToTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRaw ¶
func ParseCidFromPath ¶
func PushMetrics ¶
Types ¶
type CidContactChecker ¶
type CidContactChecker struct {
// contains filtered or unexported fields
}
func NewCidContactChecker ¶
func NewCidContactChecker(mismatches []string) *CidContactChecker
func (*CidContactChecker) Check ¶
func (klm *CidContactChecker) Check()
func (*CidContactChecker) GetCidContactResponse ¶
func (klm *CidContactChecker) GetCidContactResponse(cid string) (*CidContactOutput, error)
type CidContactOutput ¶
type RequestExecutor ¶
type RequestExecutor struct {
// contains filtered or unexported fields
}
func NewRequestExecutor ¶
func NewRequestExecutor(reqs map[string]URLsToTest, n int, id uuid.UUID, dir string, rrdir string) *RequestExecutor
func (*RequestExecutor) Execute ¶
func (re *RequestExecutor) Execute()
func (*RequestExecutor) WriteMismatchesToFile ¶
func (re *RequestExecutor) WriteMismatchesToFile()
func (*RequestExecutor) WriteResultsToFile ¶
func (re *RequestExecutor) WriteResultsToFile()
type ResponseBytesMismatch ¶
type ResponseBytesMismatch struct { KuboLassieMismatches map[string]Results KuboLassieMismatchPaths []string KuboL1ShimMismatches map[string]Results KuboL1ShimMismatchPaths []string KuboL1NginxMismatches map[string]Results KuboL1NginxMismatchPaths []string KuboBifrostMismatches map[string]Results KuboBifrostMismatchPaths []string LassieShimMismatches map[string]Results LassieShimMismatchPaths []string ShimNginxMismatches map[string]Results ShimNginxMismatchPaths []string NginxBifrostMismatches map[string]Results NginxBifrostMismatchPaths []string TotalLassieReadSuccess int TotalL1ShimReadSuccess int TotalL1NginxReadSuccess int TotalBifrostReadSuccess int TotalLassieReadError int TotalL1ShimReadError int TotalL1NginxReadError int TotalBifrostReadError int LassieReadErrors map[string]*Result L1ShimReadErrors map[string]*Result L1NginxReadErrors map[string]*Result BifrostReadErrors map[string]*Result LassieReadErrorPaths []string L1ShimReadErrorPaths []string L1NginxReadErrorPaths []string BifrostReadErrorPaths []string TotalKuboLassieMatches int TotalKuboL1ShimMatches int TotalKuboL1NginxMatches int TotalKuboBifrostMatches int TotalNginxBifrostMatches int }
type URLBuilder ¶
type URLBuilder struct {
// contains filtered or unexported fields
}
func NewURLBuilder ¶
func NewURLBuilder(lassieIP, l1ShimIP, l1NginxIP, bifrostIP string) *URLBuilder
func (*URLBuilder) BuildBifrostUrl ¶
func (b *URLBuilder) BuildBifrostUrl(bifrostUrl string) string
func (*URLBuilder) BuildKuboGWUrl ¶
func (b *URLBuilder) BuildKuboGWUrl(bifrostUrl string) string
func (*URLBuilder) BuildL1NginxUrl ¶
func (b *URLBuilder) BuildL1NginxUrl(bifrostUrl string) string
func (*URLBuilder) BuildL1ShimUrl ¶
func (b *URLBuilder) BuildL1ShimUrl(bifrostUrl string) string
func (*URLBuilder) BuildLassieUrl ¶
func (b *URLBuilder) BuildLassieUrl(bifrostUrl string) string
func (*URLBuilder) BuildURLsToTest ¶
func (ub *URLBuilder) BuildURLsToTest(bifrostReqUrl string) URLsToTest
Source Files ¶
Click to show internal directories.
Click to hide internal directories.