access

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package access tells which integrations the operator may wire (0004 §7). Each integration's permissions are in a ClusterRole of its own, which the chart can leave out: the operator checks, when it starts, that it has them, and disables the integrations it lacks some of.

Index

Constants

View Source
const RolePrefix = "inkwall-operator-"

RolePrefix starts the name of each integration's ClusterRole in role.yaml, followed by the integration's name.

Variables

This section is empty.

Functions

func Denied

func Denied(ctx context.Context, c client.Client) (map[string]string, error)

Denied returns, by integration name, why the operator may not wire an integration: the permissions of its ClusterRole it lacks.

func Missing

func Missing(ctx context.Context, c client.Client, rules []rbacv1.PolicyRule) ([]string, error)

Missing returns the permissions of rules the operator lacks cluster-wide, as "verb resource.group", asking the API server (SelfSubjectAccessReview). The rules name resources and verbs.

func Roles

func Roles() (map[string][]rbacv1.PolicyRule, error)

Roles returns the rules of each integration's ClusterRole, by integration name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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