Documentation ¶
Index ¶
- type Manager
- func (m *Manager) Down(containerHandle string) error
- func (m *Manager) NetIn(containerHandle string, inputs NetInInputs) (*NetInOutputs, error)
- func (m *Manager) NetOut(containerHandle string, inputs NetOutInputs) error
- func (m *Manager) Up(containerHandle string, inputs UpInputs) (*UpOutputs, error)
- type NetInInputs
- type NetInOutputs
- type NetOutInputs
- type UpInputs
- type UpOutputs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Logger lager.Logger CNIController cniController Mounter mounter BindMountRoot string OverlayNetwork string PortAllocator portAllocator NetInProvider netInProvider NetOutProvider netOutProvider }
func (*Manager) NetIn ¶
func (m *Manager) NetIn(containerHandle string, inputs NetInInputs) (*NetInOutputs, error)
type NetInInputs ¶
type NetInOutputs ¶
type NetOutInputs ¶
type NetOutInputs struct { ContainerIP string `json:"container_ip"` NetOutRule garden.NetOutRule `json:"netout_rule"` }
Click to show internal directories.
Click to hide internal directories.