login

package
v2.41.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL