category

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandCategories = []Category{
	{
		Key:         "basic",
		DisplayName: "Basic Commands",
		Order:       100,
	},
	{
		Key:         "connect",
		DisplayName: "Connect Commands",
		Order:       150,
	},
	{
		Key:         "operation",
		DisplayName: "Operation Commands",
		Order:       200,
	},
	{
		Key:         "subnet",
		DisplayName: "Subnet Operation Commands",
		Order:       210,
	},
	{
		Key:         "ipv6",
		DisplayName: "IPv6 Operation Commands",
		Order:       211,
	},
	{
		Key:         "certificate",
		DisplayName: "Certificate Management Commands",
		Order:       220,
	},
	{
		Key:         "cache",
		DisplayName: "Cache Management Commands",
		Order:       221,
	},
	{
		Key:         "power",
		DisplayName: "Power Management Commands",
		Order:       250,
	},
	{
		Key:         "backup",
		DisplayName: "Backup Commands",
		Order:       300,
	},
	{
		Key:         "monitor",
		DisplayName: "Monitoring Commands",
		Order:       500,
	},
	{
		Key:         "other",
		DisplayName: "Other Commands",
		Order:       10000,
	},
}
View Source
var ParameterCategories = []*Category{
	{
		Key:         "common",
		DisplayName: "Common options",
		Order:       50,
	},
	{
		Key:         "plan",
		DisplayName: "Plan options",
		Order:       60,
	},
	{
		Key:         "diskedit",
		DisplayName: "Edit disk options",
		Order:       200,
	},
	{
		Key:         "network",
		DisplayName: "Network options",
		Order:       200,
	},
	{
		Key:         "health",
		DisplayName: "Health check options",
		Order:       200,
	},
	{
		Key:         "filter",
		DisplayName: "Filter options",
		Order:       math.MaxInt32 - 100,
	},
	{
		Key:         "limit-offset",
		DisplayName: "Limit/Offset options",
		Order:       math.MaxInt32 - 90,
	},
	{
		Key:         "sort",
		DisplayName: "Sort options",
		Order:       math.MaxInt32 - 80,
	},
	{
		Key:         "monitor",
		DisplayName: "Monitor options",
		Order:       math.MaxInt32 - 70,
	},
	{
		Key:         "delete",
		DisplayName: "Delete options",
		Order:       math.MaxInt32 - 60,
	},
	{
		Key:         "zone",
		DisplayName: "Zone options",
		Order:       math.MaxInt32 - 50,
	},
	{
		Key:         "error",
		DisplayName: "Error handling options",
		Order:       math.MaxInt32 - 40,
	},
	{
		Key:         "wait",
		DisplayName: "Wait options",
		Order:       math.MaxInt32 - 30,
	},
	{
		Key:         "input",
		DisplayName: "Input options",
		Order:       math.MaxInt32 - 20,
	},
	{
		Key:         "output",
		DisplayName: "Output options",
		Order:       math.MaxInt32 - 10,
	},
	{
		Key:         "example",
		DisplayName: "Parameter example",
		Order:       math.MaxInt32 - 5,
	},
	{
		Key:         "default",
		DisplayName: "Other options",
		Order:       math.MaxInt32,
	},
}

Functions

This section is empty.

Types

type Category

type Category struct {
	Key         string
	DisplayName string
	Order       int
}

func (*Category) Equals

func (c *Category) Equals(target *Category) bool

Jump to

Keyboard shortcuts

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