Documentation ¶
Index ¶
- type ObjectByGK
- type ObjectByGVK
- type ObjectByKey
- type ObjectKey
- type ObjectKeyByGVK
- type ObjectSet
- func (o *ObjectSet) Add(objs ...runtime.Object) *ObjectSet
- func (o *ObjectSet) AddErr(err error)
- func (o *ObjectSet) All() []runtime.Object
- func (o *ObjectSet) Contains(gk schema.GroupKind, key ObjectKey) bool
- func (o *ObjectSet) Err() error
- 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 ¶ added in v0.7.0
type ObjectByGVK ¶
type ObjectByGVK map[schema.GroupVersionKind]map[ObjectKey]runtime.Object
func (ObjectByGVK) Add ¶
func (o ObjectByGVK) Add(obj runtime.Object) (schema.GroupVersionKind, error)
type ObjectByKey ¶ added in v1.0.0
func (ObjectByKey) Namespaces ¶ added in v1.0.0
func (o ObjectByKey) Namespaces() []string
type ObjectKey ¶
func NewObjectKey ¶
type ObjectKeyByGVK ¶ added in v0.6.0
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 ¶ added in v0.6.0
func (o *ObjectSet) GVKs() []schema.GroupVersionKind
func (*ObjectSet) Namespaces ¶ added in v0.8.9
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.