cmdTemplate

package
v0.0.0-...-9813e4e Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

type Create struct {
	Name string
}

func (*Create) GetDesc

func (cmd *Create) GetDesc() []string

func (*Create) GetName

func (cmd *Create) GetName() string

func (*Create) PrintUsage

func (cmd *Create) PrintUsage()

func (*Create) Run

func (cmd *Create) Run(client *nc.NexusClient, args []string) int

type Del

type Del struct {
	Name string
}

func (*Del) GetDesc

func (cmd *Del) GetDesc() []string

func (*Del) GetName

func (cmd *Del) GetName() string

func (*Del) PrintUsage

func (cmd *Del) PrintUsage()

func (*Del) Run

func (cmd *Del) Run(client *nc.NexusClient, args []string) int

type Edit

type Edit struct {
	Name string
}

func (*Edit) GetDesc

func (cmd *Edit) GetDesc() []string

func (*Edit) GetName

func (cmd *Edit) GetName() string

func (*Edit) PrintUsage

func (cmd *Edit) PrintUsage()

func (*Edit) Run

func (cmd *Edit) Run(client *nc.NexusClient, args []string) int

type ExportDisk

type ExportDisk struct {
	Name string
}

func (*ExportDisk) GetDesc

func (cmd *ExportDisk) GetDesc() []string

func (*ExportDisk) GetName

func (cmd *ExportDisk) GetName() string

func (*ExportDisk) PrintUsage

func (cmd *ExportDisk) PrintUsage()

func (*ExportDisk) Run

func (cmd *ExportDisk) Run(client *nc.NexusClient, args []string) int

type List

type List struct {
	Name string
}

func (*List) GetDesc

func (cmd *List) GetDesc() []string

func (*List) GetName

func (cmd *List) GetName() string

func (*List) PrintUsage

func (cmd *List) PrintUsage()

func (*List) Run

func (cmd *List) Run(client *nc.NexusClient, args []string) int

Prints a list of filtered templates. Return 0 if everything went well or 1 in case of failure.

type ListSingle

type ListSingle struct {
	Name string
}

func (*ListSingle) GetDesc

func (cmd *ListSingle) GetDesc() []string

func (*ListSingle) GetName

func (cmd *ListSingle) GetName() string

func (*ListSingle) PrintUsage

func (cmd *ListSingle) PrintUsage()

func (*ListSingle) Run

func (cmd *ListSingle) Run(client *nc.NexusClient, args []string) int

Source Files

  • templateCreate.go
  • templateDel.go
  • templateEdit.go
  • templateExportDisk.go
  • templateList.go
  • templateListSingle.go

Jump to

Keyboard shortcuts

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