Documentation
¶
Index ¶
- type Dialer
- type Namespace
- type NamespaceOptions
- type Provider
- type ProxyCapture
- func (c *ProxyCapture) AddIncomplete(in ProxyIncomplete)
- func (c *ProxyCapture) AddMaterial(m ProxyMaterial)
- func (c *ProxyCapture) AddRequest(r ProxyRequest)
- func (c *ProxyCapture) Incomplete() []ProxyIncomplete
- func (c *ProxyCapture) Materials() []ProxyMaterial
- func (c *ProxyCapture) Requests() []ProxyRequest
- type ProxyConfig
- type ProxyIncomplete
- type ProxyMaterial
- type ProxyNamespace
- type ProxyPolicy
- type ProxyProvider
- type ProxyRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace interface {
io.Closer
// Set the namespace on the spec
Set(*specs.Spec) error
Sample() (*resourcestypes.NetworkSample, error)
}
Namespace of network for workers
type NamespaceOptions ¶ added in v0.31.0
type NamespaceOptions struct{}
type Provider ¶
type Provider interface {
io.Closer
New(ctx context.Context, hostname string, opt NamespaceOptions) (Namespace, error)
}
Provider interface for Network
func NewHostProvider ¶
func NewHostProvider() Provider
func NewNoneProvider ¶
func NewNoneProvider() Provider
type ProxyCapture ¶ added in v0.31.0
type ProxyCapture struct {
// contains filtered or unexported fields
}
func NewProxyCapture ¶ added in v0.31.0
func NewProxyCapture() *ProxyCapture
func (*ProxyCapture) AddIncomplete ¶ added in v0.31.0
func (c *ProxyCapture) AddIncomplete(in ProxyIncomplete)
func (*ProxyCapture) AddMaterial ¶ added in v0.31.0
func (c *ProxyCapture) AddMaterial(m ProxyMaterial)
func (*ProxyCapture) AddRequest ¶ added in v0.31.0
func (c *ProxyCapture) AddRequest(r ProxyRequest)
func (*ProxyCapture) Incomplete ¶ added in v0.31.0
func (c *ProxyCapture) Incomplete() []ProxyIncomplete
func (*ProxyCapture) Materials ¶ added in v0.31.0
func (c *ProxyCapture) Materials() []ProxyMaterial
func (*ProxyCapture) Requests ¶ added in v0.31.0
func (c *ProxyCapture) Requests() []ProxyRequest
type ProxyConfig ¶ added in v0.31.0
type ProxyConfig struct {
Policy ProxyPolicy
Capture *ProxyCapture
EgressMode pb.NetMode
}
type ProxyIncomplete ¶ added in v0.31.0
type ProxyMaterial ¶ added in v0.31.0
type ProxyNamespace ¶ added in v0.31.0
ProxyNamespace is implemented by network namespaces that expose an internal HTTP(S) proxy to the container.
type ProxyPolicy ¶ added in v0.31.0
ProxyPolicy authorizes requests made through a BuildKit-owned exec proxy.
type ProxyProvider ¶ added in v0.31.0
type ProxyProvider interface {
io.Closer
NewProxy(ctx context.Context, cfg *ProxyConfig) (ProxyNamespace, error)
}
Click to show internal directories.
Click to hide internal directories.