Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailedToExpandHomeDir = errors.New("unable to expand user home dir") ErrFailedToLoadConfig = errors.New("failed to get securecrt config") ErrFailedToLoadCredentials = errors.New("failed to load default credentials") ErrFailedToCreateSession = errors.New("failed to create session") ErrFailedToReadSession = errors.New("failed to read session") )
Functions ¶
This section is empty.
Types ¶
type SecureCRT ¶
type SecureCRT struct {
// contains filtered or unexported fields
}
func (*SecureCRT) GetSessionPath ¶ added in v0.2.0
func (*SecureCRT) GetSessions ¶ added in v0.2.0
func (scrt *SecureCRT) GetSessions() ([]*SecureCRTSession, error)
func (*SecureCRT) RemoveSessions ¶
func (scrt *SecureCRT) RemoveSessions(sessions []*SecureCRTSession) error
func (*SecureCRT) WriteSession ¶
func (scrt *SecureCRT) WriteSession(session *SecureCRTSession) error
type SecureCRTSession ¶ added in v0.2.0
type SecureCRTSession struct { DeviceName string Path string IP string `session:"Hostname" type:"S"` Protocol string `session:"Protocol Name" type:"S"` Description string `session:"Description" type:"Z"` CredentialName string `session:"Credential Title" type:"S"` Firewall string `session:"Firewall Name" type:"S"` // contains filtered or unexported fields }
func NewSession ¶ added in v0.2.0
func NewSession(fullPath string) *SecureCRTSession
Click to show internal directories.
Click to hide internal directories.