Go packages for Juju virtual services work.
Go
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
endpoints.json
endpoints.yaml
parse_endpoint.go
parse_endpoint_test.go
parse_endpoints_file.go
parse_endpoints_file_test.go

README.md

virtualservices

This is a go package for the Juju virtual services work.

To define a virtual service you must have the relation name and interface name with the key value pairs that you want to set.

The parse_endpoint.go file was the first attempt to parse this information on the command line, in a format of relation:interface={"key", "value"}

The plan changed to deploy the virtual service with a "config" file.

The configuration file could be YAML or JSON format. See endpoints.yaml and endpoints.json for more details on the file format.