Documentation
¶
Index ¶
Constants ¶
View Source
const ( VerbFleetStatus = "fleet.status" VerbFleetLogs = "fleet.logs" VerbFleetQueryMetrics = "fleet.query_metrics" VerbFleetAlerts = "fleet.alerts" )
Variables ¶
This section is empty.
Functions ¶
func GenerateServiceSkill ¶
func GenerateToken ¶
Types ¶
type Principal ¶
type Principal struct {
Name string `json:"name"`
Token string `json:"token"`
Verbs []string `json:"verbs"`
Pods []string `json:"pods,omitempty"`
Services []string `json:"services,omitempty"`
ClawIDs []string `json:"claw_ids,omitempty"`
}
func BuildMasterPrincipal ¶
func (*Principal) AllowsClawID ¶
func (*Principal) AllowsService ¶
func (*Principal) AllowsVerb ¶
Click to show internal directories.
Click to hide internal directories.