Documentation ¶ Index ¶ Variables type Client func (c Client) Perform(ctx context.Context, drv *ui.Driver) (*api.Session, error) type SignIn func (s *SignIn) RunTUI(ctx context.Context, drv *ui.Driver) error func (s SignIn) UI() cli.UI type SignOut func (s SignOut) UI() cli.UI type WhoAmI func (w WhoAmI) UI() cli.UI Constants ¶ This section is empty. Variables ¶ View Source var ( ErrSigninFailed = errors.New("sign in failed") ) Functions ¶ This section is empty. Types ¶ type Client ¶ added in v0.0.11 type Client struct { Config *cli.Config Anc *api.Session Hint tea.Model Source string } func (Client) Perform ¶ added in v0.0.11 func (c Client) Perform(ctx context.Context, drv *ui.Driver) (*api.Session, error) type SignIn ¶ type SignIn struct { Config *cli.Config Source string Hint tea.Model } func (*SignIn) RunTUI ¶ added in v0.0.8 func (s *SignIn) RunTUI(ctx context.Context, drv *ui.Driver) error func (SignIn) UI ¶ added in v0.0.8 func (s SignIn) UI() cli.UI type SignOut ¶ type SignOut struct { Config *cli.Config } func (SignOut) UI ¶ added in v0.0.8 func (s SignOut) UI() cli.UI type WhoAmI ¶ type WhoAmI struct { Config *cli.Config } func (WhoAmI) UI ¶ added in v0.0.8 func (w WhoAmI) UI() cli.UI Source Files ¶ View all Source files client.go signin.go signout.go whoami.go Directories ¶ Show internal Expand all Path Synopsis models Click to show internal directories. Click to hide internal directories.