Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebhookServer ¶
type WebhookServer struct {
// kubernetes client interface
KubeCli kubernetes.Interface
// operator client interface
Cli versioned.Interface
// http server
Server *http.Server
}
func NewWebHookServer ¶
func NewWebHookServer(kubecli kubernetes.Interface, cli versioned.Interface, certFile string, keyFile string) *WebhookServer
func (*WebhookServer) Run ¶
func (ws *WebhookServer) Run() error
func (*WebhookServer) Shutdown ¶
func (ws *WebhookServer) Shutdown() error
Click to show internal directories.
Click to hide internal directories.