csvutils

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForConfidentialObjAccessAtClusterScope

func CheckForConfidentialObjAccessAtClusterScope(csvPermissions *types.CSVPermissions) bool

Checks if secrets and configmaps without explicitly defined resource names are accessed at the cluster scope.

func GetApisOwned

func GetApisOwned(csv operator.ClusterServiceVersion) ([]string, error)

func WildCardApiGroupPresent

func WildCardApiGroupPresent(csvPermissions *types.CSVPermissions) bool

Checks if any rules have "*" defined in its apiGroup definition.

func WildCardResourcePresent

func WildCardResourcePresent(csvPermissions *types.CSVPermissions, ownedApis []string) bool

Checks if any rules have "*" defined under resources.(For non-operator owned apis.)

Types

This section is empty.

Jump to

Keyboard shortcuts

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