Documentation ¶
Index ¶
- func Sign(rawRef string, experimental bool, options types.ImageSignOptions) error
- func SignCosign(rawRef string, keyRef string) error
- func SignNotation(rawRef string, keyNameRef string) error
- func Verify(ctx context.Context, rawRef string, hostsDirs []string, experimental bool, ...) (ref string, err error)
- func VerifyCosign(ctx context.Context, rawRef string, keyRef string, hostsDirs []string) (string, error)
- func VerifyNotation(ctx context.Context, rawRef string, hostsDirs []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sign ¶
func Sign(rawRef string, experimental bool, options types.ImageSignOptions) error
Sign signs an image using a signer and options provided in options.
func SignCosign ¶
SignCosign signs an image(`rawRef`) using a cosign private key (`keyRef`)
func SignNotation ¶
SignNotation signs an image(`rawRef`) using a notation key name (`keyNameRef`)
func Verify ¶
func Verify(ctx context.Context, rawRef string, hostsDirs []string, experimental bool, options types.ImageVerifyOptions) (ref string, err error)
Verify verifies an image using a verifier and options provided in options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.