Versions in this module Expand all Collapse all v1 v1.23.3 Nov 8, 2024 Changes in this version + const YAMLSeparator + func AllObjectHashes(m string) map[string]bool + func DefaultObjectOrder() func(o *K8sObject) int + func FromHash(hash string) (kind, namespace, name string) + func Hash(kind, namespace, name string) string + func HashNameKind(kind, name string) string + func ParseK8SYAMLToIstioOperator(yml string) (*v1alpha1.IstioOperator, *schema.GroupVersionKind, error) + type K8sObject struct + Group string + Kind string + Name string + Namespace string + func NewK8sObject(u *unstructured.Unstructured, json, yaml []byte) *K8sObject + func ParseJSONToK8sObject(json []byte) (*K8sObject, error) + func ParseYAMLToK8sObject(yaml []byte) (*K8sObject, error) + func (o *K8sObject) Container(name string) map[string]any + func (o *K8sObject) Equal(other *K8sObject) bool + func (o *K8sObject) FullName() string + func (o *K8sObject) GroupVersionKind() schema.GroupVersionKind + func (o *K8sObject) Hash() string + func (o *K8sObject) HashNameKind() string + func (o *K8sObject) JSON() ([]byte, error) + func (o *K8sObject) ResolveK8sConflict() *K8sObject + func (o *K8sObject) Unstructured() map[string]any + func (o *K8sObject) UnstructuredObject() *unstructured.Unstructured + func (o *K8sObject) Valid() bool + func (o *K8sObject) Version() string + func (o *K8sObject) YAML() ([]byte, error) + func (o *K8sObject) YAMLDebugString() string + type K8sObjects []*K8sObject + func KindObjects(objs K8sObjects, kind string) K8sObjects + func ObjectsNotInLists(objects K8sObjects, lists ...K8sObjects) K8sObjects + func ParseK8sObjectsFromYAMLManifest(manifest string) (K8sObjects, error) + func ParseK8sObjectsFromYAMLManifestFailOption(manifest string, failOnError bool) (K8sObjects, error) + func (os K8sObjects) Keys() []string + func (os K8sObjects) Sort(score func(o *K8sObject) int) + func (os K8sObjects) String() string + func (os K8sObjects) ToMap() map[string]*K8sObject + func (os K8sObjects) ToNameKindMap() map[string]*K8sObject + func (os K8sObjects) UnstructuredItems() []unstructured.Unstructured + func (os K8sObjects) YAMLManifest() (string, error)