kubernetes: github.com/erimatnor/kubernetes/pkg/api/endpoints Index | Files

package endpoints

import "github.com/erimatnor/kubernetes/pkg/api/endpoints"


Package Files


func RepackSubsets Uses

func RepackSubsets(subsets []api.EndpointSubset) []api.EndpointSubset

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 form for things like comparison. The result is a newly allocated slice.

func SortSubsets Uses

func SortSubsets(subsets []api.EndpointSubset) []api.EndpointSubset

SortSubsets sorts an array of EndpointSubset objects in place. For ease of use it returns the input slice.

Package endpoints imports 7 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.