Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Address string WaitTimeout time.Duration Log logr.Logger NodeInfoCache cache.NodeInfoCache StaticPath string Namespace string Elected <-chan struct{} Client client.Client // contains filtered or unexported fields }
func (*Server) Done ¶
func (s *Server) Done() chan struct{}
returns a channel that is closed, when the server properly terminates.
func (*Server) NeedLeaderElection ¶
Click to show internal directories.
Click to hide internal directories.