entity

package
v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CLIType is the string representing this type in CLI commands.
	CLIType = "entity"
	// CLITypePlural is the plural form of the string representing this type in CLI commands.
	CLITypePlural = "entities"
	// CLITypeShort is the shortened form for this type in CLI commands.
	CLITypeShort = "ent"
	// CLITypeProject is the string representing the project alternate in CLI commands.
	CLITypeProject = "project"
	// CLITypeProjectPlural is the plural form of the string representing the project alternate in CLI commands.
	CLITypeProjectPlural = "projects"
	// CLITypeProjectShort is the shortened form for the project alternate in CLI commands.
	CLITypeProjectShort = "prj"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionRunner

type ActionRunner struct {
	// contains filtered or unexported fields
}

ActionRunner implements CRUD actions on a entity.

func NewActionRunner

func NewActionRunner(clients *api.Clients, userID string, authInfo runtime.ClientAuthInfoWriter) *ActionRunner

NewActionRunner returns a collection.ActionRunner that will use the specified client and authInfo.

func (*ActionRunner) Delete

func (ar *ActionRunner) Delete(*cobra.Command, []string) error

Delete implements the CLI delete action for a entity.

func (*ActionRunner) Describe

func (ar *ActionRunner) Describe(cmd *cobra.Command, args []string) error

Describe implements the CLI describe action for a entity.

func (*ActionRunner) Get

func (ar *ActionRunner) Get(cmd *cobra.Command, args []string) error

Get implements the CLI get action for a entity.

Jump to

Keyboard shortcuts

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