Documentation ¶
Index ¶
- type Handler
- func (h *Handler) AuditLog(ctx context.Context, request *proto.AuditLogRequest, ...) error
- func (h *Handler) Create(ctx context.Context, request *proto.CreateRequest, ...) error
- func (h *Handler) Delete(ctx context.Context, request *proto.DeleteRequest, ...) error
- func (h *Handler) Read(ctx context.Context, request *proto.ReadRequest, response *proto.ReadResponse) error
- func (h *Handler) Search(ctx context.Context, request *proto.SearchRequest, ...) error
- func (h *Handler) Update(ctx context.Context, request *proto.UpdateRequest, ...) error
- func (h *Handler) Watch(ctx context.Context, request *proto.WatchRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
func (*Handler) AuditLog ¶
func (h *Handler) AuditLog(ctx context.Context, request *proto.AuditLogRequest, response *proto.AuditLogResponse) error
func (*Handler) Create ¶
func (h *Handler) Create(ctx context.Context, request *proto.CreateRequest, response *proto.CreateResponse) error
Create just forwards to Update
func (*Handler) Delete ¶
func (h *Handler) Delete(ctx context.Context, request *proto.DeleteRequest, response *proto.DeleteResponse) error
Delete will write to local config or vault
func (*Handler) Read ¶
func (h *Handler) Read(ctx context.Context, request *proto.ReadRequest, response *proto.ReadResponse) error
Read will grab info from local config or vault
func (*Handler) Search ¶
func (h *Handler) Search(ctx context.Context, request *proto.SearchRequest, response *proto.SearchResponse) error
func (*Handler) Update ¶
func (h *Handler) Update(ctx context.Context, request *proto.UpdateRequest, response *proto.UpdateResponse) error
Update will write to local config or vault
func (*Handler) Watch ¶
func (h *Handler) Watch(ctx context.Context, request *proto.WatchRequest, stream proto.Config_WatchStream) error
Click to show internal directories.
Click to hide internal directories.