role

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package role is the Swarm node-role vocabulary.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role string

Role is a swarm node role.

const (
	Manager Role = "manager"
	Worker  Role = "worker"
)

func All

func All() []Role

All returns every known node role.

Jump to

Keyboard shortcuts

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