Merge pull request #3212 from wanjunlei/es

add a es client for auditing, events, and logging
This commit is contained in:
KubeSphere CI Bot
2021-01-19 17:09:19 +08:00
committed by GitHub
44 changed files with 1890 additions and 2293 deletions

View File

@@ -48,7 +48,7 @@ type tenantHandler struct {
}
func newTenantHandler(factory informers.InformerFactory, k8sclient kubernetes.Interface, ksclient kubesphere.Interface,
evtsClient events.Client, loggingClient logging.Interface, auditingclient auditing.Client,
evtsClient events.Client, loggingClient logging.Client, auditingclient auditing.Client,
am am.AccessManagementInterface, authorizer authorizer.Authorizer) *tenantHandler {
return &tenantHandler{

View File

@@ -52,7 +52,7 @@ func Resource(resource string) schema.GroupResource {
}
func AddToContainer(c *restful.Container, factory informers.InformerFactory, k8sclient kubernetes.Interface,
ksclient kubesphere.Interface, evtsClient events.Client, loggingClient logging.Interface,
ksclient kubesphere.Interface, evtsClient events.Client, loggingClient logging.Client,
auditingclient auditing.Client, am am.AccessManagementInterface, authorizer authorizer.Authorizer) error {
mimePatch := []string{restful.MIME_JSON, runtime.MimeMergePatchJson, runtime.MimeJsonPatchJson}