add

package
v0.3.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.References
	Verb  = verbs.Add
)

Functions

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

NewCommand creates a new ctf command.

func NewReferenceSpecificatonProvider

func NewReferenceSpecificatonProvider() ocmcomm.ElementSpecificationsProvider

Types

type Command

type Command struct {
	common.ResourceAdderCommand
}

func (*Command) ForName

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

func (*Command) Run

func (o *Command) Run() error

type ReferenceResourceSpecificationProvider

type ReferenceResourceSpecificationProvider struct {
	*ocmcomm.ElementMetaDataSpecificationsProvider
}

func (*ReferenceResourceSpecificationProvider) Description

func (*ReferenceResourceSpecificationProvider) Get

func (*ReferenceResourceSpecificationProvider) Resources

Jump to

Keyboard shortcuts

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