Documentation ¶
Index ¶
- Constants
- func AuthorizedKeysToFile(file *os.File, keys []AuthorizedKey) error
- func NormalizeBoolString(boolString string) string
- func NormalizeSSHPublicKey(keyAsString string) (string, error)
- func TemplateBoolString() string
- func TestBoolString(boolString string, toleratesEmptyFields bool) error
- func TestSSHPublicKey(keyAsString string) error
- type AuthorizedKey
- func (key *AuthorizedKey) Copy() (*AuthorizedKey, error)
- func (key *AuthorizedKey) FromBlock(block []byte) ([]byte, error)
- func (key *AuthorizedKey) FromString(stringIn string) error
- func (key *AuthorizedKey) Normalize() error
- func (key *AuthorizedKey) String() string
- func (key *AuthorizedKey) Test() error
Constants ¶
View Source
const ( True = "true" False = "false" )
Variables ¶
This section is empty.
Functions ¶
func AuthorizedKeysToFile ¶
func AuthorizedKeysToFile(file *os.File, keys []AuthorizedKey) error
func NormalizeBoolString ¶
func NormalizeSSHPublicKey ¶
func TemplateBoolString ¶
func TemplateBoolString() string
func TestBoolString ¶
func TestSSHPublicKey ¶
Types ¶
type AuthorizedKey ¶
func AuthorizedKeysFromFile ¶
func AuthorizedKeysFromFile(file *os.File) ([]AuthorizedKey, error)
func (*AuthorizedKey) Copy ¶
func (key *AuthorizedKey) Copy() (*AuthorizedKey, error)
func (*AuthorizedKey) FromString ¶
func (key *AuthorizedKey) FromString(stringIn string) error
func (*AuthorizedKey) Normalize ¶
func (key *AuthorizedKey) Normalize() error
func (*AuthorizedKey) String ¶
func (key *AuthorizedKey) String() string
func (*AuthorizedKey) Test ¶
func (key *AuthorizedKey) Test() error
Click to show internal directories.
Click to hide internal directories.