Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { commtypes.TypeMeta `json:",inline"` commtypes.ObjectMeta `json:"metadata"` }
type WebhookServer ¶
type WebhookServer struct { Server *http.Server KubeClient kubernetes.Interface ClientSet *internalclientset.Clientset EngineType string //kubernetes or mesos Injects options.InjectOptions BcsLogConfigLister listers.BcsLogConfigLister BcsDbPrivConfigLister listers.BcsDbPrivConfigLister K8sLogConfInject k8s.K8sInject K8sDbPrivConfInject k8s.K8sInject K8sBscpInject k8s.K8sInject MesosLogConfInject mesos.MesosInject MesosDbPrivConfInject mesos.MesosInject MesosBscpInject mesos.MesosInject }
func (*WebhookServer) K8sInject ¶
func (whSvr *WebhookServer) K8sInject(w http.ResponseWriter, r *http.Request)
func (*WebhookServer) MesosInject ¶
func (whSvr *WebhookServer) MesosInject(w http.ResponseWriter, r *http.Request)
MesosLogInject inject bcs log config to container and respond to mesos
Click to show internal directories.
Click to hide internal directories.