Versions in this module Expand all Collapse all v1 v1.6.3 Jan 1, 2022 Changes in this version + var ErrSigningMethod = errors.New("invalid signing method") + func NewCmdJWT(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdShow(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdSign(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + func NewCmdVerify(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command + type ArgList map[string]string + func (l ArgList) Set(arg string) error + func (l ArgList) String() string + func (l ArgList) Type() string + type ShowOptions struct + Compact bool + func NewShowOptions(ioStreams genericclioptions.IOStreams) *ShowOptions + func (o *ShowOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ShowOptions) Run(args []string) error + func (o *ShowOptions) Validate(cmd *cobra.Command, args []string) error + type SignOptions struct + Algorithm string + Audience string + Claims ArgList + Head ArgList + Issuer string + NotBefore time.Duration + Timeout time.Duration + func NewSignOptions(ioStreams genericclioptions.IOStreams) *SignOptions + func (o *SignOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *SignOptions) Run(args []string) error + func (o *SignOptions) Validate(cmd *cobra.Command, args []string) error + type VerifyOptions struct + Compact bool + Debug bool + func NewVerifyOptions(ioStreams genericclioptions.IOStreams) *VerifyOptions + func (o *VerifyOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *VerifyOptions) Run(args []string) error + func (o *VerifyOptions) Validate(cmd *cobra.Command, args []string) error