rbacroles

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: Apache-2.0 Imports: 8 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 api.ObjectMeta `json:"objectMeta"`
	TypeMeta   api.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 api.ListMeta `json:"listMeta"`

	// Unordered list of RbacRoles
	Items []RbacRole `json:"items"`

	// List of non-critical errors, that occurred during resource retrieval.
	Errors []error `json:"errors"`
}

RbacRoleList contains a list of Roles and ClusterRoles in the cluster.

func GetRbacRoleList

func GetRbacRoleList(client kubernetes.Interface, 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.

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