models

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 28

Documentation

Index

Constants

View Source
const (

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

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

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

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

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

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

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

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

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

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

	// KubeProxyReplacementFeaturesNodePortModeHYBRID captures enum value "HYBRID"
	KubeProxyReplacementFeaturesNodePortModeHYBRID string = "HYBRID"
)
View Source
const (

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

type AllocationMap map[string]string

AllocationMap Map of allocated IPs

swagger:model allocationMap

func (AllocationMap) Validate added in v1.7.0

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

Validate validates this allocation map

type ClusterMeshStatus added in v1.8.0

type ClusterMeshStatus struct {

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

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

ClusterMeshStatus Status of ClusterMesh swagger:model clusterMeshStatus

func (*ClusterMeshStatus) MarshalBinary added in v1.8.0

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

MarshalBinary interface implementation

func (*ClusterMeshStatus) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*ClusterMeshStatus) Validate added in v1.8.0

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

Validate validates this cluster mesh status

type ClusterStatus added in v1.7.0

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

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

MarshalBinary interface implementation

func (*ClusterStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ClusterStatus) Validate added in v1.7.0

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

Validate validates this cluster status

type ConnectivityStatus

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

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

MarshalBinary interface implementation

func (*ConnectivityStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectivityStatus) Validate

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

Validate validates this connectivity status

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

func (*ControllerStatus) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*ControllerStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ControllerStatus) Validate added in v1.7.0

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

Validate validates this controller status

type ControllerStatusConfiguration added in v1.7.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.7.0

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

MarshalBinary interface implementation

func (*ControllerStatusConfiguration) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ControllerStatusConfiguration) Validate added in v1.7.0

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

Validate validates this controller status configuration

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

func (*ControllerStatusStatus) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*ControllerStatusStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ControllerStatusStatus) Validate added in v1.7.0

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

Validate validates this controller status status

type ControllerStatuses added in v1.7.0

type ControllerStatuses []*ControllerStatus

ControllerStatuses Collection of controller statuses swagger:model controllerStatuses

func (ControllerStatuses) Validate added in v1.7.0

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

Validate validates this controller statuses

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 HealthResponse

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

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

MarshalBinary interface implementation

func (*HealthResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HealthResponse) Validate

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

Validate validates this health response

type HealthStatusResponse

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

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

MarshalBinary interface implementation

func (*HealthStatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HealthStatusResponse) Validate

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

Validate validates this health status response

type HostStatus

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

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

MarshalBinary interface implementation

func (*HostStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HostStatus) Validate

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

Validate validates this host status

type IPAMStatus added in v1.7.0

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

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

MarshalBinary interface implementation

func (*IPAMStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*IPAMStatus) Validate added in v1.7.0

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

Validate validates this ip a m status

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

func (*K8sStatus) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*K8sStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*K8sStatus) Validate added in v1.7.0

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

Validate validates this k8s status

type KubeProxyReplacement added in v1.8.0

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

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

MarshalBinary interface implementation

func (*KubeProxyReplacement) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacement) Validate added in v1.8.0

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

Validate validates this kube proxy replacement

type KubeProxyReplacementFeatures added in v1.8.0

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

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeatures) Validate added in v1.8.0

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

Validate validates this kube proxy replacement features

type KubeProxyReplacementFeaturesExternalIPs added in v1.8.0

type KubeProxyReplacementFeaturesExternalIPs struct {

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

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

func (*KubeProxyReplacementFeaturesExternalIPs) MarshalBinary added in v1.8.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesExternalIPs) Validate added in v1.8.0

Validate validates this kube proxy replacement features external i ps

type KubeProxyReplacementFeaturesHostReachableServices added in v1.8.0

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) UnmarshalBinary added in v1.8.0

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesHostReachableServices) Validate added in v1.8.0

Validate validates this kube proxy replacement features host reachable services

type KubeProxyReplacementFeaturesNodePort added in v1.8.0

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

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

MarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*KubeProxyReplacementFeaturesNodePort) Validate added in v1.8.0

Validate validates this kube proxy replacement features node port

type LoadResponse

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

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

MarshalBinary interface implementation

func (*LoadResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoadResponse) Validate

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

Validate validates this load response

type MonitorStatus added in v1.7.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.7.0

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

MarshalBinary interface implementation

func (*MonitorStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*MonitorStatus) Validate added in v1.7.0

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

Validate validates this monitor status

type NodeAddressing added in v1.7.0

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

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

MarshalBinary interface implementation

func (*NodeAddressing) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*NodeAddressing) Validate added in v1.7.0

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

Validate validates this node addressing

type NodeAddressingElement added in v1.7.0

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

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

MarshalBinary interface implementation

func (*NodeAddressingElement) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*NodeAddressingElement) Validate added in v1.7.0

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

Validate validates this node addressing element

type NodeElement added in v1.7.0

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

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

MarshalBinary interface implementation

func (*NodeElement) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*NodeElement) Validate added in v1.7.0

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

Validate validates this node element

type NodeStatus

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

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

MarshalBinary interface implementation

func (*NodeStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeStatus) Validate

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

Validate validates this node status

type PathStatus

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

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

MarshalBinary interface implementation

func (*PathStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PathStatus) Validate

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

Validate validates this path status

type ProxyRedirect added in v1.8.0

type ProxyRedirect struct {

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

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

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

ProxyRedirect Configured proxy redirection state swagger:model proxyRedirect

func (*ProxyRedirect) MarshalBinary added in v1.8.0

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

MarshalBinary interface implementation

func (*ProxyRedirect) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*ProxyRedirect) Validate added in v1.8.0

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

Validate validates this proxy redirect

type ProxyStatus added in v1.7.0

type ProxyStatus struct {

	// IP address that the proxy listens on
	IP string `json:"ip,omitempty"`

	// Port range used for proxying
	PortRange string `json:"port-range,omitempty"`

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

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

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

ProxyStatus Status of proxy swagger:model proxyStatus

func (*ProxyStatus) MarshalBinary added in v1.7.0

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

MarshalBinary interface implementation

func (*ProxyStatus) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*ProxyStatus) Validate added in v1.7.0

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

Validate validates this proxy status

type RemoteCluster added in v1.8.0

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

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

MarshalBinary interface implementation

func (*RemoteCluster) UnmarshalBinary added in v1.8.0

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

UnmarshalBinary interface implementation

func (*RemoteCluster) Validate added in v1.8.0

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

Validate validates this remote cluster

type SelfStatus

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

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

MarshalBinary interface implementation

func (*SelfStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SelfStatus) Validate

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

Validate validates this self status

type Status added in v1.7.0

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

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

MarshalBinary interface implementation

func (*Status) UnmarshalBinary added in v1.7.0

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

UnmarshalBinary interface implementation

func (*Status) Validate added in v1.7.0

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

Validate validates this status

type StatusResponse added in v1.5.0

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

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary added in v1.5.0

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate added in v1.5.0

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

Validate validates this status response

Jump to

Keyboard shortcuts

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