models

package
v1.5.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2019 License: Apache-2.0 Imports: 6 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 (

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

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

	// IpvlanConfigurationOperationModeL3 captures enum value "L3"
	IpvlanConfigurationOperationModeL3 string = "L3"

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

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

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

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

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

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

AddressPair Addressing information of an endpoint swagger:model AddressPair

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) 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) 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) 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) 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 BackendAddress

type BackendAddress struct {

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

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

	// Weight for Round Robin
	Weight uint16 `json:"weight,omitempty"`
}

BackendAddress Service backend address swagger:model BackendAddress

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 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) 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 swagger:model CIDRPolicy

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 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 swagger:model ClusterStatus +k8s:deepcopy-gen=true

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) 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 swagger:model ControllerStatus +k8s:deepcopy-gen=true

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 swagger:model ControllerStatusConfiguration

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 swagger:model ControllerStatusStatus +k8s:deepcopy-gen=true

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) 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 recieved
	// Format: date-time
	LookupTime strfmt.DateTime `json:"lookup-time,omitempty"`

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

DNSLookup An IP -> DNS mapping, with metadata swagger:model DNSLookup

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) 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) 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 {

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

	// datapath mode
	DatapathMode DatapathMode `json:"datapathMode,omitempty"`

	// MTU on workload facing devices
	DeviceMTU int64 `json:"deviceMTU,omitempty"`

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

	// ipvlan configuration
	IpvlanConfiguration *IpvlanConfiguration `json:"ipvlanConfiguration,omitempty"`

	// k8s configuration
	K8sConfiguration string `json:"k8s-configuration,omitempty"`

	// k8s endpoint
	K8sEndpoint string `json:"k8s-endpoint,omitempty"`

	// kvstore configuration
	KvstoreConfiguration *KVstoreConfiguration `json:"kvstoreConfiguration,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) 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 DatapathMode added in v1.5.0

type DatapathMode string

DatapathMode Datapath mode swagger:model DatapathMode

const (

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

	// DatapathModeIpvlan captures enum value "ipvlan"
	DatapathModeIpvlan DatapathMode = "ipvlan"
)

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

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

	// 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) 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) 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) 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 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 swagger:model EndpointHealth

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 (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 pod for this endpoint
	PodName string `json:"pod-name,omitempty"`
}

EndpointIdentifiers Unique identifiers for this endpoint from outside cilium swagger:model EndpointIdentifiers

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

	// 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 swagger:model EndpointPolicy

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

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

	// EndpointStateCreating captures enum value "creating"
	EndpointStateCreating EndpointState = "creating"

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

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

	// EndpointStateWaitingToRegenerate captures enum value "waiting-to-regenerate"
	EndpointStateWaitingToRegenerate 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"
)

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

	// 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) 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 swagger:model EndpointStatusChange

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

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

IPAMResponse IPAM configuration of an endpoint swagger:model IPAMResponse

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

IPAMStatus Status of IP address management swagger:model IPAMStatus +k8s:deepcopy-gen=true

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 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) 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 IpvlanConfiguration added in v1.5.0

type IpvlanConfiguration struct {

	// Workload facing ipvlan master device ifindex.
	MasterDeviceIndex int64 `json:"masterDeviceIndex,omitempty"`

	// Mode in which ipvlan setup operates.
	// Enum: [L3 L3S]
	OperationMode string `json:"operationMode,omitempty"`
}

IpvlanConfiguration Setup for datapath when operating in ipvlan mode. swagger:model IpvlanConfiguration

func (*IpvlanConfiguration) MarshalBinary added in v1.5.0

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

MarshalBinary interface implementation

func (*IpvlanConfiguration) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*IpvlanConfiguration) Validate added in v1.5.0

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

Validate validates this ipvlan configuration

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 swagger:model K8sStatus +k8s:deepcopy-gen=true

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) 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 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 swagger:model L4Policy

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 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) 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) 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) 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) Validate

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

Validate validates this labels

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) 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) 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) 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 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 swagger:model NodeAddressing +k8s:deepcopy-gen=true

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

	// 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 swagger:model NodeElement +k8s:deepcopy-gen=true

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 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) 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 swagger:model PolicyRule

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) 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 {

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

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

Port Layer 4 port / protocol pair swagger:model Port

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) 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) 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) 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 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 swagger:model ProxyStatistics +k8s:deepcopy-gen=true

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

ProxyStatus Status of proxy swagger:model ProxyStatus

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 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 swagger:model RequestResponseStatistics +k8s:deepcopy-gen=true

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

ServiceSpec Configuration of a service swagger:model ServiceSpec

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 {

	// Frontend to backend translation activated
	ActiveFrontend bool `json:"active-frontend,omitempty"`

	// Perform direct server return
	DirectServerReturn bool `json:"direct-server-return,omitempty"`
}

ServiceSpecFlags Optional service configuration flags swagger:model ServiceSpecFlags

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) 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) 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 Cilium daemon
	Cilium *Status `json:"cilium,omitempty"`

	// Status of cluster
	Cluster *ClusterStatus `json:"cluster,omitempty"`

	// Status of local container runtime
	ContainerRuntime *Status `json:"container-runtime,omitempty"`

	// Status of all endpoint controllers
	Controllers ControllerStatuses `json:"controllers,omitempty"`

	// Status of IP address management
	IPAM *IPAMStatus `json:"ipam,omitempty"`

	// Status of Kubernetes integration
	Kubernetes *K8sStatus `json:"kubernetes,omitempty"`

	// Status of key/value datastore
	Kvstore *Status `json:"kvstore,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 swagger:model StatusResponse +k8s:deepcopy-gen=true

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) 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) 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) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL