Versions in this module Expand all Collapse all v0 v0.9.1 Jun 11, 2024 Changes in this version + const DEFAULT_LIMIT_STORE_SIZE + const DEFAULT_OCI_ARTIFACT_TYPE + const MediaTypeArtifactManifest + const MediaTypeConfig + const MediaTypeForeignLayer + const MediaTypeManifest + const MediaTypeManifestList + const OCI_SCHEME + const OciErrorCodeNameUnknown + const OciErrorCodeRepoNotFound + func GenOciManifestFromPkg(kclPkg *pkg.KclPkg) (map[string]string, error) + func GetAllImageTags(imageName string) ([]string, error) + func Login(hostname, username, password string, setting *settings.Settings) error + func Logout(hostname string, setting *settings.Settings) error + func ParsePlatform(platform string) (*v1.Platform, error) + func Pull(localPath, hostName, repoName, tag string, settings *settings.Settings) error + func Push(localPath, hostName, repoName, tag string, settings *settings.Settings) error + func RepoIsNotExist(err error) bool + type OciClient struct + PullOciOptions *PullOciOptions + func NewOciClient(regName, repoName string, settings *settings.Settings) (*OciClient, error) + func (ociClient *OciClient) ContainsTag(tag string) (bool, *reporter.KpmEvent) + func (ociClient *OciClient) FetchManifestIntoJsonStr(opts opt.OciFetchOptions) (string, error) + func (ociClient *OciClient) GetReference() string + func (ociClient *OciClient) Pull(localPath, tag string) error + func (ociClient *OciClient) Push(localPath, tag string) *reporter.KpmEvent + func (ociClient *OciClient) PushWithOciManifest(localPath, tag string, opts *opt.OciManifestOptions) *reporter.KpmEvent + func (ociClient *OciClient) SetLogWriter(writer io.Writer) + func (ociClient *OciClient) TheLatestTag() (string, error) + type PullOciOptions struct + CopyOpts *oras.CopyOptions + Platform string + func (popts *PullOciOptions) Successors(ctx context.Context, fetcher content.Fetcher, node v1.Descriptor) ([]v1.Descriptor, error)