gitdns

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: 45 Imported by: 0

Documentation

Index

Constants

View Source
const AttrNetConfig = "gitdns.netconfig"

Variables

This section is empty.

Functions

func NewSource

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

func State

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

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

func Supported

func Supported() error

Supported returns nil if the system supports Git source

Types

type DaggerGitURLHack

type DaggerGitURLHack struct {
	Remote    string   `json:"remote"`
	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
}

Jump to

Keyboard shortcuts

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