Documentation ¶
Index ¶
- type RbacRoleBinding
- type RbacRoleBindingList
- func GetRbacRoleBindingList(client *client.Clientset, dsQuery *dataselect.DataSelectQuery) (*RbacRoleBindingList, error)
- func GetRbacRoleBindingListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*RbacRoleBindingList, error)
- func SimplifyRbacRoleBindingLists(roleBindings []rbac.RoleBinding, clusterRoleBindings []rbac.ClusterRoleBinding, ...) *RbacRoleBindingList
- type RoleBindingCell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RbacRoleBinding ¶
type RbacRoleBinding struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` Subjects []rbac.Subject `json:"subjects"` RoleRef rbac.RoleRef `json:"roleRef"` Name string `json:"name"` Namespace string `json:"namespace"` }
RbacRoleBinding provides the simplified, combined presentation layer view of Kubernetes' RBAC RoleBindings and ClusterRoleBindings. ClusterRoleBindings will be referred to as RoleBindings for the namespace "all namespaces".
type RbacRoleBindingList ¶
type RbacRoleBindingList struct { ListMeta common.ListMeta `json:"listMeta"` // Unordered list of RbacRoleBindings Items []RbacRoleBinding `json:"items"` }
RbacRoleBindingList contains a list of Roles and ClusterRoles in the cluster.
func GetRbacRoleBindingList ¶
func GetRbacRoleBindingList(client *client.Clientset, dsQuery *dataselect.DataSelectQuery) (*RbacRoleBindingList, error)
GetRbacRoleBindingList returns a list of all RBAC Role Bindings in the cluster.
func GetRbacRoleBindingListFromChannels ¶
func GetRbacRoleBindingListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) ( *RbacRoleBindingList, error)
GetRbacRoleBindingListFromChannels returns a list of all RoleBindings in the cluster reading required resource list once from the channels.
func SimplifyRbacRoleBindingLists ¶
func SimplifyRbacRoleBindingLists(roleBindings []rbac.RoleBinding, clusterRoleBindings []rbac.ClusterRoleBinding, dsQuery *dataselect.DataSelectQuery) *RbacRoleBindingList
SimplifyRbacRoleBindingLists merges a list of RoleBindings with a list of ClusterRoleBindings to create a simpler, unified list
type RoleBindingCell ¶
type RoleBindingCell RbacRoleBinding
func (RoleBindingCell) GetProperty ¶
func (self RoleBindingCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue