Skip to content

RoleBindingBuilder🔗

Constructor🔗

func NewRoleBindingBuilder() *RoleBindingBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *RoleBindingBuilder) Build() (RoleBinding, error)

Role🔗

The role we are discussing

func (builder *RoleBindingBuilder) Role(role rolebinding.BuiltinRoleRefOrCustomRoleRef) *RoleBindingBuilder

Subject🔗

The team or user that has the specified role

func (builder *RoleBindingBuilder) Subject(subject cog.Builder[rolebinding.RoleBindingSubject]) *RoleBindingBuilder

See also🔗