Documentation ¶
Index ¶
Constants ¶
View Source
const (
OptimisticLockErrorMsg = "the object has been modified; please apply your changes to the latest version and try again"
)
Variables ¶
View Source
var (
SupportedCniVersions = version.PluginSupports("0.3.1")
)
Functions ¶
This section is empty.
Types ¶
type CniBackend ¶
type CniBackend struct {
CNIVersion string
}
type Interface ¶
type Interface struct { Network string `json:"network,omitempty"` TenantNetwork string `json:"tenantNetwork,omitempty"` ClusterNetwork string `json:"clusterNetwork,omitempty"` Ip string `json:"ip,omitempty"` Ip6 string `json:"ip6,omitempty"` Proutes map[string]string `json:"proutes,omitempty"` Proutes6 map[string]string `json:"proutes6,omitempty"` DefaultIfaceName string Device string SequenceId int }
Interface represents a request coming from the Pod to connect it to one DanmNet during CNI_ADD operation It contains the name of the network object the Pod should be connected to, and other optional requests Pods can influence the scheme of IP allocation (dynamic, static, none), and can ask for the provisioning of policy-based IP routes
type IpamConfig ¶
Click to show internal directories.
Click to hide internal directories.