Documentation ¶
Index ¶
- Constants
- func CanGoTo(certificateProvider *certificateproviderdata.Provided, url string) bool
- type DynamoClient
- type Path
- type Store
- func (s *Store) Create(ctx context.Context, shareCode sharecodedata.Link, email string) (*certificateproviderdata.Provided, error)
- func (s *Store) Delete(ctx context.Context) error
- func (s *Store) Get(ctx context.Context) (*certificateproviderdata.Provided, error)
- func (s *Store) GetAny(ctx context.Context) (*certificateproviderdata.Provided, error)
- func (s *Store) Put(ctx context.Context, certificateProvider *certificateproviderdata.Provided) error
Constants ¶
View Source
const ( PathCertificateProvided = Path("/certificate-provided") PathConfirmDontWantToBeCertificateProvider = Path("/confirm-you-do-not-want-to-be-a-certificate-provider") PathConfirmYourDetails = Path("/confirm-your-details") PathEnterDateOfBirth = Path("/enter-date-of-birth") PathIdentityWithOneLogin = Path("/identity-with-one-login") PathIdentityWithOneLoginCallback = Path("/identity-with-one-login-callback") PathOneLoginIdentityDetails = Path("/one-login-identity-details") PathProveYourIdentity = Path("/prove-your-identity") PathProvideCertificate = Path("/provide-certificate") PathReadTheLpa = Path("/read-the-lpa") PathTaskList = Path("/task-list") PathUnableToConfirmIdentity = Path("/unable-to-confirm-identity") PathWhatHappensNext = Path("/what-happens-next") PathWhatIsYourHomeAddress = Path("/what-is-your-home-address") PathWhoIsEligible = Path("/certificate-provider-who-is-eligible") PathYourPreferredLanguage = Path("/your-preferred-language") PathYourRole = Path("/your-role") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DynamoClient ¶
type DynamoClient interface { One(ctx context.Context, pk dynamo.PK, sk dynamo.SK, v interface{}) error OneByPK(ctx context.Context, pk dynamo.PK, v interface{}) error OneByPartialSK(ctx context.Context, pk dynamo.PK, partialSK dynamo.SK, v interface{}) error AllByPartialSK(ctx context.Context, pk dynamo.PK, partialSK dynamo.SK, v interface{}) error LatestForActor(ctx context.Context, sk dynamo.SK, v interface{}) error AllBySK(ctx context.Context, sk dynamo.SK, v interface{}) error AllByKeys(ctx context.Context, keys []dynamo.Keys) ([]map[string]dynamodbtypes.AttributeValue, error) AllKeysByPK(ctx context.Context, pk dynamo.PK) ([]dynamo.Keys, error) Put(ctx context.Context, v interface{}) error Create(ctx context.Context, v interface{}) error DeleteKeys(ctx context.Context, keys []dynamo.Keys) error DeleteOne(ctx context.Context, pk dynamo.PK, sk dynamo.SK) error Update(ctx context.Context, pk dynamo.PK, sk dynamo.SK, values map[string]dynamodbtypes.AttributeValue, expression string) error BatchPut(ctx context.Context, items []interface{}) error OneBySK(ctx context.Context, sk dynamo.SK, v interface{}) error OneByUID(ctx context.Context, uid string, v interface{}) error WriteTransaction(ctx context.Context, transaction *dynamo.Transaction) error }
type Path ¶
type Path string
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(dynamoClient DynamoClient) *Store
func (*Store) Create ¶
func (s *Store) Create(ctx context.Context, shareCode sharecodedata.Link, email string) (*certificateproviderdata.Provided, error)
Directories ¶
Path | Synopsis |
---|---|
Package certificateproviderdata provides types that describe the data entered by a certificate provider.
|
Package certificateproviderdata provides types that describe the data entered by a certificate provider. |
Package certificateproviderpage provides the pages that a certificate provider interacts with.
|
Package certificateproviderpage provides the pages that a certificate provider interacts with. |
Click to show internal directories.
Click to hide internal directories.