Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MacvlanIP ¶
type MacvlanIP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MacvlanIPSpec `json:"spec"` }
MacvlanIP is a specification for a MacvlanIP resource
type MacvlanIPSpec ¶
type MacvlanIPSpec struct { Subnet string `json:"subnet"` PodID string `json:"podId"` CIDR string `json:"cidr"` MAC string `json:"mac"` }
MacvlanIPSpec is the spec for a MacvlanIP resource
type MacvlanSubnet ¶
type MacvlanSubnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MacvlanSubnetSpec `json:"spec"` }
type MacvlanSubnetSpec ¶
type MacvlanSubnetSpec struct { Master string `json:"master"` VLAN int `json:"vlan"` CIDR string `json:"cidr"` Mode string `json:"mode"` Gateway string `json:"gateway"` Ranges []IPRange `json:"ranges"` Routes []Route `json:"routes,omitempty"` PodDefaultGateway PodDefaultGateway `json:"podDefaultGateway,omitempty"` IPDelayReuse int64 `json:"ipDelayReuse,omitempty"` }
type PodDefaultGateway ¶
Click to show internal directories.
Click to hide internal directories.