Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
func Cmd(sp *SessionProvider) *cobra.Command
Types ¶
type SessionProvider ¶
type SessionProvider struct {
Host string `yaml:"host"`
SessionID string `yaml:"sessionID"`
// contains filtered or unexported fields
}
func NewSessionProvider ¶
func NewSessionProvider(sessionFilePath string) *SessionProvider
func (*SessionProvider) Login ¶
func (sp *SessionProvider) Login(acct, pwd string) error
func (*SessionProvider) SaveSession ¶
func (sp *SessionProvider) SaveSession() error
Click to show internal directories.
Click to hide internal directories.