- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 239 for unstructured (0.5 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter_test.go
configMapParams := &corev1.ConfigMap{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", }, Data: map[string]string{ "fakeString": "fake", }, } crdParams := &unstructured.Unstructured{ Object: map[string]interface{}{ "spec": map[string]interface{}{ "testSize": 10, }, }, } podObject := corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 40.4K bytes - Viewed (0) -
pkg/kube/client.go
obj := &unstructured.Unstructured{} _, gvk, err := decUnstructured.Decode([]byte(cfg), nil, obj) if err != nil { return nil, nil, err } mapping, err := c.mapper.RESTMapping(gvk.GroupKind(), gvk.Version) if err != nil { return nil, nil, fmt.Errorf("mapping: %v", err) } var dr dynamic.ResourceInterface
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0) -
operator/pkg/translate/translate.go
if err = json.Unmarshal(mpby, &mergedPortSlice); err != nil { return nil, err } if err = unstructured.SetNestedSlice(mergedObj.Unstructured(), mergedPortSlice, "spec", "ports"); err != nil { return nil, err } // Now fix the merged object mjsonby, err := json.Marshal(mergedObj.Unstructured()) if err != nil { return nil, err } if mergedObj, err = object.ParseJSONToK8sObject(mjsonby); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 19:43:09 UTC 2024 - 36.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
package mesh import ( "bytes" "context" "errors" "fmt" "os" "path/filepath" "strings" kerrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/kubernetes" "k8s.io/client-go/kubernetes/scheme" "sigs.k8s.io/controller-runtime/pkg/client"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 20 22:39:28 UTC 2024 - 11.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/common/val.go
if listOfVal, ok := value.Value().([]ref.Val); ok { var result []any for _, v := range listOfVal { result = append(result, v.Value()) } return result, nil } // unstructured maps, as seen in annotations // map keys must be strings if mapOfVal, ok := value.Value().(map[ref.Val]ref.Val); ok { result := make(map[string]any) for k, v := range mapOfVal {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 21:55:08 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go
force := false if p.options.Force != nil { force = *p.options.Force } if p.fieldManager == nil { panic("FieldManager must be installed to run apply") } patchObj := &unstructured.Unstructured{Object: map[string]interface{}{}} if err := yaml.Unmarshal(p.patch, &patchObj.Object); err != nil { return nil, errors.NewBadRequest(fmt.Sprintf("error decoding YAML: %v", err)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 28.5K bytes - Viewed (0) -
common-protos/k8s.io/api/admission/v1/generated.proto
// +optional optional bytes patch = 4; // The type of Patch. Currently we only allow "JSONPatch". // +optional optional string patchType = 5; // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8.1K bytes - Viewed (0) -
common-protos/k8s.io/api/admission/v1beta1/generated.proto
// +optional optional bytes patch = 4; // The type of Patch. Currently we only allow "JSONPatch". // +optional optional string patchType = 5; // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1/generated.proto
// +optional optional bytes patch = 4; // The type of Patch. Currently we only allow "JSONPatch". // +optional optional string patchType = 5; // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/api/admission/v1beta1/generated.proto
// +optional optional bytes patch = 4; // The type of Patch. Currently we only allow "JSONPatch". // +optional optional string patchType = 5; // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted). // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 8.1K bytes - Viewed (0)