Documentation ¶
Index ¶
- type Service
- func (s *Service) Add(ctx context.Context, userID string, params types.SSHKeyAddParams) (string, error)
- func (s *Service) Generate(ctx context.Context, userID string, params types.SSHKeyGenerateParams) (name string, prv string, pub string, err error)
- func (s *Service) List(ctx context.Context, userID string) ([]types.SSHKey, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService() *Service
type Store ¶
type Store struct{}
func (Store) SSHKeyGetByNameIfExists ¶
func (Store) SSHKeysList ¶
Click to show internal directories.
Click to hide internal directories.