clusterrolebinding

package
v0.0.0-...-8a48855 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterRoleBinding

type ClusterRoleBinding struct {
	ObjectMeta api.ObjectMeta `json:"objectMeta"`
	TypeMeta   api.TypeMeta   `json:"typeMeta"`
}

ClusterRoleBindingList is a presentation layer view of Kubernetes clusterRoleBindingList. This means it is clusterRoleBindingList plus additional augmented data we can get from other sources.

type ClusterRoleBindingCell

type ClusterRoleBindingCell ClusterRoleBinding

func (ClusterRoleBindingCell) GetProperty

type ClusterRoleBindingDetail

type ClusterRoleBindingDetail struct {
	// Extends list item structure.
	ClusterRoleBinding `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"`
}

ClusterRoleBindingDetail contains ClusterRoleBinding details.

func GetClusterRoleBindingDetail

func GetClusterRoleBindingDetail(client k8sClient.Interface, name string) (*ClusterRoleBindingDetail, error)

GetClusterRoleBindingDetail gets ClusterRoleBinding details.

type ClusterRoleBindingList

type ClusterRoleBindingList struct {
	ListMeta api.ListMeta         `json:"listMeta"`
	Items    []ClusterRoleBinding `json:"items"`

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

ClusterRoleBindingList contains a list of clusterRoleBindings in the cluster.

func GetClusterRoleBindingList

func GetClusterRoleBindingList(client kubernetes.Interface, dsQuery *dataselect.DataSelectQuery) (*ClusterRoleBindingList, error)

GetClusterRoleBindingList returns a list of all ClusterRoleBindings in the cluster.

func GetClusterRoleBindingListFromChannels

func GetClusterRoleBindingListFromChannels(channels *common.ResourceChannels, dsQuery *dataselect.DataSelectQuery) (*ClusterRoleBindingList, error)

GetClusterRoleBindingListFromChannels returns a list of all ClusterRoleBindings in the cluster reading required resource list once from the channels.

Jump to

Keyboard shortcuts

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