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

package models

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

Index

Package Files

allocation_map.go cluster_mesh_status.go cluster_status.go connectivity_status.go controller_status.go controller_statuses.go error.go health_response.go health_status_response.go host_status.go ip_a_m_status.go k8s_status.go kube_proxy_replacement.go load_response.go monitor_status.go node_addressing.go node_addressing_element.go node_element.go node_status.go path_status.go proxy_redirect.go proxy_status.go remote_cluster.go self_status.go status.go status_response.go

Constants

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 (

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

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

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

    // KubeProxyReplacementModePartial captures enum value "Partial"
    KubeProxyReplacementModePartial string = "Partial"
)
const (

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

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

    // KubeProxyReplacementFeaturesNodePortModeHYBRID captures enum value "HYBRID"
    KubeProxyReplacementFeaturesNodePortModeHYBRID string = "HYBRID"
)
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 AllocationMap Uses

type AllocationMap map[string]string

AllocationMap Map of allocated IPs

swagger:model allocationMap

func (AllocationMap) Validate Uses

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

Validate validates this allocation map

type ClusterMeshStatus Uses

type ClusterMeshStatus struct {

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

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

ClusterMeshStatus Status of ClusterMesh swagger:model clusterMeshStatus

func (*ClusterMeshStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ClusterMeshStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ClusterMeshStatus) Validate Uses

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

Validate validates this cluster mesh status

type ClusterStatus Uses

type ClusterStatus struct {

    // cilium health
    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

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 ConnectivityStatus Uses

type ConnectivityStatus struct {

    // Round trip time to node in nanoseconds
    Latency int64 `json:"latency,omitempty"`

    // Human readable status/error/warning message
    Status string `json:"status,omitempty"`
}

ConnectivityStatus Connectivity status of a path swagger:model ConnectivityStatus

func (*ConnectivityStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ConnectivityStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ConnectivityStatus) Validate Uses

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

Validate validates this connectivity status

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

ControllerStatus Status of a controller swagger:model controllerStatus

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

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

ControllerStatuses Collection of controller statuses swagger:model controllerStatuses

func (ControllerStatuses) Validate Uses

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

Validate validates this controller statuses

type Error Uses

type Error string

Error error swagger:model error

func (Error) Validate Uses

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

Validate validates this error

type HealthResponse Uses

type HealthResponse struct {

    // Status of Cilium daemon
    Cilium *ciliumModels.StatusResponse `json:"cilium,omitempty"`

    // System load on node
    SystemLoad *LoadResponse `json:"system-load,omitempty"`

    // Uptime of cilium-health instance
    Uptime string `json:"uptime,omitempty"`
}

HealthResponse Health and status information of local node swagger:model HealthResponse

func (*HealthResponse) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*HealthResponse) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*HealthResponse) Validate Uses

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

Validate validates this health response

type HealthStatusResponse Uses

type HealthStatusResponse struct {

    // Description of the local node
    Local *SelfStatus `json:"local,omitempty"`

    // Connectivity status to each other node
    Nodes []*NodeStatus `json:"nodes"`

    // timestamp
    Timestamp string `json:"timestamp,omitempty"`
}

HealthStatusResponse Connectivity status to other daemons swagger:model HealthStatusResponse

func (*HealthStatusResponse) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*HealthStatusResponse) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*HealthStatusResponse) Validate Uses

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

Validate validates this health status response

type HostStatus Uses

type HostStatus struct {

    // primary address
    PrimaryAddress *PathStatus `json:"primary-address,omitempty"`

    // secondary addresses
    SecondaryAddresses []*PathStatus `json:"secondary-addresses"`
}

HostStatus Connectivity status to host cilium-health instance via different paths, probing via all known IP addresses

swagger:model HostStatus

func (*HostStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*HostStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*HostStatus) Validate Uses

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

Validate validates this host status

type IPAMStatus Uses

type IPAMStatus struct {

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

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

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

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

IPAMStatus Status of IP address management swagger:model ipAMStatus

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 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
    // Enum: [Ok Warning Failure Disabled]
    State string `json:"state,omitempty"`
}

K8sStatus Status of Kubernetes integration swagger:model k8sStatus

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 KubeProxyReplacement Uses

type KubeProxyReplacement struct {

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

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

KubeProxyReplacement Status of kube-proxy replacement swagger:model kubeProxyReplacement

func (*KubeProxyReplacement) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KubeProxyReplacement) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacement) Validate Uses

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

Validate validates this kube proxy replacement

type KubeProxyReplacementFeatures Uses

type KubeProxyReplacementFeatures struct {

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

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

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

KubeProxyReplacementFeatures kube proxy replacement features swagger:model KubeProxyReplacementFeatures

func (*KubeProxyReplacementFeatures) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) Validate Uses

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

Validate validates this kube proxy replacement features

type KubeProxyReplacementFeaturesExternalIPs Uses

type KubeProxyReplacementFeaturesExternalIPs struct {

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

KubeProxyReplacementFeaturesExternalIPs kube proxy replacement features external i ps swagger:model KubeProxyReplacementFeaturesExternalIPs

func (*KubeProxyReplacementFeaturesExternalIPs) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) Validate Uses

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

Validate validates this kube proxy replacement features external i ps

type KubeProxyReplacementFeaturesHostReachableServices Uses

type KubeProxyReplacementFeaturesHostReachableServices struct {

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

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

KubeProxyReplacementFeaturesHostReachableServices kube proxy replacement features host reachable services swagger:model KubeProxyReplacementFeaturesHostReachableServices

func (*KubeProxyReplacementFeaturesHostReachableServices) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) Validate Uses

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

Validate validates this kube proxy replacement features host reachable services

type KubeProxyReplacementFeaturesNodePort Uses

type KubeProxyReplacementFeaturesNodePort struct {

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

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

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

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

KubeProxyReplacementFeaturesNodePort kube proxy replacement features node port swagger:model KubeProxyReplacementFeaturesNodePort

func (*KubeProxyReplacementFeaturesNodePort) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) Validate Uses

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

Validate validates this kube proxy replacement features node port

type LoadResponse Uses

type LoadResponse struct {

    // Load average over the past 15 minutes
    Last15min string `json:"last15min,omitempty"`

    // Load average over the past minute
    Last1min string `json:"last1min,omitempty"`

    // Load average over the past 5 minutes
    Last5min string `json:"last5min,omitempty"`
}

LoadResponse System load on node swagger:model LoadResponse

func (*LoadResponse) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*LoadResponse) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*LoadResponse) Validate Uses

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

Validate validates this load response

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

MonitorStatus Status of the node monitor swagger:model monitorStatus

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

NodeAddressing Addressing information of a node for all address families swagger:model nodeAddressing

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

NodeAddressingElement Addressing information swagger:model nodeAddressingElement

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 {

    // health endpoint address
    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
    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

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 NodeStatus Uses

type NodeStatus struct {

    // Connectivity status to simulated endpoint on node IP
    Endpoint *PathStatus `json:"endpoint,omitempty"`

    // Connectivity status to cilium-health instance on node IP
    Host *HostStatus `json:"host,omitempty"`

    // Identifying name for the node
    Name string `json:"name,omitempty"`
}

NodeStatus Connectivity status of a remote cilium-health instance swagger:model NodeStatus

func (*NodeStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*NodeStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*NodeStatus) Validate Uses

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

Validate validates this node status

type PathStatus Uses

type PathStatus struct {

    // Connectivity status without policy applied
    HTTP *ConnectivityStatus `json:"http,omitempty"`

    // Basic ping connectivity status to node IP
    Icmp *ConnectivityStatus `json:"icmp,omitempty"`

    // IP address queried for the connectivity status
    IP  string `json:"ip,omitempty"`
}

PathStatus Connectivity status via different paths, for example using different policies or service redirection

swagger:model PathStatus

func (*PathStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*PathStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*PathStatus) Validate Uses

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

Validate validates this path status

type ProxyRedirect Uses

type ProxyRedirect struct {

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

    // Name of the proxy this redirect points to
    Proxy string `json:"proxy,omitempty"`

    // Host port that this redirect points to
    ProxyPort int64 `json:"proxy-port,omitempty"`
}

ProxyRedirect Configured proxy redirection state swagger:model proxyRedirect

func (*ProxyRedirect) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*ProxyRedirect) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*ProxyRedirect) Validate Uses

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

Validate validates this proxy redirect

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

    // Detailed description of configured redirects
    Redirects []*ProxyRedirect `json:"redirects"`

    // Total number of listening proxy ports
    TotalPorts int64 `json:"total-ports,omitempty"`

    // Total number of ports configured to redirect to proxies
    TotalRedirects int64 `json:"total-redirects,omitempty"`
}

ProxyStatus Status of proxy swagger:model proxyStatus

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 RemoteCluster Uses

type RemoteCluster struct {

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

    // Number of identities in the cluster
    NumIdentities int64 `json:"num-identities,omitempty"`

    // Number of nodes in the cluster
    NumNodes int64 `json:"num-nodes,omitempty"`

    // Number of services in the cluster
    NumSharedServices int64 `json:"num-shared-services,omitempty"`

    // Indicates readiness of the remote cluser
    Ready bool `json:"ready,omitempty"`

    // Status of the control plane
    Status string `json:"status,omitempty"`
}

RemoteCluster Status of remote cluster swagger:model remoteCluster

func (*RemoteCluster) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*RemoteCluster) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*RemoteCluster) Validate Uses

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

Validate validates this remote cluster

type SelfStatus Uses

type SelfStatus struct {

    // Name associated with this node
    Name string `json:"name,omitempty"`
}

SelfStatus Description of the cilium-health node swagger:model SelfStatus

func (*SelfStatus) MarshalBinary Uses

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

MarshalBinary interface implementation

func (*SelfStatus) UnmarshalBinary Uses

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

UnmarshalBinary interface implementation

func (*SelfStatus) Validate Uses

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

Validate validates this self status

type Status Uses

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

    // cilium
    Cilium *Status `json:"cilium,omitempty"`

    // When supported by the API, this client ID should be used by the
    // client when making another request to the server.
    // See for example "/cluster/nodes".
    //
    ClientID int64 `json:"client-id,omitempty"`

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

    // cluster mesh
    ClusterMesh *ClusterMeshStatus `json:"cluster-mesh,omitempty"`

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

    // controllers
    Controllers ControllerStatuses `json:"controllers,omitempty"`

    // ipam
    Ipam *IPAMStatus `json:"ipam,omitempty"`

    // kube proxy replacement
    KubeProxyReplacement *KubeProxyReplacement `json:"kube-proxy-replacement,omitempty"`

    // kubernetes
    Kubernetes *K8sStatus `json:"kubernetes,omitempty"`

    // kvstore
    Kvstore *Status `json:"kvstore,omitempty"`

    // node monitor
    NodeMonitor *MonitorStatus `json:"nodeMonitor,omitempty"`

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

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

Package models imports 7 packages (graph) and is imported by 15 packages. Updated 2020-03-30. Refresh now. Tools for package owners.