Documentation ¶
Overview ¶
Package lpastore provides a client for the LPA store.
Index ¶
- Variables
- func FromDonorProvidedDetails(l *donordata.Provided) *lpadata.Lpa
- type Client
- func (c *Client) CheckHealth(ctx context.Context) error
- func (c *Client) Lpa(ctx context.Context, lpaUID string) (*lpadata.Lpa, error)
- func (c *Client) Lpas(ctx context.Context, lpaUIDs []string) ([]*lpadata.Lpa, error)
- func (c *Client) SendAttorney(ctx context.Context, lpa *lpadata.Lpa, attorney *attorneydata.Provided) error
- func (c *Client) SendCertificateProvider(ctx context.Context, certificateProvider *certificateproviderdata.Provided, ...) error
- func (c *Client) SendCertificateProviderConfirmIdentity(ctx context.Context, lpaUID string, ...) error
- func (c *Client) SendCertificateProviderOptOut(ctx context.Context, lpaUID string, actorUID actoruid.UID) error
- func (c *Client) SendDonorConfirmIdentity(ctx context.Context, donor *donordata.Provided) error
- func (c *Client) SendDonorWithdrawLPA(ctx context.Context, lpaUID string) error
- func (c *Client) SendLpa(ctx context.Context, donor *donordata.Provided) error
- func (c *Client) SendPerfect(ctx context.Context, lpaUID string) error
- func (c *Client) SendRegister(ctx context.Context, lpaUID string) error
- type Doer
- type DonorStore
- type LpaClient
- type ResolvingService
- type SecretsClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("lpa not found in lpa-store")
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SendAttorney ¶ added in v0.926.0
func (*Client) SendCertificateProvider ¶ added in v0.922.0
func (*Client) SendCertificateProviderConfirmIdentity ¶ added in v0.1247.0
func (*Client) SendCertificateProviderOptOut ¶ added in v0.1181.0
func (*Client) SendDonorConfirmIdentity ¶ added in v0.1247.0
func (*Client) SendDonorWithdrawLPA ¶ added in v0.1355.0
func (*Client) SendPerfect ¶ added in v0.1231.0
type DonorStore ¶ added in v0.1116.0
type ResolvingService ¶ added in v0.1116.0
type ResolvingService struct {
// contains filtered or unexported fields
}
A ResolvingService wraps a Client so that an Lpa can be retrieved without passing its UID.
func NewResolvingService ¶ added in v0.1116.0
func NewResolvingService(donorStore DonorStore, client LpaClient) *ResolvingService
func (*ResolvingService) ResolveList ¶ added in v0.1150.0
Click to show internal directories.
Click to hide internal directories.