(env e2e.Environment, name string, opts ...Option)
| 180 | } |
| 181 | |
| 182 | func NewSwiftStorage(env e2e.Environment, name string, opts ...Option) *e2emon.InstrumentedRunnable { |
| 183 | o := options{image: "bouncestorage/swift-aio:55ba4331"} |
| 184 | for _, opt := range opts { |
| 185 | opt(&o) |
| 186 | } |
| 187 | |
| 188 | return e2emon.AsInstrumented(env.Runnable(name).WithPorts(map[string]int{AccessPortName: 8080}).Init( |
| 189 | e2e.StartOptions{ |
| 190 | Image: o.image, |
| 191 | Readiness: e2e.NewHTTPReadinessProbe(AccessPortName, "/", 404, 404), |
| 192 | }, |
| 193 | ), AccessPortName) |
| 194 | } |
| 195 | |
| 196 | func NewMemcached(env e2e.Environment, name string, opts ...Option) e2e.Runnable { |
| 197 | o := options{image: "memcached:1.6.1"} |
nothing calls this directly
no test coverage detected
searching dependent graphs…