Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
func (*Handler) Read ¶
Read reads ssh key from c.KeyPath and parses it, returns sshKey, result and error. sshKey is struct with parsed key. result is human readable message, which can be shown to the end user (can be localized). error is debug information which is passed for debug needs, shouldn't be shown to user.
func (*Handler) RunSSHKeyChecks ¶
func (c *Handler) RunSSHKeyChecks()
func (*Handler) Write ¶
Write parses ssh key from json and writes to c.KeyPath and returns sshKey, result and error. sshKey is struct with parsed key. result is human readable message, which can be shown to the end user (can be localized). error is debug information which is passed for debug needs, shouldn't be shown to user.
Click to show internal directories.
Click to hide internal directories.