File: types.go

package info (click to toggle)
golang-github-containers-common 0.62.2%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,436 kB
  • sloc: makefile: 131; sh: 102
file content (18 lines) | stat: -rw-r--r-- 502 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package pasta

import "net"

const BinaryName = "pasta"

type SetupResult struct {
	// IpAddresses configured by pasta
	IPAddresses []net.IP
	// DNSForwardIP is the ip used in --dns-forward, it should be added as first
	// entry to resolv.conf in the container.
	DNSForwardIPs []string
	// MapGuestIps are the ips used for the --map-guest-addr option which
	// we can use for the host.containers.internal entry.
	MapGuestAddrIPs []string
	// IPv6 says whenever pasta run with ipv6 support
	IPv6 bool
}