Versions in this module Expand all Collapse all v1 v1.3.0 Aug 30, 2019 Changes in this version + const YAMLSeparator + func Hash(kind, namespace, name string) string + func HashNameKind(kind, name string) string + func ManifestDiff(a, b string) (string, error) + func ManifestDiffWithSelectAndIgnore(a, b, selectResources, ignoreResources string) (string, 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) AddLabels(labels map[string]string) + func (o *K8sObject) GroupKind() schema.GroupKind + 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) UnstructuredObject() *unstructured.Unstructured + func (o *K8sObject) Valid() bool + func (o *K8sObject) YAML() ([]byte, error) + func (o *K8sObject) YAMLDebugString() (string, error) + type K8sObjects []*K8sObject + func K8sObjectsFromUnstructuredSlice(objs []*unstructured.Unstructured) (K8sObjects, error) + func ParseK8sObjectsFromYAMLManifest(manifest string) (K8sObjects, error) + func (os K8sObjects) JSONManifest() (string, error) + func (os K8sObjects) Sort(score func(o *K8sObject) int) + func (os K8sObjects) ToMap() map[string]*K8sObject + func (os K8sObjects) ToNameKindMap() map[string]*K8sObject + func (os K8sObjects) YAMLManifest() (string, error)