• Geoff Simmons's avatar
    Remove VSM package dependency, so non-native builds are possible. · 71253d40
    Geoff Simmons authored
    - Controller uses varnishapi Admin.Listen to listen for the admin
      connection from varnishd.
    - varnishd is invoked with the -M option, to connect to the listen
      port.
    - Controller also creates the Varnish secret file, using go crypto/rand.
    - So VSM does not have to inspected for the management port and
      location of the secret file.
    - The only dependency is varnishapi Admin package, which is limited
      to the CLI network protocol, and requires no native code.
    71253d40
varnish.go 6.97 KB