- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for UnstructuredList (0.52 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured_list.go
) var _ runtime.Unstructured = &UnstructuredList{} var _ metav1.ListInterface = &UnstructuredList{} // UnstructuredList allows lists that do not have Golang structs // registered to be manipulated generically. This can be used to deal // with the API lists from a plug-in. // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object // +k8s:deepcopy-gen=true type UnstructuredList struct { Object map[string]interface{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun May 28 04:46:35 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor_test.go
} }, }, { name: "into unstructuredlist empty", data: []byte("\xa2\x6aapiVersion\x61v\x64kind\x65kList"), into: &unstructured.UnstructuredList{}, expectedObj: &unstructured.UnstructuredList{Object: map[string]interface{}{ "apiVersion": "v", "kind": "kList", }}, expectedGVK: &schema.GroupVersionKind{Version: "v", Kind: "kList"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/values.go
} } return &unstructuredSetList{ unstructuredList: unstructuredList{elements: elements, itemsSchema: t.itemsSchema}, escapedKeyProps: t.escapedKeyProps, } } // unstructuredList represents an unstructured data instance of an OpenAPI array with x-kubernetes-list-type=atomic (the default). type unstructuredList struct { elements []interface{} itemsSchema Schema }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:30:17 UTC 2023 - 20.5K bytes - Viewed (0) -
operator/pkg/helmreconciler/prune.go
// UnstructuredList of objects and corresponding list of name kind hash of k8sObjects would be returned func (h *HelmReconciler) GetPrunedResources(revision string, includeClusterResources bool, componentName string) ( []*unstructured.UnstructuredList, error, ) { var usList []*unstructured.UnstructuredList labels := make(map[string]string) if revision != "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/zz_generated.deepcopy.go
func (in *UnstructuredList) DeepCopyInto(out *UnstructuredList) { clone := in.DeepCopy() *out = *clone return } // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. func (in *UnstructuredList) DeepCopyObject() runtime.Object { if c := in.DeepCopy(); c != nil { return c } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter_test.go
}, { Name: "simple_list_conversion", ValidVersions: []string{"example.com/v1", "example.com/v2"}, ClusterScoped: false, ToVersion: "example.com/v2", SourceObject: &unstructured.UnstructuredList{ Object: map[string]interface{}{ "apiVersion": "example.com/v1", "kind": "fooList", }, Items: []unstructured.Unstructured{ { Object: map[string]interface{}{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/help_test.go
}, }, Spec: FooSpec{ Flied: i, }, }, } } return out } func fakeUnstructuredList(numItems int) runtime.Unstructured { out := &unstructured.UnstructuredList{ Items: make([]unstructured.Unstructured, numItems), } for i := range out.Items { out.Items[i] = unstructured.Unstructured{ Object: map[string]interface{}{ "apiVersion": "v1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 13:40:46 UTC 2023 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/printers/bench_test.go
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/kubernetes/scheme" ) func newBenchmarkList() *unstructured.UnstructuredList { list := &unstructured.UnstructuredList{ Object: map[string]interface{}{ "apiVersion": "v1", "kind": "PodList", }, Items: []unstructured.Unstructured{}, } for i := 0; i < 1000; i++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 30 00:36:07 UTC 2022 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go
return nil } // ConvertToVersion converts in object to the given gvk in place and returns the same `in` object. // The in object can be a single object or a UnstructuredList. CRD storage implementation creates an // UnstructuredList with the request's GV, populates it from storage, then calls conversion to convert // the individual items. This function assumes it never gets a v1.List.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/clientbacked_dryrun.go
} unstructuredList, err := clg.dynamicClient.Resource(action.GetResource()).Namespace(action.GetNamespace()).List(context.TODO(), listOpts) if err != nil { return true, nil, err } newObj, err := decodeUnstructuredIntoAPIObject(action, unstructuredList) if err != nil { fmt.Printf("error after decode: %v %v\n", unstructuredList, err) return true, nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 16 10:29:45 UTC 2023 - 4.8K bytes - Viewed (0)