kubernetes/staging/src/k8s.io/kube-aggregator/pkg/controllers/status/remote/remote_available_controller_test.go

const testServicePort

const testServicePortName

func newEndpoints(namespace, name string) *v1.Endpoints {}

func newEndpointsWithAddress(namespace, name string, port int32, portName string) *v1.Endpoints {}

func newService(namespace, name string, port int32, portName string) *v1.Service {}

func newLocalAPIService(name string) *apiregistration.APIService {}

func newRemoteAPIService(name string) *apiregistration.APIService {}

type T

func setupAPIServices(t T, apiServices []runtime.Object) (*AvailableConditionController, *fake.Clientset) {}

func BenchmarkBuildCache(b *testing.B) {}

func TestBuildCache(t *testing.T) {}

func TestSync(t *testing.T) {}

type fakeServiceResolver

func (f *fakeServiceResolver) ResolveEndpoint(namespace, name string, port int32) (*url.URL, error) {}

func TestUpdateAPIServiceStatus(t *testing.T) {}

func emptyCert() []byte {}