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.
Click to show internal directories.
Click to hide internal directories.