 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Delegator
- type PluginController
- func (c *PluginController) AddIPMasq(ip, overlayNetwork string) error
- func (c *PluginController) DelIPMasq(ip, overlayNetwork string) error
- func (c *PluginController) DelegateAdd(netconf map[string]interface{}) (types.Result, error)
- func (c *PluginController) DelegateDel(netconf map[string]interface{}) error
 
- type RuntimeConfig
- type WrapperConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delegator ¶
type Delegator interface {
	DelegateAdd(delegatePlugin string, netconf []byte) (types.Result, error)
	DelegateDel(delegatePlugin string, netconf []byte) error
}
    func NewDelegator ¶
func NewDelegator() Delegator
type PluginController ¶
type PluginController struct {
	Delegator Delegator
	IPTables  rules.IPTablesAdapter
}
    func (*PluginController) AddIPMasq ¶
func (c *PluginController) AddIPMasq(ip, overlayNetwork string) error
func (*PluginController) DelIPMasq ¶
func (c *PluginController) DelIPMasq(ip, overlayNetwork string) error
func (*PluginController) DelegateAdd ¶
func (c *PluginController) DelegateAdd(netconf map[string]interface{}) (types.Result, error)
func (*PluginController) DelegateDel ¶
func (c *PluginController) DelegateDel(netconf map[string]interface{}) error
type RuntimeConfig ¶
type RuntimeConfig struct {
	PortMappings []garden.NetIn      `json:"portMappings"`
	NetOutRules  []garden.NetOutRule `json:"netOutRules"`
}
    type WrapperConfig ¶
type WrapperConfig struct {
	Datastore          string                 `json:"datastore"`
	IPTablesLockFile   string                 `json:"iptables_lock_file"`
	OverlayNetwork     string                 `json:"overlay_network"`
	Delegate           map[string]interface{} `json:"delegate"`
	HealthCheckURL     string                 `json:"health_check_url"`
	InstanceAddress    string                 `json:"instance_address"`
	DNSServers         []string               `json:"dns_servers"`
	IPTablesASGLogging bool                   `json:"iptables_asg_logging"`
	RuntimeConfig      RuntimeConfig          `json:"runtimeConfig,omitempty"`
}
    func LoadWrapperConfig ¶
func LoadWrapperConfig(bytes []byte) (*WrapperConfig, error)
 Click to show internal directories. 
   Click to hide internal directories.