Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InConfig = true
View Source
var (
Limit int64 = 50
)
Functions ¶
func DeleteResource ¶
Types ¶
type Resource ¶
type Resource struct { Group string Version string Resource string Kind string Name string Namespace string Labels map[string]string }
func GetResource ¶
func ListResources ¶
type ResourceInfo ¶
func GetGroupVersionsResources ¶
func GetGroupVersionsResources(monitor mntr.Monitor, filtersResources []string) ([]*ResourceInfo, error)
type ResourceSorter ¶
type ResourceSorter []*Resource
func (ResourceSorter) Len ¶
func (a ResourceSorter) Len() int
func (ResourceSorter) Less ¶
func (a ResourceSorter) Less(i, j int) bool
func (ResourceSorter) Swap ¶
func (a ResourceSorter) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.