Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
type Response struct { Version string `json:"version,omitempty"` // Antrea binary version PodRef corev1.ObjectReference `json:"podRef,omitempty"` // The Pod that Antrea Controller is running in NodeRef corev1.ObjectReference `json:"nodeRef,omitempty"` // The Node that Antrea Controller is running in ServiceRef corev1.ObjectReference `json:"serviceRef,omitempty"` // Antrea Controller Service NetworkPolicyControllerInfo clusterinfo.NetworkPolicyControllerInfo `json:"networkPolicyControllerInfo,omitempty"` // Antrea Controller NetworkPolicy information ConnectedAgentNum int32 `json:"connectedAgentNum,omitempty"` // Number of agents which are connected to this controller ControllerConditions []clusterinfo.ControllerCondition `json:"controllerConditions,omitempty"` // Controller condition contains types like ControllerHealthy }
Response includes all data fields of clusterinfo.AntreaControllerInfo, but removes the resource meta fields.
func (Response) GetControllerConditionStr ¶ added in v0.6.0
func (Response) GetTableHeader ¶ added in v0.6.0
func (Response) GetTableRow ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.