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, annotations map[string]interface{}, ...) error
- func GenerateKeyPair() *ffcli.Command
- func GenerateKeyPairCmd(ctx context.Context, kmsVal string) error
- func GetPass(confirm bool) ([]byte, error)
- func GetPublicKey(ctx context.Context, opts Pkopts, writer NamedWriter, pf cosign.PassFunc) error
- func MungeCmd(_ context.Context, imageRef string) error
- func PublicKey() *ffcli.Command
- func Sign() *ffcli.Command
- func SignBlob() *ffcli.Command
- func SignBlobCmd(ctx context.Context, ko KeyOpts, payloadPath string, b64 bool, ...) ([]byte, error)
- func SignCmd(ctx context.Context, so SignOpts, 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, ko KeyOpts, certRef, sigRef, blobRef string) error
- func Version() *ffcli.Command
- type Info
- type KeyOpts
- type KeyParseError
- type NamedWriter
- type Pkopts
- type SignOpts
- type SignatureArgType
- type VerifyCommand
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// Read is for fuzzing
Read = readPasswordFn
)
Functions ¶
func GenerateCmd ¶
func GenerateKeyPair ¶
func GetPublicKey ¶ added in v0.2.0
func SignBlobCmd ¶
func Triangulate ¶
func VerifyBlob ¶
func VerifyBlobCmd ¶
Types ¶
type Info ¶ added in v0.3.0
type Info struct { GitVersion string GitCommit string GitTreeState string BuildDate string GoVersion string Compiler string Platform string }
func VersionInfo ¶
func VersionInfo() Info
func (*Info) JSONString ¶ added in v0.3.0
JSONString returns the JSON representation of the version info
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 NamedWriter ¶ added in v0.3.0
type SignatureArgType ¶
type SignatureArgType uint8
const ( StdinSignature SignatureArgType = iota RawSignature SignatureArgType = iota FileSignature SignatureArgType = iota )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.