Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCredOptions ¶
type GetCredOptions struct {
Url string
Username string
Password string
JWT string
TrustBundle string
}
SignOptions is the top level wrapper for the sign command.
func (*GetCredOptions) AddFlags ¶
func (o *GetCredOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type JWTOptions ¶
SignOptions is the top level wrapper for the sign command.
func (*JWTOptions) AddFlags ¶
func (o *JWTOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type JarOptions ¶
SignOptions is the top level wrapper for the sign command.
func (*JarOptions) AddFlags ¶
func (o *JarOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type PDFOptions ¶
SignOptions is the top level wrapper for the sign command.
func (*PDFOptions) AddFlags ¶
func (o *PDFOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type RootOptions ¶
RootOptions define flags and options for the root vsign cli.
func (*RootOptions) AddFlags ¶
func (o *RootOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type SignOptions ¶
type SignOptions struct {
Config string
ImageRef string
OutputSignature string
PayloadPath string
Digest string
Mechanism int
SigType string
Jar JarOptions
PDF PDFOptions
}
SignOptions is the top level wrapper for the sign command.
func (*SignOptions) AddFlags ¶
func (o *SignOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
type VerifyOptions ¶
type VerifyOptions struct {
Config string
SignaturePath string // TODO: this should be the root output file arg.
PayloadPath string
PublicKeyPath string
Digest string
Force bool
}
SignOptions is the top level wrapper for the sign command.
func (*VerifyOptions) AddFlags ¶
func (o *VerifyOptions) AddFlags(cmd *cobra.Command)
AddFlags implements Interface
Click to show internal directories.
Click to hide internal directories.