Documentation ¶
Index ¶
- type ObjectByGK
- type ObjectByGVK
- type ObjectByKey
- type ObjectKey
- type ObjectKeyByGVK
- type ObjectSet
- func (o *ObjectSet) Add(objs ...kclient.Object) error
- func (o *ObjectSet) All() []kclient.Object
- func (o *ObjectSet) Contains(gk schema.GroupKind, key ObjectKey) bool
- func (o *ObjectSet) GVKOrder(known ...schema.GroupVersionKind) []schema.GroupVersionKind
- func (o *ObjectSet) GVKs() []schema.GroupVersionKind
- func (o *ObjectSet) Len() int
- func (o *ObjectSet) Namespaces() []string
- func (o *ObjectSet) ObjectsByGVK() ObjectByGVK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectByGK ¶
func (ObjectByGK) Add ¶
func (o ObjectByGK) Add(gvk schema.GroupVersionKind, obj kclient.Object)
type ObjectByGVK ¶
type ObjectByGVK map[schema.GroupVersionKind]map[ObjectKey]kclient.Object
func (ObjectByGVK) Add ¶
func (o ObjectByGVK) Add(gvk schema.GroupVersionKind, obj kclient.Object)
type ObjectByKey ¶
func (ObjectByKey) Namespaces ¶
func (o ObjectByKey) Namespaces() []string
type ObjectKeyByGVK ¶
type ObjectKeyByGVK map[schema.GroupVersionKind][]ObjectKey
type ObjectSet ¶
type ObjectSet struct {
// contains filtered or unexported fields
}
func NewObjectSet ¶
func (*ObjectSet) GVKOrder ¶
func (o *ObjectSet) GVKOrder(known ...schema.GroupVersionKind) []schema.GroupVersionKind
func (*ObjectSet) GVKs ¶
func (o *ObjectSet) GVKs() []schema.GroupVersionKind
func (*ObjectSet) Namespaces ¶
Namespaces all distinct namespaces found on the objects in this set.
func (*ObjectSet) ObjectsByGVK ¶
func (o *ObjectSet) ObjectsByGVK() ObjectByGVK
Click to show internal directories.
Click to hide internal directories.