operations

package
v0.0.0-...-f4b31ea Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: BSD-3-Clause Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddCmd = &subcommands.Command{
	UsageLine: "add <sub-command>",
	ShortDesc: "Add details of a resource/entity",
	LongDesc: `Add details for
	machine/rack/kvm/rpm/switch/drac/nic
	host/vm
	asset/dut/labstation/cachingservice/schedulingunit
	machine-prototype/rack-prototype/chromeplatform/vlan
	attached-device-machine (aliased as adm/attached-device-machine)
	attached-device-host (aliased as adh/attached-device-host)
	defaultwifi
	peripheral-hmr
	peripheral-wifi
	bluetooth-peers
	peripheral-pasit-host
	peripheral-audio-latency-toolkit
	peripheral-amt`,
	CommandRun: func() subcommands.CommandRun {
		c := &add{}
		return c
	},
}

AddCmd contains add command specification

View Source
var AdminCmd = &subcommands.Command{
	UsageLine: "admin <sub-command>",
	ShortDesc: "Admin operations. You may lack the permission to use these",
	LongDesc:  `Run admin operations on UFS. Available operations are [cron]`,
	CommandRun: func() subcommands.CommandRun {
		c := &admin{}
		return c
	},
}

AddCmd contains add command specification

View Source
var DeleteCmd = &subcommands.Command{
	UsageLine: "delete <sub-command>",
	ShortDesc: "Delete a resource/entity",
	LongDesc: `Delete a
	machine/rack/kvm/rpm/switch/drac/nic
	host/vm
	asset/dut/cachingservice/schedulingunit
	machine-prototype/rack-prototype/chromeplatform/vlan
	attached-device-machine (aliased as adm/attached-device-machine)
	attached-device-host (aliased as adh/attached-device-host)
	defaultwifi
	peripheral-hmr
	peripheral-wifi
	bluetooth-peers
	peripheral-pasit-host
	peripheral-audio-latency-toolkit
	peripheral-amt`,
	CommandRun: func() subcommands.CommandRun {
		c := &delete{}
		return c
	},
}

DeleteCmd contains delete command specification

View Source
var GetCmd = &subcommands.Command{
	UsageLine: "get <sub-command>",
	ShortDesc: "Get details of a resource/entity",
	LongDesc: `Get details for
	machine/rack/kvm/rpm/switch/drac/nic
	host/vm/vm-slots
	asset/dut/cachingservice/schedulingunit
	machine-prototype/rack-prototype/platform/vlan/host-deployment
	attached-device-machine (aliased as adm/attached-device-machine)
	attached-device-host (aliased as adh/attached-device-host)
	defaultwifi`,
	CommandRun: func() subcommands.CommandRun {
		c := &get{}
		return c
	},
}

GetCmd contains get command specification

View Source
var RenameCmd = &subcommands.Command{
	UsageLine: "rename <sub-command>",
	ShortDesc: "Rename a resource/entity",
	LongDesc:  `Rename a machine/nic/switch`,
	CommandRun: func() subcommands.CommandRun {
		c := &rename{}
		return c
	},
}

RenameCmd contains rename command specification

View Source
var ReplaceCmd = &subcommands.Command{
	UsageLine: "replace <sub-command>",
	ShortDesc: "Replace a resource/entity",
	LongDesc: `Replace a single or set of
	peripheral-wifi
	bluetooth-peers`,
	CommandRun: func() subcommands.CommandRun {
		c := &replace{}
		return c
	},
}

ReplaceCmd contains rename command specification

View Source
var UpdateCmd = &subcommands.Command{
	UsageLine: "update <sub-command>",
	ShortDesc: "Update details of a resource/entity",
	LongDesc: `Update details for
	machine/rack/kvm/rpm/switch/drac/nic
	host/vm
	asset/dut/dut-batch/dut-state/labstation/cachingservice/schedulingunit
	machine-prototype/rack-prototype/chromeplatform/vlan/host-deployment
	attached-device-machine (aliased as adm/attached-device-machine)
	attached-device-host (aliased as adh/attached-device-host)
	defaultwifi`,
	CommandRun: func() subcommands.CommandRun {
		c := &update{}
		return c
	},
}

UpdateCmd contains update command specification

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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