models

package
v1.17.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 587

Documentation

Overview

Package models defines all models to be used in the Cilium API. +groupName=v1

Index

Constants

View Source
const (

	// BPFMapEntryDesiredActionOk captures enum value "ok"
	BPFMapEntryDesiredActionOk string = "ok"

	// BPFMapEntryDesiredActionInsert captures enum value "insert"
	BPFMapEntryDesiredActionInsert string = "insert"

	// BPFMapEntryDesiredActionDelete captures enum value "delete"
	BPFMapEntryDesiredActionDelete string = "delete"
)
View Source
const (

	// BackendAddressStateActive captures enum value "active"
	BackendAddressStateActive string = "active"

	// BackendAddressStateTerminating captures enum value "terminating"
	BackendAddressStateTerminating string = "terminating"

	// BackendAddressStateQuarantined captures enum value "quarantined"
	BackendAddressStateQuarantined string = "quarantined"

	// BackendAddressStateMaintenance captures enum value "maintenance"
	BackendAddressStateMaintenance string = "maintenance"
)
View Source
const (

	// BandwidthManagerCongestionControlCubic captures enum value "cubic"
	BandwidthManagerCongestionControlCubic string = "cubic"

	// BandwidthManagerCongestionControlBbr captures enum value "bbr"
	BandwidthManagerCongestionControlBbr string = "bbr"
)
View Source
const (

	// BgpRoutePolicyTypeExport captures enum value "export"
	BgpRoutePolicyTypeExport string = "export"

	// BgpRoutePolicyTypeImport captures enum value "import"
	BgpRoutePolicyTypeImport string = "import"
)
View Source
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"
)
View Source
const (

	// CNIChainingStatusModeNone captures enum value "none"
	CNIChainingStatusModeNone string = "none"

	// CNIChainingStatusModeAwsDashCni captures enum value "aws-cni"
	CNIChainingStatusModeAwsDashCni string = "aws-cni"

	// CNIChainingStatusModeFlannel captures enum value "flannel"
	CNIChainingStatusModeFlannel string = "flannel"

	// CNIChainingStatusModeGenericDashVeth captures enum value "generic-veth"
	CNIChainingStatusModeGenericDashVeth string = "generic-veth"

	// CNIChainingStatusModePortmap captures enum value "portmap"
	CNIChainingStatusModePortmap string = "portmap"
)
View Source
const (

	// ClockSourceModeKtime captures enum value "ktime"
	ClockSourceModeKtime string = "ktime"

	// ClockSourceModeJiffies captures enum value "jiffies"
	ClockSourceModeJiffies string = "jiffies"
)
View Source
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"
)
View Source
const (

	// EncryptionStatusModeDisabled captures enum value "Disabled"
	EncryptionStatusModeDisabled string = "Disabled"

	// EncryptionStatusModeIPsec captures enum value "IPsec"
	EncryptionStatusModeIPsec string = "IPsec"

	// EncryptionStatusModeWireguard captures enum value "Wireguard"
	EncryptionStatusModeWireguard string = "Wireguard"
)
View Source
const (

	// EndpointStatusChangeCodeOk captures enum value "ok"
	EndpointStatusChangeCodeOk string = "ok"

	// EndpointStatusChangeCodeFailed captures enum value "failed"
	EndpointStatusChangeCodeFailed string = "failed"
)
View Source
const (

	// FrontendAddressProtocolTCP captures enum value "tcp"
	FrontendAddressProtocolTCP string = "tcp"

	// FrontendAddressProtocolUDP captures enum value "udp"
	FrontendAddressProtocolUDP string = "udp"

	// FrontendAddressProtocolAny captures enum value "any"
	FrontendAddressProtocolAny string = "any"
)
View Source
const (

	// FrontendAddressScopeExternal captures enum value "external"
	FrontendAddressScopeExternal string = "external"

	// FrontendAddressScopeInternal captures enum value "internal"
	FrontendAddressScopeInternal string = "internal"
)
View Source
const (

	// HostFirewallModeDisabled captures enum value "Disabled"
	HostFirewallModeDisabled string = "Disabled"

	// HostFirewallModeEnabled captures enum value "Enabled"
	HostFirewallModeEnabled string = "Enabled"
)
View Source
const (

	// HubbleStatusStateOk captures enum value "Ok"
	HubbleStatusStateOk string = "Ok"

	// HubbleStatusStateWarning captures enum value "Warning"
	HubbleStatusStateWarning string = "Warning"

	// HubbleStatusStateFailure captures enum value "Failure"
	HubbleStatusStateFailure string = "Failure"

	// HubbleStatusStateDisabled captures enum value "Disabled"
	HubbleStatusStateDisabled string = "Disabled"
)
View Source
const (

	// HubbleStatusMetricsStateOk captures enum value "Ok"
	HubbleStatusMetricsStateOk string = "Ok"

	// HubbleStatusMetricsStateWarning captures enum value "Warning"
	HubbleStatusMetricsStateWarning string = "Warning"

	// HubbleStatusMetricsStateFailure captures enum value "Failure"
	HubbleStatusMetricsStateFailure string = "Failure"

	// HubbleStatusMetricsStateDisabled captures enum value "Disabled"
	HubbleStatusMetricsStateDisabled string = "Disabled"
)
View Source
const (

	// K8sStatusStateOk captures enum value "Ok"
	K8sStatusStateOk string = "Ok"

	// K8sStatusStateWarning captures enum value "Warning"
	K8sStatusStateWarning string = "Warning"

	// K8sStatusStateFailure captures enum value "Failure"
	K8sStatusStateFailure string = "Failure"

	// K8sStatusStateDisabled captures enum value "Disabled"
	K8sStatusStateDisabled string = "Disabled"
)
View Source
const (

	// KubeProxyReplacementModeTrue captures enum value "True"
	KubeProxyReplacementModeTrue string = "True"

	// KubeProxyReplacementModeFalse captures enum value "False"
	KubeProxyReplacementModeFalse string = "False"
)
View Source
const (

	// KubeProxyReplacementFeaturesNodePortAccelerationNone captures enum value "None"
	KubeProxyReplacementFeaturesNodePortAccelerationNone string = "None"

	// KubeProxyReplacementFeaturesNodePortAccelerationNative captures enum value "Native"
	KubeProxyReplacementFeaturesNodePortAccelerationNative string = "Native"

	// KubeProxyReplacementFeaturesNodePortAccelerationGeneric captures enum value "Generic"
	KubeProxyReplacementFeaturesNodePortAccelerationGeneric string = "Generic"

	// KubeProxyReplacementFeaturesNodePortAccelerationBestDashEffort captures enum value "Best-Effort"
	KubeProxyReplacementFeaturesNodePortAccelerationBestDashEffort string = "Best-Effort"
)
View Source
const (

	// KubeProxyReplacementFeaturesNodePortAlgorithmRandom captures enum value "Random"
	KubeProxyReplacementFeaturesNodePortAlgorithmRandom string = "Random"

	// KubeProxyReplacementFeaturesNodePortAlgorithmMaglev captures enum value "Maglev"
	KubeProxyReplacementFeaturesNodePortAlgorithmMaglev string = "Maglev"
)
View Source
const (

	// KubeProxyReplacementFeaturesNodePortDsrModeIPOptionExtension captures enum value "IP Option/Extension"
	KubeProxyReplacementFeaturesNodePortDsrModeIPOptionExtension string = "IP Option/Extension"

	// KubeProxyReplacementFeaturesNodePortDsrModeIPIP captures enum value "IPIP"
	KubeProxyReplacementFeaturesNodePortDsrModeIPIP string = "IPIP"

	// KubeProxyReplacementFeaturesNodePortDsrModeGeneve captures enum value "Geneve"
	KubeProxyReplacementFeaturesNodePortDsrModeGeneve string = "Geneve"
)
View Source
const (

	// KubeProxyReplacementFeaturesNodePortModeSNAT captures enum value "SNAT"
	KubeProxyReplacementFeaturesNodePortModeSNAT string = "SNAT"

	// KubeProxyReplacementFeaturesNodePortModeDSR captures enum value "DSR"
	KubeProxyReplacementFeaturesNodePortModeDSR string = "DSR"

	// KubeProxyReplacementFeaturesNodePortModeHybrid captures enum value "Hybrid"
	KubeProxyReplacementFeaturesNodePortModeHybrid string = "Hybrid"
)
View Source
const (

	// MapEventActionUpdate captures enum value "update"
	MapEventActionUpdate string = "update"

	// MapEventActionDelete captures enum value "delete"
	MapEventActionDelete string = "delete"
)
View Source
const (

	// MapEventDesiredActionOk captures enum value "ok"
	MapEventDesiredActionOk string = "ok"

	// MapEventDesiredActionInsert captures enum value "insert"
	MapEventDesiredActionInsert string = "insert"

	// MapEventDesiredActionDelete captures enum value "delete"
	MapEventDesiredActionDelete string = "delete"
)
View Source
const (

	// MasqueradingModeBPF captures enum value "BPF"
	MasqueradingModeBPF string = "BPF"

	// MasqueradingModeIptables captures enum value "iptables"
	MasqueradingModeIptables string = "iptables"
)
View Source
const (

	// PortProtocolTCP captures enum value "TCP"
	PortProtocolTCP string = "TCP"

	// PortProtocolUDP captures enum value "UDP"
	PortProtocolUDP string = "UDP"

	// PortProtocolSCTP captures enum value "SCTP"
	PortProtocolSCTP string = "SCTP"

	// PortProtocolICMP captures enum value "ICMP"
	PortProtocolICMP string = "ICMP"

	// PortProtocolICMPV6 captures enum value "ICMPV6"
	PortProtocolICMPV6 string = "ICMPV6"

	// PortProtocolANY captures enum value "ANY"
	PortProtocolANY string = "ANY"
)
View Source
const (

	// ProxyStatisticsLocationIngress captures enum value "ingress"
	ProxyStatisticsLocationIngress string = "ingress"

	// ProxyStatisticsLocationEgress captures enum value "egress"
	ProxyStatisticsLocationEgress string = "egress"
)
View Source
const (

	// ProxyStatusEnvoyDeploymentModeEmbedded captures enum value "embedded"
	ProxyStatusEnvoyDeploymentModeEmbedded string = "embedded"

	// ProxyStatusEnvoyDeploymentModeExternal captures enum value "external"
	ProxyStatusEnvoyDeploymentModeExternal string = "external"
)
View Source
const (

	// RecorderFilterProtocolTCP captures enum value "TCP"
	RecorderFilterProtocolTCP string = "TCP"

	// RecorderFilterProtocolUDP captures enum value "UDP"
	RecorderFilterProtocolUDP string = "UDP"

	// RecorderFilterProtocolSCTP captures enum value "SCTP"
	RecorderFilterProtocolSCTP string = "SCTP"

	// RecorderFilterProtocolANY captures enum value "ANY"
	RecorderFilterProtocolANY string = "ANY"
)
View Source
const (

	// RoutingInterHostRoutingModeNative captures enum value "Native"
	RoutingInterHostRoutingModeNative string = "Native"

	// RoutingInterHostRoutingModeTunnel captures enum value "Tunnel"
	RoutingInterHostRoutingModeTunnel string = "Tunnel"
)
View Source
const (

	// RoutingIntraHostRoutingModeBPF captures enum value "BPF"
	RoutingIntraHostRoutingModeBPF string = "BPF"

	// RoutingIntraHostRoutingModeLegacy captures enum value "Legacy"
	RoutingIntraHostRoutingModeLegacy string = "Legacy"
)
View Source
const (

	// ServiceSpecFlagsExtTrafficPolicyCluster captures enum value "Cluster"
	ServiceSpecFlagsExtTrafficPolicyCluster string = "Cluster"

	// ServiceSpecFlagsExtTrafficPolicyLocal captures enum value "Local"
	ServiceSpecFlagsExtTrafficPolicyLocal string = "Local"
)
View Source
const (

	// ServiceSpecFlagsIntTrafficPolicyCluster captures enum value "Cluster"
	ServiceSpecFlagsIntTrafficPolicyCluster string = "Cluster"

	// ServiceSpecFlagsIntTrafficPolicyLocal captures enum value "Local"
	ServiceSpecFlagsIntTrafficPolicyLocal string = "Local"
)
View Source
const (

	// ServiceSpecFlagsNatPolicyNone captures enum value "None"
	ServiceSpecFlagsNatPolicyNone string = "None"

	// ServiceSpecFlagsNatPolicyNat46 captures enum value "Nat46"
	ServiceSpecFlagsNatPolicyNat46 string = "Nat46"

	// ServiceSpecFlagsNatPolicyNat64 captures enum value "Nat64"
	ServiceSpecFlagsNatPolicyNat64 string = "Nat64"
)
View Source
const (

	// ServiceSpecFlagsTrafficPolicyCluster captures enum value "Cluster"
	ServiceSpecFlagsTrafficPolicyCluster string = "Cluster"

	// ServiceSpecFlagsTrafficPolicyLocal captures enum value "Local"
	ServiceSpecFlagsTrafficPolicyLocal string = "Local"
)
View Source
const (

	// ServiceSpecFlagsTypeClusterIP captures enum value "ClusterIP"
	ServiceSpecFlagsTypeClusterIP string = "ClusterIP"

	// ServiceSpecFlagsTypeNodePort captures enum value "NodePort"
	ServiceSpecFlagsTypeNodePort string = "NodePort"

	// ServiceSpecFlagsTypeExternalIPs captures enum value "ExternalIPs"
	ServiceSpecFlagsTypeExternalIPs string = "ExternalIPs"

	// ServiceSpecFlagsTypeHostPort captures enum value "HostPort"
	ServiceSpecFlagsTypeHostPort string = "HostPort"

	// ServiceSpecFlagsTypeLoadBalancer captures enum value "LoadBalancer"
	ServiceSpecFlagsTypeLoadBalancer string = "LoadBalancer"

	// ServiceSpecFlagsTypeLocalRedirect captures enum value "LocalRedirect"
	ServiceSpecFlagsTypeLocalRedirect string = "LocalRedirect"
)
View Source
const (

	// Srv6Srv6EncapModeSRH captures enum value "SRH"
	Srv6Srv6EncapModeSRH string = "SRH"

	// Srv6Srv6EncapModeReduced captures enum value "Reduced"
	Srv6Srv6EncapModeReduced string = "Reduced"
)
View Source
const (

	// StatusStateOk captures enum value "Ok"
	StatusStateOk string = "Ok"

	// StatusStateWarning captures enum value "Warning"
	StatusStateWarning string = "Warning"

	// StatusStateFailure captures enum value "Failure"
	StatusStateFailure string = "Failure"

	// StatusStateDisabled captures enum value "Disabled"
	StatusStateDisabled string = "Disabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address string

Address IP address

swagger:model Address

func (Address) ContextValidate added in v0.15.7

func (m Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address based on context it is used

func (Address) Validate

func (m Address) Validate(formats strfmt.Registry) error

Validate validates this address

type AddressPair added in v0.15.7

type AddressPair struct {

	// IPv4 address
	IPV4 string `json:"ipv4,omitempty"`

	// UUID of IPv4 expiration timer
	IPV4ExpirationUUID string `json:"ipv4-expiration-uuid,omitempty"`

	// IPAM pool from which this IPv4 address was allocated
	IPV4PoolName string `json:"ipv4-pool-name,omitempty"`

	// IPv6 address
	IPV6 string `json:"ipv6,omitempty"`

	// UUID of IPv6 expiration timer
	IPV6ExpirationUUID string `json:"ipv6-expiration-uuid,omitempty"`

	// IPAM pool from which this IPv6 address was allocated
	IPV6PoolName string `json:"ipv6-pool-name,omitempty"`
}

AddressPair Addressing information of an endpoint

swagger:model AddressPair

func (*AddressPair) ContextValidate added in v0.15.7

func (m *AddressPair) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address pair based on context it is used

func (*AddressPair) MarshalBinary added in v0.15.7

func (m *AddressPair) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddressPair) UnmarshalBinary added in v0.15.7

func (m *AddressPair) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddressPair) Validate added in v0.15.7

func (m *AddressPair) Validate(formats strfmt.Registry) error

Validate validates this address pair

type AllocationMap added in v0.15.7

type AllocationMap map[string]string

AllocationMap Map of allocated IPs

swagger:model AllocationMap

func (AllocationMap) ContextValidate added in v0.15.7

func (m AllocationMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocation map based on context it is used

func (AllocationMap) Validate added in v0.15.7

func (m AllocationMap) Validate(formats strfmt.Registry) error

Validate validates this allocation map

type AttachMode added in v1.16.0

type AttachMode string

AttachMode Core datapath attachment mode

swagger:model AttachMode

const (

	// AttachModeTc captures enum value "tc"
	AttachModeTc AttachMode = "tc"

	// AttachModeTcx captures enum value "tcx"
	AttachModeTcx AttachMode = "tcx"
)

func NewAttachMode added in v1.16.0

func NewAttachMode(value AttachMode) *AttachMode

func (AttachMode) ContextValidate added in v1.16.0

func (m AttachMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this attach mode based on context it is used

func (AttachMode) Pointer added in v1.16.0

func (m AttachMode) Pointer() *AttachMode

Pointer returns a pointer to a freshly-allocated AttachMode.

func (AttachMode) Validate added in v1.16.0

func (m AttachMode) Validate(formats strfmt.Registry) error

Validate validates this attach mode

type BPFMap added in v0.15.7

type BPFMap struct {

	// Contents of cache
	Cache []*BPFMapEntry `json:"cache"`

	// Path to BPF map
	Path string `json:"path,omitempty"`
}

BPFMap BPF map definition and content

swagger:model BPFMap

func (*BPFMap) ContextValidate added in v0.15.7

func (m *BPFMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this b p f map based on the context it is used

func (*BPFMap) MarshalBinary added in v0.15.7

func (m *BPFMap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BPFMap) UnmarshalBinary added in v0.15.7

func (m *BPFMap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BPFMap) Validate added in v0.15.7

func (m *BPFMap) Validate(formats strfmt.Registry) error

Validate validates this b p f map

type BPFMapEntry added in v0.15.7

type BPFMapEntry struct {

	// Desired action to be performed
	// Enum: ["ok","insert","delete"]
	DesiredAction string `json:"desired-action,omitempty"`

	// Key of map entry
	Key string `json:"key,omitempty"`

	// Last error seen while performing desired action
	LastError string `json:"last-error,omitempty"`

	// Value of map entry
	Value string `json:"value,omitempty"`
}

BPFMapEntry BPF map cache entry

swagger:model BPFMapEntry

func (*BPFMapEntry) ContextValidate added in v0.15.7

func (m *BPFMapEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this b p f map entry based on context it is used

func (*BPFMapEntry) MarshalBinary added in v0.15.7

func (m *BPFMapEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BPFMapEntry) UnmarshalBinary added in v0.15.7

func (m *BPFMapEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BPFMapEntry) Validate added in v0.15.7

func (m *BPFMapEntry) Validate(formats strfmt.Registry) error

Validate validates this b p f map entry

type BPFMapList added in v0.15.7

type BPFMapList struct {

	// Array of open BPF map lists
	Maps []*BPFMap `json:"maps"`
}

BPFMapList List of BPF Maps

swagger:model BPFMapList

func (*BPFMapList) ContextValidate added in v0.15.7

func (m *BPFMapList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this b p f map list based on the context it is used

func (*BPFMapList) MarshalBinary added in v0.15.7

func (m *BPFMapList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BPFMapList) UnmarshalBinary added in v0.15.7

func (m *BPFMapList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BPFMapList) Validate added in v0.15.7

func (m *BPFMapList) Validate(formats strfmt.Registry) error

Validate validates this b p f map list

type BPFMapProperties added in v0.15.7

type BPFMapProperties struct {

	// Name of the BPF map
	Name string `json:"name,omitempty"`

	// Size of the BPF map
	Size int64 `json:"size,omitempty"`
}

BPFMapProperties BPF map properties

swagger:model BPFMapProperties

func (*BPFMapProperties) ContextValidate added in v0.15.7

func (m *BPFMapProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this b p f map properties based on context it is used

func (*BPFMapProperties) MarshalBinary added in v0.15.7

func (m *BPFMapProperties) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BPFMapProperties) UnmarshalBinary added in v0.15.7

func (m *BPFMapProperties) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BPFMapProperties) Validate added in v0.15.7

func (m *BPFMapProperties) Validate(formats strfmt.Registry) error

Validate validates this b p f map properties

type BPFMapStatus added in v0.15.7

type BPFMapStatus struct {

	// Ratio of total system memory to use for dynamic sizing of BPF maps
	DynamicSizeRatio float64 `json:"dynamic-size-ratio,omitempty"`

	// BPF maps
	Maps []*BPFMapProperties `json:"maps"`
}

BPFMapStatus BPF map status

+k8s:deepcopy-gen=true

swagger:model BPFMapStatus

func (*BPFMapStatus) ContextValidate added in v0.15.7

func (m *BPFMapStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this b p f map status based on the context it is used

func (*BPFMapStatus) DeepCopy added in v0.15.7

func (in *BPFMapStatus) DeepCopy() *BPFMapStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BPFMapStatus.

func (*BPFMapStatus) DeepCopyInto added in v0.15.7

func (in *BPFMapStatus) DeepCopyInto(out *BPFMapStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BPFMapStatus) MarshalBinary added in v0.15.7

func (m *BPFMapStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BPFMapStatus) UnmarshalBinary added in v0.15.7

func (m *BPFMapStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BPFMapStatus) Validate added in v0.15.7

func (m *BPFMapStatus) Validate(formats strfmt.Registry) error

Validate validates this b p f map status

type BackendAddress

type BackendAddress struct {

	// Layer 3 address
	// Required: true
	IP *string `json:"ip"`

	// Optional name of the node on which this backend runs
	NodeName string `json:"nodeName,omitempty"`

	// Layer 4 port number
	Port uint16 `json:"port,omitempty"`

	// Indicator if this backend is preferred in the context of clustermesh service affinity. The value is set based
	// on related annotation of global service. Applicable for active state only.
	Preferred bool `json:"preferred,omitempty"`

	// Layer 4 protocol (TCP, UDP, etc)
	Protocol string `json:"protocol,omitempty"`

	// State of the backend for load-balancing service traffic
	// Enum: ["active","terminating","quarantined","maintenance"]
	State string `json:"state,omitempty"`

	// Backend weight
	Weight *uint16 `json:"weight,omitempty"`

	// Optional name of the zone in which this backend runs
	Zone string `json:"zone,omitempty"`
}

BackendAddress Service backend address

swagger:model BackendAddress

func (*BackendAddress) ContextValidate added in v0.15.7

func (m *BackendAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backend address based on context it is used

func (*BackendAddress) MarshalBinary added in v0.9.0

func (m *BackendAddress) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BackendAddress) UnmarshalBinary added in v0.9.0

func (m *BackendAddress) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BackendAddress) Validate

func (m *BackendAddress) Validate(formats strfmt.Registry) error

Validate validates this backend address

type BandwidthManager added in v0.15.7

type BandwidthManager struct {

	// congestion control
	// Enum: ["cubic","bbr"]
	CongestionControl string `json:"congestionControl,omitempty"`

	// devices
	Devices []string `json:"devices"`

	// Is bandwidth manager enabled
	Enabled bool `json:"enabled,omitempty"`
}

BandwidthManager Status of bandwidth manager

+k8s:deepcopy-gen=true

swagger:model BandwidthManager

func (*BandwidthManager) ContextValidate added in v0.15.7

func (m *BandwidthManager) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bandwidth manager based on context it is used

func (*BandwidthManager) DeepCopy added in v0.15.7

func (in *BandwidthManager) DeepCopy() *BandwidthManager

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BandwidthManager.

func (*BandwidthManager) DeepCopyInto added in v0.15.7

func (in *BandwidthManager) DeepCopyInto(out *BandwidthManager)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BandwidthManager) MarshalBinary added in v0.15.7

func (m *BandwidthManager) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BandwidthManager) UnmarshalBinary added in v0.15.7

func (m *BandwidthManager) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BandwidthManager) Validate added in v0.15.7

func (m *BandwidthManager) Validate(formats strfmt.Registry) error

Validate validates this bandwidth manager

type BgpFamily added in v0.15.7

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 added in v0.15.7

func (m *BgpFamily) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bgp family based on context it is used

func (*BgpFamily) MarshalBinary added in v0.15.7

func (m *BgpFamily) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpFamily) UnmarshalBinary added in v0.15.7

func (m *BgpFamily) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpFamily) Validate added in v0.15.7

func (m *BgpFamily) Validate(formats strfmt.Registry) error

Validate validates this bgp family

type BgpGracefulRestart added in v0.15.7

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 added in v0.15.7

func (m *BgpGracefulRestart) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bgp graceful restart based on context it is used

func (*BgpGracefulRestart) DeepCopy added in v0.15.7

func (in *BgpGracefulRestart) DeepCopy() *BgpGracefulRestart

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpGracefulRestart.

func (*BgpGracefulRestart) DeepCopyInto added in v0.15.7

func (in *BgpGracefulRestart) DeepCopyInto(out *BgpGracefulRestart)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpGracefulRestart) MarshalBinary added in v0.15.7

func (m *BgpGracefulRestart) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpGracefulRestart) UnmarshalBinary added in v0.15.7

func (m *BgpGracefulRestart) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpGracefulRestart) Validate added in v0.15.7

func (m *BgpGracefulRestart) Validate(formats strfmt.Registry) error

Validate validates this bgp graceful restart

type BgpNlri added in v0.15.7

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 added in v0.15.7

func (m *BgpNlri) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bgp nlri based on context it is used

func (*BgpNlri) MarshalBinary added in v0.15.7

func (m *BgpNlri) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpNlri) UnmarshalBinary added in v0.15.7

func (m *BgpNlri) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpNlri) Validate added in v0.15.7

func (m *BgpNlri) Validate(formats strfmt.Registry) error

Validate validates this bgp nlri

type BgpPath added in v0.15.7

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 added in v0.15.7

func (m *BgpPath) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bgp path based on the context it is used

func (*BgpPath) MarshalBinary added in v0.15.7

func (m *BgpPath) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpPath) UnmarshalBinary added in v0.15.7

func (m *BgpPath) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpPath) Validate added in v0.15.7

func (m *BgpPath) Validate(formats strfmt.Registry) error

Validate validates this bgp path

type BgpPathAttribute added in v0.15.7

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 added in v0.15.7

func (m *BgpPathAttribute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bgp path attribute based on context it is used

func (*BgpPathAttribute) MarshalBinary added in v0.15.7

func (m *BgpPathAttribute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpPathAttribute) UnmarshalBinary added in v0.15.7

func (m *BgpPathAttribute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpPathAttribute) Validate added in v0.15.7

func (m *BgpPathAttribute) Validate(formats strfmt.Registry) error

Validate validates this bgp path attribute

type BgpPeer added in v0.15.7

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 added in v0.15.7

func (m *BgpPeer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bgp peer based on the context it is used

func (*BgpPeer) DeepCopy added in v0.15.7

func (in *BgpPeer) DeepCopy() *BgpPeer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeer.

func (*BgpPeer) DeepCopyInto added in v0.15.7

func (in *BgpPeer) DeepCopyInto(out *BgpPeer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpPeer) MarshalBinary added in v0.15.7

func (m *BgpPeer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpPeer) UnmarshalBinary added in v0.15.7

func (m *BgpPeer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpPeer) Validate added in v0.15.7

func (m *BgpPeer) Validate(formats strfmt.Registry) error

Validate validates this bgp peer

type BgpPeerFamilies added in v0.15.7

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 added in v0.15.7

func (m *BgpPeerFamilies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this bgp peer families based on context it is used

func (*BgpPeerFamilies) DeepCopy added in v0.15.7

func (in *BgpPeerFamilies) DeepCopy() *BgpPeerFamilies

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BgpPeerFamilies.

func (*BgpPeerFamilies) DeepCopyInto added in v0.15.7

func (in *BgpPeerFamilies) DeepCopyInto(out *BgpPeerFamilies)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BgpPeerFamilies) MarshalBinary added in v0.15.7

func (m *BgpPeerFamilies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpPeerFamilies) UnmarshalBinary added in v0.15.7

func (m *BgpPeerFamilies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpPeerFamilies) Validate added in v0.15.7

func (m *BgpPeerFamilies) Validate(formats strfmt.Registry) error

Validate validates this bgp peer families

type BgpRoute added in v0.15.7

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 added in v0.15.7

func (m *BgpRoute) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bgp route based on the context it is used

func (*BgpRoute) MarshalBinary added in v0.15.7

func (m *BgpRoute) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpRoute) UnmarshalBinary added in v0.15.7

func (m *BgpRoute) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpRoute) Validate added in v0.15.7

func (m *BgpRoute) Validate(formats strfmt.Registry) error

Validate validates this bgp route

type BgpRoutePolicy added in v1.15.0

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 added in v1.15.0

func (m *BgpRoutePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bgp route policy based on the context it is used

func (*BgpRoutePolicy) MarshalBinary added in v1.15.0

func (m *BgpRoutePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpRoutePolicy) UnmarshalBinary added in v1.15.0

func (m *BgpRoutePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpRoutePolicy) Validate added in v1.15.0

func (m *BgpRoutePolicy) Validate(formats strfmt.Registry) error

Validate validates this bgp route policy

type BgpRoutePolicyPrefixMatch added in v1.15.0

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 added in v1.15.0

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 added in v1.15.0

func (m *BgpRoutePolicyPrefixMatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpRoutePolicyPrefixMatch) UnmarshalBinary added in v1.15.0

func (m *BgpRoutePolicyPrefixMatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpRoutePolicyPrefixMatch) Validate added in v1.15.0

func (m *BgpRoutePolicyPrefixMatch) Validate(formats strfmt.Registry) error

Validate validates this bgp route policy prefix match

type BgpRoutePolicyStatement added in v1.15.0

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 address families. If empty matches all address families.
	MatchFamilies []*BgpFamily `json:"match-families"`

	// 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 added in v1.15.0

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 added in v1.15.0

func (m *BgpRoutePolicyStatement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BgpRoutePolicyStatement) UnmarshalBinary added in v1.15.0

func (m *BgpRoutePolicyStatement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BgpRoutePolicyStatement) Validate added in v1.15.0

func (m *BgpRoutePolicyStatement) Validate(formats strfmt.Registry) error

Validate validates this bgp route policy statement

type CIDRList added in v0.15.7

type CIDRList struct {

	// list
	List []string `json:"list"`

	// revision
	Revision int64 `json:"revision,omitempty"`
}

CIDRList List of CIDRs

swagger:model CIDRList

func (*CIDRList) ContextValidate added in v0.15.7

func (m *CIDRList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c ID r list based on context it is used

func (*CIDRList) MarshalBinary added in v0.15.7

func (m *CIDRList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CIDRList) UnmarshalBinary added in v0.15.7

func (m *CIDRList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CIDRList) Validate added in v0.15.7

func (m *CIDRList) Validate(formats strfmt.Registry) error

Validate validates this c ID r list

type CIDRPolicy added in v0.15.7

type CIDRPolicy struct {

	// List of CIDR egress rules
	Egress []*PolicyRule `json:"egress"`

	// List of CIDR ingress rules
	Ingress []*PolicyRule `json:"ingress"`
}

CIDRPolicy CIDR endpoint policy

+k8s:deepcopy-gen=true

swagger:model CIDRPolicy

func (*CIDRPolicy) ContextValidate added in v0.15.7

func (m *CIDRPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c ID r policy based on the context it is used

func (*CIDRPolicy) DeepCopy added in v0.15.7

func (in *CIDRPolicy) DeepCopy() *CIDRPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CIDRPolicy.

func (*CIDRPolicy) DeepCopyInto added in v0.15.7

func (in *CIDRPolicy) DeepCopyInto(out *CIDRPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CIDRPolicy) MarshalBinary added in v0.15.7

func (m *CIDRPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CIDRPolicy) UnmarshalBinary added in v0.15.7

func (m *CIDRPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CIDRPolicy) Validate added in v0.15.7

func (m *CIDRPolicy) Validate(formats strfmt.Registry) error

Validate validates this c ID r policy

type CNIChainingStatus added in v0.15.7

type CNIChainingStatus struct {

	// mode
	// Enum: ["none","aws-cni","flannel","generic-veth","portmap"]
	Mode string `json:"mode,omitempty"`
}

CNIChainingStatus Status of CNI chaining

+k8s:deepcopy-gen=true

swagger:model CNIChainingStatus

func (*CNIChainingStatus) ContextValidate added in v0.15.7

func (m *CNIChainingStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c n i chaining status based on context it is used

func (*CNIChainingStatus) DeepCopy added in v0.15.7

func (in *CNIChainingStatus) DeepCopy() *CNIChainingStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIChainingStatus.

func (*CNIChainingStatus) DeepCopyInto added in v0.15.7

func (in *CNIChainingStatus) DeepCopyInto(out *CNIChainingStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CNIChainingStatus) MarshalBinary added in v0.15.7

func (m *CNIChainingStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CNIChainingStatus) UnmarshalBinary added in v0.15.7

func (m *CNIChainingStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CNIChainingStatus) Validate added in v0.15.7

func (m *CNIChainingStatus) Validate(formats strfmt.Registry) error

Validate validates this c n i chaining status

type CgroupContainerMetadata added in v0.15.7

type CgroupContainerMetadata struct {

	// cgroup id
	CgroupID uint64 `json:"cgroup-id,omitempty"`

	// cgroup path
	CgroupPath string `json:"cgroup-path,omitempty"`
}

CgroupContainerMetadata cgroup container metadata

swagger:model CgroupContainerMetadata

func (*CgroupContainerMetadata) ContextValidate added in v0.15.7

func (m *CgroupContainerMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cgroup container metadata based on context it is used

func (*CgroupContainerMetadata) MarshalBinary added in v0.15.7

func (m *CgroupContainerMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CgroupContainerMetadata) UnmarshalBinary added in v0.15.7

func (m *CgroupContainerMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CgroupContainerMetadata) Validate added in v0.15.7

func (m *CgroupContainerMetadata) Validate(formats strfmt.Registry) error

Validate validates this cgroup container metadata

type CgroupDumpMetadata added in v0.15.7

type CgroupDumpMetadata struct {

	// pod metadatas
	PodMetadatas []*CgroupPodMetadata `json:"pod-metadatas"`
}

CgroupDumpMetadata cgroup full metadata

swagger:model CgroupDumpMetadata

func (*CgroupDumpMetadata) ContextValidate added in v0.15.7

func (m *CgroupDumpMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cgroup dump metadata based on the context it is used

func (*CgroupDumpMetadata) MarshalBinary added in v0.15.7

func (m *CgroupDumpMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CgroupDumpMetadata) UnmarshalBinary added in v0.15.7

func (m *CgroupDumpMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CgroupDumpMetadata) Validate added in v0.15.7

func (m *CgroupDumpMetadata) Validate(formats strfmt.Registry) error

Validate validates this cgroup dump metadata

type CgroupPodMetadata added in v0.15.7

type CgroupPodMetadata struct {

	// containers
	Containers []*CgroupContainerMetadata `json:"containers"`

	// ips
	Ips []string `json:"ips"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`
}

CgroupPodMetadata cgroup pod metadata

swagger:model CgroupPodMetadata

func (*CgroupPodMetadata) ContextValidate added in v0.15.7

func (m *CgroupPodMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cgroup pod metadata based on the context it is used

func (*CgroupPodMetadata) MarshalBinary added in v0.15.7

func (m *CgroupPodMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CgroupPodMetadata) UnmarshalBinary added in v0.15.7

func (m *CgroupPodMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CgroupPodMetadata) Validate added in v0.15.7

func (m *CgroupPodMetadata) Validate(formats strfmt.Registry) error

Validate validates this cgroup pod metadata

type ClockSource added in v0.15.7

type ClockSource struct {

	// Kernel Hz
	Hertz int64 `json:"hertz,omitempty"`

	// Datapath clock source
	// Enum: ["ktime","jiffies"]
	Mode string `json:"mode,omitempty"`
}

ClockSource Status of BPF clock source

+k8s:deepcopy-gen=true

swagger:model ClockSource

func (*ClockSource) ContextValidate added in v0.15.7

func (m *ClockSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this clock source based on context it is used

func (*ClockSource) DeepCopy added in v0.15.7

func (in *ClockSource) DeepCopy() *ClockSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClockSource.

func (*ClockSource) DeepCopyInto added in v0.15.7

func (in *ClockSource) DeepCopyInto(out *ClockSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClockSource) MarshalBinary added in v0.15.7

func (m *ClockSource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClockSource) UnmarshalBinary added in v0.15.7

func (m *ClockSource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClockSource) Validate added in v0.15.7

func (m *ClockSource) Validate(formats strfmt.Registry) error

Validate validates this clock source

type ClusterMeshStatus added in v0.15.7

type ClusterMeshStatus struct {

	// List of remote clusters
	Clusters []*RemoteCluster `json:"clusters"`

	// Number of global services
	NumGlobalServices int64 `json:"num-global-services,omitempty"`
}

ClusterMeshStatus Status of ClusterMesh

+k8s:deepcopy-gen=true

swagger:model ClusterMeshStatus

func (*ClusterMeshStatus) ContextValidate added in v0.15.7

func (m *ClusterMeshStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster mesh status based on the context it is used

func (*ClusterMeshStatus) DeepCopy added in v0.15.7

func (in *ClusterMeshStatus) DeepCopy() *ClusterMeshStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterMeshStatus.

func (*ClusterMeshStatus) DeepCopyInto added in v0.15.7

func (in *ClusterMeshStatus) DeepCopyInto(out *ClusterMeshStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterMeshStatus) MarshalBinary added in v0.15.7

func (m *ClusterMeshStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMeshStatus) UnmarshalBinary added in v0.15.7

func (m *ClusterMeshStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMeshStatus) Validate added in v0.15.7

func (m *ClusterMeshStatus) Validate(formats strfmt.Registry) error

Validate validates this cluster mesh status

type ClusterNodeStatus added in v0.15.7

type ClusterNodeStatus struct {

	// ID that should be used by the client to receive a diff from the previous request
	ClientID int64 `json:"client-id,omitempty"`

	// List of known nodes
	NodesAdded []*NodeElement `json:"nodes-added"`

	// List of known nodes
	NodesRemoved []*NodeElement `json:"nodes-removed"`

	// Name of local node (if available)
	Self string `json:"self,omitempty"`
}

ClusterNodeStatus Status of cluster

swagger:model ClusterNodeStatus

func (*ClusterNodeStatus) ContextValidate added in v0.15.7

func (m *ClusterNodeStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster node status based on the context it is used

func (*ClusterNodeStatus) MarshalBinary added in v0.15.7

func (m *ClusterNodeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterNodeStatus) UnmarshalBinary added in v0.15.7

func (m *ClusterNodeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterNodeStatus) Validate added in v0.15.7

func (m *ClusterNodeStatus) Validate(formats strfmt.Registry) error

Validate validates this cluster node status

type ClusterNodesResponse added in v0.15.7

type ClusterNodesResponse struct {

	// List of known nodes
	Nodes []*NodeElement `json:"nodes"`

	// Name of local node (if available)
	Self string `json:"self,omitempty"`
}

ClusterNodesResponse cluster nodes response

swagger:model ClusterNodesResponse

func (*ClusterNodesResponse) ContextValidate added in v0.15.7

func (m *ClusterNodesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster nodes response based on the context it is used

func (*ClusterNodesResponse) MarshalBinary added in v0.15.7

func (m *ClusterNodesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterNodesResponse) UnmarshalBinary added in v0.15.7

func (m *ClusterNodesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterNodesResponse) Validate added in v0.15.7

func (m *ClusterNodesResponse) Validate(formats strfmt.Registry) error

Validate validates this cluster nodes response

type ClusterStatus added in v0.15.7

type ClusterStatus struct {

	// Status of local cilium-health daemon
	CiliumHealth *Status `json:"ciliumHealth,omitempty"`

	// List of known nodes
	Nodes []*NodeElement `json:"nodes"`

	// Name of local node (if available)
	Self string `json:"self,omitempty"`
}

ClusterStatus Status of cluster

+k8s:deepcopy-gen=true

swagger:model ClusterStatus

func (*ClusterStatus) ContextValidate added in v0.15.7

func (m *ClusterStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster status based on the context it is used

func (*ClusterStatus) DeepCopy added in v0.15.7

func (in *ClusterStatus) DeepCopy() *ClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.

func (*ClusterStatus) DeepCopyInto added in v0.15.7

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ClusterStatus) MarshalBinary added in v0.15.7

func (m *ClusterStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterStatus) UnmarshalBinary added in v0.15.7

func (m *ClusterStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterStatus) Validate added in v0.15.7

func (m *ClusterStatus) Validate(formats strfmt.Registry) error

Validate validates this cluster status

type ConfigurationMap

type ConfigurationMap map[string]string

ConfigurationMap Map of configuration key/value pairs.

swagger:model ConfigurationMap

func (ConfigurationMap) ContextValidate added in v0.15.7

func (m ConfigurationMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this configuration map based on context it is used

func (ConfigurationMap) Validate

func (m ConfigurationMap) Validate(formats strfmt.Registry) error

Validate validates this configuration map

type ControllerStatus added in v0.15.7

type ControllerStatus struct {

	// configuration
	Configuration *ControllerStatusConfiguration `json:"configuration,omitempty"`

	// Name of controller
	Name string `json:"name,omitempty"`

	// status
	Status *ControllerStatusStatus `json:"status,omitempty"`

	// UUID of controller
	// Format: uuid
	UUID strfmt.UUID `json:"uuid,omitempty"`
}

ControllerStatus Status of a controller

+k8s:deepcopy-gen=true

swagger:model ControllerStatus

func (*ControllerStatus) ContextValidate added in v0.15.7

func (m *ControllerStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this controller status based on the context it is used

func (*ControllerStatus) DeepCopy added in v0.15.7

func (in *ControllerStatus) DeepCopy() *ControllerStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatus.

func (*ControllerStatus) DeepCopyInto added in v0.15.7

func (in *ControllerStatus) DeepCopyInto(out *ControllerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ControllerStatus) MarshalBinary added in v0.15.7

func (m *ControllerStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ControllerStatus) UnmarshalBinary added in v0.15.7

func (m *ControllerStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ControllerStatus) Validate added in v0.15.7

func (m *ControllerStatus) Validate(formats strfmt.Registry) error

Validate validates this controller status

type ControllerStatusConfiguration added in v0.15.7

type ControllerStatusConfiguration struct {

	// Retry on error
	ErrorRetry bool `json:"error-retry,omitempty"`

	// Base error retry back-off time
	// Format: duration
	ErrorRetryBase strfmt.Duration `json:"error-retry-base,omitempty"`

	// Regular synchronization interval
	// Format: duration
	Interval strfmt.Duration `json:"interval,omitempty"`
}

ControllerStatusConfiguration Configuration of controller

+deepequal-gen=true +k8s:deepcopy-gen=true

swagger:model ControllerStatusConfiguration

func (*ControllerStatusConfiguration) ContextValidate added in v0.15.7

func (m *ControllerStatusConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this controller status configuration based on context it is used

func (*ControllerStatusConfiguration) DeepCopy added in v0.15.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatusConfiguration.

func (*ControllerStatusConfiguration) DeepCopyInto added in v0.15.7

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ControllerStatusConfiguration) DeepEqual added in v0.15.7

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*ControllerStatusConfiguration) MarshalBinary added in v0.15.7

func (m *ControllerStatusConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ControllerStatusConfiguration) UnmarshalBinary added in v0.15.7

func (m *ControllerStatusConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ControllerStatusConfiguration) Validate added in v0.15.7

func (m *ControllerStatusConfiguration) Validate(formats strfmt.Registry) error

Validate validates this controller status configuration

type ControllerStatusStatus added in v0.15.7

type ControllerStatusStatus struct {

	// Number of consecutive errors since last success
	ConsecutiveFailureCount int64 `json:"consecutive-failure-count,omitempty"`

	// Total number of failed runs
	FailureCount int64 `json:"failure-count,omitempty"`

	// Error message of last failed run
	LastFailureMsg string `json:"last-failure-msg,omitempty"`

	// Timestamp of last error
	// Format: date-time
	LastFailureTimestamp strfmt.DateTime `json:"last-failure-timestamp,omitempty"`

	// Timestamp of last success
	// Format: date-time
	LastSuccessTimestamp strfmt.DateTime `json:"last-success-timestamp,omitempty"`

	// Total number of successful runs
	SuccessCount int64 `json:"success-count,omitempty"`
}

ControllerStatusStatus Current status of controller

+k8s:deepcopy-gen=true

swagger:model ControllerStatusStatus

func (*ControllerStatusStatus) ContextValidate added in v0.15.7

func (m *ControllerStatusStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this controller status status based on context it is used

func (*ControllerStatusStatus) DeepCopy added in v0.15.7

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerStatusStatus.

func (*ControllerStatusStatus) DeepCopyInto added in v0.15.7

func (in *ControllerStatusStatus) DeepCopyInto(out *ControllerStatusStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ControllerStatusStatus) MarshalBinary added in v0.15.7

func (m *ControllerStatusStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ControllerStatusStatus) UnmarshalBinary added in v0.15.7

func (m *ControllerStatusStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ControllerStatusStatus) Validate added in v0.15.7

func (m *ControllerStatusStatus) Validate(formats strfmt.Registry) error

Validate validates this controller status status

type ControllerStatuses added in v0.15.7

type ControllerStatuses []*ControllerStatus

ControllerStatuses Collection of controller statuses

swagger:model ControllerStatuses

func (ControllerStatuses) ContextValidate added in v0.15.7

func (m ControllerStatuses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this controller statuses based on the context it is used

func (ControllerStatuses) Validate added in v0.15.7

func (m ControllerStatuses) Validate(formats strfmt.Registry) error

Validate validates this controller statuses

type DNSLookup added in v0.15.7

type DNSLookup struct {

	// The endpoint that made this lookup, or 0 for the agent itself.
	EndpointID int64 `json:"endpoint-id,omitempty"`

	// The absolute time when this data will expire in this cache
	// Format: date-time
	ExpirationTime strfmt.DateTime `json:"expiration-time,omitempty"`

	// DNS name
	Fqdn string `json:"fqdn,omitempty"`

	// IP addresses returned in this lookup
	Ips []string `json:"ips"`

	// The absolute time when this data was received
	// Format: date-time
	LookupTime strfmt.DateTime `json:"lookup-time,omitempty"`

	// The reason this FQDN IP association exists. Either a DNS lookup or an ongoing connection to an IP that was created by a DNS lookup.
	Source string `json:"source,omitempty"`

	// The TTL in the DNS response
	TTL int64 `json:"ttl,omitempty"`
}

DNSLookup An IP -> DNS mapping, with metadata

swagger:model DNSLookup

func (*DNSLookup) ContextValidate added in v0.15.7

func (m *DNSLookup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this DNS lookup based on context it is used

func (*DNSLookup) MarshalBinary added in v0.15.7

func (m *DNSLookup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSLookup) UnmarshalBinary added in v0.15.7

func (m *DNSLookup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSLookup) Validate added in v0.15.7

func (m *DNSLookup) Validate(formats strfmt.Registry) error

Validate validates this DNS lookup

type DaemonConfiguration added in v0.15.7

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 added in v0.15.7

func (m *DaemonConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this daemon configuration based on the context it is used

func (*DaemonConfiguration) MarshalBinary added in v0.15.7

func (m *DaemonConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DaemonConfiguration) UnmarshalBinary added in v0.15.7

func (m *DaemonConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DaemonConfiguration) Validate added in v0.15.7

func (m *DaemonConfiguration) Validate(formats strfmt.Registry) error

Validate validates this daemon configuration

type DaemonConfigurationSpec added in v0.15.7

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 added in v0.15.7

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 added in v0.15.7

func (m *DaemonConfigurationSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DaemonConfigurationSpec) UnmarshalBinary added in v0.15.7

func (m *DaemonConfigurationSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DaemonConfigurationSpec) Validate added in v0.15.7

func (m *DaemonConfigurationSpec) Validate(formats strfmt.Registry) error

Validate validates this daemon configuration spec

type DaemonConfigurationStatus added in v0.15.7

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]any `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"`

	// Enable route MTU for pod netns when CNI chaining is used
	EnableRouteMTUForCNIChaining bool `json:"enableRouteMTUForCNIChaining,omitempty"`

	// Immutable configuration (read-only)
	Immutable ConfigurationMap `json:"immutable,omitempty"`

	// Install ingress/egress routes through uplink on host for Pods when working with
	// delegated IPAM plugin.
	//
	InstallUplinkRoutesForDelegatedIPAM bool `json:"installUplinkRoutesForDelegatedIPAM,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 added in v0.15.7

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 added in v0.15.7

func (m *DaemonConfigurationStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DaemonConfigurationStatus) UnmarshalBinary added in v0.15.7

func (m *DaemonConfigurationStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DaemonConfigurationStatus) Validate added in v0.15.7

func (m *DaemonConfigurationStatus) Validate(formats strfmt.Registry) error

Validate validates this daemon configuration status

type DaemonConfigurationStatusMasqueradeProtocols added in v0.15.7

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 added in v0.15.7

ContextValidate validates this daemon configuration status masquerade protocols based on context it is used

func (*DaemonConfigurationStatusMasqueradeProtocols) MarshalBinary added in v0.15.7

MarshalBinary interface implementation

func (*DaemonConfigurationStatusMasqueradeProtocols) UnmarshalBinary added in v0.15.7

UnmarshalBinary interface implementation

func (*DaemonConfigurationStatusMasqueradeProtocols) Validate added in v0.15.7

Validate validates this daemon configuration status masquerade protocols

type DatapathMode added in v0.15.7

type DatapathMode string

DatapathMode Datapath mode

swagger:model DatapathMode

const (

	// DatapathModeVeth captures enum value "veth"
	DatapathModeVeth DatapathMode = "veth"

	// DatapathModeNetkit captures enum value "netkit"
	DatapathModeNetkit DatapathMode = "netkit"

	// DatapathModeNetkitDashL2 captures enum value "netkit-l2"
	DatapathModeNetkitDashL2 DatapathMode = "netkit-l2"
)

func NewDatapathMode added in v0.15.7

func NewDatapathMode(value DatapathMode) *DatapathMode

func (DatapathMode) ContextValidate added in v0.15.7

func (m DatapathMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datapath mode based on context it is used

func (DatapathMode) Pointer added in v0.15.7

func (m DatapathMode) Pointer() *DatapathMode

Pointer returns a pointer to a freshly-allocated DatapathMode.

func (DatapathMode) Validate added in v0.15.7

func (m DatapathMode) Validate(formats strfmt.Registry) error

Validate validates this datapath mode

type DebugInfo added in v0.15.7

type DebugInfo struct {

	// cilium memory map
	CiliumMemoryMap string `json:"cilium-memory-map,omitempty"`

	// cilium nodemonitor memory map
	CiliumNodemonitorMemoryMap string `json:"cilium-nodemonitor-memory-map,omitempty"`

	// cilium status
	CiliumStatus *StatusResponse `json:"cilium-status,omitempty"`

	// cilium version
	CiliumVersion string `json:"cilium-version,omitempty"`

	// encryption
	Encryption *DebugInfoEncryption `json:"encryption,omitempty"`

	// endpoint list
	EndpointList []*Endpoint `json:"endpoint-list"`

	// environment variables
	EnvironmentVariables []string `json:"environment-variables"`

	// kernel version
	KernelVersion string `json:"kernel-version,omitempty"`

	// policy
	Policy *Policy `json:"policy,omitempty"`

	// service list
	ServiceList []*Service `json:"service-list"`

	// subsystem
	Subsystem map[string]string `json:"subsystem,omitempty"`
}

DebugInfo groups some debugging related information on the agent

swagger:model DebugInfo

func (*DebugInfo) ContextValidate added in v0.15.7

func (m *DebugInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this debug info based on the context it is used

func (*DebugInfo) MarshalBinary added in v0.15.7

func (m *DebugInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DebugInfo) UnmarshalBinary added in v0.15.7

func (m *DebugInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DebugInfo) Validate added in v0.15.7

func (m *DebugInfo) Validate(formats strfmt.Registry) error

Validate validates this debug info

type DebugInfoEncryption added in v0.15.7

type DebugInfoEncryption struct {

	// Status of the WireGuard agent
	Wireguard *WireguardStatus `json:"wireguard,omitempty"`
}

DebugInfoEncryption debug info encryption

swagger:model DebugInfoEncryption

func (*DebugInfoEncryption) ContextValidate added in v0.15.7

func (m *DebugInfoEncryption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this debug info encryption based on the context it is used

func (*DebugInfoEncryption) MarshalBinary added in v0.15.7

func (m *DebugInfoEncryption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DebugInfoEncryption) UnmarshalBinary added in v0.15.7

func (m *DebugInfoEncryption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DebugInfoEncryption) Validate added in v0.15.7

func (m *DebugInfoEncryption) Validate(formats strfmt.Registry) error

Validate validates this debug info encryption

type EncryptionStatus added in v0.15.7

type EncryptionStatus struct {

	// Status of the IPsec agent
	Ipsec *IPsecStatus `json:"ipsec,omitempty"`

	// mode
	// Enum: ["Disabled","IPsec","Wireguard"]
	Mode string `json:"mode,omitempty"`

	// Human readable error/warning message
	Msg string `json:"msg,omitempty"`

	// Status of the WireGuard agent
	Wireguard *WireguardStatus `json:"wireguard,omitempty"`
}

EncryptionStatus Status of transparent encryption

+k8s:deepcopy-gen=true

swagger:model EncryptionStatus

func (*EncryptionStatus) ContextValidate added in v0.15.7

func (m *EncryptionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this encryption status based on the context it is used

func (*EncryptionStatus) DeepCopy added in v0.15.7

func (in *EncryptionStatus) DeepCopy() *EncryptionStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionStatus.

func (*EncryptionStatus) DeepCopyInto added in v0.15.7

func (in *EncryptionStatus) DeepCopyInto(out *EncryptionStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*EncryptionStatus) MarshalBinary added in v0.15.7

func (m *EncryptionStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EncryptionStatus) UnmarshalBinary added in v0.15.7

func (m *EncryptionStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EncryptionStatus) Validate added in v0.15.7

func (m *EncryptionStatus) Validate(formats strfmt.Registry) error

Validate validates this encryption status

type Endpoint

type Endpoint struct {

	// The cilium-agent-local ID of the endpoint
	ID int64 `json:"id,omitempty"`

	// The desired configuration state of the endpoint
	Spec *EndpointConfigurationSpec `json:"spec,omitempty"`

	// The desired and realized configuration state of the endpoint
	Status *EndpointStatus `json:"status,omitempty"`
}

Endpoint An endpoint is a namespaced network interface to which cilium applies policies

swagger:model Endpoint

func (*Endpoint) ContextValidate added in v0.15.7

func (m *Endpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoint based on the context it is used

func (*Endpoint) MarshalBinary added in v0.9.0

func (m *Endpoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Endpoint) UnmarshalBinary added in v0.9.0

func (m *Endpoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Endpoint) Validate

func (m *Endpoint) Validate(formats strfmt.Registry) error

Validate validates this endpoint

type EndpointBatchDeleteRequest added in v0.15.7

type EndpointBatchDeleteRequest struct {

	// ID assigned by container runtime
	ContainerID string `json:"container-id,omitempty"`
}

EndpointBatchDeleteRequest Properties selecting a batch of endpoints to delete.

swagger:model EndpointBatchDeleteRequest

func (*EndpointBatchDeleteRequest) ContextValidate added in v0.15.7

func (m *EndpointBatchDeleteRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint batch delete request based on context it is used

func (*EndpointBatchDeleteRequest) MarshalBinary added in v0.15.7

func (m *EndpointBatchDeleteRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointBatchDeleteRequest) UnmarshalBinary added in v0.15.7

func (m *EndpointBatchDeleteRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointBatchDeleteRequest) Validate added in v0.15.7

func (m *EndpointBatchDeleteRequest) Validate(formats strfmt.Registry) error

Validate validates this endpoint batch delete request

type EndpointChangeRequest

type EndpointChangeRequest struct {

	// addressing
	Addressing *AddressPair `json:"addressing,omitempty"`

	// ID assigned by container runtime
	ContainerID string `json:"container-id,omitempty"`

	// Name of network device in container netns
	ContainerInterfaceName string `json:"container-interface-name,omitempty"`

	// Name assigned to container
	ContainerName string `json:"container-name,omitempty"`

	// datapath configuration
	DatapathConfiguration *EndpointDatapathConfiguration `json:"datapath-configuration,omitempty"`

	// ID of datapath tail call map
	DatapathMapID int64 `json:"datapath-map-id,omitempty"`

	// Disables lookup using legacy endpoint identifiers (container name, container id, pod name) for this endpoint
	DisableLegacyIdentifiers bool `json:"disable-legacy-identifiers,omitempty"`

	// Docker endpoint ID
	DockerEndpointID string `json:"docker-endpoint-id,omitempty"`

	// Docker network ID
	DockerNetworkID string `json:"docker-network-id,omitempty"`

	// MAC address
	HostMac string `json:"host-mac,omitempty"`

	// Local endpoint ID
	ID int64 `json:"id,omitempty"`

	// Index of network device in host netns
	InterfaceIndex int64 `json:"interface-index,omitempty"`

	// Name of network device in host netns
	InterfaceName string `json:"interface-name,omitempty"`

	// Kubernetes namespace name
	K8sNamespace string `json:"k8s-namespace,omitempty"`

	// Kubernetes pod name
	K8sPodName string `json:"k8s-pod-name,omitempty"`

	// Kubernetes pod UID
	K8sUID string `json:"k8s-uid,omitempty"`

	// Labels describing the identity
	Labels Labels `json:"labels,omitempty"`

	// MAC address
	Mac string `json:"mac,omitempty"`

	// Network namespace cookie
	NetnsCookie string `json:"netns-cookie,omitempty"`

	// Index of network device from which an IP was used as endpoint IP. Only relevant for ENI environments.
	ParentInterfaceIndex int64 `json:"parent-interface-index,omitempty"`

	// Process ID of the workload belonging to this endpoint
	Pid int64 `json:"pid,omitempty"`

	// Whether policy enforcement is enabled or not
	PolicyEnabled bool `json:"policy-enabled,omitempty"`

	// Properties is used to store information about the endpoint at creation. Useful for tests.
	Properties map[string]any `json:"properties,omitempty"`

	// Current state of endpoint
	// Required: true
	State *EndpointState `json:"state"`

	// Whether to build an endpoint synchronously
	//
	SyncBuildEndpoint bool `json:"sync-build-endpoint,omitempty"`
}

EndpointChangeRequest Structure which contains the mutable elements of an Endpoint.

swagger:model EndpointChangeRequest

func (*EndpointChangeRequest) ContextValidate added in v0.15.7

func (m *EndpointChangeRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoint change request based on the context it is used

func (*EndpointChangeRequest) MarshalBinary added in v0.9.0

func (m *EndpointChangeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointChangeRequest) UnmarshalBinary added in v0.9.0

func (m *EndpointChangeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointChangeRequest) Validate

func (m *EndpointChangeRequest) Validate(formats strfmt.Registry) error

Validate validates this endpoint change request

type EndpointConfigurationSpec added in v0.15.7

type EndpointConfigurationSpec struct {

	// the endpoint's labels
	LabelConfiguration *LabelConfigurationSpec `json:"label-configuration,omitempty"`

	// Changeable configuration
	Options ConfigurationMap `json:"options,omitempty"`
}

EndpointConfigurationSpec An endpoint's configuration

swagger:model EndpointConfigurationSpec

func (*EndpointConfigurationSpec) ContextValidate added in v0.15.7

func (m *EndpointConfigurationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoint configuration spec based on the context it is used

func (*EndpointConfigurationSpec) MarshalBinary added in v0.15.7

func (m *EndpointConfigurationSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointConfigurationSpec) UnmarshalBinary added in v0.15.7

func (m *EndpointConfigurationSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointConfigurationSpec) Validate added in v0.15.7

func (m *EndpointConfigurationSpec) Validate(formats strfmt.Registry) error

Validate validates this endpoint configuration spec

type EndpointConfigurationStatus added in v0.15.7

type EndpointConfigurationStatus struct {

	// Most recent error, if applicable
	Error Error `json:"error,omitempty"`

	// Immutable configuration (read-only)
	Immutable ConfigurationMap `json:"immutable,omitempty"`

	// currently applied changeable configuration
	Realized *EndpointConfigurationSpec `json:"realized,omitempty"`
}

EndpointConfigurationStatus An endpoint's configuration

swagger:model EndpointConfigurationStatus

func (*EndpointConfigurationStatus) ContextValidate added in v0.15.7

func (m *EndpointConfigurationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoint configuration status based on the context it is used

func (*EndpointConfigurationStatus) MarshalBinary added in v0.15.7

func (m *EndpointConfigurationStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointConfigurationStatus) UnmarshalBinary added in v0.15.7

func (m *EndpointConfigurationStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointConfigurationStatus) Validate added in v0.15.7

func (m *EndpointConfigurationStatus) Validate(formats strfmt.Registry) error

Validate validates this endpoint configuration status

type EndpointDatapathConfiguration added in v0.15.7

type EndpointDatapathConfiguration struct {

	// Disable source IP verification for the endpoint.
	//
	DisableSipVerification bool `json:"disable-sip-verification,omitempty"`

	// Indicates that IPAM is done external to Cilium. This will prevent the IP from being released and re-allocation of the IP address is skipped on restore.
	//
	ExternalIpam bool `json:"external-ipam,omitempty"`

	// Installs a route in the Linux routing table pointing to the device of the endpoint's interface.
	//
	InstallEndpointRoute bool `json:"install-endpoint-route,omitempty"`

	// Enable ARP passthrough mode
	RequireArpPassthrough bool `json:"require-arp-passthrough,omitempty"`

	// Endpoint requires a host-facing egress program to be attached to implement ingress policy and reverse NAT.
	//
	RequireEgressProg bool `json:"require-egress-prog,omitempty"`

	// Endpoint requires BPF routing to be enabled, when disabled, routing is delegated to Linux routing.
	//
	RequireRouting *bool `json:"require-routing,omitempty"`
}

EndpointDatapathConfiguration Datapath configuration to be used for the endpoint

swagger:model EndpointDatapathConfiguration

func (*EndpointDatapathConfiguration) ContextValidate added in v0.15.7

func (m *EndpointDatapathConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint datapath configuration based on context it is used

func (*EndpointDatapathConfiguration) MarshalBinary added in v0.15.7

func (m *EndpointDatapathConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointDatapathConfiguration) UnmarshalBinary added in v0.15.7

func (m *EndpointDatapathConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointDatapathConfiguration) Validate added in v0.15.7

func (m *EndpointDatapathConfiguration) Validate(formats strfmt.Registry) error

Validate validates this endpoint datapath configuration

type EndpointHealth added in v0.15.7

type EndpointHealth struct {

	// bpf
	Bpf EndpointHealthStatus `json:"bpf,omitempty"`

	// Is this endpoint reachable
	Connected bool `json:"connected,omitempty"`

	// overall health
	OverallHealth EndpointHealthStatus `json:"overallHealth,omitempty"`

	// policy
	Policy EndpointHealthStatus `json:"policy,omitempty"`
}

EndpointHealth Health of the endpoint

+deepequal-gen=true

swagger:model EndpointHealth

func (*EndpointHealth) ContextValidate added in v0.15.7

func (m *EndpointHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this endpoint health based on the context it is used

func (*EndpointHealth) DeepEqual added in v0.15.7

func (in *EndpointHealth) DeepEqual(other *EndpointHealth) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointHealth) MarshalBinary added in v0.15.7

func (m *EndpointHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EndpointHealth) UnmarshalBinary added in v0.15.7

func (m *EndpointHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EndpointHealth) Validate added in v0.15.7

func (m *EndpointHealth) Validate(formats strfmt.Registry) error

Validate validates this endpoint health

type EndpointHealthStatus added in v0.15.7

type EndpointHealthStatus string

EndpointHealthStatus A common set of statuses for endpoint health * “OK“ = All components operational * “Bootstrap“ = This component is being created * “Pending“ = A change is being processed to be applied * “Warning“ = This component is not applying up-to-date policies (but is still applying the previous version) * “Failure“ = An error has occurred and no policy is being applied * “Disabled“ = This endpoint is disabled and will not handle traffic

swagger:model EndpointHealthStatus

const (

	// EndpointHealthStatusOK captures enum value "OK"
	EndpointHealthStatusOK EndpointHealthStatus = "OK"

	// EndpointHealthStatusBootstrap captures enum value "Bootstrap"
	EndpointHealthStatusBootstrap EndpointHealthStatus = "Bootstrap"

	// EndpointHealthStatusPending captures enum value "Pending"
	EndpointHealthStatusPending EndpointHealthStatus = "Pending"

	// EndpointHealthStatusWarning captures enum value "Warning"
	EndpointHealthStatusWarning EndpointHealthStatus = "Warning"

	// EndpointHealthStatusFailure captures enum value "Failure"
	EndpointHealthStatusFailure EndpointHealthStatus = "Failure"

	// EndpointHealthStatusDisabled captures enum value "Disabled"
	EndpointHealthStatusDisabled EndpointHealthStatus = "Disabled"
)

func NewEndpointHealthStatus added in v0.15.7

func NewEndpointHealthStatus(value EndpointHealthStatus) *EndpointHealthStatus

func (EndpointHealthStatus) ContextValidate added in v0.15.7

func (m EndpointHealthStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint health status based on context it is used

func (EndpointHealthStatus) Pointer added in v0.15.7

Pointer returns a pointer to a freshly-allocated EndpointHealthStatus.

func (EndpointHealthStatus) Validate added in v0.15.7

func (m EndpointHealthStatus) Validate(formats strfmt.Registry) error

Validate validates this endpoint health status

type EndpointIdentifiers added in v0.15.7

type EndpointIdentifiers struct {

	// ID assigned to this attachment by container runtime
	CniAttachmentID string `json:"cni-attachment-id,omitempty"`

	// ID assigned by container runtime (deprecated, may not be unique)
	ContainerID string `json:"container-id,omitempty"`

	// Name assigned to container (deprecated, may not be unique)
	ContainerName string `json:"container-name,omitempty"`

	// Docker endpoint ID
	DockerEndpointID string `json:"docker-endpoint-id,omitempty"`

	// Docker network ID
	DockerNetworkID string `json:"docker-network-id,omitempty"`

	// K8s namespace for this endpoint (deprecated, may not be unique)
	K8sNamespace string `json:"k8s-namespace,omitempty"`

	// K8s pod name for this endpoint (deprecated, may not be unique)
	K8sPodName string `json:"k8s-pod-name,omitempty"`

	// K8s pod for this endpoint (deprecated, may not be unique)
	PodName string `json:"pod-name,omitempty"`
}

EndpointIdentifiers Unique identifiers for this endpoint from outside cilium

+deepequal-gen=true

swagger:model EndpointIdentifiers

func (*EndpointIdentifiers) ContextValidate added in v0.15.7

func (m *EndpointIdentifiers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this endpoint identifiers based on context it is used

func (*EndpointIdentifiers) DeepEqual added in v0.15.7

func (in *EndpointIdentifiers) DeepEqual(other *EndpointIdentifiers) bool

DeepEqual is an autogenerated deepequal function, deeply comparing the receiver with other. in must be non-nil.

func (*EndpointIdentifiers) MarshalBinary added in v0.15.7

func (m *