signature

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.

SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAddDigestsCommand

func NewAddDigestsCommand(ctx context.Context) *cobra.Command

func NewCheckDigest

func NewCheckDigest(ctx context.Context) *cobra.Command

func NewSignaturesCommand

func NewSignaturesCommand(ctx context.Context) *cobra.Command

NewSignaturesCommand creates a new command to interact with signatures.

Types

type AddDigestsOptions

type AddDigestsOptions struct {
	// BaseUrl is the oci registry where the component is stored.
	BaseUrl string
	// ComponentName is the unique name of the component in the registry.
	ComponentName string
	// Version is the component Version in the oci registry.
	Version string

	// UploadBaseUrl is the base url where the digested component descriptor will be uploaded
	UploadBaseUrl string

	// Force to overwrite component descriptors on upload
	Force bool

	// Recursive to digest and upload all referenced component descriptors
	Recursive bool

	// SkipAccessTypes defines the access types that will be ignored for adding digests
	SkipAccessTypes []string

	// OciOptions contains all exposed options to configure the oci client.
	OciOptions ociopts.Options
}

func (*AddDigestsOptions) AddFlags

func (o *AddDigestsOptions) AddFlags(fs *pflag.FlagSet)

func (*AddDigestsOptions) Complete

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

func (*AddDigestsOptions) Run

type CheckDigestsOptions

type CheckDigestsOptions struct {
	// BaseUrl is the oci registry where the component is stored.
	BaseUrl string
	// ComponentName is the unique name of the component in the registry.
	ComponentName string
	// Version is the component Version in the oci registry.
	Version string

	// OciOptions contains all exposed options to configure the oci client.
	OciOptions ociopts.Options
}

func (*CheckDigestsOptions) AddFlags

func (o *CheckDigestsOptions) AddFlags(fs *pflag.FlagSet)

func (*CheckDigestsOptions) Complete

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

Complete validates the arguments and flags from the command line

func (*CheckDigestsOptions) Run

Directories

Path Synopsis
SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.
SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.
SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.
SPDX-FileCopyrightText: 2022 SAP SE or an SAP affiliate company and Gardener contributors.

Jump to

Keyboard shortcuts

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