package http
import "github.com/moby/buildkit/source/http"
Index ¶
- Constants
- func NewSource(opt Opt) (source.Source, error)
- type HTTPIdentifier
- func NewHTTPIdentifier(str string, tls bool) (*HTTPIdentifier, error)
- func (id *HTTPIdentifier) Capture(c *provenance.Capture, pin string) error
- func (id *HTTPIdentifier) Scheme() string
- type HeaderField
- type Opt
Constants ¶
const ( HTTPAuthHeaderSecretPrefix = "HTTP_AUTH_HEADER_" HTTPAuthTokenSecretPrefix = "HTTP_AUTH_TOKEN_" )
Functions ¶
func NewSource ¶
Types ¶
type HTTPIdentifier ¶
type HTTPIdentifier struct {
TLS bool
URL string
Checksum digest.Digest
Filename string
Perm int
UID int
GID int
AuthHeaderSecret string
Header []HeaderField
}
func NewHTTPIdentifier ¶
func NewHTTPIdentifier(str string, tls bool) (*HTTPIdentifier, error)
func (*HTTPIdentifier) Capture ¶
func (id *HTTPIdentifier) Capture(c *provenance.Capture, pin string) error
func (*HTTPIdentifier) Scheme ¶
func (id *HTTPIdentifier) Scheme() string
type HeaderField ¶
type Opt ¶
type Opt struct {
CacheAccessor cache.Accessor
Transport http.RoundTripper
}
Source Files ¶
identifier.go source.go transport.go
- Version
- v0.24.0-rc2
- Published
- Aug 29, 2025
- Platform
- linux/amd64
- Imports
- 34 packages
- Last checked
- 13 seconds ago –
Tools for package owners.