inject

package
v1.19.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 19 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL