Documentation ¶
Index ¶
- type RbacRole
- type RbacRoleList
- func GetRbacRoleList(client *client.Clientset, dsQuery *dataselect.DataSelectQuery) (*RbacRoleList, error)
- func GetRbacRoleListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*RbacRoleList, error)
- func SimplifyRbacRoleLists(roles []rbac.Role, clusterRoles []rbac.ClusterRole, ...) *RbacRoleList
- type RoleCell
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RbacRole ¶
type RbacRole struct { ObjectMeta common.ObjectMeta `json:"objectMeta"` TypeMeta common.TypeMeta `json:"typeMeta"` }
RbacRole provides the simplified, combined presentation layer view of Kubernetes' RBAC Roles and ClusterRoles. ClusterRoles will be referred to as Roles for the namespace "all namespaces".
type RbacRoleList ¶
type RbacRoleList struct { ListMeta common.ListMeta `json:"listMeta"` // Unordered list of RbacRoles Items []RbacRole `json:"items"` }
RbacRoleList contains a list of Roles and ClusterRoles in the cluster.
func GetRbacRoleList ¶
func GetRbacRoleList(client *client.Clientset, dsQuery *dataselect.DataSelectQuery) (*RbacRoleList, error)
GetRbacRoleList returns a list of all RBAC Roles in the cluster.
func GetRbacRoleListFromChannels ¶
func GetRbacRoleListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*RbacRoleList, error)
GetRbacRoleListFromChannels returns a list of all RBAC roles in the cluster reading required resource list once from the channels.
func SimplifyRbacRoleLists ¶
func SimplifyRbacRoleLists(roles []rbac.Role, clusterRoles []rbac.ClusterRole, dsQuery *dataselect.DataSelectQuery) *RbacRoleList
SimplifyRbacRoleLists merges a list of Roles with a list of ClusterRoles to create a simpler, unified list
type RoleCell ¶
type RoleCell RbacRole
func (RoleCell) GetProperty ¶
func (self RoleCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
Click to show internal directories.
Click to hide internal directories.