 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type ImageIdentifier
- type OCIIdentifier
- type ResolverType
- type Source
- func (is *Source) Identifier(scheme, ref string, attrs map[string]string, platform *pb.Platform) (source.Identifier, error)
- func (is *Source) Resolve(ctx context.Context, id source.Identifier, sm *session.Manager, ...) (source.SourceInstance, error)
- func (is *Source) ResolveImageConfig(ctx context.Context, ref string, opt llb.ResolveImageConfigOpt, ...) (string, digest.Digest, []byte, error)
- func (is *Source) Schemes() []string
 
- type SourceOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageIdentifier ¶
type ImageIdentifier struct {
	Reference   reference.Spec
	Platform    *ocispecs.Platform
	ResolveMode resolver.ResolveMode
	RecordType  client.UsageRecordType
	LayerLimit  *int
}
    func NewImageIdentifier ¶
func NewImageIdentifier(str string) (*ImageIdentifier, error)
func (*ImageIdentifier) Capture ¶
func (id *ImageIdentifier) Capture(c *provenance.Capture, pin string) error
func (*ImageIdentifier) Scheme ¶
func (*ImageIdentifier) Scheme() string
type OCIIdentifier ¶
type OCIIdentifier struct {
	Reference  reference.Spec
	Platform   *ocispecs.Platform
	SessionID  string
	StoreID    string
	LayerLimit *int
}
    func NewOCIIdentifier ¶
func NewOCIIdentifier(str string) (*OCIIdentifier, error)
func (*OCIIdentifier) Capture ¶
func (id *OCIIdentifier) Capture(c *provenance.Capture, pin string) error
func (*OCIIdentifier) Scheme ¶
func (*OCIIdentifier) Scheme() string
type ResolverType ¶
type ResolverType int
const ( ResolverTypeRegistry ResolverType = iota ResolverTypeOCILayout )
type Source ¶
type Source struct {
	SourceOpt
	// contains filtered or unexported fields
}
    func (*Source) Identifier ¶
func (*Source) ResolveImageConfig ¶
 Click to show internal directories. 
   Click to hide internal directories.