Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(log logrus.FieldLogger, k8sCli kubernetes.Interface, cfg config.LifecycleServer, clusterName string, sendMsgFn SendMessageFn) *httpsrv.Server
NewServer creates a new httpsrv.Server that exposes lifecycle methods as HTTP endpoints.
Types ¶
type SendMessageFn ¶
SendMessageFn defines a function which sends a given message.
Click to show internal directories.
Click to hide internal directories.