models

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// StatusResponseKvstoreStateDisabled captures enum value "Disabled"
	StatusResponseKvstoreStateDisabled string = "Disabled"
)

Variables

This section is empty.

Functions

This section is empty.

Types

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

type StatusResponse struct {

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

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

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

	// Collection of controller statuses
	Controllers []*StatusResponseControllersItems0 `json:"controllers"`

	// ipam
	IPAM *StatusResponseIPAM `json:"ipam,omitempty"`

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

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

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

	// proxy
	Proxy *StatusResponseProxy `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

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

MarshalBinary interface implementation

func (*StatusResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponse) Validate

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

Validate validates this status response

type StatusResponseCilium

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

StatusResponseCilium Status of an individual component swagger:model StatusResponseCilium

func (*StatusResponseCilium) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseCilium) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseCilium) Validate

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

Validate validates this status response cilium

type StatusResponseCluster

type StatusResponseCluster struct {

	// cilium health
	CiliumHealth *StatusResponseClusterCiliumHealth `json:"ciliumHealth,omitempty"`

	// List of known nodes
	Nodes []*StatusResponseClusterNodesItems0 `json:"nodes"`

	// Name of local node (if available)
	Self string `json:"self,omitempty"`
}

StatusResponseCluster Status of cluster swagger:model StatusResponseCluster

func (*StatusResponseCluster) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseCluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseCluster) Validate

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

Validate validates this status response cluster

type StatusResponseClusterCiliumHealth

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

StatusResponseClusterCiliumHealth Status of an individual component swagger:model StatusResponseClusterCiliumHealth

func (*StatusResponseClusterCiliumHealth) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseClusterCiliumHealth) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseClusterCiliumHealth) Validate

Validate validates this status response cluster cilium health

type StatusResponseClusterNodesItems0

type StatusResponseClusterNodesItems0 struct {

	// health endpoint address
	HealthEndpointAddress *StatusResponseClusterNodesItems0HealthEndpointAddress `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 *StatusResponseClusterNodesItems0PrimaryAddress `json:"primary-address,omitempty"`

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

StatusResponseClusterNodesItems0 Known node in the cluster swagger:model StatusResponseClusterNodesItems0

func (*StatusResponseClusterNodesItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0) Validate

Validate validates this status response cluster nodes items0

type StatusResponseClusterNodesItems0HealthEndpointAddress

type StatusResponseClusterNodesItems0HealthEndpointAddress struct {

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

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

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

func (*StatusResponseClusterNodesItems0HealthEndpointAddress) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddress) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddress) Validate

Validate validates this status response cluster nodes items0 health endpoint address

type StatusResponseClusterNodesItems0HealthEndpointAddressIPV4

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

StatusResponseClusterNodesItems0HealthEndpointAddressIPV4 Addressing information swagger:model StatusResponseClusterNodesItems0HealthEndpointAddressIPV4

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV4) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV4) Validate

Validate validates this status response cluster nodes items0 health endpoint address IP v4

type StatusResponseClusterNodesItems0HealthEndpointAddressIPV6

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

StatusResponseClusterNodesItems0HealthEndpointAddressIPV6 Addressing information swagger:model StatusResponseClusterNodesItems0HealthEndpointAddressIPV6

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV6) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0HealthEndpointAddressIPV6) Validate

Validate validates this status response cluster nodes items0 health endpoint address IP v6

type StatusResponseClusterNodesItems0PrimaryAddress

type StatusResponseClusterNodesItems0PrimaryAddress struct {

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

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

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

func (*StatusResponseClusterNodesItems0PrimaryAddress) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddress) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddress) Validate

Validate validates this status response cluster nodes items0 primary address

type StatusResponseClusterNodesItems0PrimaryAddressIPV4

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

StatusResponseClusterNodesItems0PrimaryAddressIPV4 Addressing information swagger:model StatusResponseClusterNodesItems0PrimaryAddressIPV4

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV4) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV4) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV4) Validate

Validate validates this status response cluster nodes items0 primary address IP v4

type StatusResponseClusterNodesItems0PrimaryAddressIPV6

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

StatusResponseClusterNodesItems0PrimaryAddressIPV6 Addressing information swagger:model StatusResponseClusterNodesItems0PrimaryAddressIPV6

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV6) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV6) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0PrimaryAddressIPV6) Validate

Validate validates this status response cluster nodes items0 primary address IP v6

type StatusResponseClusterNodesItems0SecondaryAddressesItems0

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

StatusResponseClusterNodesItems0SecondaryAddressesItems0 Addressing information swagger:model StatusResponseClusterNodesItems0SecondaryAddressesItems0

func (*StatusResponseClusterNodesItems0SecondaryAddressesItems0) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0SecondaryAddressesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseClusterNodesItems0SecondaryAddressesItems0) Validate

Validate validates this status response cluster nodes items0 secondary addresses items0

type StatusResponseContainerRuntime

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

StatusResponseContainerRuntime Status of an individual component swagger:model StatusResponseContainerRuntime

func (*StatusResponseContainerRuntime) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseContainerRuntime) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseContainerRuntime) Validate

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

Validate validates this status response container runtime

type StatusResponseControllersItems0

type StatusResponseControllersItems0 struct {

	// configuration
	Configuration *StatusResponseControllersItems0Configuration `json:"configuration,omitempty"`

	// Name of controller
	Name string `json:"name,omitempty"`

	// status
	Status *StatusResponseControllersItems0Status `json:"status,omitempty"`

	// UUID of controller
	// Format: uuid
	UUID strfmt.UUID `json:"uuid,omitempty"`
}

StatusResponseControllersItems0 Status of a controller swagger:model StatusResponseControllersItems0

func (*StatusResponseControllersItems0) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseControllersItems0) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseControllersItems0) Validate

Validate validates this status response controllers items0

type StatusResponseControllersItems0Configuration

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

StatusResponseControllersItems0Configuration Configuration of controller swagger:model StatusResponseControllersItems0Configuration

func (*StatusResponseControllersItems0Configuration) MarshalBinary

MarshalBinary interface implementation

func (*StatusResponseControllersItems0Configuration) UnmarshalBinary

UnmarshalBinary interface implementation

func (*StatusResponseControllersItems0Configuration) Validate

Validate validates this status response controllers items0 configuration

type StatusResponseControllersItems0Status

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

StatusResponseControllersItems0Status Current status of controller swagger:model StatusResponseControllersItems0Status

func (*StatusResponseControllersItems0Status) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseControllersItems0Status) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseControllersItems0Status) Validate

Validate validates this status response controllers items0 status

type StatusResponseIPAM

type StatusResponseIPAM struct {

	// Map of allocated IPs
	//
	Allocations map[string]string `json:"allocations,omitempty"`

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

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

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

StatusResponseIPAM Status of IP address management swagger:model StatusResponseIPAM

func (*StatusResponseIPAM) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseIPAM) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseIPAM) Validate

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

Validate validates this status response IP a m

type StatusResponseKubernetes

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

StatusResponseKubernetes Status of Kubernetes integration swagger:model StatusResponseKubernetes

func (*StatusResponseKubernetes) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseKubernetes) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseKubernetes) Validate

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

Validate validates this status response kubernetes

type StatusResponseKvstore

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

StatusResponseKvstore Status of an individual component swagger:model StatusResponseKvstore

func (*StatusResponseKvstore) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseKvstore) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseKvstore) Validate

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

Validate validates this status response kvstore

type StatusResponseNodeMonitor

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

StatusResponseNodeMonitor Status of the node monitor swagger:model StatusResponseNodeMonitor

func (*StatusResponseNodeMonitor) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseNodeMonitor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseNodeMonitor) Validate

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

Validate validates this status response node monitor

type StatusResponseProxy

type StatusResponseProxy struct {

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

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

StatusResponseProxy Status of proxy swagger:model StatusResponseProxy

func (*StatusResponseProxy) MarshalBinary

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

MarshalBinary interface implementation

func (*StatusResponseProxy) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StatusResponseProxy) Validate

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

Validate validates this status response proxy

Jump to

Keyboard shortcuts

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