Skip to content

rules

Index

Fields

fn withKind

withKind(value="*")

PARAMETERS:

  • value (string)
    • default value: "*"

The kind this rule applies to (dashboards, alert, etc)

fn withTarget

withTarget(value)

PARAMETERS:

  • value (string)

Specific sub-elements like "alert.rules" or "dashboard.permissions"????

fn withVerb

withVerb(value)

PARAMETERS:

  • value (string)

READ, WRITE, CREATE, DELETE, ... should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"

fn withVerbMixin

withVerbMixin(value)

PARAMETERS:

  • value (string)

READ, WRITE, CREATE, DELETE, ... should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"