1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | name: snapd-socat
version: 0.1
vendor: Leo Arias <elopio@ubuntu.com>
summary: Pipe the snapd socket through socat
description: |
snapd offers a local unix socket to the snappy rest API. Using socat we can
redirect that socket to a TCP port to make requests with an HTTP client.
icon: icon.png
binaries:
- name: ./bin/snapd-socat
parts:
snapd-socat:
type: copy
files:
snapd-socat: bin/snapd-socat
stage-packages:
- socat
snap:
- usr/bin/socat
|