package
1.13.0
Repository: https://github.com/kubeshop/botkube.git
Documentation: pkg.go.dev

# Functions

NewCommandGuard creates a new CommandGuard instance.

# Variables

ErrResourceNotFound is returned when the resource is not found on the server.
ErrVerbNotSupported is returned when the verb is not supported for the resource.

# Structs

CommandGuard is responsible for getting allowed resources for a given command.
Resource represents a Kubernetes resource.

# Interfaces

K8sDiscoveryInterface describes an interface for getting K8s server resources.