signing

package
v2.0.0-...-98cc131 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(ctx clictx.Context, op string, sign bool, terms []string, example string, names ...string) *cobra.Command

NewCommand creates a new ctf command.

Types

type Action

type Action interface {
	output.Output
	Digest(o *comphdlr.Object) (*metav1.DigestSpec, *compdesc.ComponentDescriptor, error)
}

func NewAction

func NewAction(desc []string, ctx ocm.Context, p common.Printer, sopts *signing.Options) Action

type SignatureCommand

type SignatureCommand struct {
	utils.BaseCommand
	Refs []string
	// contains filtered or unexported fields
}

func (*SignatureCommand) Complete

func (o *SignatureCommand) Complete(args []string) error

func (*SignatureCommand) ForName

func (o *SignatureCommand) ForName(name string) *cobra.Command

func (*SignatureCommand) Run

func (o *SignatureCommand) Run() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL