1
0
mirror of https://github.com/openshift/image-registry.git synced 2026-02-05 09:45:55 +01:00
Files
Flavian Missi f9d93c44be pkg,test: import distribution/distribution/v3
instead of the deprecated docker/distribution
2023-06-19 12:06:47 +02:00
..
2022-01-04 15:44:18 +01:00
2021-11-02 12:05:56 +01:00

Packages based on the code from the OpenShift Origin repository

clientcmd

The clientcmd package is a reduced copy of github.com/openshift/origin/pkg/cmd/util/clientcmd.

The code is almost untouched, but there are some differences:

  • some dependencies were merged into this package (getEnv, Addr, recommendedHomeFile, etc.),
  • it doesn't support migrations for KUBECONFIG (i.e. the old default is ignored, which is .kube/.config),
  • it uses the field openshift.kubeconfig from our config instead of the --config flag.

image/apis/image

This is a significantly reduced set of code related to the internal api objects defined in [github.com/openshift/origin/pkg/image image](https://godoc.org/github.com/openshift/origin/pkg/image image).

It includes the docker type definitions, constants, and helpers. The only changes are either deletions or package import updates to consume the apimachinery/api/client-go repositories instead of origin/kubernetes.

util

This package consists of helper code is copied from various locations in origin. Most of it came from [4bb21512b7/pkg/image/apis/image/v1/helpers.go (L1)](helper logic) in origin.