• Geoff Simmons's avatar
    Simplify isVarnishIngSvc(). · 4fa59971
    Geoff Simmons authored
    ... which determines if a Service defines the admin interfaces for
    a Varnish Service that implements Ingress. We don't have to query
    the Endpoints (which often don't exist yet when the Service is new),
    because the service port definitions are in the Spec.
    
    This means that the function doesn't have to return a possible
    error, which simplifies the calling code. In particular,
    filterVarnishIngSvcs(), which filters a slice of Services for those
    for which isVarnishIngSvc() is true, does not have to pass along
    the error return value. That in turn simplifies more calling code.
    4fa59971
Name
Last commit
Last update
..
README.md Loading commit data...
backendconfig.go Loading commit data...
controller.go Loading commit data...
doc.go Loading commit data...
endpoints.go Loading commit data...
ingress.go Loading commit data...
ingress_test.go Loading commit data...
metrics.go Loading commit data...
secret.go Loading commit data...
service.go Loading commit data...
svc_event.go Loading commit data...
utils.go Loading commit data...
varnishconfig.go Loading commit data...
varnishconfig_test.go Loading commit data...
worker.go Loading commit data...