Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitIdentifier ¶
type GitIdentifier struct { Remote string Ref string Subdir string KeepGitDir bool AuthTokenSecret string AuthHeaderSecret string MountSSHSock string KnownSSHHosts string }
func NewGitIdentifier ¶
func NewGitIdentifier(remoteURL string) (*GitIdentifier, error)
func (*GitIdentifier) ID ¶
func (i *GitIdentifier) ID() string
type HTTPIdentifier ¶ added in v0.8.0
type HTTPIdentifier struct { TLS bool URL string Checksum digest.Digest Filename string Perm int UID int GID int }
func NewHTTPIdentifier ¶ added in v0.8.0
func NewHTTPIdentifier(str string, tls bool) (*HTTPIdentifier, error)
func (*HTTPIdentifier) ID ¶ added in v0.8.0
func (*HTTPIdentifier) ID() string
type Identifier ¶
type Identifier interface {
ID() string // until sources are in process this string comparison could be avoided
}
func FromString ¶
func FromString(s string) (Identifier, error)
type ImageIdentifier ¶
type ImageIdentifier struct { Reference reference.Spec Platform *ocispecs.Platform ResolveMode ResolveMode RecordType client.UsageRecordType LayerLimit *int }
func NewImageIdentifier ¶
func NewImageIdentifier(str string) (*ImageIdentifier, error)
func (*ImageIdentifier) ID ¶
func (*ImageIdentifier) ID() string
type LocalIdentifier ¶
type LocalIdentifier struct { Name string SessionID string IncludePatterns []string ExcludePatterns []string FollowPaths []string Differ fsutil.DiffType }
func NewLocalIdentifier ¶
func NewLocalIdentifier(str string) (*LocalIdentifier, error)
func (*LocalIdentifier) ID ¶
func (*LocalIdentifier) ID() string
type OCIIdentifier ¶ added in v0.11.0
type OCIIdentifier struct { Reference reference.Spec Platform *ocispecs.Platform SessionID string StoreID string LayerLimit *int }
func NewOCIIdentifier ¶ added in v0.11.0
func NewOCIIdentifier(str string) (*OCIIdentifier, error)
func (*OCIIdentifier) ID ¶ added in v0.11.0
func (*OCIIdentifier) ID() string
type ResolveMode ¶
type ResolveMode int
const ( ResolveModeDefault ResolveMode = iota ResolveModeForcePull ResolveModePreferLocal )
func ParseImageResolveMode ¶
func ParseImageResolveMode(v string) (ResolveMode, error)
func (ResolveMode) String ¶
func (r ResolveMode) String() string
Click to show internal directories.
Click to hide internal directories.