• 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
cmd Loading commit data...
container Loading commit data...
deploy Loading commit data...
docs Loading commit data...
examples Loading commit data...
hack Loading commit data...
pkg Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.kind-gitlab.yaml Loading commit data...
COPYING Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...