rbacroles

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL