Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClusterStrategy = strategy{false, kapi.Scheme}
View Source
var LocalStrategy = strategy{true, kapi.Scheme}
Functions ¶
func RoleBindingToSelectableFields ¶
func RoleBindingToSelectableFields(roleBinding *authorizationapi.RoleBinding) fields.Set
RoleBindingToSelectableFields returns a label set that represents the object changes to the returned keys require registering conversions for existing versions using Scheme.AddFieldLabelConversionFunc
Types ¶
type Storage ¶
type Storage interface { rest.Getter rest.Lister rest.CreaterUpdater rest.GracefulDeleter // CreateRoleBindingWithEscalation creates a new policyRoleBinding. Skipping the escalation check should only be done during bootstrapping procedures where no users are currently bound. CreateRoleBindingWithEscalation(ctx apirequest.Context, policyRoleBinding *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error) // UpdateRoleBindingWithEscalation updates a policyRoleBinding. Skipping the escalation check should only be done during bootstrapping procedures where no users are currently bound. UpdateRoleBindingWithEscalation(ctx apirequest.Context, policyRoleBinding *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error) }
Storage is an interface for a standard REST Storage backend
Click to show internal directories.
Click to hide internal directories.