Documentation ¶
Index ¶
- Variables
- func Download() *ffcli.Command
- func DownloadCmd(ctx context.Context, imageRef string) error
- func Generate() *ffcli.Command
- func GenerateCmd(_ context.Context, imageRef string, a map[string]string, w io.Writer) error
- func GenerateKeyPair() *ffcli.Command
- func GenerateKeyPairCmd(ctx context.Context, kmsVal string) error
- func GetPass(confirm bool) ([]byte, error)
- func MungeCmd(_ context.Context, imageRef string) error
- func Sign() *ffcli.Command
- func SignBlob() *ffcli.Command
- func SignBlobCmd(ctx context.Context, keyPath, kmsVal, payloadPath string, b64 bool, ...) ([]byte, error)
- func SignCmd(ctx context.Context, keyPath string, imageRef string, upload bool, ...) error
- func Triangulate() *ffcli.Command
- func Upload() *ffcli.Command
- func UploadCmd(ctx context.Context, sigRef, payloadRef, imageRef string) error
- func Verify() *ffcli.Command
- func VerifyBlob() *ffcli.Command
- func VerifyBlobCmd(ctx context.Context, keyRef, kmsVal, certRef, sigRef, blobRef string) error
- func VerifyCmd(ctx context.Context, imageRef string, co cosign.CheckOpts) ([]cosign.SignedPayload, error)
- func Version() *ffcli.Command
- type KeyParseError
- type SignatureArgType
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Read is for fuzzing
Read = readPasswordFn
)
Functions ¶
func GenerateCmd ¶
func GenerateKeyPair ¶
func SignBlobCmd ¶
func Triangulate ¶
func VerifyBlob ¶
func VerifyBlobCmd ¶
Types ¶
type KeyParseError ¶
type KeyParseError struct{}
KeyParseError is an error returned when an incorrect set of key flags are parsed by the CLI
func (*KeyParseError) Error ¶
func (e *KeyParseError) Error() string
type SignatureArgType ¶
type SignatureArgType uint8
const ( StdinSignature SignatureArgType = iota RawSignature SignatureArgType = iota FileSignature SignatureArgType = iota )
Click to show internal directories.
Click to hide internal directories.