Documentation ¶
Index ¶
- Constants
- func All(commands ...executor.Command) executor.Command
- type AddAddress
- type AddRoute
- type CleanupSandbox
- type CreateBridge
- type CreateDummy
- type CreateSandbox
- type CreateVeth
- type CreateVxlan
- type DeleteLink
- type GetHardwareAddress
- type Group
- type GroupError
- type InNamespace
- type MoveLink
- type SetLinkMaster
- type SetLinkUp
- type StartDNSServer
- type StartMonitor
- type Unless
Constants ¶
View Source
const DNS_INTERFACE_NAME = "dns0"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddAddress ¶
func (AddAddress) String ¶
func (aa AddAddress) String() string
type CleanupSandbox ¶
func (CleanupSandbox) String ¶
func (c CleanupSandbox) String() string
type CreateBridge ¶
type CreateBridge struct {
Name string
}
func (CreateBridge) String ¶
func (cb CreateBridge) String() string
type CreateDummy ¶
type CreateDummy struct {
Name string
}
func (CreateDummy) String ¶
func (cv CreateDummy) String() string
type CreateSandbox ¶
type CreateSandbox struct {
Name string
}
func (CreateSandbox) String ¶
func (cn CreateSandbox) String() string
type CreateVeth ¶
func (CreateVeth) String ¶
func (cs CreateVeth) String() string
type CreateVxlan ¶
func (CreateVxlan) String ¶
func (cv CreateVxlan) String() string
type DeleteLink ¶
type DeleteLink struct {
LinkName string
}
func (DeleteLink) String ¶
func (c DeleteLink) String() string
type GetHardwareAddress ¶
type GetHardwareAddress struct { LinkName string Result net.HardwareAddr }
func (*GetHardwareAddress) Execute ¶
func (cmd *GetHardwareAddress) Execute(context executor.Context) error
func (*GetHardwareAddress) String ¶
func (cmd *GetHardwareAddress) String() string
type GroupError ¶
type GroupError struct { Err error // contains filtered or unexported fields }
func (*GroupError) Error ¶
func (ge *GroupError) Error() string
type InNamespace ¶
func (InNamespace) String ¶
func (i InNamespace) String() string
type SetLinkMaster ¶
func (SetLinkMaster) String ¶
func (slm SetLinkMaster) String() string
type StartDNSServer ¶
func (StartDNSServer) String ¶
func (sd StartDNSServer) String() string
type StartMonitor ¶
type StartMonitor struct { HostNamespace namespace.Namespace Watcher watcher.MissWatcher SandboxName string VxlanLinkName string }
func (StartMonitor) String ¶
func (sm StartMonitor) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.