Documentation
¶
Overview ¶
Package auth 提供真实的 auth 命令组与交互式凭据输入。
Index ¶
- func New(options *session.Options, streams *environment.Streams) *cobra.Command
- func NewCheck(options *session.Options, streams *environment.Streams) *cobra.Command
- func NewList(streams *environment.Streams) *cobra.Command
- func NewLogin(options *session.Options, streams *environment.Streams) *cobra.Command
- func NewRemove(streams *environment.Streams) *cobra.Command
- func NewUse(streams *environment.Streams) *cobra.Command
- func PromptPassword(out io.Writer) (string, error)
- func PromptUsername(in io.Reader, out io.Writer) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewList ¶
func NewList(streams *environment.Streams) *cobra.Command
NewList builds the auth list command.
func NewRemove ¶
func NewRemove(streams *environment.Streams) *cobra.Command
NewRemove builds the auth remove command.
func NewUse ¶
func NewUse(streams *environment.Streams) *cobra.Command
NewUse builds the auth use command.
func PromptPassword ¶
PromptPassword reads a password without echo when stdin is a TTY.
Types ¶
This section is empty.