httpdns

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const AttrNetConfig = "httpdns.netconfig"

Variables

This section is empty.

Functions

func NewSource

func NewSource(opt Opt) (source.Source, error)

func State

func State(url string, clientIDs []string, opts ...llb.HTTPOption) llb.State

State is a helper mimicking the llb.HTTP function, but with the ability to set additional attributes.

Types

type DaggerHTTPURLHack

type DaggerHTTPURLHack struct {
	URL       string   `json:"url"`
	ClientIDs []string `json:"client_ids"`
}

TODO(vito): this can be cleaned up if/when https://github.com/moby/buildkit/pull/4035 is merged

type Opt

type Opt struct {
	CacheAccessor cache.Accessor
	BaseDNSConfig *oci.DNSConfig
	Transport     http.RoundTripper
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL