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, reader io.Reader, kmsVal string, writer NamedWriter, ...) 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, 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 Version() *ffcli.Command
- type Annotation
- type Info
- type KeyParseError
- type NamedWriter
- 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 ¶
func SignBlobCmd ¶
func Triangulate ¶
func VerifyBlob ¶
func VerifyBlobCmd ¶
Types ¶
type Annotation ¶
type Annotation struct {
// contains filtered or unexported fields
}
type Info ¶
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 ¶
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 ¶
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.