models

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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 (

	// 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 (

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

	// HostRoutingModeLegacy captures enum value "Legacy"
	HostRoutingModeLegacy string = "Legacy"
)
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 (

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

	// KubeProxyReplacementModeStrict captures enum value "Strict"
	KubeProxyReplacementModeStrict string = "Strict"

	// KubeProxyReplacementModeProbe captures enum value "Probe"
	KubeProxyReplacementModeProbe string = "Probe"

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

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

	// KubeProxyReplacementFeaturesNodePortAlgorithmMaglev captures enum value "Maglev"
	KubeProxyReplacementFeaturesNodePortAlgorithmMaglev string = "Maglev"
)
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 (

	// 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 (

	// 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 (

	// 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 v1.14.0

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 v1.5.0

type AddressPair struct {

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

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

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

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

AddressPair Addressing information of an endpoint

swagger:model AddressPair

func (*AddressPair) ContextValidate added in v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*AddressPair) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*AddressPair) Validate added in v1.5.0

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

Validate validates this address pair

type AllocationMap added in v1.5.0

type AllocationMap map[string]string

AllocationMap Map of allocated IPs

swagger:model AllocationMap

func (AllocationMap) ContextValidate added in v1.14.0

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 v1.5.0

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

Validate validates this allocation map

type BPFMap added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*BPFMap) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*BPFMap) Validate added in v1.5.0

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

Validate validates this b p f map

type BPFMapEntry added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*BPFMapEntry) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*BPFMapEntry) Validate added in v1.5.0

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

Validate validates this b p f map entry

type BPFMapList added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*BPFMapList) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*BPFMapList) Validate added in v1.5.0

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

Validate validates this b p f map list

type BPFMapProperties added in v1.14.0

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 v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*BPFMapProperties) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*BPFMapProperties) Validate added in v1.14.0

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

Validate validates this b p f map properties

type BPFMapStatus added in v1.14.0

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 v1.14.0

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 v1.14.0

func (in *BPFMapStatus) DeepCopy() *BPFMapStatus

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

func (*BPFMapStatus) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*BPFMapStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*BPFMapStatus) Validate added in v1.14.0

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

	// 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"`
}

BackendAddress Service backend address

swagger:model BackendAddress

func (*BackendAddress) ContextValidate added in v1.14.0

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 v1.14.0

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 v1.14.0

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 v1.14.0

func (in *BandwidthManager) DeepCopy() *BandwidthManager

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

func (*BandwidthManager) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*BandwidthManager) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*BandwidthManager) Validate added in v1.14.0

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

Validate validates this bandwidth manager

type CIDRList added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*CIDRList) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*CIDRList) Validate added in v1.5.0

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

Validate validates this c ID r list

type CIDRPolicy added in v1.5.0

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 v1.14.0

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 v1.14.0

func (in *CIDRPolicy) DeepCopy() *CIDRPolicy

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

func (*CIDRPolicy) DeepCopyInto added in v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*CIDRPolicy) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*CIDRPolicy) Validate added in v1.5.0

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

Validate validates this c ID r policy

type CNIChainingStatus added in v1.14.0

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 v1.14.0

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 v1.14.0

func (in *CNIChainingStatus) DeepCopy() *CNIChainingStatus

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

func (*CNIChainingStatus) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*CNIChainingStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*CNIChainingStatus) Validate added in v1.14.0

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

Validate validates this c n i chaining status

type CgroupContainerMetadata added in v1.14.0

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 v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*CgroupContainerMetadata) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*CgroupContainerMetadata) Validate added in v1.14.0

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

Validate validates this cgroup container metadata

type CgroupDumpMetadata added in v1.14.0

type CgroupDumpMetadata struct {

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

CgroupDumpMetadata cgroup full metadata

swagger:model CgroupDumpMetadata

func (*CgroupDumpMetadata) ContextValidate added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*CgroupDumpMetadata) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*CgroupDumpMetadata) Validate added in v1.14.0

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

Validate validates this cgroup dump metadata

type CgroupPodMetadata added in v1.14.0

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 v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*CgroupPodMetadata) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*CgroupPodMetadata) Validate added in v1.14.0

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

Validate validates this cgroup pod metadata

type ClockSource added in v1.14.0

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 v1.14.0

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 v1.14.0

func (in *ClockSource) DeepCopy() *ClockSource

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

func (*ClockSource) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*ClockSource) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*ClockSource) Validate added in v1.14.0

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

Validate validates this clock source

type ClusterMeshStatus added in v1.14.0

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 v1.14.0

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 v1.14.0

func (in *ClusterMeshStatus) DeepCopy() *ClusterMeshStatus

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

func (*ClusterMeshStatus) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*ClusterMeshStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*ClusterMeshStatus) Validate added in v1.14.0

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

Validate validates this cluster mesh status

type ClusterNodeStatus added in v1.6.0

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 v1.14.0

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 v1.6.0

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

MarshalBinary interface implementation

func (*ClusterNodeStatus) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*ClusterNodeStatus) Validate added in v1.6.0

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

Validate validates this cluster node status

type ClusterNodesResponse added in v1.6.0

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 v1.14.0

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 v1.6.0

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

MarshalBinary interface implementation

func (*ClusterNodesResponse) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*ClusterNodesResponse) Validate added in v1.6.0

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

Validate validates this cluster nodes response

type ClusterStatus added in v1.5.0

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 v1.14.0

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 v1.5.0

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto added in v1.5.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*ClusterStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ClusterStatus) Validate added in v1.5.0

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 v1.14.0

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 v1.5.0

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 v1.14.0

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 v1.5.0

func (in *ControllerStatus) DeepCopy() *ControllerStatus

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

func (*ControllerStatus) DeepCopyInto added in v1.5.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*ControllerStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ControllerStatus) Validate added in v1.5.0

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

Validate validates this controller status

type ControllerStatusConfiguration added in v1.5.0

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 v1.14.0

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 v1.14.0

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

func (*ControllerStatusConfiguration) DeepCopyInto added in v1.14.0

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

func (*ControllerStatusConfiguration) DeepEqual added in v1.14.0

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

func (*ControllerStatusConfiguration) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ControllerStatusConfiguration) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ControllerStatusConfiguration) Validate added in v1.5.0

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

Validate validates this controller status configuration

type ControllerStatusStatus added in v1.5.0

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 v1.14.0

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 v1.5.0

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

func (*ControllerStatusStatus) DeepCopyInto added in v1.5.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*ControllerStatusStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ControllerStatusStatus) Validate added in v1.5.0

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

Validate validates this controller status status

type ControllerStatuses added in v1.5.0

type ControllerStatuses []*ControllerStatus

ControllerStatuses Collection of controller statuses

swagger:model ControllerStatuses

func (ControllerStatuses) ContextValidate added in v1.14.0

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 v1.5.0

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

Validate validates this controller statuses

type DNSLookup added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*DNSLookup) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DNSLookup) Validate added in v1.5.0

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

Validate validates this DNS lookup

type DaemonConfiguration added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*DaemonConfiguration) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DaemonConfiguration) Validate added in v1.5.0

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

Validate validates this daemon configuration

type DaemonConfigurationSpec added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*DaemonConfigurationSpec) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DaemonConfigurationSpec) Validate added in v1.5.0

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

Validate validates this daemon configuration spec

type DaemonConfigurationStatus added in v1.5.0

type DaemonConfigurationStatus struct {

	// Maximum GRO size on workload facing devices
	GROMaxSize int64 `json:"GROMaxSize,omitempty"`

	// Maximum 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"`

	// 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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*DaemonConfigurationStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DaemonConfigurationStatus) Validate added in v1.5.0

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

Validate validates this daemon configuration status

type DaemonConfigurationStatusMasqueradeProtocols added in v1.14.0

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 v1.14.0

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

func (*DaemonConfigurationStatusMasqueradeProtocols) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*DaemonConfigurationStatusMasqueradeProtocols) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*DaemonConfigurationStatusMasqueradeProtocols) Validate added in v1.14.0

Validate validates this daemon configuration status masquerade protocols

type DatapathMode added in v1.5.0

type DatapathMode string

DatapathMode Datapath mode

swagger:model DatapathMode

const (

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

func NewDatapathMode added in v1.14.0

func NewDatapathMode(value DatapathMode) *DatapathMode

func (DatapathMode) ContextValidate added in v1.14.0

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 v1.14.0

func (m DatapathMode) Pointer() *DatapathMode

Pointer returns a pointer to a freshly-allocated DatapathMode.

func (DatapathMode) Validate added in v1.5.0

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

Validate validates this datapath mode

type DebugInfo added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*DebugInfo) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*DebugInfo) Validate added in v1.5.0

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

Validate validates this debug info

type DebugInfoEncryption added in v1.14.0

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 v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*DebugInfoEncryption) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*DebugInfoEncryption) Validate added in v1.14.0

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

Validate validates this debug info encryption

type EncryptionStatus added in v1.14.0

type EncryptionStatus struct {

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

	// Human readable status/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 v1.14.0

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 v1.14.0

func (in *EncryptionStatus) DeepCopy() *EncryptionStatus

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

func (*EncryptionStatus) DeepCopyInto added in v1.14.0

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 v1.14.0

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

MarshalBinary interface implementation

func (*EncryptionStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*EncryptionStatus) Validate added in v1.14.0

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 v1.14.0

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 EndpointChangeRequest

type EndpointChangeRequest struct {

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

	// ID assigned by container runtime
	ContainerID string `json:"container-id,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"`

	// 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
	InterfaceIndex int64 `json:"interface-index,omitempty"`

	// Name of network device
	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"`

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

	// MAC address
	Mac string `json:"mac,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"`

	// 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 v1.14.0

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 v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*EndpointConfigurationSpec) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointConfigurationSpec) Validate added in v1.5.0

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

Validate validates this endpoint configuration spec

type EndpointConfigurationStatus added in v1.5.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*EndpointConfigurationStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointConfigurationStatus) Validate added in v1.5.0

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

Validate validates this endpoint configuration status

type EndpointDatapathConfiguration added in v1.6.0

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 v1.14.0

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 v1.6.0

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

MarshalBinary interface implementation

func (*EndpointDatapathConfiguration) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*EndpointDatapathConfiguration) Validate added in v1.6.0

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

Validate validates this endpoint datapath configuration

type EndpointHealth added in v1.5.0

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 v1.14.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*EndpointHealth) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointHealth) Validate added in v1.5.0

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

Validate validates this endpoint health

type EndpointHealthStatus added in v1.5.0

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 v1.14.0

func NewEndpointHealthStatus(value EndpointHealthStatus) *EndpointHealthStatus

func (EndpointHealthStatus) ContextValidate added in v1.14.0

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 v1.14.0

Pointer returns a pointer to a freshly-allocated EndpointHealthStatus.

func (EndpointHealthStatus) Validate added in v1.5.0

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

Validate validates this endpoint health status

type EndpointIdentifiers added in v1.5.0

type EndpointIdentifiers struct {

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

	// Name assigned to container
	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
	K8sNamespace string `json:"k8s-namespace,omitempty"`

	// K8s pod name for this endpoint
	K8sPodName string `json:"k8s-pod-name,omitempty"`

	// K8s pod for this endpoint(Deprecated, use K8sPodName and K8sNamespace instead)
	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 v1.14.0

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 v1.14.0

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 v1.5.0

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

MarshalBinary interface implementation

func (*EndpointIdentifiers) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointIdentifiers) Validate added in v1.5.0

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

Validate validates this endpoint identifiers

type EndpointNetworking added in v1.5.0

type EndpointNetworking struct {

	// IP4/6 addresses assigned to this Endpoint
	Addressing []*AddressPair `json:"addressing"`

	// host addressing
	HostAddressing *NodeAddressing `json:"host-addressing,omitempty"`

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

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

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

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

EndpointNetworking Unique identifiers for this endpoint from outside cilium

swagger:model EndpointNetworking

func (*EndpointNetworking) ContextValidate added in v1.14.0

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

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

func (*EndpointNetworking) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*EndpointNetworking) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointNetworking) Validate added in v1.5.0

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

Validate validates this endpoint networking

type EndpointPolicy

type EndpointPolicy struct {

	// List of identities to which this endpoint is allowed to communicate
	//
	AllowedEgressIdentities []int64 `json:"allowed-egress-identities"`

	// List of identities allowed to communicate to this endpoint
	//
	AllowedIngressIdentities []int64 `json:"allowed-ingress-identities"`

	// Build number of calculated policy in use
	Build int64 `json:"build,omitempty"`

	// cidr policy
	CidrPolicy *CIDRPolicy `json:"cidr-policy,omitempty"`

	// List of identities to which this endpoint is not allowed to communicate
	//
	DeniedEgressIdentities []int64 `json:"denied-egress-identities"`

	// List of identities not allowed to communicate to this endpoint
	//
	DeniedIngressIdentities []int64 `json:"denied-ingress-identities"`

	// Own identity of endpoint
	ID int64 `json:"id,omitempty"`

	// l4
	L4 *L4Policy `json:"l4,omitempty"`

	// Whether policy enforcement is enabled (ingress, egress, both or none)
	PolicyEnabled EndpointPolicyEnabled `json:"policy-enabled,omitempty"`

	// The agent-local policy revision
	PolicyRevision int64 `json:"policy-revision,omitempty"`
}

EndpointPolicy Policy information of an endpoint

+k8s:deepcopy-gen=true

swagger:model EndpointPolicy

func (*EndpointPolicy) ContextValidate added in v1.14.0

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

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

func (*EndpointPolicy) DeepCopy added in v1.14.0

func (in *EndpointPolicy) DeepCopy() *EndpointPolicy

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

func (*EndpointPolicy) DeepCopyInto added in v1.14.0

func (in *EndpointPolicy) DeepCopyInto(out *EndpointPolicy)

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

func (*EndpointPolicy) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*EndpointPolicy) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*EndpointPolicy) Validate

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

Validate validates this endpoint policy

type EndpointPolicyEnabled added in v1.5.0

type EndpointPolicyEnabled string

EndpointPolicyEnabled Whether policy enforcement is enabled (ingress, egress, both or none)

swagger:model EndpointPolicyEnabled

const (

	// EndpointPolicyEnabledNone captures enum value "none"
	EndpointPolicyEnabledNone EndpointPolicyEnabled = "none"

	// EndpointPolicyEnabledIngress captures enum value "ingress"
	EndpointPolicyEnabledIngress EndpointPolicyEnabled = "ingress"

	// EndpointPolicyEnabledEgress captures enum value "egress"
	EndpointPolicyEnabledEgress EndpointPolicyEnabled = "egress"

	// EndpointPolicyEnabledBoth captures enum value "both"
	EndpointPolicyEnabledBoth EndpointPolicyEnabled = "both"

	// EndpointPolicyEnabledAuditDashIngress captures enum value "audit-ingress"
	EndpointPolicyEnabledAuditDashIngress EndpointPolicyEnabled = "audit-ingress"

	// EndpointPolicyEnabledAuditDashEgress captures enum value "audit-egress"
	EndpointPolicyEnabledAuditDashEgress EndpointPolicyEnabled = "audit-egress"

	// EndpointPolicyEnabledAuditDashBoth captures enum value "audit-both"
	EndpointPolicyEnabledAuditDashBoth EndpointPolicyEnabled = "audit-both"
)

func NewEndpointPolicyEnabled added in v1.14.0

func NewEndpointPolicyEnabled(value EndpointPolicyEnabled) *EndpointPolicyEnabled

func (EndpointPolicyEnabled) ContextValidate added in v1.14.0

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

ContextValidate validates this endpoint policy enabled based on context it is used

func (EndpointPolicyEnabled) Pointer added in v1.14.0

Pointer returns a pointer to a freshly-allocated EndpointPolicyEnabled.

func (EndpointPolicyEnabled) Validate added in v1.5.0

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

Validate validates this endpoint policy enabled

type EndpointPolicyStatus added in v1.5.0

type EndpointPolicyStatus struct {

	// The policy revision currently enforced in the proxy for this endpoint
	ProxyPolicyRevision int64 `json:"proxy-policy-revision,omitempty"`

	// Statistics of the proxy redirects configured for this endpoint
	ProxyStatistics []*ProxyStatistics `json:"proxy-statistics"`

	// The policy in the datapath for this endpoint
	Realized *EndpointPolicy `json:"realized,omitempty"`

	// The policy that should apply to this endpoint
	Spec *EndpointPolicy `json:"spec,omitempty"`
}

EndpointPolicyStatus Policy information of an endpoint

swagger:model EndpointPolicyStatus

func (*EndpointPolicyStatus) ContextValidate added in v1.14.0

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

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

func (*EndpointPolicyStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*EndpointPolicyStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointPolicyStatus) Validate added in v1.5.0

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

Validate validates this endpoint policy status

type EndpointState

type EndpointState string

EndpointState State of endpoint

swagger:model EndpointState

const (

	// EndpointStateWaitingDashForDashIdentity captures enum value "waiting-for-identity"
	EndpointStateWaitingDashForDashIdentity EndpointState = "waiting-for-identity"

	// EndpointStateNotDashReady captures enum value "not-ready"
	EndpointStateNotDashReady EndpointState = "not-ready"

	// EndpointStateWaitingDashToDashRegenerate captures enum value "waiting-to-regenerate"
	EndpointStateWaitingDashToDashRegenerate EndpointState = "waiting-to-regenerate"

	// EndpointStateRegenerating captures enum value "regenerating"
	EndpointStateRegenerating EndpointState = "regenerating"

	// EndpointStateRestoring captures enum value "restoring"
	EndpointStateRestoring EndpointState = "restoring"

	// EndpointStateReady captures enum value "ready"
	EndpointStateReady EndpointState = "ready"

	// EndpointStateDisconnecting captures enum value "disconnecting"
	EndpointStateDisconnecting EndpointState = "disconnecting"

	// EndpointStateDisconnected captures enum value "disconnected"
	EndpointStateDisconnected EndpointState = "disconnected"

	// EndpointStateInvalid captures enum value "invalid"
	EndpointStateInvalid EndpointState = "invalid"
)

func NewEndpointState added in v1.14.0

func NewEndpointState(value EndpointState) *EndpointState

func (EndpointState) ContextValidate added in v1.14.0

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

ContextValidate validates this endpoint state based on context it is used

func (EndpointState) Pointer added in v1.14.0

func (m EndpointState) Pointer() *EndpointState

Pointer returns a pointer to a freshly-allocated EndpointState.

func (EndpointState) Validate

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

Validate validates this endpoint state

type EndpointStatus added in v1.5.0

type EndpointStatus struct {

	// Status of internal controllers attached to this endpoint
	Controllers ControllerStatuses `json:"controllers,omitempty"`

	// Unique identifiers for this endpoint from outside cilium
	ExternalIdentifiers *EndpointIdentifiers `json:"external-identifiers,omitempty"`

	// Summary overall endpoint & subcomponent health
	Health *EndpointHealth `json:"health,omitempty"`

	// The security identity for this endpoint
	Identity *Identity `json:"identity,omitempty"`

	// Labels applied to this endpoint
	Labels *LabelConfigurationStatus `json:"labels,omitempty"`

	// Most recent status log. See endpoint/{id}/log for the complete log.
	Log EndpointStatusLog `json:"log,omitempty"`

	// List of named ports that can be used in Network Policy
	NamedPorts NamedPorts `json:"namedPorts,omitempty"`

	// Networking properties of the endpoint
	Networking *EndpointNetworking `json:"networking,omitempty"`

	// The policy applied to this endpoint from the policy repository
	Policy *EndpointPolicyStatus `json:"policy,omitempty"`

	// The configuration in effect on this endpoint
	Realized *EndpointConfigurationSpec `json:"realized,omitempty"`

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

EndpointStatus The current state and configuration of the endpoint, its policy & datapath, and subcomponents

swagger:model EndpointStatus

func (*EndpointStatus) ContextValidate added in v1.14.0

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

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

func (*EndpointStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*EndpointStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*EndpointStatus) Validate added in v1.5.0

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

Validate validates this endpoint status

type EndpointStatusChange

type EndpointStatusChange struct {

	// Code indicate type of status change
	// Enum: [ok failed]
	Code string `json:"code,omitempty"`

	// Status message
	Message string `json:"message,omitempty"`

	// state
	State EndpointState `json:"state,omitempty"`

	// Timestamp when status change occurred
	Timestamp string `json:"timestamp,omitempty"`
}

EndpointStatusChange Indication of a change of status

+deepequal-gen=true

swagger:model EndpointStatusChange

func (*EndpointStatusChange) ContextValidate added in v1.14.0

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

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

func (*EndpointStatusChange) DeepEqual added in v1.14.0

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

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

func (*EndpointStatusChange) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*EndpointStatusChange) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*EndpointStatusChange) Validate

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

Validate validates this endpoint status change

type EndpointStatusLog added in v1.5.0

type EndpointStatusLog []*EndpointStatusChange

EndpointStatusLog Status log of endpoint

swagger:model EndpointStatusLog

func (EndpointStatusLog) ContextValidate added in v1.14.0

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

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

func (EndpointStatusLog) Validate added in v1.5.0

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

Validate validates this endpoint status log

type Error

type Error string

Error error

swagger:model Error

func (Error) ContextValidate added in v1.14.0

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

ContextValidate validates this error based on context it is used

func (Error) Validate

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

Validate validates this error

type FrontendAddress

type FrontendAddress struct {

	// Layer 3 address
	IP string `json:"ip,omitempty"`

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

	// Layer 4 protocol
	// Enum: [tcp udp any]
	Protocol string `json:"protocol,omitempty"`

	// Load balancing scope for frontend address
	// Enum: [external internal]
	Scope string `json:"scope,omitempty"`
}

FrontendAddress Layer 4 address. The protocol is currently ignored, all services will behave as if protocol any is specified. To restrict to a particular protocol, use policy.

swagger:model FrontendAddress

func (*FrontendAddress) ContextValidate added in v1.14.0

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

ContextValidate validates this frontend address based on context it is used

func (*FrontendAddress) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*FrontendAddress) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*FrontendAddress) Validate

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

Validate validates this frontend address

type FrontendMapping added in v1.14.0

type FrontendMapping struct {

	// Pod backends of an LRP
	Backends []*LRPBackend `json:"backends"`

	// frontend address
	FrontendAddress *FrontendAddress `json:"frontend-address,omitempty"`
}

FrontendMapping Mapping of frontend to backend pods of an LRP

swagger:model FrontendMapping

func (*FrontendMapping) ContextValidate added in v1.14.0

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

ContextValidate validate this frontend mapping based on the context it is used

func (*FrontendMapping) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*FrontendMapping) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*FrontendMapping) Validate added in v1.14.0

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

Validate validates this frontend mapping

type HostFirewall added in v1.14.0

type HostFirewall struct {

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

	// mode
	// Enum: [Disabled Enabled]
	Mode string `json:"mode,omitempty"`
}

HostFirewall Status of the host firewall

+k8s:deepcopy-gen=true

swagger:model HostFirewall

func (*HostFirewall) ContextValidate added in v1.14.0

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

ContextValidate validates this host firewall based on context it is used

func (*HostFirewall) DeepCopy added in v1.14.0

func (in *HostFirewall) DeepCopy() *HostFirewall

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

func (*HostFirewall) DeepCopyInto added in v1.14.0

func (in *HostFirewall) DeepCopyInto(out *HostFirewall)

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

func (*HostFirewall) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*HostFirewall) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*HostFirewall) Validate added in v1.14.0

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

Validate validates this host firewall

type HostRouting added in v1.14.0

type HostRouting struct {

	// Datapath routing mode
	// Enum: [BPF Legacy]
	Mode string `json:"mode,omitempty"`
}

HostRouting Status of host routing

+k8s:deepcopy-gen=true

swagger:model HostRouting

func (*HostRouting) ContextValidate added in v1.14.0

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

ContextValidate validates this host routing based on context it is used

func (*HostRouting) DeepCopy added in v1.14.0

func (in *HostRouting) DeepCopy() *HostRouting

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

func (*HostRouting) DeepCopyInto added in v1.14.0

func (in *HostRouting) DeepCopyInto(out *HostRouting)

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

func (*HostRouting) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*HostRouting) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*HostRouting) Validate added in v1.14.0

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

Validate validates this host routing

type HubbleStatus added in v1.14.0

type HubbleStatus struct {

	// metrics
	Metrics *HubbleStatusMetrics `json:"metrics,omitempty"`

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

	// observer
	Observer *HubbleStatusObserver `json:"observer,omitempty"`

	// State the component is in
	// Enum: [Ok Warning Failure Disabled]
	State string `json:"state,omitempty"`
}

HubbleStatus Status of the Hubble server

+k8s:deepcopy-gen=true

swagger:model HubbleStatus

func (*HubbleStatus) ContextValidate added in v1.14.0

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

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

func (*HubbleStatus) DeepCopy added in v1.14.0

func (in *HubbleStatus) DeepCopy() *HubbleStatus

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

func (*HubbleStatus) DeepCopyInto added in v1.14.0

func (in *HubbleStatus) DeepCopyInto(out *HubbleStatus)

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

func (*HubbleStatus) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*HubbleStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*HubbleStatus) Validate added in v1.14.0

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

Validate validates this hubble status

type HubbleStatusMetrics added in v1.14.0

type HubbleStatusMetrics struct {

	// State of the Hubble metrics
	// Enum: [Ok Warning Failure Disabled]
	State string `json:"state,omitempty"`
}

HubbleStatusMetrics Status of the Hubble metrics server

swagger:model HubbleStatusMetrics

func (*HubbleStatusMetrics) ContextValidate added in v1.14.0

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

ContextValidate validates this hubble status metrics based on context it is used

func (*HubbleStatusMetrics) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*HubbleStatusMetrics) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*HubbleStatusMetrics) Validate added in v1.14.0

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

Validate validates this hubble status metrics

type HubbleStatusObserver added in v1.14.0

type HubbleStatusObserver struct {

	// Current number of flows this Hubble observer stores
	CurrentFlows int64 `json:"current-flows,omitempty"`

	// Maximum number of flows this Hubble observer is able to store
	MaxFlows int64 `json:"max-flows,omitempty"`

	// Total number of flows this Hubble observer has seen
	SeenFlows int64 `json:"seen-flows,omitempty"`

	// Uptime of this Hubble observer instance
	// Format: duration
	Uptime strfmt.Duration `json:"uptime,omitempty"`
}

HubbleStatusObserver Status of the Hubble observer

+k8s:deepcopy-gen=true

swagger:model HubbleStatusObserver

func (*HubbleStatusObserver) ContextValidate added in v1.14.0

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

ContextValidate validates this hubble status observer based on context it is used

func (*HubbleStatusObserver) DeepCopy added in v1.14.0

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

func (*HubbleStatusObserver) DeepCopyInto added in v1.14.0

func (in *HubbleStatusObserver) DeepCopyInto(out *HubbleStatusObserver)

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

func (*HubbleStatusObserver) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*HubbleStatusObserver) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*HubbleStatusObserver) Validate added in v1.14.0

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

Validate validates this hubble status observer

type IPAMAddressResponse added in v1.6.0

type IPAMAddressResponse struct {

	// List of CIDRs out of which IPs are allocated
	Cidrs []string `json:"cidrs"`

	// The UUID for the expiration timer. Set when expiration has been
	// enabled while allocating.
	//
	ExpirationUUID string `json:"expiration-uuid,omitempty"`

	// IP of gateway
	Gateway string `json:"gateway,omitempty"`

	// InterfaceNumber is a field for generically identifying an interface. This is only useful in ENI mode.
	//
	InterfaceNumber string `json:"interface-number,omitempty"`

	// Allocated IP for endpoint
	IP string `json:"ip,omitempty"`

	// MAC of master interface if address is a slave/secondary of a master interface
	MasterMac string `json:"master-mac,omitempty"`
}

IPAMAddressResponse IPAM configuration of an individual address family

swagger:model IPAMAddressResponse

func (*IPAMAddressResponse) ContextValidate added in v1.14.0

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

ContextValidate validates this IP a m address response based on context it is used

func (*IPAMAddressResponse) MarshalBinary added in v1.6.0

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

MarshalBinary interface implementation

func (*IPAMAddressResponse) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*IPAMAddressResponse) Validate added in v1.6.0

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

Validate validates this IP a m address response

type IPAMResponse added in v1.5.0

type IPAMResponse struct {

	// address
	// Required: true
	Address *AddressPair `json:"address"`

	// host addressing
	// Required: true
	HostAddressing *NodeAddressing `json:"host-addressing"`

	// ipv4
	IPV4 *IPAMAddressResponse `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *IPAMAddressResponse `json:"ipv6,omitempty"`
}

IPAMResponse IPAM configuration of an endpoint

swagger:model IPAMResponse

func (*IPAMResponse) ContextValidate added in v1.14.0

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

ContextValidate validate this IP a m response based on the context it is used

func (*IPAMResponse) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*IPAMResponse) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*IPAMResponse) Validate added in v1.5.0

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

Validate validates this IP a m response

type IPAMStatus

type IPAMStatus struct {

	// allocations
	Allocations AllocationMap `json:"allocations,omitempty"`

	// ipv4
	IPV4 []string `json:"ipv4"`

	// ipv6
	IPV6 []string `json:"ipv6"`

	// status
	Status string `json:"status,omitempty"`
}

IPAMStatus Status of IP address management

+k8s:deepcopy-gen=true

swagger:model IPAMStatus

func (*IPAMStatus) ContextValidate added in v1.14.0

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

ContextValidate validate this IP a m status based on the context it is used

func (*IPAMStatus) DeepCopy added in v1.5.0

func (in *IPAMStatus) DeepCopy() *IPAMStatus

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

func (*IPAMStatus) DeepCopyInto added in v1.5.0

func (in *IPAMStatus) DeepCopyInto(out *IPAMStatus)

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

func (*IPAMStatus) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*IPAMStatus) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*IPAMStatus) Validate

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

Validate validates this IP a m status

type IPListEntry added in v1.14.0

type IPListEntry struct {

	// Key of the entry in the form of a CIDR range
	// Required: true
	Cidr *string `json:"cidr"`

	// The context ID for the encryption session
	EncryptKey int64 `json:"encryptKey,omitempty"`

	// IP address of the host
	HostIP string `json:"hostIP,omitempty"`

	// Numerical identity assigned to the IP
	// Required: true
	Identity *int64 `json:"identity"`

	// metadata
	Metadata *IPListEntryMetadata `json:"metadata,omitempty"`
}

IPListEntry IP entry with metadata

swagger:model IPListEntry

func (*IPListEntry) ContextValidate added in v1.14.0

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

ContextValidate validate this IP list entry based on the context it is used

func (*IPListEntry) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*IPListEntry) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*IPListEntry) Validate added in v1.14.0

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

Validate validates this IP list entry

type IPListEntryMetadata added in v1.14.0

type IPListEntryMetadata struct {

	// Name assigned to the IP (e.g. Kubernetes pod name)
	Name string `json:"name,omitempty"`

	// Namespace of the IP (e.g. Kubernetes namespace)
	Namespace string `json:"namespace,omitempty"`

	// Source of the IP entry and its metadata
	// Example: k8s
	Source string `json:"source,omitempty"`
}

IPListEntryMetadata Additional metadata assigned to an IP list entry

swagger:model IPListEntryMetadata

func (*IPListEntryMetadata) ContextValidate added in v1.14.0

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

ContextValidate validates this IP list entry metadata based on context it is used

func (*IPListEntryMetadata) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*IPListEntryMetadata) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*IPListEntryMetadata) Validate added in v1.14.0

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

Validate validates this IP list entry metadata

type IPV6BigTCP added in v1.14.0

type IPV6BigTCP struct {

	// Is IPv6 BIG TCP enabled
	Enabled bool `json:"enabled,omitempty"`
}

IPV6BigTCP Status of IPv6 BIG TCP

+k8s:deepcopy-gen=true

swagger:model IPV6BigTCP

func (*IPV6BigTCP) ContextValidate added in v1.14.0

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

ContextValidate validates this IP v6 big TCP based on context it is used

func (*IPV6BigTCP) DeepCopy added in v1.14.0

func (in *IPV6BigTCP) DeepCopy() *IPV6BigTCP

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

func (*IPV6BigTCP) DeepCopyInto added in v1.14.0

func (in *IPV6BigTCP) DeepCopyInto(out *IPV6BigTCP)

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

func (*IPV6BigTCP) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*IPV6BigTCP) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*IPV6BigTCP) Validate added in v1.14.0

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

Validate validates this IP v6 big TCP

type Identity

type Identity struct {

	// Unique identifier
	ID int64 `json:"id,omitempty"`

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

	// SHA256 of labels
	LabelsSHA256 string `json:"labelsSHA256,omitempty"`
}

Identity Security identity

swagger:model Identity

func (*Identity) ContextValidate added in v1.14.0

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

ContextValidate validate this identity based on the context it is used

func (*Identity) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*Identity) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*Identity) Validate

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

Validate validates this identity

type IdentityEndpoints added in v1.6.0

type IdentityEndpoints struct {

	// Security identity
	Identity *Identity `json:"identity,omitempty"`

	// number of endpoints consuming this identity locally (should always be > 0)
	RefCount int64 `json:"refCount,omitempty"`
}

IdentityEndpoints Security identities owned by endpoints on the local node

swagger:model IdentityEndpoints

func (*IdentityEndpoints) ContextValidate added in v1.14.0

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

ContextValidate validate this identity endpoints based on the context it is used

func (*IdentityEndpoints) MarshalBinary added in v1.6.0

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

MarshalBinary interface implementation

func (*IdentityEndpoints) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*IdentityEndpoints) Validate added in v1.6.0

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

Validate validates this identity endpoints

type IdentityRange added in v1.14.0

type IdentityRange struct {

	// Maximum identity of the cluster
	MaxIdentity int64 `json:"max-identity,omitempty"`

	// Minimum identity of the cluster
	MinIdentity int64 `json:"min-identity,omitempty"`
}

IdentityRange Status of identity range of the cluster

+k8s:deepcopy-gen=true

swagger:model IdentityRange

func (*IdentityRange) ContextValidate added in v1.14.0

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

ContextValidate validates this identity range based on context it is used

func (*IdentityRange) DeepCopy added in v1.14.0

func (in *IdentityRange) DeepCopy() *IdentityRange

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

func (*IdentityRange) DeepCopyInto added in v1.14.0

func (in *IdentityRange) DeepCopyInto(out *IdentityRange)

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

func (*IdentityRange) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*IdentityRange) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*IdentityRange) Validate added in v1.14.0

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

Validate validates this identity range

type K8sStatus added in v1.5.0

type K8sStatus struct {

	// k8s api versions
	K8sAPIVersions []string `json:"k8s-api-versions"`

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

	// State the component is in
	// Enum: [Ok Warning Failure Disabled]
	State string `json:"state,omitempty"`
}

K8sStatus Status of Kubernetes integration

+k8s:deepcopy-gen=true

swagger:model K8sStatus

func (*K8sStatus) ContextValidate added in v1.14.0

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

ContextValidate validates this k8s status based on context it is used

func (*K8sStatus) DeepCopy added in v1.5.0

func (in *K8sStatus) DeepCopy() *K8sStatus

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

func (*K8sStatus) DeepCopyInto added in v1.5.0

func (in *K8sStatus) DeepCopyInto(out *K8sStatus)

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

func (*K8sStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*K8sStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*K8sStatus) Validate added in v1.5.0

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

Validate validates this k8s status

type KVstoreConfiguration added in v1.5.0

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

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

ContextValidate validates this k vstore configuration based on context it is used

func (*KVstoreConfiguration) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*KVstoreConfiguration) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*KVstoreConfiguration) Validate added in v1.5.0

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

Validate validates this k vstore configuration

type KubeProxyReplacement added in v1.14.0

type KubeProxyReplacement struct {

	//
	//
	// +k8s:deepcopy-gen=true
	DeviceList []*KubeProxyReplacementDeviceListItems0 `json:"deviceList"`

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

	// direct routing device
	DirectRoutingDevice string `json:"directRoutingDevice,omitempty"`

	// features
	Features *KubeProxyReplacementFeatures `json:"features,omitempty"`

	// mode
	// Enum: [Disabled Strict Probe Partial]
	Mode string `json:"mode,omitempty"`
}

KubeProxyReplacement Status of kube-proxy replacement

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacement

func (*KubeProxyReplacement) ContextValidate added in v1.14.0

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

ContextValidate validate this kube proxy replacement based on the context it is used

func (*KubeProxyReplacement) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacement) DeepCopyInto added in v1.14.0

func (in *KubeProxyReplacement) DeepCopyInto(out *KubeProxyReplacement)

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

func (*KubeProxyReplacement) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacement) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacement) Validate added in v1.14.0

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

Validate validates this kube proxy replacement

type KubeProxyReplacementDeviceListItems0 added in v1.14.0

type KubeProxyReplacementDeviceListItems0 struct {

	//
	//
	// +k8s:deepcopy-gen=true
	IP []string `json:"ip"`

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

KubeProxyReplacementDeviceListItems0

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementDeviceListItems0

func (*KubeProxyReplacementDeviceListItems0) ContextValidate added in v1.14.0

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

ContextValidate validates this kube proxy replacement device list items0 based on context it is used

func (*KubeProxyReplacementDeviceListItems0) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementDeviceListItems0) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementDeviceListItems0) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementDeviceListItems0) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementDeviceListItems0) Validate added in v1.14.0

Validate validates this kube proxy replacement device list items0

type KubeProxyReplacementFeatures added in v1.14.0

type KubeProxyReplacementFeatures struct {

	// external i ps
	ExternalIPs *KubeProxyReplacementFeaturesExternalIPs `json:"externalIPs,omitempty"`

	// graceful termination
	GracefulTermination *KubeProxyReplacementFeaturesGracefulTermination `json:"gracefulTermination,omitempty"`

	// host port
	HostPort *KubeProxyReplacementFeaturesHostPort `json:"hostPort,omitempty"`

	// host reachable services
	HostReachableServices *KubeProxyReplacementFeaturesHostReachableServices `json:"hostReachableServices,omitempty"`

	// nat46 x64
	Nat46X64 *KubeProxyReplacementFeaturesNat46X64 `json:"nat46X64,omitempty"`

	// node port
	NodePort *KubeProxyReplacementFeaturesNodePort `json:"nodePort,omitempty"`

	// session affinity
	SessionAffinity *KubeProxyReplacementFeaturesSessionAffinity `json:"sessionAffinity,omitempty"`

	// socket l b
	SocketLB *KubeProxyReplacementFeaturesSocketLB `json:"socketLB,omitempty"`

	// socket l b tracing
	SocketLBTracing *KubeProxyReplacementFeaturesSocketLBTracing `json:"socketLBTracing,omitempty"`
}

KubeProxyReplacementFeatures

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeatures

func (*KubeProxyReplacementFeatures) ContextValidate added in v1.14.0

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

ContextValidate validate this kube proxy replacement features based on the context it is used

func (*KubeProxyReplacementFeatures) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeatures) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeatures) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) Validate added in v1.14.0

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

Validate validates this kube proxy replacement features

type KubeProxyReplacementFeaturesExternalIPs added in v1.14.0

type KubeProxyReplacementFeaturesExternalIPs struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesExternalIPs

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesExternalIPs

func (*KubeProxyReplacementFeaturesExternalIPs) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features external i ps based on context it is used

func (*KubeProxyReplacementFeaturesExternalIPs) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesExternalIPs) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesExternalIPs) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) Validate added in v1.14.0

Validate validates this kube proxy replacement features external i ps

type KubeProxyReplacementFeaturesGracefulTermination added in v1.14.0

type KubeProxyReplacementFeaturesGracefulTermination struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesGracefulTermination

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesGracefulTermination

func (*KubeProxyReplacementFeaturesGracefulTermination) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features graceful termination based on context it is used

func (*KubeProxyReplacementFeaturesGracefulTermination) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesGracefulTermination) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesGracefulTermination) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesGracefulTermination) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesGracefulTermination) Validate added in v1.14.0

Validate validates this kube proxy replacement features graceful termination

type KubeProxyReplacementFeaturesHostPort added in v1.14.0

type KubeProxyReplacementFeaturesHostPort struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesHostPort

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesHostPort

func (*KubeProxyReplacementFeaturesHostPort) ContextValidate added in v1.14.0

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

ContextValidate validates this kube proxy replacement features host port based on context it is used

func (*KubeProxyReplacementFeaturesHostPort) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesHostPort) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesHostPort) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostPort) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostPort) Validate added in v1.14.0

Validate validates this kube proxy replacement features host port

type KubeProxyReplacementFeaturesHostReachableServices added in v1.14.0

type KubeProxyReplacementFeaturesHostReachableServices struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// protocols
	Protocols []string `json:"protocols"`
}

KubeProxyReplacementFeaturesHostReachableServices

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesHostReachableServices

func (*KubeProxyReplacementFeaturesHostReachableServices) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features host reachable services based on context it is used

func (*KubeProxyReplacementFeaturesHostReachableServices) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesHostReachableServices) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesHostReachableServices) MarshalBinary added in v1.14.0

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) UnmarshalBinary added in v1.14.0

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) Validate added in v1.14.0

Validate validates this kube proxy replacement features host reachable services

type KubeProxyReplacementFeaturesNat46X64 added in v1.14.0

type KubeProxyReplacementFeaturesNat46X64 struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// gateway
	Gateway *KubeProxyReplacementFeaturesNat46X64Gateway `json:"gateway,omitempty"`

	// service
	Service *KubeProxyReplacementFeaturesNat46X64Service `json:"service,omitempty"`
}

KubeProxyReplacementFeaturesNat46X64

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesNat46X64

func (*KubeProxyReplacementFeaturesNat46X64) ContextValidate added in v1.14.0

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

ContextValidate validate this kube proxy replacement features nat46 x64 based on the context it is used

func (*KubeProxyReplacementFeaturesNat46X64) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64) Validate added in v1.14.0

Validate validates this kube proxy replacement features nat46 x64

type KubeProxyReplacementFeaturesNat46X64Gateway added in v1.14.0

type KubeProxyReplacementFeaturesNat46X64Gateway struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// prefixes
	Prefixes []string `json:"prefixes"`
}

KubeProxyReplacementFeaturesNat46X64Gateway

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesNat46X64Gateway

func (*KubeProxyReplacementFeaturesNat46X64Gateway) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features nat46 x64 gateway based on context it is used

func (*KubeProxyReplacementFeaturesNat46X64Gateway) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64Gateway) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64Gateway) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64Gateway) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64Gateway) Validate added in v1.14.0

Validate validates this kube proxy replacement features nat46 x64 gateway

type KubeProxyReplacementFeaturesNat46X64Service added in v1.14.0

type KubeProxyReplacementFeaturesNat46X64Service struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesNat46X64Service

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesNat46X64Service

func (*KubeProxyReplacementFeaturesNat46X64Service) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features nat46 x64 service based on context it is used

func (*KubeProxyReplacementFeaturesNat46X64Service) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64Service) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNat46X64Service) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64Service) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNat46X64Service) Validate added in v1.14.0

Validate validates this kube proxy replacement features nat46 x64 service

type KubeProxyReplacementFeaturesNodePort added in v1.14.0

type KubeProxyReplacementFeaturesNodePort struct {

	// acceleration
	// Enum: [None Native Generic]
	Acceleration string `json:"acceleration,omitempty"`

	// algorithm
	// Enum: [Random Maglev]
	Algorithm string `json:"algorithm,omitempty"`

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// lut size
	LutSize int64 `json:"lutSize,omitempty"`

	// mode
	// Enum: [SNAT DSR Hybrid]
	Mode string `json:"mode,omitempty"`

	// port max
	PortMax int64 `json:"portMax,omitempty"`

	// port min
	PortMin int64 `json:"portMin,omitempty"`
}

KubeProxyReplacementFeaturesNodePort

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesNodePort

func (*KubeProxyReplacementFeaturesNodePort) ContextValidate added in v1.14.0

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

ContextValidate validates this kube proxy replacement features node port based on context it is used

func (*KubeProxyReplacementFeaturesNodePort) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNodePort) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesNodePort) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) Validate added in v1.14.0

Validate validates this kube proxy replacement features node port

type KubeProxyReplacementFeaturesSessionAffinity added in v1.14.0

type KubeProxyReplacementFeaturesSessionAffinity struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesSessionAffinity

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesSessionAffinity

func (*KubeProxyReplacementFeaturesSessionAffinity) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features session affinity based on context it is used

func (*KubeProxyReplacementFeaturesSessionAffinity) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSessionAffinity) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSessionAffinity) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSessionAffinity) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSessionAffinity) Validate added in v1.14.0

Validate validates this kube proxy replacement features session affinity

type KubeProxyReplacementFeaturesSocketLB added in v1.14.0

type KubeProxyReplacementFeaturesSocketLB struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesSocketLB

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesSocketLB

func (*KubeProxyReplacementFeaturesSocketLB) ContextValidate added in v1.14.0

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

ContextValidate validates this kube proxy replacement features socket l b based on context it is used

func (*KubeProxyReplacementFeaturesSocketLB) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSocketLB) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSocketLB) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSocketLB) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSocketLB) Validate added in v1.14.0

Validate validates this kube proxy replacement features socket l b

type KubeProxyReplacementFeaturesSocketLBTracing added in v1.14.0

type KubeProxyReplacementFeaturesSocketLBTracing struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

KubeProxyReplacementFeaturesSocketLBTracing

+k8s:deepcopy-gen=true

swagger:model KubeProxyReplacementFeaturesSocketLBTracing

func (*KubeProxyReplacementFeaturesSocketLBTracing) ContextValidate added in v1.14.0

ContextValidate validates this kube proxy replacement features socket l b tracing based on context it is used

func (*KubeProxyReplacementFeaturesSocketLBTracing) DeepCopy added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSocketLBTracing) DeepCopyInto added in v1.14.0

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

func (*KubeProxyReplacementFeaturesSocketLBTracing) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSocketLBTracing) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesSocketLBTracing) Validate added in v1.14.0

Validate validates this kube proxy replacement features socket l b tracing

type L4Policy

type L4Policy struct {

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

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

L4Policy L4 endpoint policy

+k8s:deepcopy-gen=true

swagger:model L4Policy

func (*L4Policy) ContextValidate added in v1.14.0

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

ContextValidate validate this l4 policy based on the context it is used

func (*L4Policy) DeepCopy added in v1.14.0

func (in *L4Policy) DeepCopy() *L4Policy

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

func (*L4Policy) DeepCopyInto added in v1.14.0

func (in *L4Policy) DeepCopyInto(out *L4Policy)

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

func (*L4Policy) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*L4Policy) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*L4Policy) Validate

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

Validate validates this l4 policy

type LRPBackend added in v1.14.0

type LRPBackend struct {

	// backend address
	BackendAddress *BackendAddress `json:"backend-address,omitempty"`

	// Namespace and name of the backend pod
	PodID string `json:"pod-id,omitempty"`
}

LRPBackend Pod backend of an LRP

swagger:model LRPBackend

func (*LRPBackend) ContextValidate added in v1.14.0

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

ContextValidate validate this l r p backend based on the context it is used

func (*LRPBackend) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*LRPBackend) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*LRPBackend) Validate added in v1.14.0

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

Validate validates this l r p backend

type LRPSpec added in v1.14.0

type LRPSpec struct {

	// mapping of frontends to pod backends
	FrontendMappings []*FrontendMapping `json:"frontend-mappings"`

	// LRP frontend type
	FrontendType string `json:"frontend-type,omitempty"`

	// LRP config type
	LrpType string `json:"lrp-type,omitempty"`

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

	// LRP service namespace
	Namespace string `json:"namespace,omitempty"`

	// matching k8s service namespace and name
	ServiceID string `json:"service-id,omitempty"`

	// Unique identification
	UID string `json:"uid,omitempty"`
}

LRPSpec Configuration of an LRP

swagger:model LRPSpec

func (*LRPSpec) ContextValidate added in v1.14.0

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

ContextValidate validate this l r p spec based on the context it is used

func (*LRPSpec) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*LRPSpec) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*LRPSpec) Validate added in v1.14.0

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

Validate validates this l r p spec

type LabelConfiguration

type LabelConfiguration struct {

	// The user provided desired configuration
	Spec *LabelConfigurationSpec `json:"spec,omitempty"`

	// The current configuration
	Status *LabelConfigurationStatus `json:"status,omitempty"`
}

LabelConfiguration Label configuration of an endpoint

swagger:model LabelConfiguration

func (*LabelConfiguration) ContextValidate added in v1.14.0

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

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

func (*LabelConfiguration) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*LabelConfiguration) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*LabelConfiguration) Validate

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

Validate validates this label configuration

type LabelConfigurationSpec added in v1.5.0

type LabelConfigurationSpec struct {

	// Custom labels in addition to orchestration system labels.
	User Labels `json:"user,omitempty"`
}

LabelConfigurationSpec User desired Label configuration of an endpoint

swagger:model LabelConfigurationSpec

func (*LabelConfigurationSpec) ContextValidate added in v1.14.0

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

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

func (*LabelConfigurationSpec) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*LabelConfigurationSpec) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*LabelConfigurationSpec) Validate added in v1.5.0

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

Validate validates this label configuration spec

type LabelConfigurationStatus added in v1.5.0

type LabelConfigurationStatus struct {

	// All labels derived from the orchestration system
	Derived Labels `json:"derived,omitempty"`

	// Labels derived from orchestration system which have been disabled.
	Disabled Labels `json:"disabled,omitempty"`

	// The current configuration
	Realized *LabelConfigurationSpec `json:"realized,omitempty"`

	// Labels derived from orchestration system that are used in computing a security identity
	SecurityRelevant Labels `json:"security-relevant,omitempty"`
}

LabelConfigurationStatus Labels and label configuration of an endpoint

swagger:model LabelConfigurationStatus

func (*LabelConfigurationStatus) ContextValidate added in v1.14.0

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

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

func (*LabelConfigurationStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*LabelConfigurationStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*LabelConfigurationStatus) Validate added in v1.5.0

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

Validate validates this label configuration status

type Labels

type Labels []string

Labels Set of labels

swagger:model Labels

func (Labels) ContextValidate added in v1.14.0

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

ContextValidate validates this labels based on context it is used

func (Labels) Validate

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

Validate validates this labels

type MapEvent added in v1.14.0

type MapEvent struct {

	// Action type for event
	// Enum: [update delete]
	Action string `json:"action,omitempty"`

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

	// Map key on which the event occured
	Key string `json:"key,omitempty"`

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

	// Timestamp when the event occurred
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// Map value on which the event occured
	Value string `json:"value,omitempty"`
}

MapEvent Event on Map

swagger:model MapEvent

func (*MapEvent) ContextValidate added in v1.14.0

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

ContextValidate validates this map event based on context it is used

func (*MapEvent) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*MapEvent) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*MapEvent) Validate added in v1.14.0

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

Validate validates this map event

type Masquerading added in v1.14.0

type Masquerading struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// enabled protocols
	EnabledProtocols *MasqueradingEnabledProtocols `json:"enabledProtocols,omitempty"`

	// Is BPF ip-masq-agent enabled
	IPMasqAgent bool `json:"ip-masq-agent,omitempty"`

	// mode
	// Enum: [BPF iptables]
	Mode string `json:"mode,omitempty"`

	// This field is obsolete, please use snat-exclusion-cidr-v4 or snat-exclusion-cidr-v6.
	SnatExclusionCidr string `json:"snat-exclusion-cidr,omitempty"`

	// SnatExclusionCIDRv4 exempts SNAT from being performed on any packet sent to
	// an IPv4 address that belongs to this CIDR.
	SnatExclusionCidrV4 string `json:"snat-exclusion-cidr-v4,omitempty"`

	// SnatExclusionCIDRv6 exempts SNAT from being performed on any packet sent to
	// an IPv6 address that belongs to this CIDR.
	// For IPv6 we only do masquerading in iptables mode.
	SnatExclusionCidrV6 string `json:"snat-exclusion-cidr-v6,omitempty"`
}

Masquerading Status of masquerading

+k8s:deepcopy-gen=true

swagger:model Masquerading

func (*Masquerading) ContextValidate added in v1.14.0

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

ContextValidate validate this masquerading based on the context it is used

func (*Masquerading) DeepCopy added in v1.14.0

func (in *Masquerading) DeepCopy() *Masquerading

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

func (*Masquerading) DeepCopyInto added in v1.14.0

func (in *Masquerading) DeepCopyInto(out *Masquerading)

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

func (*Masquerading) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*Masquerading) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*Masquerading) Validate added in v1.14.0

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

Validate validates this masquerading

type MasqueradingEnabledProtocols added in v1.14.0

type MasqueradingEnabledProtocols struct {

	// Is masquerading enabled for IPv4 traffic
	IPV4 bool `json:"ipv4,omitempty"`

	// Is masquerading enabled for IPv6 traffic
	IPV6 bool `json:"ipv6,omitempty"`
}

MasqueradingEnabledProtocols Is masquerading enabled

swagger:model MasqueradingEnabledProtocols

func (*MasqueradingEnabledProtocols) ContextValidate added in v1.14.0

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

ContextValidate validates this masquerading enabled protocols based on context it is used

func (*MasqueradingEnabledProtocols) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*MasqueradingEnabledProtocols) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*MasqueradingEnabledProtocols) Validate added in v1.14.0

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

Validate validates this masquerading enabled protocols

type MessageForwardingStatistics added in v1.5.0

type MessageForwardingStatistics struct {

	// Number of messages denied
	Denied int64 `json:"denied,omitempty"`

	// Number of errors while parsing messages
	Error int64 `json:"error,omitempty"`

	// Number of messages forwarded
	Forwarded int64 `json:"forwarded,omitempty"`

	// Number of messages received
	Received int64 `json:"received,omitempty"`
}

MessageForwardingStatistics Statistics of a message forwarding entity

swagger:model MessageForwardingStatistics

func (*MessageForwardingStatistics) ContextValidate added in v1.14.0

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

ContextValidate validates this message forwarding statistics based on context it is used

func (*MessageForwardingStatistics) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*MessageForwardingStatistics) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*MessageForwardingStatistics) Validate added in v1.5.0

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

Validate validates this message forwarding statistics

type Metric added in v1.5.0

type Metric struct {

	// Labels of the metric
	Labels map[string]string `json:"labels,omitempty"`

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

	// Value of the metric
	Value float64 `json:"value,omitempty"`
}

Metric Metric information

swagger:model Metric

func (*Metric) ContextValidate added in v1.14.0

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

ContextValidate validates this metric based on context it is used

func (*Metric) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*Metric) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*Metric) Validate added in v1.5.0

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

Validate validates this metric

type MonitorStatus added in v1.5.0

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

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

ContextValidate validates this monitor status based on context it is used

func (*MonitorStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*MonitorStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*MonitorStatus) Validate added in v1.5.0

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

Validate validates this monitor status

type NameManager added in v1.14.0

type NameManager struct {

	// Names to poll for DNS Poller
	DNSPollNames []string `json:"DNSPollNames"`

	// Mapping of FQDNSelectors to corresponding regular expressions
	FQDNPolicySelectors []*SelectorEntry `json:"FQDNPolicySelectors"`
}

NameManager Internal state about DNS names in relation to policy subsystem

swagger:model NameManager

func (*NameManager) ContextValidate added in v1.14.0

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

ContextValidate validate this name manager based on the context it is used

func (*NameManager) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*NameManager) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*NameManager) Validate added in v1.14.0

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

Validate validates this name manager

type NamedPorts added in v1.14.0

type NamedPorts []*Port

NamedPorts List of named Layer 4 port and protocol pairs which will be used in Network Policy specs.

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

swagger:model NamedPorts

func (NamedPorts) ContextValidate added in v1.14.0

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

ContextValidate validate this named ports based on the context it is used

func (NamedPorts) DeepCopy added in v1.14.0

func (in NamedPorts) DeepCopy() NamedPorts

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

func (NamedPorts) DeepCopyInto added in v1.14.0

func (in NamedPorts) DeepCopyInto(out *NamedPorts)

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

func (*NamedPorts) DeepEqual added in v1.14.0

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

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

func (NamedPorts) Validate added in v1.14.0

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

Validate validates this named ports

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

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

ContextValidate validate this node addressing based on the context it is used

func (*NodeAddressing) DeepCopy added in v1.5.0

func (in *NodeAddressing) DeepCopy() *NodeAddressing

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

func (*NodeAddressing) DeepCopyInto added in v1.5.0

func (in *NodeAddressing) DeepCopyInto(out *NodeAddressing)

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

func (*NodeAddressing) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*NodeAddressing) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*NodeAddressing) Validate

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

Validate validates this node addressing

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

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

ContextValidate validates this node addressing element based on context it is used

func (*NodeAddressingElement) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*NodeAddressingElement) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*NodeAddressingElement) Validate

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

Validate validates this node addressing element

type NodeElement added in v1.5.0

type NodeElement struct {

	// Address used for probing cluster connectivity
	HealthEndpointAddress *NodeAddressing `json:"health-endpoint-address,omitempty"`

	// Source address for Ingress listener
	IngressAddress *NodeAddressing `json:"ingress-address,omitempty"`

	// Name of the node including the cluster association. This is typically
	// <clustername>/<hostname>.
	//
	Name string `json:"name,omitempty"`

	// Primary address used for intra-cluster communication
	PrimaryAddress *NodeAddressing `json:"primary-address,omitempty"`

	// Alternative addresses assigned to the node
	SecondaryAddresses []*NodeAddressingElement `json:"secondary-addresses"`
}

NodeElement Known node in the cluster

+k8s:deepcopy-gen=true

swagger:model NodeElement

func (*NodeElement) ContextValidate added in v1.14.0

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

ContextValidate validate this node element based on the context it is used

func (*NodeElement) DeepCopy added in v1.5.0

func (in *NodeElement) DeepCopy() *NodeElement

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

func (*NodeElement) DeepCopyInto added in v1.5.0

func (in *NodeElement) DeepCopyInto(out *NodeElement)

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

func (*NodeElement) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*NodeElement) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*NodeElement) Validate added in v1.5.0

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

Validate validates this node element

type NodeID added in v1.14.0

type NodeID struct {

	// ID allocated by the agent for the node
	// Required: true
	ID *int64 `json:"id"`

	// IP addresses of the node associated with the ID in the agent
	// Required: true
	Ips []string `json:"ips"`
}

NodeID Node ID with associated node IP addresses

swagger:model NodeID

func (*NodeID) ContextValidate added in v1.14.0

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

ContextValidate validates this node ID based on context it is used

func (*NodeID) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*NodeID) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*NodeID) Validate added in v1.14.0

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

Validate validates this node ID

type Policy added in v0.10.0

type Policy struct {

	// Policy definition as JSON.
	Policy string `json:"policy,omitempty"`

	// Revision number of the policy. Incremented each time the policy is
	// changed in the agent's repository
	//
	Revision int64 `json:"revision,omitempty"`
}

Policy Policy definition

swagger:model Policy

func (*Policy) ContextValidate added in v1.14.0

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

ContextValidate validates this policy based on context it is used

func (*Policy) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*Policy) Validate added in v0.10.0

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

Validate validates this policy

type PolicyRule added in v1.5.0

type PolicyRule struct {

	// The policy rule labels identifying the policy rules this rule derives from
	DerivedFromRules [][]string `json:"derived-from-rules"`

	// The policy rule as json
	Rule string `json:"rule,omitempty"`
}

PolicyRule A policy rule including the rule labels it derives from

+k8s:deepcopy-gen=true

swagger:model PolicyRule

func (*PolicyRule) ContextValidate added in v1.14.0

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

ContextValidate validates this policy rule based on context it is used

func (*PolicyRule) DeepCopy added in v1.14.0

func (in *PolicyRule) DeepCopy() *PolicyRule

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

func (*PolicyRule) DeepCopyInto added in v1.14.0

func (in *PolicyRule) DeepCopyInto(out *PolicyRule)

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

func (*PolicyRule) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*PolicyRule) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*PolicyRule) Validate added in v1.5.0

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

Validate validates this policy rule

type PolicyTraceResult

type PolicyTraceResult struct {

	// log
	Log string `json:"log,omitempty"`

	// verdict
	Verdict string `json:"verdict,omitempty"`
}

PolicyTraceResult Response to a policy resolution process

swagger:model PolicyTraceResult

func (*PolicyTraceResult) ContextValidate added in v1.14.0

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

ContextValidate validates this policy trace result based on context it is used

func (*PolicyTraceResult) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*PolicyTraceResult) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*PolicyTraceResult) Validate

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

Validate validates this policy trace result

type Port added in v0.9.0

type Port struct {

	// Optional layer 4 port name
	Name string `json:"name,omitempty"`

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

	// Layer 4 protocol
	// Enum: [TCP UDP SCTP ICMP ICMPV6 ANY]
	Protocol string `json:"protocol,omitempty"`
}

Port Layer 4 port / protocol pair

+deepequal-gen=true

swagger:model Port

func (*Port) ContextValidate added in v1.14.0

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

ContextValidate validates this port based on context it is used

func (*Port) DeepEqual added in v1.14.0

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

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

func (*Port) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*Port) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*Port) Validate added in v0.9.0

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

Validate validates this port

type Prefilter added in v1.5.0

type Prefilter struct {

	// spec
	Spec *PrefilterSpec `json:"spec,omitempty"`

	// status
	Status *PrefilterStatus `json:"status,omitempty"`
}

Prefilter Collection of endpoints to be served

swagger:model Prefilter

func (*Prefilter) ContextValidate added in v1.14.0

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

ContextValidate validate this prefilter based on the context it is used

func (*Prefilter) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*Prefilter) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*Prefilter) Validate added in v1.5.0

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

Validate validates this prefilter

type PrefilterSpec added in v1.5.0

type PrefilterSpec struct {

	// deny
	Deny []string `json:"deny"`

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

PrefilterSpec CIDR ranges implemented in the Prefilter

swagger:model PrefilterSpec

func (*PrefilterSpec) ContextValidate added in v1.14.0

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

ContextValidate validates this prefilter spec based on context it is used

func (*PrefilterSpec) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*PrefilterSpec) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*PrefilterSpec) Validate added in v1.5.0

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

Validate validates this prefilter spec

type PrefilterStatus added in v1.5.0

type PrefilterStatus struct {

	// realized
	Realized *PrefilterSpec `json:"realized,omitempty"`
}

PrefilterStatus CIDR ranges implemented in the Prefilter

swagger:model PrefilterStatus

func (*PrefilterStatus) ContextValidate added in v1.14.0

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

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

func (*PrefilterStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*PrefilterStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*PrefilterStatus) Validate added in v1.5.0

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

Validate validates this prefilter status

type ProxyRedirect added in v1.14.0

type ProxyRedirect struct {

	// Name of the proxy redirect
	Name string `json:"name,omitempty"`

	// Name of the proxy this redirect points to
	Proxy string `json:"proxy,omitempty"`

	// Host port that this redirect points to
	ProxyPort int64 `json:"proxy-port,omitempty"`
}

ProxyRedirect Configured proxy redirection state

swagger:model ProxyRedirect

func (*ProxyRedirect) ContextValidate added in v1.14.0

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

ContextValidate validates this proxy redirect based on context it is used

func (*ProxyRedirect) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*ProxyRedirect) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*ProxyRedirect) Validate added in v1.14.0

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

Validate validates this proxy redirect

type ProxyStatistics added in v1.5.0

type ProxyStatistics struct {

	// The port the proxy is listening on
	AllocatedProxyPort int64 `json:"allocated-proxy-port,omitempty"`

	// Location of where the redirect is installed
	// Enum: [ingress egress]
	Location string `json:"location,omitempty"`

	// The port subject to the redirect
	Port int64 `json:"port,omitempty"`

	// Name of the L7 protocol
	Protocol string `json:"protocol,omitempty"`

	// Statistics of this set of proxy redirect
	Statistics *RequestResponseStatistics `json:"statistics,omitempty"`
}

ProxyStatistics Statistics of a set of proxy redirects for an endpoint

+k8s:deepcopy-gen=true

swagger:model ProxyStatistics

func (*ProxyStatistics) ContextValidate added in v1.14.0

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

ContextValidate validate this proxy statistics based on the context it is used

func (*ProxyStatistics) DeepCopy added in v1.5.0

func (in *ProxyStatistics) DeepCopy() *ProxyStatistics

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

func (*ProxyStatistics) DeepCopyInto added in v1.5.0

func (in *ProxyStatistics) DeepCopyInto(out *ProxyStatistics)

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

func (*ProxyStatistics) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ProxyStatistics) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ProxyStatistics) Validate added in v1.5.0

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

Validate validates this proxy statistics

type ProxyStatus added in v1.5.0

type ProxyStatus struct {

	// IP address that the proxy listens on
	IP string `json:"ip,omitempty"`

	// Port range used for proxying
	PortRange string `json:"port-range,omitempty"`

	// Detailed description of configured redirects
	Redirects []*ProxyRedirect `json:"redirects"`

	// Total number of listening proxy ports
	TotalPorts int64 `json:"total-ports,omitempty"`

	// Total number of ports configured to redirect to proxies
	TotalRedirects int64 `json:"total-redirects,omitempty"`
}

ProxyStatus Status of proxy

+k8s:deepcopy-gen=true

swagger:model ProxyStatus

func (*ProxyStatus) ContextValidate added in v1.14.0

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

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

func (*ProxyStatus) DeepCopy added in v1.14.0

func (in *ProxyStatus) DeepCopy() *ProxyStatus

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

func (*ProxyStatus) DeepCopyInto added in v1.14.0

func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)

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

func (*ProxyStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ProxyStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ProxyStatus) Validate added in v1.5.0

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

Validate validates this proxy status

type Recorder added in v1.14.0

type Recorder struct {

	// spec
	Spec *RecorderSpec `json:"spec,omitempty"`

	// status
	Status *RecorderStatus `json:"status,omitempty"`
}

Recorder Collection of wildcard filters for pcap recorder

swagger:model Recorder

func (*Recorder) ContextValidate added in v1.14.0

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

ContextValidate validate this recorder based on the context it is used

func (*Recorder) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*Recorder) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*Recorder) Validate added in v1.14.0

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

Validate validates this recorder

type RecorderFilter added in v1.14.0

type RecorderFilter struct {

	// Layer 4 destination port, zero (or in future range)
	DstPort string `json:"dst-port,omitempty"`

	// Layer 3 destination CIDR
	DstPrefix string `json:"dst-prefix,omitempty"`

	// Layer 4 protocol
	// Enum: [TCP UDP SCTP ANY]
	Protocol string `json:"protocol,omitempty"`

	// Layer 4 source port, zero (or in future range)
	SrcPort string `json:"src-port,omitempty"`

	// Layer 3 source CIDR
	SrcPrefix string `json:"src-prefix,omitempty"`
}

RecorderFilter n-tuple filter to match traffic to be recorded

swagger:model RecorderFilter

func (*RecorderFilter) ContextValidate added in v1.14.0

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

ContextValidate validates this recorder filter based on context it is used

func (*RecorderFilter) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderFilter) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderFilter) Validate added in v1.14.0

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

Validate validates this recorder filter

type RecorderMask added in v1.14.0

type RecorderMask struct {

	// status
	Status *RecorderMaskStatus `json:"status,omitempty"`
}

RecorderMask Individual mask for pcap recorder

swagger:model RecorderMask

func (*RecorderMask) ContextValidate added in v1.14.0

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

ContextValidate validate this recorder mask based on the context it is used

func (*RecorderMask) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderMask) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderMask) Validate added in v1.14.0

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

Validate validates this recorder mask

type RecorderMaskSpec added in v1.14.0

type RecorderMaskSpec struct {

	// Layer 4 destination port mask
	DstPortMask string `json:"dst-port-mask,omitempty"`

	// Layer 3 destination IP mask
	DstPrefixMask string `json:"dst-prefix-mask,omitempty"`

	// Priority of this mask
	Priority int64 `json:"priority,omitempty"`

	// Layer 4 protocol mask
	ProtocolMask string `json:"protocol-mask,omitempty"`

	// Layer 4 source port mask
	SrcPortMask string `json:"src-port-mask,omitempty"`

	// Layer 3 source IP mask
	SrcPrefixMask string `json:"src-prefix-mask,omitempty"`

	// Number of users of this mask
	Users int64 `json:"users,omitempty"`
}

RecorderMaskSpec Configuration of a recorder mask

swagger:model RecorderMaskSpec

func (*RecorderMaskSpec) ContextValidate added in v1.14.0

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

ContextValidate validates this recorder mask spec based on context it is used

func (*RecorderMaskSpec) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderMaskSpec) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderMaskSpec) Validate added in v1.14.0

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

Validate validates this recorder mask spec

type RecorderMaskStatus added in v1.14.0

type RecorderMaskStatus struct {

	// realized
	Realized *RecorderMaskSpec `json:"realized,omitempty"`
}

RecorderMaskStatus Configuration of a recorder mask

swagger:model RecorderMaskStatus

func (*RecorderMaskStatus) ContextValidate added in v1.14.0

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

ContextValidate validate this recorder mask status based on the context it is used

func (*RecorderMaskStatus) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderMaskStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderMaskStatus) Validate added in v1.14.0

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

Validate validates this recorder mask status

type RecorderSpec added in v1.14.0

type RecorderSpec struct {

	// Maximum packet length or zero for full packet length
	CaptureLength int64 `json:"capture-length,omitempty"`

	// List of wildcard filters for given recorder
	// Required: true
	Filters []*RecorderFilter `json:"filters"`

	// Unique identification
	// Required: true
	ID *int64 `json:"id"`
}

RecorderSpec Configuration of a recorder

swagger:model RecorderSpec

func (*RecorderSpec) ContextValidate added in v1.14.0

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

ContextValidate validate this recorder spec based on the context it is used

func (*RecorderSpec) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderSpec) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderSpec) Validate added in v1.14.0

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

Validate validates this recorder spec

type RecorderStatus added in v1.14.0

type RecorderStatus struct {

	// realized
	Realized *RecorderSpec `json:"realized,omitempty"`
}

RecorderStatus Configuration of a recorder

swagger:model RecorderStatus

func (*RecorderStatus) ContextValidate added in v1.14.0

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

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

func (*RecorderStatus) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RecorderStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RecorderStatus) Validate added in v1.14.0

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

Validate validates this recorder status

type RemoteCluster added in v1.14.0

type RemoteCluster struct {

	// Time of last failure that occurred while attempting to reach the cluster
	// Format: date-time
	LastFailure strfmt.DateTime `json:"last-failure,omitempty"`

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

	// Number of failures reaching the cluster
	NumFailures int64 `json:"num-failures,omitempty"`

	// Number of identities in the cluster
	NumIdentities int64 `json:"num-identities,omitempty"`

	// Number of nodes in the cluster
	NumNodes int64 `json:"num-nodes,omitempty"`

	// Number of services in the cluster
	NumSharedServices int64 `json:"num-shared-services,omitempty"`

	// Indicates readiness of the remote cluser
	Ready bool `json:"ready,omitempty"`

	// Status of the control plane
	Status string `json:"status,omitempty"`
}

RemoteCluster Status of remote cluster

+k8s:deepcopy-gen=true

swagger:model RemoteCluster

func (*RemoteCluster) ContextValidate added in v1.14.0

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

ContextValidate validates this remote cluster based on context it is used

func (*RemoteCluster) DeepCopy added in v1.14.0

func (in *RemoteCluster) DeepCopy() *RemoteCluster

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

func (*RemoteCluster) DeepCopyInto added in v1.14.0

func (in *RemoteCluster) DeepCopyInto(out *RemoteCluster)

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

func (*RemoteCluster) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*RemoteCluster) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*RemoteCluster) Validate added in v1.14.0

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

Validate validates this remote cluster

type RequestResponseStatistics added in v1.5.0

type RequestResponseStatistics struct {

	// requests
	Requests *MessageForwardingStatistics `json:"requests,omitempty"`

	// responses
	Responses *MessageForwardingStatistics `json:"responses,omitempty"`
}

RequestResponseStatistics Statistics of a proxy redirect

+k8s:deepcopy-gen=true

swagger:model RequestResponseStatistics

func (*RequestResponseStatistics) ContextValidate added in v1.14.0

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

ContextValidate validate this request response statistics based on the context it is used

func (*RequestResponseStatistics) DeepCopy added in v1.5.0

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

func (*RequestResponseStatistics) DeepCopyInto added in v1.5.0

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

func (*RequestResponseStatistics) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*RequestResponseStatistics) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*RequestResponseStatistics) Validate added in v1.5.0

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

Validate validates this request response statistics

type SelectorCache added in v1.6.0

type SelectorCache []*SelectorIdentityMapping

SelectorCache cache of which identities match selectors in the policy repository

swagger:model SelectorCache

func (SelectorCache) ContextValidate added in v1.14.0

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

ContextValidate validate this selector cache based on the context it is used

func (SelectorCache) Validate added in v1.6.0

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

Validate validates this selector cache

type SelectorEntry added in v1.14.0

type SelectorEntry struct {

	// String representation of regular expression form of FQDNSelector
	RegexString string `json:"regexString,omitempty"`

	// FQDNSelector in string representation
	SelectorString string `json:"selectorString,omitempty"`
}

SelectorEntry Mapping of FQDNSelector to corresponding regular expression

swagger:model SelectorEntry

func (*SelectorEntry) ContextValidate added in v1.14.0

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

ContextValidate validates this selector entry based on context it is used

func (*SelectorEntry) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*SelectorEntry) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*SelectorEntry) Validate added in v1.14.0

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

Validate validates this selector entry

type SelectorIdentityMapping added in v1.6.0

type SelectorIdentityMapping struct {

	// identities mapping to this selector
	Identities []int64 `json:"identities"`

	// string form of selector
	Selector string `json:"selector,omitempty"`

	// number of users of this selector in the cache
	Users int64 `json:"users,omitempty"`
}

SelectorIdentityMapping mapping of selector to identities which match it

swagger:model SelectorIdentityMapping

func (*SelectorIdentityMapping) ContextValidate added in v1.14.0

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

ContextValidate validates this selector identity mapping based on context it is used

func (*SelectorIdentityMapping) MarshalBinary added in v1.6.0

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

MarshalBinary interface implementation

func (*SelectorIdentityMapping) UnmarshalBinary added in v1.6.0

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

UnmarshalBinary interface implementation

func (*SelectorIdentityMapping) Validate added in v1.6.0

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

Validate validates this selector identity mapping

type Service

type Service struct {

	// spec
	Spec *ServiceSpec `json:"spec,omitempty"`

	// status
	Status *ServiceStatus `json:"status,omitempty"`
}

Service Collection of endpoints to be served

swagger:model Service

func (*Service) ContextValidate added in v1.14.0

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

ContextValidate validate this service based on the context it is used

func (*Service) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type ServiceSpec added in v1.5.0

type ServiceSpec struct {

	// List of backend addresses
	BackendAddresses []*BackendAddress `json:"backend-addresses"`

	// flags
	Flags *ServiceSpecFlags `json:"flags,omitempty"`

	// Frontend address
	// Required: true
	FrontendAddress *FrontendAddress `json:"frontend-address"`

	// Unique identification
	ID int64 `json:"id,omitempty"`

	// Update all services selecting the backends with their given states
	// (id and frontend are ignored)
	//
	UpdateServices bool `json:"updateServices,omitempty"`
}

ServiceSpec Configuration of a service

swagger:model ServiceSpec

func (*ServiceSpec) ContextValidate added in v1.14.0

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

ContextValidate validate this service spec based on the context it is used

func (*ServiceSpec) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ServiceSpec) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ServiceSpec) Validate added in v1.5.0

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

Validate validates this service spec

type ServiceSpecFlags added in v1.5.0

type ServiceSpecFlags struct {

	// Service external traffic policy
	// Enum: [Cluster Local]
	ExtTrafficPolicy string `json:"extTrafficPolicy,omitempty"`

	// Service health check node port
	HealthCheckNodePort uint16 `json:"healthCheckNodePort,omitempty"`

	// Service internal traffic policy
	// Enum: [Cluster Local]
	IntTrafficPolicy string `json:"intTrafficPolicy,omitempty"`

	// Service name  (e.g. Kubernetes service name)
	Name string `json:"name,omitempty"`

	// Service namespace  (e.g. Kubernetes namespace)
	Namespace string `json:"namespace,omitempty"`

	// Service protocol NAT policy
	// Enum: [None Nat46 Nat64]
	NatPolicy string `json:"natPolicy,omitempty"`

	// Service external traffic policy (deprecated in favor of extTrafficPolicy)
	// Enum: [Cluster Local]
	TrafficPolicy string `json:"trafficPolicy,omitempty"`

	// Service type
	// Enum: [ClusterIP NodePort ExternalIPs HostPort LoadBalancer LocalRedirect]
	Type string `json:"type,omitempty"`
}

ServiceSpecFlags Optional service configuration flags

swagger:model ServiceSpecFlags

func (*ServiceSpecFlags) ContextValidate added in v1.14.0

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

ContextValidate validates this service spec flags based on context it is used

func (*ServiceSpecFlags) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ServiceSpecFlags) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ServiceSpecFlags) Validate added in v1.5.0

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

Validate validates this service spec flags

type ServiceStatus added in v1.5.0

type ServiceStatus struct {

	// realized
	Realized *ServiceSpec `json:"realized,omitempty"`
}

ServiceStatus Configuration of a service

swagger:model ServiceStatus

func (*ServiceStatus) ContextValidate added in v1.14.0

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

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

func (*ServiceStatus) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*ServiceStatus) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*ServiceStatus) Validate added in v1.5.0

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

Validate validates this service status

type Status

type Status struct {

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

	// State the component is in
	// Enum: [Ok Warning Failure Disabled]
	State string `json:"state,omitempty"`
}

Status Status of an individual component

swagger:model Status

func (*Status) ContextValidate added in v1.14.0

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

ContextValidate validates this status based on context it is used

func (*Status) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*Status) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*Status) Validate

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

Validate validates this status

type StatusResponse

type StatusResponse struct {

	// Status of bandwidth manager
	BandwidthManager *BandwidthManager `json:"bandwidth-manager,omitempty"`

	// Status of BPF maps
	BpfMaps *BPFMapStatus `json:"bpf-maps,omitempty"`

	// Status of Cilium daemon
	Cilium *Status `json:"cilium,omitempty"`

	// When supported by the API, this client ID should be used by the
	// client when making another request to the server.
	// See for example "/cluster/nodes".
	//
	ClientID int64 `json:"client-id,omitempty"`

	// Status of clock source
	ClockSource *ClockSource `json:"clock-source,omitempty"`

	// Status of cluster
	Cluster *ClusterStatus `json:"cluster,omitempty"`

	// Status of ClusterMesh
	ClusterMesh *ClusterMeshStatus `json:"cluster-mesh,omitempty"`

	// Status of CNI chaining
	CniChaining *CNIChainingStatus `json:"cni-chaining,omitempty"`

	// Status of the CNI configuration file
	CniFile *Status `json:"cni-file,omitempty"`

	// Status of local container runtime
	ContainerRuntime *Status `json:"container-runtime,omitempty"`

	// Status of all endpoint controllers
	Controllers ControllerStatuses `json:"controllers,omitempty"`

	// Status of transparent encryption
	Encryption *EncryptionStatus `json:"encryption,omitempty"`

	// Status of the host firewall
	HostFirewall *HostFirewall `json:"host-firewall,omitempty"`

	// Status of host routing
	HostRouting *HostRouting `json:"host-routing,omitempty"`

	// Status of Hubble server
	Hubble *HubbleStatus `json:"hubble,omitempty"`

	// Status of identity range of the cluster
	IdentityRange *IdentityRange `json:"identity-range,omitempty"`

	// Status of IP address management
	Ipam *IPAMStatus `json:"ipam,omitempty"`

	// Status of IPv6 BIG TCP
	IPV6BigTCP *IPV6BigTCP `json:"ipv6-big-tcp,omitempty"`

	// Status of kube-proxy replacement
	KubeProxyReplacement *KubeProxyReplacement `json:"kube-proxy-replacement,omitempty"`

	// Status of Kubernetes integration
	Kubernetes *K8sStatus `json:"kubernetes,omitempty"`

	// Status of key/value datastore
	Kvstore *Status `json:"kvstore,omitempty"`

	// Status of masquerading
	Masquerading *Masquerading `json:"masquerading,omitempty"`

	// Status of the node monitor
	NodeMonitor *MonitorStatus `json:"nodeMonitor,omitempty"`

	// Status of proxy
	Proxy *ProxyStatus `json:"proxy,omitempty"`

	// List of stale information in the status
	Stale map[string]strfmt.DateTime `json:"stale,omitempty"`
}

StatusResponse Health and status information of daemon

+k8s:deepcopy-gen=true

swagger:model StatusResponse

func (*StatusResponse) ContextValidate added in v1.14.0

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

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

func (*StatusResponse) DeepCopy added in v1.5.0

func (in *StatusResponse) DeepCopy() *StatusResponse

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

func (*StatusResponse) DeepCopyInto added in v1.5.0

func (in *StatusResponse) DeepCopyInto(out *StatusResponse)

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

func (*StatusResponse) MarshalBinary added in v0.9.0

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary added in v0.9.0

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate

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

Validate validates this status response

type TraceFrom added in v1.5.0

type TraceFrom struct {

	// labels
	Labels Labels `json:"labels,omitempty"`
}

TraceFrom trace from

swagger:model TraceFrom

func (*TraceFrom) ContextValidate added in v1.14.0

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

ContextValidate validate this trace from based on the context it is used

func (*TraceFrom) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*TraceFrom) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*TraceFrom) Validate added in v1.5.0

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

Validate validates this trace from

type TraceSelector added in v1.5.0

type TraceSelector struct {

	// from
	From *TraceFrom `json:"from,omitempty"`

	// to
	To *TraceTo `json:"to,omitempty"`

	// Enable verbose tracing.
	//
	Verbose bool `json:"verbose,omitempty"`
}

TraceSelector Context describing a pair of source and destination identity

swagger:model TraceSelector

func (*TraceSelector) ContextValidate added in v1.14.0

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

ContextValidate validate this trace selector based on the context it is used

func (*TraceSelector) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*TraceSelector) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*TraceSelector) Validate added in v1.5.0

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

Validate validates this trace selector

type TraceTo added in v1.5.0

type TraceTo struct {

	// List of Layer 4 port and protocol pairs which will be used in communication
	// from the source identity to the destination identity.
	//
	Dports []*Port `json:"dports"`

	// labels
	Labels Labels `json:"labels,omitempty"`
}

TraceTo trace to

swagger:model TraceTo

func (*TraceTo) ContextValidate added in v1.14.0

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

ContextValidate validate this trace to based on the context it is used

func (*TraceTo) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*TraceTo) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*TraceTo) Validate added in v1.5.0

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

Validate validates this trace to

type WireguardInterface added in v1.14.0

type WireguardInterface struct {

	// Port on which the Wireguard endpoint is exposed
	ListenPort int64 `json:"listen-port,omitempty"`

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

	// Number of peers configured on this interface
	PeerCount int64 `json:"peer-count,omitempty"`

	// Optional list of wireguard peers
	Peers []*WireguardPeer `json:"peers"`

	// Public key of this interface
	PublicKey string `json:"public-key,omitempty"`
}

WireguardInterface Status of a Wireguard interface

+k8s:deepcopy-gen=true

swagger:model WireguardInterface

func (*WireguardInterface) ContextValidate added in v1.14.0

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

ContextValidate validate this wireguard interface based on the context it is used

func (*WireguardInterface) DeepCopy added in v1.14.0

func (in *WireguardInterface) DeepCopy() *WireguardInterface

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

func (*WireguardInterface) DeepCopyInto added in v1.14.0

func (in *WireguardInterface) DeepCopyInto(out *WireguardInterface)

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

func (*WireguardInterface) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*WireguardInterface) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*WireguardInterface) Validate added in v1.14.0

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

Validate validates this wireguard interface

type WireguardPeer added in v1.14.0

type WireguardPeer struct {

	// List of IPs which may be routed through this peer
	AllowedIps []string `json:"allowed-ips"`

	// Endpoint on which we are connected to this peer
	Endpoint string `json:"endpoint,omitempty"`

	// Timestamp of the last handshake with this peer
	// Format: date-time
	LastHandshakeTime strfmt.DateTime `json:"last-handshake-time,omitempty"`

	// Public key of this peer
	PublicKey string `json:"public-key,omitempty"`

	// Number of received bytes
	TransferRx int64 `json:"transfer-rx,omitempty"`

	// Number of sent bytes
	TransferTx int64 `json:"transfer-tx,omitempty"`
}

WireguardPeer Status of a Wireguard peer

+k8s:deepcopy-gen=true

swagger:model WireguardPeer

func (*WireguardPeer) ContextValidate added in v1.14.0

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

ContextValidate validates this wireguard peer based on context it is used

func (*WireguardPeer) DeepCopy added in v1.14.0

func (in *WireguardPeer) DeepCopy() *WireguardPeer

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

func (*WireguardPeer) DeepCopyInto added in v1.14.0

func (in *WireguardPeer) DeepCopyInto(out *WireguardPeer)

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

func (*WireguardPeer) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*WireguardPeer) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*WireguardPeer) Validate added in v1.14.0

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

Validate validates this wireguard peer

type WireguardStatus added in v1.14.0

type WireguardStatus struct {

	// Wireguard interfaces managed by this Cilium instance
	Interfaces []*WireguardInterface `json:"interfaces"`
}

WireguardStatus Status of the Wireguard agent

+k8s:deepcopy-gen=true

swagger:model WireguardStatus

func (*WireguardStatus) ContextValidate added in v1.14.0

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

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

func (*WireguardStatus) DeepCopy added in v1.14.0

func (in *WireguardStatus) DeepCopy() *WireguardStatus

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

func (*WireguardStatus) DeepCopyInto added in v1.14.0

func (in *WireguardStatus) DeepCopyInto(out *WireguardStatus)

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

func (*WireguardStatus) MarshalBinary added in v1.14.0

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

MarshalBinary interface implementation

func (*WireguardStatus) UnmarshalBinary added in v1.14.0

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

UnmarshalBinary interface implementation

func (*WireguardStatus) Validate added in v1.14.0

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

Validate validates this wireguard status

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL