package
0.0.0-20210601121840-7538329d3f44
Repository: https://github.com/aberestyak/elasticsearch-security-operator.git
Documentation: pkg.go.dev

# Functions

CreateOrUpdateRole - make PUT request to create or update Role.
CreateOrUpdateUser - make PUT request to create or update User.
CreateRoleMapping - create/update RoleMapping object, based on passed role.
CreateTenant - make PUT request to create or update Tenant.
DeleteTenant - make DELETE request to delete tenant.
GetExistingObject - make GET request to get existing elsticsearch object.
GetResponseObjectID - get object ID, if exists.
GetResponseStatus - return Error or Deployed based on http status code.
MakeAPIRequest - make request to endpoint.
MapAlertAPIObject - map CRD model to API.
MapAPIRoleMappingObject - map passed role's RoleMapping field to roleMappings API.
MapRoleAPIObject - map CRD model to API.
MapUserAPIObject - map CRD model to API.
SanitizeQuery - parse RawMessage to delete escape characters.
SetAlertStatus set status.
SetRoleStatus - parse http response code, set status and update CR.
SetUserStatus - parse http response code, set status and update CR.
UpdateRoleMapping - make request to create or update RoleMapping for "parent" role.

# Structs

AlertReconciler reconciles a Alert object.
RoleReconciler reconciles a Role object.
UserReconciler reconciles a User object.