Documentation ¶
Index ¶
- func ErrMissingField(field string) *logical.Response
- func New(text string) error
- func NewUUID() string
- func UUIDExists(ctx context.Context, req *logical.Request, uuid string) bool
- func ValidateData(ctx context.Context, req *logical.Request, uuid string, derivationPath string) error
- func ValidateFields(req *logical.Request, data *framework.FieldData) error
- func ValidationErr(msg string) error
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrMissingField ¶
ErrMissingField returns a logical response error that prints a consistent error message for when a required field is missing.
func UUIDExists ¶
UUIDExists checks if uuid exists or not
func ValidateData ¶
func ValidateData(ctx context.Context, req *logical.Request, uuid string, derivationPath string) error
ValidateData - validates data provided provided to create signature
func ValidateFields ¶
ValidateFields verifies that no bad arguments were given to the request.
func ValidationErr ¶
ValidationErr returns an error that corresponds to a validation error.
Types ¶
Click to show internal directories.
Click to hide internal directories.