Remove HostRecord annotation (beta feature)

The annotation has made it to GA so this code should be deleted.
This commit is contained in:
Bowei Du
2016-12-22 13:33:07 -08:00
parent a8b168a77a
commit 589f58ca39
5 changed files with 0 additions and 79 deletions

View File

@@ -28,18 +28,6 @@ import (
hashutil "k8s.io/kubernetes/pkg/util/hash"
)
const (
// TODO: to be deleted after v1.3 is released
// Its value is the json representation of map[string(IP)][HostRecord]
// example: '{"10.245.1.6":{"HostName":"my-webserver"}}'
PodHostnamesAnnotation = "endpoints.beta.kubernetes.io/hostnames-map"
)
// TODO: to be deleted after v1.3 is released
type HostRecord struct {
HostName string
}
// RepackSubsets takes a slice of EndpointSubset objects, expands it to the full
// representation, and then repacks that into the canonical layout. This
// ensures that code which operates on these objects can rely on the common