Skip to main content

Module contexts

Module contexts 

Source

Structs§

AdminAclOptions
Options for optionally creating a context-scoped admin ACL entry as part of pnm contexts create.
ProvisionDidOptions

Functions§

cmd_context_bootstrap
cmd_context_create
cmd_context_delete
cmd_context_get
cmd_context_list
cmd_context_provision
cmd_context_reprovision
cmd_context_update
cmd_context_update_did
confirm_destructive
Read a [y/N] reply from stdin. Returns true for y / yes, false otherwise. Shared by the destructive shared commands so the prompt wording stays consistent.
render_context_list
Render a list of context records — table view by default, full key: value blocks when --full-display is set.
render_context_record
Render a single context record’s details, used by get and the success path of update. Shared by online + offline call sites.
render_delete_context_preview
Print the human-readable resource preview shown before context deletion. Returns true when the preview lists any resources (i.e. the caller should prompt for confirmation unless --force).