package network

import "github.com/moby/buildkit/util/network"

Index

Types

type Namespace

type Namespace interface {
	io.Closer
	// Set the namespace on the spec
	Set(*specs.Spec) error
}

Namespace of network for workers

type Provider

type Provider interface {
	io.Closer
	New(ctx context.Context, hostname string) (Namespace, error)
}

Provider interface for Network

func NewHostProvider

func NewHostProvider() Provider

func NewNoneProvider

func NewNoneProvider() Provider

Source Files

host.go network.go none.go

Directories

PathSynopsis
util/network/cniprovider
util/network/netproviders
Version
v0.11.3
Published
Feb 13, 2023
Platform
js/wasm
Imports
4 packages
Last checked
2 minutes ago

Tools for package owners.