Documentation
¶
Index ¶
- type PublicKeyService
- func (s *PublicKeyService) AddPublicKey(ctx context.Context, pkey *entity.PublicKey) (err error)
- func (s *PublicKeyService) GetPublicKeys(ctx context.Context) (pkeys []entity.PublicKey, err error)
- func (s *PublicKeyService) PublicKeyExists(ctx context.Context, pkey ssh.PublicKey) (exists bool, err error)
- func (s *PublicKeyService) RemovePublicKey(ctx context.Context, pkey ssh.PublicKey) (err error)
- type PublicKeyServiceParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKeyService ¶
type PublicKeyService struct {
// contains filtered or unexported fields
}
func New ¶
func New(params *PublicKeyServiceParams) *PublicKeyService
func (*PublicKeyService) AddPublicKey ¶
func (*PublicKeyService) GetPublicKeys ¶
func (*PublicKeyService) PublicKeyExists ¶
func (*PublicKeyService) RemovePublicKey ¶
Click to show internal directories.
Click to hide internal directories.