Documentation
¶
Index ¶
- func Supported() error
- type GitIdentifier
- type GitSignatureVerifyOptions
- type Metadata
- type MetadataOpts
- type Opt
- type Source
- func (gs *Source) Identifier(scheme, ref string, attrs map[string]string, platform *pb.Platform) (source.Identifier, error)
- func (gs *Source) Resolve(ctx context.Context, id source.Identifier, sm *session.Manager, ...) (source.SourceInstance, error)
- func (gs *Source) ResolveMetadata(ctx context.Context, id *GitIdentifier, sm *session.Manager, ...) (*Metadata, error)
- func (gs *Source) Schemes() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitIdentifier ¶ added in v0.13.0
type GitIdentifier struct {
Remote string
Ref string
Checksum string
Subdir string
KeepGitDir bool
AuthTokenSecret string
AuthHeaderSecret string
MountSSHSock string
KnownSSHHosts string
SkipSubmodules bool
VerifySignature *GitSignatureVerifyOptions
}
func NewGitIdentifier ¶ added in v0.13.0
func NewGitIdentifier(remoteURL string) (*GitIdentifier, error)
func (*GitIdentifier) Capture ¶ added in v0.13.0
func (id *GitIdentifier) Capture(c *provenance.Capture, pin string) error
func (GitIdentifier) Scheme ¶ added in v0.13.0
func (GitIdentifier) Scheme() string
type GitSignatureVerifyOptions ¶ added in v0.26.0
type MetadataOpts ¶ added in v0.26.0
type MetadataOpts struct {
ReturnObject bool
}
type Source ¶ added in v0.26.0
type Source struct {
// contains filtered or unexported fields
}
func (*Source) Identifier ¶ added in v0.26.0
func (*Source) ResolveMetadata ¶ added in v0.26.0
func (gs *Source) ResolveMetadata(ctx context.Context, id *GitIdentifier, sm *session.Manager, jobCtx solver.JobContext, opt MetadataOpts) (*Metadata, error)
Click to show internal directories.
Click to hide internal directories.