Documentation ¶
Index ¶
- Variables
- func Command(name string, args ...string) *exec.Cmd
- func ConnMTU(hsc HasSyscallConn) (int, error)
- func GetCommandOutput(command string, args ...string) (string, error)
- func GetEtcdClient(etcdIP string) client.Interface
- func GetSysArch() string
- func IPSetIDForSelector(rawSelector string) string
- func IPSetNameForSelector(ipVersion int, rawSelector string) string
- func LogOutput(cmd *exec.Cmd, name string) error
- func Run(command string, args ...string)
- func RunCommand(command string, args ...string) error
- func RunMayFail(command string, args ...string) error
- func RunWithInput(input []byte, command string, args ...string)
- func UpdateFelixConfig(client client.Interface, deltaFn func(*api.FelixConfiguration))
- type EnvConfig
- type HasSyscallConn
Constants ¶
This section is empty.
Variables ¶
View Source
var Ctx = context.Background()
View Source
var LastRunOutput string
View Source
var NoOptions = options.SetOptions{}
Functions ¶
func ConnMTU ¶
func ConnMTU(hsc HasSyscallConn) (int, error)
ConnMTU returns the MTU of the connection for _connected_ connections. That excludes unconnected udp which requires different approach for each peer.
func GetEtcdClient ¶
func GetSysArch ¶
func GetSysArch() string
func IPSetIDForSelector ¶
func IPSetNameForSelector ¶
func RunCommand ¶
func RunMayFail ¶
func RunWithInput ¶
func UpdateFelixConfig ¶
func UpdateFelixConfig(client client.Interface, deltaFn func(*api.FelixConfiguration))
Types ¶
type EnvConfig ¶
type EnvConfig struct { // Note: These are overridden in the Makefile! FelixImage string `default:"calico/felix:latest"` EtcdImage string `default:"quay.io/coreos/etcd"` K8sImage string `default:"calico/go-build:latest"` TyphaImage string `default:"calico/typha:latest"` BusyboxImage string `default:"busybox:latest"` }
var Config EnvConfig
type HasSyscallConn ¶
HasSyscallConn represents objects that can return a syscall.RawConn
Click to show internal directories.
Click to hide internal directories.