Documentation ¶
Index ¶
- func RegisterService(s grpc.ServiceRegistrar, service *Service)
- type Config
- type Service
- func (s *Service) BatchNewX509SVID(ctx context.Context, req *svidv1.BatchNewX509SVIDRequest) (*svidv1.BatchNewX509SVIDResponse, error)
- func (s *Service) MintJWTSVID(ctx context.Context, req *svidv1.MintJWTSVIDRequest) (*svidv1.MintJWTSVIDResponse, error)
- func (s *Service) MintX509SVID(ctx context.Context, req *svidv1.MintX509SVIDRequest) (*svidv1.MintX509SVIDResponse, error)
- func (s *Service) NewDownstreamX509CA(ctx context.Context, req *svidv1.NewDownstreamX509CARequest) (*svidv1.NewDownstreamX509CAResponse, error)
- func (s *Service) NewJWTSVID(ctx context.Context, req *svidv1.NewJWTSVIDRequest) (resp *svidv1.NewJWTSVIDResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s grpc.ServiceRegistrar, service *Service)
RegisterService registers the service on the gRPC server.
Types ¶
type Config ¶
type Config struct { EntryFetcher api.AuthorizedEntryFetcher ServerCA ca.ServerCA TrustDomain spiffeid.TrustDomain DataStore datastore.DataStore }
Config is the service configuration
type Service ¶
type Service struct { svidv1.UnsafeSVIDServer // contains filtered or unexported fields }
Service implements the v1 SVID service
func (*Service) BatchNewX509SVID ¶
func (s *Service) BatchNewX509SVID(ctx context.Context, req *svidv1.BatchNewX509SVIDRequest) (*svidv1.BatchNewX509SVIDResponse, error)
func (*Service) MintJWTSVID ¶
func (s *Service) MintJWTSVID(ctx context.Context, req *svidv1.MintJWTSVIDRequest) (*svidv1.MintJWTSVIDResponse, error)
func (*Service) MintX509SVID ¶
func (s *Service) MintX509SVID(ctx context.Context, req *svidv1.MintX509SVIDRequest) (*svidv1.MintX509SVIDResponse, error)
func (*Service) NewDownstreamX509CA ¶
func (s *Service) NewDownstreamX509CA(ctx context.Context, req *svidv1.NewDownstreamX509CARequest) (*svidv1.NewDownstreamX509CAResponse, error)
func (*Service) NewJWTSVID ¶
func (s *Service) NewJWTSVID(ctx context.Context, req *svidv1.NewJWTSVIDRequest) (resp *svidv1.NewJWTSVIDResponse, err error)
Click to show internal directories.
Click to hide internal directories.