mirror of
https://github.com/hanzoai/gateway.git
synced 2026-10-30 15:04:44 +00:00
- Merge krakend-ce v2.12.1 Go source into gateway repo - Rename module to github.com/hanzoai/gateway/v2 - Remove upstream usage telemetry (no phoning home) - Multi-stage Dockerfile: build Go binary from source + bake config - Update k8s deployments to use registry.hanzo.ai/gateway images - Add imagePullSecrets for private registry auth - Combined Makefile with build + deploy targets - Zero upstream Docker image dependencies (supply chain security)
25 lines
353 B
Go
25 lines
353 B
Go
package tests
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func ExampleNewIntegration() {
|
|
runner, tcs, err := NewIntegration(nil, nil, nil)
|
|
if err != nil {
|
|
fmt.Println(err)
|
|
return
|
|
}
|
|
defer runner.Close()
|
|
|
|
for _, tc := range tcs {
|
|
if err := runner.Check(tc); err != nil {
|
|
fmt.Printf("%s: %s", tc.Name, err.Error())
|
|
return
|
|
}
|
|
}
|
|
|
|
// output:
|
|
// signal: killed
|
|
}
|