kompose/vendor/k8s.io/kubernetes/pkg/util/net/sets
Tomas Kral 3db5069ff5 added OpenShifts fork of Kubernetes
reason for this is that openshift/kubernetes backported
k8s.io/kubernetes/pkg/securitycontextconstraints/util
that is currently required by something that
github.com/openshift/origin/pkg/deploy/api/v1 depends on
2016-07-21 20:37:18 +02:00
..
ipnet.go added OpenShifts fork of Kubernetes 2016-07-21 20:37:18 +02:00
README.md added OpenShifts fork of Kubernetes 2016-07-21 20:37:18 +02:00

This package contains hand-coded set implementations that should be similar to the autogenerated ones in pkg/util/sets.

We can't simply use net.IPNet as a map-key in Go (because it contains a []byte).

We could use the same workaround we use here (a string representation as the key) to autogenerate sets. If we do that, or decide on an alternate approach, we should replace the implementations in this package with the autogenerated versions.

It is expected that callers will alias this import as netsets i.e. import netsets "k8s.io/kubernetes/pkg/util/net/sets"

Analytics