package
Version:
v0.0.0-...-92a250d
Opens a new window with list of versions in this module.
Published: May 12, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CNIAddPayload struct {
Args string `json:"args"`
ContainerNamespace string `json:"container_namespace"`
InterfaceName string `json:"interface_name"`
IPAM types.Result `json:"ipam"`
Network NetworkPayload `json:"network"`
ContainerID string `json:"container_id"`
}
type CNIDelPayload struct {
InterfaceName string `json:"interface_name"`
ContainerNamespace string `json:"container_namespace"`
ContainerID string `json:"container_id"`
}
type Container struct {
ID string `json:"id"`
IP string `json:"ip"`
MAC string `json:"mac"`
HostIP string `json:"host_ip" db:"host_ip"`
NetworkID string `json:"network_id" db:"network_id"`
SandboxName string `json:"sandbox_name" db:"sandbox_name"`
App string `json:"app" db:"app"`
}
type NetworkPayload struct {
Properties Properties `json:"properties,omitempty"`
}
type Properties struct {
AppID string `json:"app_id"`
SpaceID string `json:"space_id"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.