command_restrict

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package command_restrict holds the commands that restrict a space and show its restrictions, shared by the knot command (knot space restrict) and the agent inside a space (knot restrict).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableSecrets

func EnableSecrets()

EnableSecrets shows the --no-secrets flag. Knot Pro calls it.

func RestrictCmd

func RestrictCmd(spaceArg bool) *cli.Command

RestrictCmd restricts a space. With spaceArg the space can be named, and defaults to the space it runs in; without, it's always that space.

func RestrictionsCmd

func RestrictionsCmd(spaceArg bool) *cli.Command

RestrictionsCmd shows a space's restrictions, as RestrictCmd names it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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