Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterStatus ¶
type ClusterStatus struct { ClusterName string `json:"clusterName,omitempty"` AwsProfile string `json:"awsProfile,omitempty` AwsInstances *ec2.DescribeInstancesOutput `json:"awsInstances,omitempty"` AwsMasterAutoscalingGroup *autoscaling.Group `json:"awsMasterAutoscalingGroup,omitempty"` AwsWorkerAutoscalingGroup *autoscaling.Group `json:"awsWorkerAutoscalingGroup,omitempty"` Nodes *corev1.NodeList `json:"nodes,omitempty"` Pods *corev1.PodList `json:"pods,omitempty"` }
type WsMessage ¶
type WsMessage struct { Op string `json:"op"` Message interface{} `json:"message"` Cluster Cluster `json:"cluster,omitempty"` ClusterStatus ClusterStatus `json:"clusterStatus,omitempty"` Slots []slots.Slot `json:"slots,omitempty"` }
type WsResource ¶
type WsResource struct {
WsMessage WsMessage
}
func (*WsResource) ToWs ¶
func (wsr *WsResource) ToWs(request *restful.Request, response *restful.Response)
func (WsResource) WebService ¶
func (wsr WsResource) WebService() *restful.WebService
Click to show internal directories.
Click to hide internal directories.