Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConditionStatus ¶
func ConditionStatus(n *corev1.Node, ct corev1.NodeConditionType) corev1.ConditionStatus
ConditionStatus returns the status of the condition for a given node.
Types ¶
type Result ¶
type Result string
Result is a string used to handle the results for probing container readiness/liveness
type Server ¶
type Server struct {
Leading bool
// contains filtered or unexported fields
}
func NewXNetConfigServer ¶
func NewXNetConfigServer(ctx context.Context, cfg configurator.Configurator, xnetworkController xnetwork.Controller, KubeClient kubernetes.Interface, kubeController k8s.Controller, xnetworkClient xnetworkClientset.Interface, msgBroker *messaging.Broker, enableMesh, enableE4lb bool, nodeName, cniBridge4, cniBridge6 string) *Server
NewXNetConfigServer creates a new xnetwork config Service server
func (*Server) BroadcastListener ¶
func (s *Server) BroadcastListener(stopCh <-chan struct{})
BroadcastListener listens for broadcast messages from the message broker
Click to show internal directories.
Click to hide internal directories.