Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPartialVersion ¶
func ParsePartialVersion ¶
Parse a version that is not necessarily a valid semver.
Types ¶
type AuthLookupKeychain ¶
type AuthLookupKeychain struct {
// contains filtered or unexported fields
}
func NewAuthLookupKeychain ¶
func NewAuthLookupKeychain(lookup LookupValue) *AuthLookupKeychain
func (*AuthLookupKeychain) Resolve ¶
func (ak *AuthLookupKeychain) Resolve(target authn.Resource) (authn.Authenticator, error)
type GetWorkDir ¶
type LookupValue ¶
type StepImageArchive ¶
type StepImageArchive struct {
// contains filtered or unexported fields
}
func NewStepImageArchive ¶
func NewStepImageArchive(tarFilePath string, logger *slog.Logger) *StepImageArchive
func (*StepImageArchive) Unpack ¶
func (o *StepImageArchive) Unpack(outputDir string) (v1.ImageIndex, *Version, error)
type Version ¶
type Version struct {
// contains filtered or unexported fields
}
func NewVersion ¶
func ParseSemanticVersion ¶
func (*Version) IsReleaseCandidate ¶
func (*Version) Satisfies ¶
Satisfies tests whether the Version satisfies a partial version. The Version satisfies a partial version when every version part in the partial version is equal to the same version part in the Version, including release. This handles the case where a partial image version 1.2.3 is requested, but the annotated Version in the pulled image is e.g 4.5.6. This condition is undefined so we should fail. partialVersion must be a partial version, not e.g. "latest" or a digest.
func (*Version) TagsToUpdate ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.