Documentation ¶
Index ¶
- type BulkNetOutInputs
- type Manager
- func (m *Manager) BulkNetOut(containerHandle string, inputs BulkNetOutInputs) error
- 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 BulkNetOutInputs ¶
type BulkNetOutInputs struct { ContainerIP string `json:"container_ip"` NetOutRules []garden.NetOutRule `json:"netout_rules"` }
type Manager ¶
type Manager struct { Logger lager.Logger CNIController cniController Mounter mounter BindMountRoot string OverlayNetwork string PortAllocator portAllocator NetInProvider netInProvider NetOutProvider netOutProvider }
func (*Manager) BulkNetOut ¶
func (m *Manager) BulkNetOut(containerHandle string, inputs BulkNetOutInputs) error
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.