Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
Options contains the configuration options for connecting and requesting certificates from sentry.
type Requester ¶
type Requester struct {
// contains filtered or unexported fields
}
Requester is used to request certificates from the sentry service for any daprd identity.
func (*Requester) RequestCertificateFromSentry ¶
func (r *Requester) RequestCertificateFromSentry(ctx context.Context, namespace string) ([]byte, []byte, error)
RequestCertificateFromSentry requests a certificate from sentry for a generic daprd identity in a namespace. Returns the signed certificate chain and leaf private key as a PEM encoded byte slice.
Click to show internal directories.
Click to hide internal directories.