Movatterモバイル変換


[0]ホーム

URL:


git

package
v0.26.2Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License:Apache-2.0Imports:40Imported by:146

Details

Repository

github.com/moby/buildkit

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcSupportedadded inv0.4.0

func Supported()error

Supported returns nil if the system supports Git source

Types

typeGitIdentifieradded inv0.13.0

type GitIdentifier struct {RemotestringRefstringChecksumstringSubdirstringKeepGitDirboolAuthTokenSecretstringAuthHeaderSecretstringMountSSHSockstringKnownSSHHostsstringSkipSubmodulesboolVerifySignature *GitSignatureVerifyOptions}

funcNewGitIdentifieradded inv0.13.0

func NewGitIdentifier(remoteURLstring) (*GitIdentifier,error)

func (*GitIdentifier)Captureadded inv0.13.0

func (id *GitIdentifier) Capture(c *provenance.Capture, pinstring)error

func (GitIdentifier)Schemeadded inv0.13.0

func (GitIdentifier) Scheme()string

typeGitSignatureVerifyOptionsadded inv0.26.0

type GitSignatureVerifyOptions struct {PubKey            []byteRejectExpiredKeysboolRequireSignedTagbool// signed tag must be presentIgnoreSignedTagbool// even if signed tag is present, verify signature on commit object}

typeMetadataadded inv0.26.0

type Metadata struct {RefstringChecksumstringCommitChecksumstringCommitObject []byteTagObject    []byte}

typeMetadataOptsadded inv0.26.0

type MetadataOpts struct {ReturnObjectbool}

typeOpt

type Opt struct {CacheAccessorcache.Accessor}

typeSourceadded inv0.26.0

type Source struct {// contains filtered or unexported fields}

funcNewSource

func NewSource(optOpt) (*Source,error)

func (*Source)Identifieradded inv0.26.0

func (gs *Source) Identifier(scheme, refstring, attrs map[string]string, platform *pb.Platform) (source.Identifier,error)

func (*Source)Resolveadded inv0.26.0

func (*Source)ResolveMetadataadded inv0.26.0

func (gs *Source) ResolveMetadata(ctxcontext.Context, id *GitIdentifier, sm *session.Manager, jobCtxsolver.JobContext, optMetadataOpts) (*Metadata,error)

func (*Source)Schemesadded inv0.26.0

func (gs *Source) Schemes() []string

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp