Documentation
¶
Overview ¶
Package sessionlabel defines the bounded, case-insensitive label semantics shared by daemon mutation and CLI filtering.
Index ¶
Constants ¶
View Source
const ( MaxBytes = 64 MaxPerSession = 32 )
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply returns the label set produced by atomically removing then adding the requested identities. Existing display spellings win over add spellings.
func Contains ¶
Contains reports whether labels contains candidate under label identity rules. Callers should normalize user input before using it as candidate.
func ContainsAll ¶
ContainsAll reports whether labels contains every requested identity.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.