package integration
import "github.com/moby/buildkit/util/testutil/integration"
Index ¶
- Variables
- func InitContainerdWorker()
- func InitOCIWorker()
- func NewRegistry(dir string) (url string, cl func() error, err error)
- func OfficialImages(names ...string) map[string]string
- func Register(w Worker)
- func Run(t *testing.T, testCases []Test, opt ...TestOpt)
- type ConfigUpdater
- type Sandbox
- type SandboxConf
- type SandboxOpt
- type Test
- type TestConf
- type TestOpt
- func WithMatrix(key string, m map[string]interface{}) TestOpt
- func WithMirroredImages(m map[string]string) TestOpt
- type Worker
Variables ¶
Functions ¶
func InitContainerdWorker ¶
func InitContainerdWorker()
func InitOCIWorker ¶
func InitOCIWorker()
func NewRegistry ¶
func OfficialImages ¶
func Register ¶
func Register(w Worker)
func Run ¶
Types ¶
type ConfigUpdater ¶
type Sandbox ¶
type Sandbox interface { Address() string PrintLogs(*testing.T) Cmd(...string) *exec.Cmd NewRegistry() (string, error) Rootless() bool Value(string) interface{} // chosen matrix value }
type SandboxConf ¶
type SandboxConf struct {
// contains filtered or unexported fields
}
func (*SandboxConf) Mirror ¶
func (sc *SandboxConf) Mirror() string
func (*SandboxConf) Value ¶
func (sc *SandboxConf) Value(k string) interface{}
type SandboxOpt ¶
type SandboxOpt func(*SandboxConf)
func WithMirror ¶
func WithMirror(h string) SandboxOpt
type Test ¶
type TestConf ¶
type TestConf struct {
// contains filtered or unexported fields
}
type TestOpt ¶
type TestOpt func(*TestConf)
func WithMatrix ¶
func WithMirroredImages ¶
type Worker ¶
type Worker interface { New(...SandboxOpt) (Sandbox, func() error, error) Name() string }
func List ¶
func List() []Worker
Source Files ¶
containerd.go frombinary.go oci.go registry.go run.go util.go
- Version
- v0.6.1
- Published
- Aug 15, 2019
- Platform
- js/wasm
- Imports
- 33 packages
- Last checked
- 12 hours ago –
Tools for package owners.