/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/pkg/gitutils/ |
H A D | gitutils.go | 19 func Clone(remoteURL string) (string, error) { 20 if !urlutil.IsGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 28 u, err := url.Parse(remoteURL) 43 func cloneArgs(remoteURL *url.URL, root string) []string { 45 shallow := len(remoteURL.Fragment) == 0 47 if shallow && strings.HasPrefix(remoteURL.Scheme, "http") { 48 res, err := http.Head(fmt.Sprintf("%s/info/refs?service=git-upload-pack", remoteURL)) 58 if remoteURL.Fragment != "" { 59 remoteURL.Fragment = "" [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 56 func parseRemoteURL(remoteURL string) (gitRepo, error) { 59 if !isGitTransport(remoteURL) { 60 remoteURL = "https://" + remoteURL 64 if strings.HasPrefix(remoteURL, "git@") { 66 parts := strings.SplitN(remoteURL, "#", 2) 74 u, err := url.Parse(remoteURL) 101 if supportsShallowClone(remoteURL) { 110 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 56 func parseRemoteURL(remoteURL string) (gitRepo, error) { 59 if !isGitTransport(remoteURL) { 60 remoteURL = "https://" + remoteURL 64 if strings.HasPrefix(remoteURL, "git@") { 66 parts := strings.SplitN(remoteURL, "#", 2) 74 u, err := url.Parse(remoteURL) 101 if supportsShallowClone(remoteURL) { 110 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 123 if supportsShallowClone(remoteURL) { 132 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 128 if supportsShallowClone(remoteURL) { 137 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/docker/cli/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 123 if supportsShallowClone(remoteURL) { 132 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/cli/cli-20.10.2/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 24 func Clone(remoteURL string) (string, error) { 25 repo, err := parseRemoteURL(remoteURL) 77 func parseRemoteURL(remoteURL string) (gitRepo, error) { 80 if !isGitTransport(remoteURL) { 81 remoteURL = "https://" + remoteURL 85 if strings.HasPrefix(remoteURL, "git@") { 87 parts := strings.SplitN(remoteURL, "#", 2) 95 u, err := url.Parse(remoteURL) 124 func fetchArgs(remoteURL string, ref string) []string { 127 if supportsShallowClone(remoteURL) { [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/cli/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 128 if supportsShallowClone(remoteURL) { 137 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 128 if supportsShallowClone(remoteURL) { 137 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/builder/remotecontext/git/ |
H A D | gitutils.go | 25 func Clone(remoteURL string) (string, error) { 26 repo, err := parseRemoteURL(remoteURL) 78 func parseRemoteURL(remoteURL string) (gitRepo, error) { 81 if !isGitTransport(remoteURL) { 82 remoteURL = "https://" + remoteURL 86 if strings.HasPrefix(remoteURL, "git@") { 88 parts := strings.SplitN(remoteURL, "#", 2) 96 u, err := url.Parse(remoteURL) 128 if supportsShallowClone(remoteURL) { 137 func supportsShallowClone(remoteURL string) bool { [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/docker/docker/builder/ |
H A D | remote.go | 33 func MakeRemoteContext(remoteURL string, contentTypeHandlers map[string]func(io.ReadCloser) (io.Rea… 34 f, err := httputils.Download(remoteURL) 36 return nil, fmt.Errorf("error downloading remote context %s: %v", remoteURL, err) 47 return nil, fmt.Errorf("error detecting content type for remote %s: %v", remoteURL, err) 73 func DetectContextFromRemoteURL(r io.ReadCloser, remoteURL string, createProgressReader func(in io.… 75 case remoteURL == "": 77 case urlutil.IsGitURL(remoteURL): 78 context, err = MakeGitContext(remoteURL) 79 case urlutil.IsURL(remoteURL): 80 context, err = MakeRemoteContext(remoteURL, map[string]func(io.ReadCloser) (io.ReadCloser, error){ [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 17 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 20 if !isGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 25 if strings.HasPrefix(remoteURL, "git@") { 27 parts := strings.SplitN(remoteURL, "#", 2) 35 u, err := url.Parse(remoteURL)
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 17 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 20 if !isGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 25 if strings.HasPrefix(remoteURL, "git@") { 27 parts := strings.SplitN(remoteURL, "#", 2) 35 u, err := url.Parse(remoteURL)
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 17 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 20 if !isGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 25 if strings.HasPrefix(remoteURL, "git@") { 27 parts := strings.SplitN(remoteURL, "#", 2) 35 u, err := url.Parse(remoteURL)
|
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 17 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 20 if !isGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 25 if strings.HasPrefix(remoteURL, "git@") { 27 parts := strings.SplitN(remoteURL, "#", 2) 35 u, err := url.Parse(remoteURL)
|
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 17 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 20 if !isGitTransport(remoteURL) { 21 remoteURL = "https://" + remoteURL 25 if strings.HasPrefix(remoteURL, "git@") { 27 parts := strings.SplitN(remoteURL, "#", 2) 35 u, err := url.Parse(remoteURL)
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 22 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 25 if !isGitTransport(remoteURL) { 26 remoteURL = "https://" + remoteURL 30 if strings.HasPrefix(remoteURL, "git@") { 32 parts := strings.SplitN(remoteURL, "#", 2) 40 u, err := url.Parse(remoteURL)
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 22 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 25 if !isGitTransport(remoteURL) { 26 remoteURL = "https://" + remoteURL 30 if strings.HasPrefix(remoteURL, "git@") { 32 parts := strings.SplitN(remoteURL, "#", 2) 40 u, err := url.Parse(remoteURL)
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 22 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 25 if !isGitTransport(remoteURL) { 26 remoteURL = "https://" + remoteURL 30 if strings.HasPrefix(remoteURL, "git@") { 32 parts := strings.SplitN(remoteURL, "#", 2) 40 u, err := url.Parse(remoteURL)
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/moby/buildkit/source/ |
H A D | gitidentifier.go | 22 func NewGitIdentifier(remoteURL string) (*GitIdentifier, error) { 25 if !isGitTransport(remoteURL) { 26 remoteURL = "https://" + remoteURL 30 if strings.HasPrefix(remoteURL, "git@") { 32 parts := strings.SplitN(remoteURL, "#", 2) 40 u, err := url.Parse(remoteURL)
|