Versions in this module Expand all Collapse all v0 v0.0.1 Nov 12, 2020 v0.0.0 Nov 12, 2020 Changes in this version + type Object struct + Group string + Kind string + Name string + Namespace string + func NewObject(u *unstructured.Unstructured) (*Object, error) + func ParseJSONToObject(json []byte) (*Object, error) + func (o *Object) AddLabels(labels map[string]string) + func (o *Object) GroupKind() schema.GroupKind + func (o *Object) GroupVersionKind() schema.GroupVersionKind + func (o *Object) JSON() ([]byte, error) + func (o *Object) MutateContainers(fn func(map[string]interface{}) error) error + func (o *Object) MutatePodSpec(fn func(map[string]interface{}) error) error + func (o *Object) NestedStringMap(fields ...string) (map[string]string, bool, error) + func (o *Object) SetNestedField(value interface{}, fields ...string) error + func (o *Object) SetNestedFieldNoCopy(value interface{}, fields ...string) error + func (o *Object) SetNestedSlice(value []interface{}, fields ...string) error + func (o *Object) SetNestedStringMap(value map[string]string, fields ...string) error + func (o *Object) UnstructuredObject() *unstructured.Unstructured + type Objects struct + Blobs [][]byte + Items []*Object + Path string + func ParseObjects(ctx context.Context, manifest string) (*Objects, error) + func (o *Objects) JSONManifest() (string, error) + func (o *Objects) Sort(score func(o *Object) int) + func (objects *Objects) Patch(patches []*unstructured.Unstructured) error