Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoleBinding ¶
type RoleBinding struct { ObjectMeta api.ObjectMeta `json:"objectMeta"` TypeMeta api.TypeMeta `json:"typeMeta"` }
RoleBinding is a presentation layer view of Kubernetes roleBinding. This means it is roleBinding plus additional augmented data we can get from other sources.
type RoleBindingCell ¶
type RoleBindingCell RoleBinding
func (RoleBindingCell) GetProperty ¶
func (self RoleBindingCell) GetProperty(name dataselect.PropertyName) dataselect.ComparableValue
type RoleBindingDetail ¶
type RoleBindingDetail struct { // Extends list item structure. RoleBinding `json:",inline"` Subjects []rbac.Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"` RoleRef rbac.RoleRef `json:"roleRef" protobuf:"bytes,3,opt,name=roleRef"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
RoleBindingDetail contains RoleBinding details.
func GetRoleBindingDetail ¶
func GetRoleBindingDetail(client k8sClient.Interface, namespace, name string) (*RoleBindingDetail, error)
GetRoleBindingDetail gets RoleBinding details.
type RoleBindingList ¶
type RoleBindingList struct { ListMeta api.ListMeta `json:"listMeta"` Items []RoleBinding `json:"items"` // List of non-critical errors, that occurred during resource retrieval. Errors []error `json:"errors"` }
RoleBindingList contains a list of roleBindings in the cluster.
func GetRoleBindingList ¶
func GetRoleBindingList(client kubernetes.Interface, nsQuery *common.NamespaceQuery, dsQuery *dataselect.DataSelectQuery) (*RoleBindingList, error)
GetRoleBindingList returns a list of all RoleBindings in the cluster.
func GetRoleBindingListFromChannels ¶
func GetRoleBindingListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*RoleBindingList, error)
GetRoleBindingListFromChannels returns a list of all RoleBindings in the cluster reading required resource list once from the channels.
Click to show internal directories.
Click to hide internal directories.