Documentation
¶
Index ¶
- type RbacRoleBinding
- type RbacRoleBindingList
- func GetRbacRoleBindingList(client kubernetes.Interface, 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 api.ObjectMeta `json:"objectMeta"`
TypeMeta api.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 api.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 kubernetes.Interface, 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
Source Files
¶
- common.go
- list.go