Skip to content

AccessRuleBuilder🔗

Constructor🔗

func NewAccessRuleBuilder() *AccessRuleBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *AccessRuleBuilder) Build() (AccessRule, error)

Kind🔗

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

func (builder *AccessRuleBuilder) Kind(kind string) *AccessRuleBuilder

Target🔗

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

func (builder *AccessRuleBuilder) Target(target string) *AccessRuleBuilder

Verb🔗

READ, WRITE, CREATE, DELETE, ...

should move to k8s style verbs like: "get", "list", "watch", "create", "update", "patch", "delete"

func (builder *AccessRuleBuilder) Verb(verb string) *AccessRuleBuilder

See also🔗