mirror of
https://github.com/openshift/image-registry.git
synced 2026-02-05 09:45:55 +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.kubeconfigfrom our config instead of the--configflag.
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.