mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
Merge pull request #2624 from monopole/sortIfc
Sort ifc.go for easier change monitoring during refactor.
This commit is contained in:
@@ -41,33 +41,33 @@ type Loader interface {
|
|||||||
// Kunstructured allows manipulation of k8s objects
|
// Kunstructured allows manipulation of k8s objects
|
||||||
// that do not have Golang structs.
|
// that do not have Golang structs.
|
||||||
type Kunstructured interface {
|
type Kunstructured interface {
|
||||||
Map() map[string]interface{}
|
|
||||||
SetMap(map[string]interface{})
|
|
||||||
Copy() Kunstructured
|
Copy() Kunstructured
|
||||||
GetFieldValue(string) (interface{}, error)
|
GetAnnotations() map[string]string
|
||||||
GetString(string) (string, error)
|
|
||||||
GetStringSlice(string) ([]string, error)
|
|
||||||
GetBool(path string) (bool, error)
|
GetBool(path string) (bool, error)
|
||||||
|
GetFieldValue(string) (interface{}, error)
|
||||||
GetFloat64(path string) (float64, error)
|
GetFloat64(path string) (float64, error)
|
||||||
GetInt64(path string) (int64, error)
|
|
||||||
GetSlice(path string) ([]interface{}, error)
|
|
||||||
GetStringMap(path string) (map[string]string, error)
|
|
||||||
GetMap(path string) (map[string]interface{}, error)
|
|
||||||
MarshalJSON() ([]byte, error)
|
|
||||||
UnmarshalJSON([]byte) error
|
|
||||||
GetGvk() resid.Gvk
|
GetGvk() resid.Gvk
|
||||||
SetGvk(resid.Gvk)
|
GetInt64(path string) (int64, error)
|
||||||
GetKind() string
|
GetKind() string
|
||||||
|
GetLabels() map[string]string
|
||||||
|
GetMap(path string) (map[string]interface{}, error)
|
||||||
GetName() string
|
GetName() string
|
||||||
|
GetSlice(path string) ([]interface{}, error)
|
||||||
|
GetString(string) (string, error)
|
||||||
|
GetStringMap(path string) (map[string]string, error)
|
||||||
|
GetStringSlice(string) ([]string, error)
|
||||||
|
Map() map[string]interface{}
|
||||||
|
MarshalJSON() ([]byte, error)
|
||||||
|
MatchesAnnotationSelector(selector string) (bool, error)
|
||||||
|
MatchesLabelSelector(selector string) (bool, error)
|
||||||
|
Patch(Kunstructured) error
|
||||||
|
SetAnnotations(map[string]string)
|
||||||
|
SetGvk(resid.Gvk)
|
||||||
|
SetLabels(map[string]string)
|
||||||
|
SetMap(map[string]interface{})
|
||||||
SetName(string)
|
SetName(string)
|
||||||
SetNamespace(string)
|
SetNamespace(string)
|
||||||
GetLabels() map[string]string
|
UnmarshalJSON([]byte) error
|
||||||
SetLabels(map[string]string)
|
|
||||||
GetAnnotations() map[string]string
|
|
||||||
SetAnnotations(map[string]string)
|
|
||||||
MatchesLabelSelector(selector string) (bool, error)
|
|
||||||
MatchesAnnotationSelector(selector string) (bool, error)
|
|
||||||
Patch(Kunstructured) error
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// KunstructuredFactory makes instances of Kunstructured.
|
// KunstructuredFactory makes instances of Kunstructured.
|
||||||
|
|||||||
Reference in New Issue
Block a user