Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ClusterScopedResources = set.FromSlice([]string{"ClusterRole", "ClusterRoleBinding", "CustomResourceDefinition"})
)
Functions ¶
Types ¶
type KubeResources ¶
type KubeResources struct { // Order: kind, name ClusterScoped map[string]map[string]*Node // Order: kind, namespace, name Namespaced map[string]map[string]map[string]*Node }
func ParseResources ¶
func ParseResources(values []interface{}) (*KubeResources, error)
func (*KubeResources) Add ¶
func (k *KubeResources) Add(node *Node) error
Click to show internal directories.
Click to hide internal directories.