Documentation ¶ Index ¶ func ShouldRenewToken(t string, validFor time.Duration) (bool, *time.Time) type CmdSet func NewCmdSet(f *cmdutil.Factory) *CmdSet func (n *CmdSet) RunE(cmd *cobra.Command, args []string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ShouldRenewToken ¶ added in v2.40.0 func ShouldRenewToken(t string, validFor time.Duration) (bool, *time.Time) Types ¶ type CmdSet ¶ type CmdSet struct { TFACode string LoginErr error LoginOK bool LoginType string Shell string ClearToken bool *subcommand.SubCommand // contains filtered or unexported fields } func NewCmdSet ¶ func NewCmdSet(f *cmdutil.Factory) *CmdSet func (*CmdSet) RunE ¶ func (n *CmdSet) RunE(cmd *cobra.Command, args []string) error Source Files ¶ View all Source files set.manual.go Click to show internal directories. Click to hide internal directories.