cilium: github.com/cilium/cilium/api/v1/models Index | Files

package models

import "github.com/cilium/cilium/api/v1/models"

Index

Package Files

address.go address_pair.go b_p_f_map.go b_p_f_map_entry.go b_p_f_map_list.go backend_address.go c_id_r_list.go c_id_r_policy.go cluster_status.go configuration_map.go controller_status.go controller_statuses.go daemon_configuration.go daemon_configuration_spec.go daemon_configuration_status.go debug_info.go endpoint.go endpoint_change_request.go endpoint_configuration_spec.go endpoint_configuration_status.go endpoint_health.go endpoint_health_status.go endpoint_identifiers.go endpoint_networking.go endpoint_policy.go endpoint_policy_enabled.go endpoint_policy_status.go endpoint_state.go endpoint_status.go endpoint_status_change.go endpoint_status_log.go error.go frontend_address.go identity.go ip_a_m_response.go ip_a_m_status.go k8s_status.go k_vstore_configuration.go l4_policy.go label_configuration.go label_configuration_spec.go label_configuration_status.go labels.go message_forwarding_statistics.go metric.go monitor_status.go node_addressing.go node_addressing_element.go node_element.go policy.go policy_rule.go policy_trace_result.go port.go prefilter.go prefilter_spec.go prefilter_status.go proxy_statistics.go proxy_status.go request_response_statistics.go service.go service_spec.go service_status.go status.go status_response.go trace_from.go trace_selector.go trace_to.go

Constants

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"
)
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"
)
const (
    // EndpointStatusChangeCodeOk captures enum value "ok"
    EndpointStatusChangeCodeOk string = "ok"
    // EndpointStatusChangeCodeFailed captures enum value "failed"
    EndpointStatusChangeCodeFailed string = "failed"
)
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"
)
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"
)
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"
)
const (
    // ProxyStatisticsLocationIngress captures enum value "ingress"
    ProxyStatisticsLocationIngress string = "ingress"
    // ProxyStatisticsLocationEgress captures enum value "egress"
    ProxyStatisticsLocationEgress string = "egress"
)
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"
)

type Address Uses

type Address string

func (Address) Validate Uses

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

Validate validates this address

type AddressPair Uses

type AddressPair struct {

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

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

func (*AddressPair) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*AddressPair) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*AddressPair) Validate Uses

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

Validate validates this address pair

type BPFMap Uses

type BPFMap struct {

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

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

func (*BPFMap) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*BPFMap) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*BPFMap) Validate Uses

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

Validate validates this b p f map

type BPFMapEntry Uses

type BPFMapEntry struct {

    // Desired action to be performed
    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"`
}

func (*BPFMapEntry) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*BPFMapEntry) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*BPFMapEntry) Validate Uses

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

Validate validates this b p f map entry

type BPFMapList Uses

type BPFMapList struct {

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

func (*BPFMapList) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*BPFMapList) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*BPFMapList) Validate Uses

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

Validate validates this b p f map list

type BackendAddress Uses

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

func (*BackendAddress) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*BackendAddress) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*BackendAddress) Validate Uses

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

Validate validates this backend address

type CIDRList Uses

type CIDRList struct {

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

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

func (*CIDRList) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*CIDRList) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*CIDRList) Validate Uses

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

Validate validates this c ID r list

type CIDRPolicy Uses

type CIDRPolicy struct {

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

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

func (*CIDRPolicy) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*CIDRPolicy) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*CIDRPolicy) Validate Uses

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

Validate validates this c ID r policy

type ClusterStatus Uses

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

func (*ClusterStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ClusterStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ClusterStatus) Validate Uses

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

Validate validates this cluster status

type ConfigurationMap Uses

type ConfigurationMap map[string]string

func (ConfigurationMap) Validate Uses

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

Validate validates this configuration map

type ControllerStatus Uses

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
    UUID strfmt.UUID `json:"uuid,omitempty"`
}

func (*ControllerStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ControllerStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ControllerStatus) Validate Uses

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

Validate validates this controller status

type ControllerStatusConfiguration Uses

type ControllerStatusConfiguration struct {

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

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

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

func (*ControllerStatusConfiguration) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ControllerStatusConfiguration) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ControllerStatusConfiguration) Validate Uses

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

Validate validates this controller status configuration

type ControllerStatusStatus Uses

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
    LastFailureTimestamp strfmt.DateTime `json:"last-failure-timestamp,omitempty"`

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

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

func (*ControllerStatusStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ControllerStatusStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ControllerStatusStatus) Validate Uses

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

Validate validates this controller status status

type ControllerStatuses Uses

type ControllerStatuses []*ControllerStatus

func (ControllerStatuses) Validate Uses

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

Validate validates this controller statuses

type DaemonConfiguration Uses

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

func (*DaemonConfiguration) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DaemonConfiguration) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DaemonConfiguration) Validate Uses

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

Validate validates this daemon configuration

type DaemonConfigurationSpec Uses

type DaemonConfigurationSpec struct {

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

    // The policy-enforcement mode
    PolicyEnforcement string `json:"policy-enforcement,omitempty"`
}

func (*DaemonConfigurationSpec) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DaemonConfigurationSpec) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DaemonConfigurationSpec) Validate Uses

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

Validate validates this daemon configuration spec

type DaemonConfigurationStatus Uses

type DaemonConfigurationStatus struct {

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

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

    // Immutable configuration (read-only)
    Immutable ConfigurationMap `json:"immutable,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"`
}

func (*DaemonConfigurationStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DaemonConfigurationStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DaemonConfigurationStatus) Validate Uses

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

Validate validates this daemon configuration status

type DebugInfo Uses

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

func (*DebugInfo) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*DebugInfo) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*DebugInfo) Validate Uses

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

Validate validates this debug info

type Endpoint Uses

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

func (*Endpoint) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Endpoint) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Endpoint) Validate Uses

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

Validate validates this endpoint

type EndpointChangeRequest Uses

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

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

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

func (*EndpointChangeRequest) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointChangeRequest) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointChangeRequest) Validate Uses

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

Validate validates this endpoint change request

type EndpointConfigurationSpec Uses

type EndpointConfigurationSpec struct {

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

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

func (*EndpointConfigurationSpec) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointConfigurationSpec) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointConfigurationSpec) Validate Uses

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

Validate validates this endpoint configuration spec

type EndpointConfigurationStatus Uses

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

func (*EndpointConfigurationStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointConfigurationStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointConfigurationStatus) Validate Uses

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

Validate validates this endpoint configuration status

type EndpointHealth Uses

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

func (*EndpointHealth) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointHealth) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointHealth) Validate Uses

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

Validate validates this endpoint health

type EndpointHealthStatus Uses

type EndpointHealthStatus string
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 Uses

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

Validate validates this endpoint health status

type EndpointIdentifiers Uses

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

func (*EndpointIdentifiers) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointIdentifiers) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointIdentifiers) Validate Uses

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

Validate validates this endpoint identifiers

type EndpointNetworking Uses

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

func (*EndpointNetworking) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointNetworking) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointNetworking) Validate Uses

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

Validate validates this endpoint networking

type EndpointPolicy Uses

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

func (*EndpointPolicy) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointPolicy) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointPolicy) Validate Uses

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

Validate validates this endpoint policy

type EndpointPolicyEnabled Uses

type EndpointPolicyEnabled string
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 Uses

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

Validate validates this endpoint policy enabled

type EndpointPolicyStatus Uses

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

func (*EndpointPolicyStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointPolicyStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointPolicyStatus) Validate Uses

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

Validate validates this endpoint policy status

type EndpointState Uses

type EndpointState string
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 Uses

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

Validate validates this endpoint state

type EndpointStatus Uses

type EndpointStatus struct {

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

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

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

func (*EndpointStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointStatus) Validate Uses

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

Validate validates this endpoint status

type EndpointStatusChange Uses

type EndpointStatusChange struct {

    // Code indicate type of status change
    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"`
}

func (*EndpointStatusChange) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*EndpointStatusChange) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*EndpointStatusChange) Validate Uses

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

Validate validates this endpoint status change

type EndpointStatusLog Uses

type EndpointStatusLog []*EndpointStatusChange

func (EndpointStatusLog) Validate Uses

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

Validate validates this endpoint status log

type Error Uses

type Error string

func (Error) Validate Uses

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

Validate validates this error

type FrontendAddress Uses

type FrontendAddress struct {

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

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

    // Layer 4 protocol
    Protocol string `json:"protocol,omitempty"`
}

func (*FrontendAddress) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*FrontendAddress) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*FrontendAddress) Validate Uses

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

Validate validates this frontend address

type IPAMResponse Uses

type IPAMResponse struct {

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

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

func (*IPAMResponse) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*IPAMResponse) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*IPAMResponse) Validate Uses

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

Validate validates this IP a m response

type IPAMStatus Uses

type IPAMStatus struct {

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

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

func (*IPAMStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*IPAMStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*IPAMStatus) Validate Uses

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

Validate validates this IP a m status

type Identity Uses

type Identity struct {

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

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

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

func (*Identity) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Identity) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Identity) Validate Uses

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

Validate validates this identity

type K8sStatus Uses

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
    State string `json:"state,omitempty"`
}

func (*K8sStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*K8sStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*K8sStatus) Validate Uses

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

Validate validates this k8s status

type KVstoreConfiguration Uses

type KVstoreConfiguration struct {

    // Configuration options
    Options map[string]string `json:"options,omitempty"`

    // Type of kvstore
    Type string `json:"type,omitempty"`
}

func (*KVstoreConfiguration) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KVstoreConfiguration) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KVstoreConfiguration) Validate Uses

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

Validate validates this k vstore configuration

type L4Policy Uses

type L4Policy struct {

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

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

func (*L4Policy) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*L4Policy) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*L4Policy) Validate Uses

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

Validate validates this l4 policy

type LabelConfiguration Uses

type LabelConfiguration struct {

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

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

func (*LabelConfiguration) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*LabelConfiguration) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*LabelConfiguration) Validate Uses

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

Validate validates this label configuration

type LabelConfigurationSpec Uses

type LabelConfigurationSpec struct {

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

func (*LabelConfigurationSpec) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*LabelConfigurationSpec) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*LabelConfigurationSpec) Validate Uses

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

Validate validates this label configuration spec

type LabelConfigurationStatus Uses

type LabelConfigurationStatus struct {

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

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

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

func (*LabelConfigurationStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*LabelConfigurationStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*LabelConfigurationStatus) Validate Uses

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

Validate validates this label configuration status

type Labels Uses

type Labels []string

func (Labels) Validate Uses

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

Validate validates this labels

type MessageForwardingStatistics Uses

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

func (*MessageForwardingStatistics) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*MessageForwardingStatistics) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*MessageForwardingStatistics) Validate Uses

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

Validate validates this message forwarding statistics

type Metric Uses

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

func (*Metric) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Metric) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Metric) Validate Uses

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

Validate validates this metric

type MonitorStatus Uses

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

func (*MonitorStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*MonitorStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*MonitorStatus) Validate Uses

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

Validate validates this monitor status

type NodeAddressing Uses

type NodeAddressing struct {

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

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

func (*NodeAddressing) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*NodeAddressing) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*NodeAddressing) Validate Uses

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

Validate validates this node addressing

type NodeAddressingElement Uses

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

func (*NodeAddressingElement) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*NodeAddressingElement) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*NodeAddressingElement) Validate Uses

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

Validate validates this node addressing element

type NodeElement Uses

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

func (*NodeElement) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*NodeElement) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*NodeElement) Validate Uses

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

Validate validates this node element

type Policy Uses

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

func (*Policy) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Policy) Validate Uses

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

Validate validates this policy

type PolicyRule Uses

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

func (*PolicyRule) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*PolicyRule) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*PolicyRule) Validate Uses

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

Validate validates this policy rule

type PolicyTraceResult Uses

type PolicyTraceResult struct {

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

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

func (*PolicyTraceResult) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*PolicyTraceResult) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*PolicyTraceResult) Validate Uses

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

Validate validates this policy trace result

type Port Uses

type Port struct {

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

    // Layer 4 protocol
    Protocol string `json:"protocol,omitempty"`
}

func (*Port) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Port) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Port) Validate Uses

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

Validate validates this port

type Prefilter Uses

type Prefilter struct {

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

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

func (*Prefilter) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Prefilter) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Prefilter) Validate Uses

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

Validate validates this prefilter

type PrefilterSpec Uses

type PrefilterSpec struct {

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

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

func (*PrefilterSpec) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*PrefilterSpec) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*PrefilterSpec) Validate Uses

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

Validate validates this prefilter spec

type PrefilterStatus Uses

type PrefilterStatus struct {

    // realized
    Realized *PrefilterSpec `json:"realized,omitempty"`
}

func (*PrefilterStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*PrefilterStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*PrefilterStatus) Validate Uses

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

Validate validates this prefilter status

type ProxyStatistics Uses

type ProxyStatistics struct {

    // The port the proxy is listening on
    AllocatedProxyPort int64 `json:"allocated-proxy-port,omitempty"`

    // Location of where the redirect is installed
    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"`
}

func (*ProxyStatistics) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ProxyStatistics) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ProxyStatistics) Validate Uses

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

Validate validates this proxy statistics

type ProxyStatus Uses

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

func (*ProxyStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ProxyStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ProxyStatus) Validate Uses

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

Validate validates this proxy status

type RequestResponseStatistics Uses

type RequestResponseStatistics struct {

    // requests
    Requests *MessageForwardingStatistics `json:"requests,omitempty"`

    // responses
    Responses *MessageForwardingStatistics `json:"responses,omitempty"`
}

func (*RequestResponseStatistics) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*RequestResponseStatistics) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*RequestResponseStatistics) Validate Uses

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

Validate validates this request response statistics

type Service Uses

type Service struct {

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

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

func (*Service) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Service) Validate Uses

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

Validate validates this service

type ServiceSpec Uses

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

func (*ServiceSpec) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ServiceSpec) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ServiceSpec) Validate Uses

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

Validate validates this service spec

type ServiceSpecFlags Uses

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

func (*ServiceSpecFlags) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ServiceSpecFlags) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ServiceSpecFlags) Validate Uses

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

Validate validates this service spec flags

type ServiceStatus Uses

type ServiceStatus struct {

    // realized
    Realized *ServiceSpec `json:"realized,omitempty"`
}

func (*ServiceStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ServiceStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ServiceStatus) Validate Uses

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

Validate validates this service status

type Status Uses

type Status struct {

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

    // State the component is in
    State string `json:"state,omitempty"`
}

func (*Status) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*Status) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*Status) Validate Uses

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

Validate validates this status

type StatusResponse Uses

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

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

func (*StatusResponse) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate Uses

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

Validate validates this status response

type TraceFrom Uses

type TraceFrom struct {

    // labels
    Labels Labels `json:"labels"`
}

func (*TraceFrom) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*TraceFrom) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*TraceFrom) Validate Uses

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

Validate validates this trace from

type TraceSelector Uses

type TraceSelector struct {

    // from
    From *TraceFrom `json:"from,omitempty"`

    // to
    To  *TraceTo `json:"to,omitempty"`

    // Enable verbose tracing.
    //
    Verbose bool `json:"verbose,omitempty"`
}

func (*TraceSelector) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*TraceSelector) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*TraceSelector) Validate Uses

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

Validate validates this trace selector

type TraceTo Uses

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

func (*TraceTo) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*TraceTo) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*TraceTo) Validate Uses

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

Validate validates this trace to

Package models imports 6 packages (graph) and is imported by 68 packages. Updated 2018-12-09. Refresh now. Tools for package owners.