Documentation ¶
Index ¶
- Constants
- type BgpFamily
- type BgpGracefulRestart
- type BgpNlri
- type BgpPath
- type BgpPathAttribute
- type BgpPeer
- type BgpPeerFamilies
- type BgpRoute
- type BgpRoutePolicy
- type BgpRoutePolicyPrefixMatch
- func (m *BgpRoutePolicyPrefixMatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BgpRoutePolicyPrefixMatch) MarshalBinary() ([]byte, error)
- func (m *BgpRoutePolicyPrefixMatch) UnmarshalBinary(b []byte) error
- func (m *BgpRoutePolicyPrefixMatch) Validate(formats strfmt.Registry) error
- type BgpRoutePolicyStatement
- func (m *BgpRoutePolicyStatement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *BgpRoutePolicyStatement) MarshalBinary() ([]byte, error)
- func (m *BgpRoutePolicyStatement) UnmarshalBinary(b []byte) error
- func (m *BgpRoutePolicyStatement) Validate(formats strfmt.Registry) error
- type ConfigurationMap
- type DaemonConfiguration
- type DaemonConfigurationSpec
- func (m *DaemonConfigurationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DaemonConfigurationSpec) MarshalBinary() ([]byte, error)
- func (m *DaemonConfigurationSpec) UnmarshalBinary(b []byte) error
- func (m *DaemonConfigurationSpec) Validate(formats strfmt.Registry) error
- type DaemonConfigurationStatus
- func (m *DaemonConfigurationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DaemonConfigurationStatus) MarshalBinary() ([]byte, error)
- func (m *DaemonConfigurationStatus) UnmarshalBinary(b []byte) error
- func (m *DaemonConfigurationStatus) Validate(formats strfmt.Registry) error
- type DaemonConfigurationStatusMasqueradeProtocols
- func (m *DaemonConfigurationStatusMasqueradeProtocols) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DaemonConfigurationStatusMasqueradeProtocols) MarshalBinary() ([]byte, error)
- func (m *DaemonConfigurationStatusMasqueradeProtocols) UnmarshalBinary(b []byte) error
- func (m *DaemonConfigurationStatusMasqueradeProtocols) Validate(formats strfmt.Registry) error
- type DatapathMode
- type Error
- type KVstoreConfiguration
- type MonitorStatus
- type NodeAddressing
- type NodeAddressingElement
Constants ¶
const ( // BgpRoutePolicyTypeExport captures enum value "export" BgpRoutePolicyTypeExport string = "export" // BgpRoutePolicyTypeImport captures enum value "import" BgpRoutePolicyTypeImport string = "import" )
const ( // BgpRoutePolicyStatementRouteActionNone captures enum value "none" BgpRoutePolicyStatementRouteActionNone string = "none" // BgpRoutePolicyStatementRouteActionAccept captures enum value "accept" BgpRoutePolicyStatementRouteActionAccept string = "accept" // BgpRoutePolicyStatementRouteActionReject captures enum value "reject" BgpRoutePolicyStatementRouteActionReject string = "reject" )
const ( // DaemonConfigurationSpecPolicyEnforcementDefault captures enum value "default" DaemonConfigurationSpecPolicyEnforcementDefault string = "default" // DaemonConfigurationSpecPolicyEnforcementAlways captures enum value "always" DaemonConfigurationSpecPolicyEnforcementAlways string = "always" // DaemonConfigurationSpecPolicyEnforcementNever captures enum value "never" DaemonConfigurationSpecPolicyEnforcementNever string = "never" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BgpFamily ¶
type BgpFamily struct { // Address Family Indicator (AFI) of the path Afi string `json:"afi,omitempty"` // Subsequent Address Family Indicator (SAFI) of the path Safi string `json:"safi,omitempty"` }
BgpFamily Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path
swagger:model BgpFamily
func (*BgpFamily) ContextValidate ¶
ContextValidate validates this bgp family based on context it is used
func (*BgpFamily) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgpFamily) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BgpGracefulRestart ¶
type BgpGracefulRestart struct { // When set, graceful restart capability is negotiated for all AFI/SAFIs of // this peer. Enabled bool `json:"enabled,omitempty"` // This is the time advertised to peer for the BGP session to be re-established // after a restart. After this period, peer will remove stale routes. // (RFC 4724 section 4.2) RestartTimeSeconds int64 `json:"restart-time-seconds,omitempty"` }
BgpGracefulRestart BGP graceful restart parameters negotiated with the peer.
+k8s:deepcopy-gen=true
swagger:model BgpGracefulRestart
func (*BgpGracefulRestart) ContextValidate ¶
ContextValidate validates this bgp graceful restart based on context it is used
func (*BgpGracefulRestart) MarshalBinary ¶
func (m *BgpGracefulRestart) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpGracefulRestart) UnmarshalBinary ¶
func (m *BgpGracefulRestart) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgpNlri ¶
type BgpNlri struct { // Base64-encoded NLRI in the BGP UPDATE message format Base64 string `json:"base64,omitempty"` }
BgpNlri Network Layer Reachability Information (NLRI) of the path
swagger:model BgpNlri
func (*BgpNlri) ContextValidate ¶
ContextValidate validates this bgp nlri based on context it is used
func (*BgpNlri) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgpNlri) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BgpPath ¶
type BgpPath struct { // Age of the path (time since its creation) in nanoseconds AgeNanoseconds int64 `json:"age-nanoseconds,omitempty"` // True value flags the best path towards the destination prefix Best bool `json:"best,omitempty"` // Address Family Indicator (AFI) and Subsequent Address Family Indicator (SAFI) of the path Family *BgpFamily `json:"family,omitempty"` // Network Layer Reachability Information of the path Nlri *BgpNlri `json:"nlri,omitempty"` // List of BGP path attributes specific for the path PathAttributes []*BgpPathAttribute `json:"path-attributes"` // True value marks the path as stale Stale bool `json:"stale,omitempty"` }
BgpPath Single BGP routing Path containing BGP Network Layer Reachability Information (NLRI) and path attributes
swagger:model BgpPath
func (*BgpPath) ContextValidate ¶
ContextValidate validate this bgp path based on the context it is used
func (*BgpPath) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgpPath) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BgpPathAttribute ¶
type BgpPathAttribute struct { // Base64-encoded BGP path attribute in the BGP UPDATE message format Base64 string `json:"base64,omitempty"` }
BgpPathAttribute Single BGP path attribute specific for the path
swagger:model BgpPathAttribute
func (*BgpPathAttribute) ContextValidate ¶
ContextValidate validates this bgp path attribute based on context it is used
func (*BgpPathAttribute) MarshalBinary ¶
func (m *BgpPathAttribute) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpPathAttribute) UnmarshalBinary ¶
func (m *BgpPathAttribute) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgpPeer ¶
type BgpPeer struct { // Applied initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds. // The applied value holds the value that is in effect on the current BGP session. // AppliedHoldTimeSeconds int64 `json:"applied-hold-time-seconds,omitempty"` // Applied initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds. // The applied value holds the value that is in effect on the current BGP session. // AppliedKeepAliveTimeSeconds int64 `json:"applied-keep-alive-time-seconds,omitempty"` // Configured initial value for the BGP HoldTimer (RFC 4271, Section 4.2) in seconds. // The configured value will be used for negotiation with the peer during the BGP session establishment. // ConfiguredHoldTimeSeconds int64 `json:"configured-hold-time-seconds,omitempty"` // Configured initial value for the BGP KeepaliveTimer (RFC 4271, Section 8) in seconds. // The applied value may be different than the configured value, as it depends on the negotiated hold time interval. // ConfiguredKeepAliveTimeSeconds int64 `json:"configured-keep-alive-time-seconds,omitempty"` // Initial value for the BGP ConnectRetryTimer (RFC 4271, Section 8) in seconds ConnectRetryTimeSeconds int64 `json:"connect-retry-time-seconds,omitempty"` // Time To Live (TTL) value used in BGP packets sent to the eBGP neighbor. // 1 implies that eBGP multi-hop feature is disabled (only a single hop is allowed). // EbgpMultihopTTL int64 `json:"ebgp-multihop-ttl,omitempty"` // BGP peer address family state Families []*BgpPeerFamilies `json:"families"` // Graceful restart capability GracefulRestart *BgpGracefulRestart `json:"graceful-restart,omitempty"` // Local AS Number LocalAsn int64 `json:"local-asn,omitempty"` // IP Address of peer PeerAddress string `json:"peer-address,omitempty"` // Peer AS Number PeerAsn int64 `json:"peer-asn,omitempty"` // TCP port number of peer // Maximum: 65535 // Minimum: 1 PeerPort int64 `json:"peer-port,omitempty"` // BGP peer operational state as described here // https://www.rfc-editor.org/rfc/rfc4271#section-8.2.2 // SessionState string `json:"session-state,omitempty"` // Set when a TCP password is configured for communications with this peer TCPPasswordEnabled bool `json:"tcp-password-enabled,omitempty"` // BGP peer connection uptime in nano seconds. UptimeNanoseconds int64 `json:"uptime-nanoseconds,omitempty"` }
BgpPeer State of a BGP Peer
+k8s:deepcopy-gen=true
swagger:model BgpPeer
func (*BgpPeer) ContextValidate ¶
ContextValidate validate this bgp peer based on the context it is used
func (*BgpPeer) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgpPeer) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BgpPeerFamilies ¶
type BgpPeerFamilies struct { // Number of routes accepted from the peer of this address family Accepted int64 `json:"accepted,omitempty"` // Number of routes advertised of this address family to the peer Advertised int64 `json:"advertised,omitempty"` // BGP address family indicator Afi string `json:"afi,omitempty"` // Number of routes received from the peer of this address family Received int64 `json:"received,omitempty"` // BGP subsequent address family indicator Safi string `json:"safi,omitempty"` }
BgpPeerFamilies BGP AFI SAFI state of the peer
+k8s:deepcopy-gen=true
swagger:model BgpPeerFamilies
func (*BgpPeerFamilies) ContextValidate ¶
ContextValidate validates this bgp peer families based on context it is used
func (*BgpPeerFamilies) MarshalBinary ¶
func (m *BgpPeerFamilies) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpPeerFamilies) UnmarshalBinary ¶
func (m *BgpPeerFamilies) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgpRoute ¶
type BgpRoute struct { // IP address specifying a BGP neighbor if the source table type is adj-rib-in or adj-rib-out Neighbor string `json:"neighbor,omitempty"` // List of routing paths leading towards the prefix Paths []*BgpPath `json:"paths"` // IP prefix of the route Prefix string `json:"prefix,omitempty"` // Autonomous System Number (ASN) identifying a BGP virtual router instance RouterAsn int64 `json:"router-asn,omitempty"` }
BgpRoute Single BGP route retrieved from the RIB of underlying router
swagger:model BgpRoute
func (*BgpRoute) ContextValidate ¶
ContextValidate validate this bgp route based on the context it is used
func (*BgpRoute) MarshalBinary ¶
MarshalBinary interface implementation
func (*BgpRoute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BgpRoutePolicy ¶
type BgpRoutePolicy struct { // Name of the route policy Name string `json:"name,omitempty"` // Autonomous System Number (ASN) identifying a BGP virtual router instance RouterAsn int64 `json:"router-asn,omitempty"` // List of the route policy statements Statements []*BgpRoutePolicyStatement `json:"statements"` // Type of the route policy // Enum: [export import] Type string `json:"type,omitempty"` }
BgpRoutePolicy Single BGP route policy retrieved from the underlying router
swagger:model BgpRoutePolicy
func (*BgpRoutePolicy) ContextValidate ¶
ContextValidate validate this bgp route policy based on the context it is used
func (*BgpRoutePolicy) MarshalBinary ¶
func (m *BgpRoutePolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpRoutePolicy) UnmarshalBinary ¶
func (m *BgpRoutePolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgpRoutePolicyPrefixMatch ¶
type BgpRoutePolicyPrefixMatch struct { // CIDR prefix to match with Cidr string `json:"cidr,omitempty"` // Maximal prefix length that will match if it falls under CIDR PrefixLenMax int64 `json:"prefix-len-max,omitempty"` // Minimal prefix length that will match if it falls under CIDR PrefixLenMin int64 `json:"prefix-len-min,omitempty"` }
BgpRoutePolicyPrefixMatch Matches a CIDR prefix in a BGP route policy
swagger:model BgpRoutePolicyPrefixMatch
func (*BgpRoutePolicyPrefixMatch) ContextValidate ¶
func (m *BgpRoutePolicyPrefixMatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this bgp route policy prefix match based on context it is used
func (*BgpRoutePolicyPrefixMatch) MarshalBinary ¶
func (m *BgpRoutePolicyPrefixMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpRoutePolicyPrefixMatch) UnmarshalBinary ¶
func (m *BgpRoutePolicyPrefixMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BgpRoutePolicyStatement ¶
type BgpRoutePolicyStatement struct { // List of BGP standard community values to be added to the matched route AddCommunities []string `json:"add-communities"` // List of BGP large community values to be added to the matched route AddLargeCommunities []string `json:"add-large-communities"` // Matches any of the provided BGP neighbor IP addresses. If empty matches all neighbors. MatchNeighbors []string `json:"match-neighbors"` // Matches any of the provided prefixes. If empty matches all prefixes. MatchPrefixes []*BgpRoutePolicyPrefixMatch `json:"match-prefixes"` // RIB processing action taken on the matched route // Enum: [none accept reject] RouteAction string `json:"route-action,omitempty"` // BGP local preference value to be set on the matched route SetLocalPreference int64 `json:"set-local-preference,omitempty"` }
BgpRoutePolicyStatement Single BGP route policy statement
swagger:model BgpRoutePolicyStatement
func (*BgpRoutePolicyStatement) ContextValidate ¶
func (m *BgpRoutePolicyStatement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this bgp route policy statement based on the context it is used
func (*BgpRoutePolicyStatement) MarshalBinary ¶
func (m *BgpRoutePolicyStatement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BgpRoutePolicyStatement) UnmarshalBinary ¶
func (m *BgpRoutePolicyStatement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigurationMap ¶
ConfigurationMap Map of configuration key/value pairs.
swagger:model ConfigurationMap
func (ConfigurationMap) ContextValidate ¶
ContextValidate validates this configuration map based on context it is used
type DaemonConfiguration ¶
type DaemonConfiguration struct { // Changeable configuration Spec *DaemonConfigurationSpec `json:"spec,omitempty"` // Current daemon configuration related status.Contains the addressing // information, k8s, node monitor and immutable and mutable // configuration settings. // Status *DaemonConfigurationStatus `json:"status,omitempty"` }
DaemonConfiguration Response to a daemon configuration request.
swagger:model DaemonConfiguration
func (*DaemonConfiguration) ContextValidate ¶
ContextValidate validate this daemon configuration based on the context it is used
func (*DaemonConfiguration) MarshalBinary ¶
func (m *DaemonConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DaemonConfiguration) UnmarshalBinary ¶
func (m *DaemonConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DaemonConfigurationSpec ¶
type DaemonConfigurationSpec struct { // Changeable configuration Options ConfigurationMap `json:"options,omitempty"` // The policy-enforcement mode // Enum: [default always never] PolicyEnforcement string `json:"policy-enforcement,omitempty"` }
DaemonConfigurationSpec The controllable configuration of the daemon.
swagger:model DaemonConfigurationSpec
func (*DaemonConfigurationSpec) ContextValidate ¶
func (m *DaemonConfigurationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this daemon configuration spec based on the context it is used
func (*DaemonConfigurationSpec) MarshalBinary ¶
func (m *DaemonConfigurationSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DaemonConfigurationSpec) UnmarshalBinary ¶
func (m *DaemonConfigurationSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DaemonConfigurationStatus ¶
type DaemonConfigurationStatus struct { // Maximum IPv4 GRO size on workload facing devices GROIPV4MaxSize int64 `json:"GROIPv4MaxSize,omitempty"` // Maximum IPv6 GRO size on workload facing devices GROMaxSize int64 `json:"GROMaxSize,omitempty"` // Maximum IPv4 GSO size on workload facing devices GSOIPV4MaxSize int64 `json:"GSOIPv4MaxSize,omitempty"` // Maximum IPv6 GSO size on workload facing devices GSOMaxSize int64 `json:"GSOMaxSize,omitempty"` // addressing Addressing *NodeAddressing `json:"addressing,omitempty"` // Config map which contains all the active daemon configurations DaemonConfigurationMap map[string]interface{} `json:"daemonConfigurationMap,omitempty"` // datapath mode DatapathMode DatapathMode `json:"datapathMode,omitempty"` // MTU on workload facing devices DeviceMTU int64 `json:"deviceMTU,omitempty"` // Configured compatibility mode for --egress-multi-home-ip-rule-compat EgressMultiHomeIPRuleCompat bool `json:"egress-multi-home-ip-rule-compat,omitempty"` // Immutable configuration (read-only) Immutable ConfigurationMap `json:"immutable,omitempty"` // Comma-separated list of IP ports should be reserved in the workload network namespace IPLocalReservedPorts string `json:"ipLocalReservedPorts,omitempty"` // Configured IPAM mode IpamMode string `json:"ipam-mode,omitempty"` // k8s configuration K8sConfiguration string `json:"k8s-configuration,omitempty"` // k8s endpoint K8sEndpoint string `json:"k8s-endpoint,omitempty"` // kvstore configuration KvstoreConfiguration *KVstoreConfiguration `json:"kvstoreConfiguration,omitempty"` // masquerade Masquerade bool `json:"masquerade,omitempty"` // masquerade protocols MasqueradeProtocols *DaemonConfigurationStatusMasqueradeProtocols `json:"masqueradeProtocols,omitempty"` // Status of the node monitor NodeMonitor *MonitorStatus `json:"nodeMonitor,omitempty"` // Currently applied configuration Realized *DaemonConfigurationSpec `json:"realized,omitempty"` // MTU for network facing routes RouteMTU int64 `json:"routeMTU,omitempty"` }
DaemonConfigurationStatus Response to a daemon configuration request. Contains the addressing information, k8s, node monitor and immutable and mutable configuration settings.
swagger:model DaemonConfigurationStatus
func (*DaemonConfigurationStatus) ContextValidate ¶
func (m *DaemonConfigurationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this daemon configuration status based on the context it is used
func (*DaemonConfigurationStatus) MarshalBinary ¶
func (m *DaemonConfigurationStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DaemonConfigurationStatus) UnmarshalBinary ¶
func (m *DaemonConfigurationStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DaemonConfigurationStatusMasqueradeProtocols ¶
type DaemonConfigurationStatusMasqueradeProtocols struct { // Status of masquerading for IPv4 traffic IPV4 bool `json:"ipv4,omitempty"` // Status of masquerading for IPv6 traffic IPV6 bool `json:"ipv6,omitempty"` }
DaemonConfigurationStatusMasqueradeProtocols Status of masquerading feature
swagger:model DaemonConfigurationStatusMasqueradeProtocols
func (*DaemonConfigurationStatusMasqueradeProtocols) ContextValidate ¶
func (m *DaemonConfigurationStatusMasqueradeProtocols) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this daemon configuration status masquerade protocols based on context it is used
func (*DaemonConfigurationStatusMasqueradeProtocols) MarshalBinary ¶
func (m *DaemonConfigurationStatusMasqueradeProtocols) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DaemonConfigurationStatusMasqueradeProtocols) UnmarshalBinary ¶
func (m *DaemonConfigurationStatusMasqueradeProtocols) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DatapathMode ¶
type DatapathMode string
DatapathMode Datapath mode
swagger:model DatapathMode
const ( // DatapathModeVeth captures enum value "veth" DatapathModeVeth DatapathMode = "veth" )
func NewDatapathMode ¶
func NewDatapathMode(value DatapathMode) *DatapathMode
func (DatapathMode) ContextValidate ¶
ContextValidate validates this datapath mode based on context it is used
func (DatapathMode) Pointer ¶
func (m DatapathMode) Pointer() *DatapathMode
Pointer returns a pointer to a freshly-allocated DatapathMode.
type Error ¶
type Error string
Error error
swagger:model Error
func (Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
type KVstoreConfiguration ¶
type KVstoreConfiguration struct { // Configuration options Options map[string]string `json:"options,omitempty"` // Type of kvstore Type string `json:"type,omitempty"` }
KVstoreConfiguration Configuration used for the kvstore
swagger:model KVstoreConfiguration
func (*KVstoreConfiguration) ContextValidate ¶
ContextValidate validates this k vstore configuration based on context it is used
func (*KVstoreConfiguration) MarshalBinary ¶
func (m *KVstoreConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KVstoreConfiguration) UnmarshalBinary ¶
func (m *KVstoreConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MonitorStatus ¶
type MonitorStatus struct { // Number of CPUs to listen on for events. Cpus int64 `json:"cpus,omitempty"` // Number of samples lost by perf. Lost int64 `json:"lost,omitempty"` // Number of pages used for the perf ring buffer. Npages int64 `json:"npages,omitempty"` // Pages size used for the perf ring buffer. Pagesize int64 `json:"pagesize,omitempty"` // Number of unknown samples. Unknown int64 `json:"unknown,omitempty"` }
MonitorStatus Status of the node monitor
swagger:model MonitorStatus
func (*MonitorStatus) ContextValidate ¶
ContextValidate validates this monitor status based on context it is used
func (*MonitorStatus) MarshalBinary ¶
func (m *MonitorStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MonitorStatus) UnmarshalBinary ¶
func (m *MonitorStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeAddressing ¶
type NodeAddressing struct { // ipv4 IPV4 *NodeAddressingElement `json:"ipv4,omitempty"` // ipv6 IPV6 *NodeAddressingElement `json:"ipv6,omitempty"` }
NodeAddressing Addressing information of a node for all address families
+k8s:deepcopy-gen=true
swagger:model NodeAddressing
func (*NodeAddressing) ContextValidate ¶
ContextValidate validate this node addressing based on the context it is used
func (*NodeAddressing) MarshalBinary ¶
func (m *NodeAddressing) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeAddressing) UnmarshalBinary ¶
func (m *NodeAddressing) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeAddressingElement ¶
type NodeAddressingElement struct { // Node address type, one of HostName, ExternalIP or InternalIP AddressType string `json:"address-type,omitempty"` // Address pool to be used for local endpoints AllocRange string `json:"alloc-range,omitempty"` // True if address family is enabled Enabled bool `json:"enabled,omitempty"` // IP address of node IP string `json:"ip,omitempty"` }
NodeAddressingElement Addressing information
swagger:model NodeAddressingElement
func (*NodeAddressingElement) ContextValidate ¶
ContextValidate validates this node addressing element based on context it is used
func (*NodeAddressingElement) MarshalBinary ¶
func (m *NodeAddressingElement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeAddressingElement) UnmarshalBinary ¶
func (m *NodeAddressingElement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- bgp_family.go
- bgp_graceful_restart.go
- bgp_nlri.go
- bgp_path.go
- bgp_path_attribute.go
- bgp_peer.go
- bgp_peer_families.go
- bgp_route.go
- bgp_route_policy.go
- bgp_route_policy_prefix_match.go
- bgp_route_policy_statement.go
- configuration_map.go
- daemon_configuration.go
- daemon_configuration_spec.go
- daemon_configuration_status.go
- datapath_mode.go
- error.go
- k_vstore_configuration.go
- monitor_status.go
- node_addressing.go
- node_addressing_element.go