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 ¶
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 ¶
func (o *AddDigestsOptions) Run(ctx context.Context, log logr.Logger, fs vfs.FileSystem) error
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 ¶
func (o *CheckDigestsOptions) Run(ctx context.Context, log logr.Logger, fs vfs.FileSystem) error
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. |
Click to show internal directories.
Click to hide internal directories.