Documentation
¶
Overview ¶
Package api provides the Cilium useful helpers for the external API
Index ¶
Constants ¶
View Source
const ( // CiliumGroupName is the cilium's unix group name. CiliumGroupName = "cilium" // SocketFileMode is the default file mode for the sockets. SocketFileMode os.FileMode = 0660 // ClientTimeout specifies timeout to be used by clients ClientTimeout = 90 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func SetDefaultPermissions ¶
SetDefaultPermissions sets the given socket's group to `CiliumGroupName` and mode to `SocketFileMode`.