Documentation ¶
Index ¶
- Variables
- type Config
- 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) FetchX509Bundles(_ *workload.X509BundlesRequest, ...) 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 ¶
View Source
var ErrNotImplemented = status.Errorf(codes.Unimplemented, "Under Construction")
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { workload.UnsafeSpiffeWorkloadAPIServer // 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. In case of multiple fetched SVIDs with same hint, the SVID that has the oldest associated entry will be returned.
func (*Handler) FetchX509Bundles ¶
func (h *Handler) FetchX509Bundles(_ *workload.X509BundlesRequest, stream workload.SpiffeWorkloadAPI_FetchX509BundlesServer) error
FetchX509Bundles processes request for x509 bundles
func (*Handler) FetchX509SVID ¶
func (h *Handler) FetchX509SVID(_ *workload.X509SVIDRequest, stream workload.SpiffeWorkloadAPI_FetchX509SVIDServer) error
FetchX509SVID processes request for a x509 SVID. In case of multiple fetched SVIDs with same hint, the SVID that has the oldest associated entry will be returned.
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.