Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error describes internal valdi error. Error = errs.Class("valdi service") // ErrPrivateKey is error type of private key. ErrPrivateKey = errs.Class("private key") // ErrEmail is error type of email. ErrEmail = errs.Class("email") // ErrCreateAPIKey is error type of create api key. ErrCreateAPIKey = errs.Class("create api key") // ErrCreateUser is error type of create user. ErrCreateUser = errs.Class("create user") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { SatelliteEmail string `` /* 162-byte string literal not displayed */ valdiclient.Config }
Config contains configurable values for valdi service.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service handles valdi functionality.
func NewService ¶
NewService is a constructor for valdi Service.
func (*Service) CreateAPIKey ¶
func (s *Service) CreateAPIKey(ctx context.Context, projectID uuid.UUID) (_ *valdiclient.CreateAPIKeyResponse, status int, err error)
CreateAPIKey creates an API key.
func (*Service) CreateUser ¶
CreateUser creates a user.
Click to show internal directories.
Click to hide internal directories.