Documentation ¶
Index ¶
- type Handler
- func (h *Handler) FetchJWTBundles(req *workload.JWTBundlesRequest, ...) error
- func (h *Handler) FetchJWTSVID(ctx context.Context, req *workload.JWTSVIDRequest) (resp *workload.JWTSVIDResponse, err error)
- func (h *Handler) FetchX509SVID(_ *workload.X509SVIDRequest, ...) error
- func (h *Handler) ValidateJWTSVID(ctx context.Context, req *workload.ValidateJWTSVIDRequest) (*workload.ValidateJWTSVIDResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Manager manager.Manager Catalog catalog.Catalog Log logrus.FieldLogger Metrics telemetry.Metrics // contains filtered or unexported fields }
Handler implements the Workload API interface
func (*Handler) FetchJWTBundles ¶
func (h *Handler) FetchJWTBundles(req *workload.JWTBundlesRequest, stream workload.SpiffeWorkloadAPI_FetchJWTBundlesServer) error
FetchJWTBundles processes request for JWT bundles
func (*Handler) FetchJWTSVID ¶
func (h *Handler) FetchJWTSVID(ctx context.Context, req *workload.JWTSVIDRequest) (resp *workload.JWTSVIDResponse, err error)
FetchJWTSVID processes request for a JWT-SVID
func (*Handler) FetchX509SVID ¶
func (h *Handler) FetchX509SVID(_ *workload.X509SVIDRequest, stream workload.SpiffeWorkloadAPI_FetchX509SVIDServer) error
FetchX509SVID processes request for an x509 SVID
func (*Handler) ValidateJWTSVID ¶
func (h *Handler) ValidateJWTSVID(ctx context.Context, req *workload.ValidateJWTSVIDRequest) (*workload.ValidateJWTSVIDResponse, error)
ValidateJWTSVID processes request for JWT-SVID validation
Click to show internal directories.
Click to hide internal directories.