area

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package area is the areas that group the operations of osapi: the sections of the UI's Behaviors page and of its list of steps on the Plans page, the folders of the SDK's pages and of the reference pages of the behaviors, the chains and the endpoints, and the sections of the docs site's SDK and Behaviors menus. Each behavior and each endpoint group declares one. The spec carries the area of each operation and the list of areas, so a change here changes each of them together.

Index

Constants

This section is empty.

Variables

View Source
var All = []Area{
	{Services, "Services"},
	{Software, "Software"},
	{Config, "Config"},
	{Node, "Node"},
	{Logs, "Logs"},
	{Networking, "Networking"},
	{Security, "Security"},
	{Containers, "Containers"},
	{ObjectStore, "Object Store"},
	{Secrets, "Secrets"},
	{Command, "Command"},
	{Hardware, "Hardware"},
	{Audit, "Audit"},
	{Fleet, "Fleet"},
}

All are the areas, in the order that the UI, the SDK's pages and the docs site show them.

Functions

func List

func List() string

List is the names of All, for a message, such as "services, software".

func Valid

func Valid(
	name Name,
) bool

Valid reports whether name is one of All.

Types

type Area

type Area struct {
	Name  Name   `json:"name"`
	Label string `json:"label"`
}

Area is one area: its name, and the label that a reader sees.

type Name

type Name string

Name is the name of an area, one of All.

const (
	Services    Name = "services"
	Software    Name = "software"
	Config      Name = "config"
	Node        Name = "node"
	Logs        Name = "logs"
	Networking  Name = "networking"
	Security    Name = "security"
	Containers  Name = "containers"
	ObjectStore Name = "objectstore"
	Secrets     Name = "secrets"
	Command     Name = "command"
	Hardware    Name = "hardware"
	Audit       Name = "audit"
	Fleet       Name = "fleet"
)

The areas.

Jump to

Keyboard shortcuts

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