- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 239 for unstructured (0.54 sec)
-
pkg/config/schema/kubeclient/common.go
options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector return c.Dynamic().Resource(g).Namespace(opts.Namespace).Watch(context.Background(), options) }, }, &unstructured.Unstructured{}, cache.SharedIndexInformerOptions{ ResyncPeriod: 0, Indexers: cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, ObjectDescription: g.String(), }, )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 8.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/finalizer/crd_finalizer.go
listObj, err := crClient.List(ctx, nil) if err != nil { return false, err } if len(listObj.(*unstructured.UnstructuredList).Items) == 0 { return true, nil } klog.V(2).Infof("%s.%s waiting for %d items to be removed", crd.Status.AcceptedNames.Plural, crd.Spec.Group, len(listObj.(*unstructured.UnstructuredList).Items)) return false, nil }) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.6K bytes - Viewed (0) -
pilot/pkg/config/file/store.go
func ToConfig(object metav1.Object, schema sresource.Schema, source resource.Reference, fieldMap map[string]int) (*config.Config, error) { m, err := runtime.DefaultUnstructuredConverter.ToUnstructured(object) if err != nil { return nil, err } u := &unstructured.Unstructured{Object: m} if len(fieldMap) > 0 || source != nil { // TODO: populate annots := u.GetAnnotations() if annots == nil { annots = map[string]string{} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/test/framework/resource/settings.go
} func (s *ImageSettings) PullSecretName() (string, error) { if s.PullSecret == "" { return "", nil } data, err := os.ReadFile(s.PullSecret) if err != nil { return "", err } secret := unstructured.Unstructured{Object: map[string]any{}} if err := yaml.Unmarshal(data, secret.Object); err != nil { return "", err } return secret.GetName(), nil } func (s *ImageSettings) PullSecretNameOrFail(t test.Failer) string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 19:04:51 UTC 2024 - 9.2K bytes - Viewed (0) -
operator/pkg/helmreconciler/reconciler.go
} func (h *HelmReconciler) DeleteIOPInClusterIfExists(iop *istioV1Alpha1.IstioOperator) { // Delete the previous IstioOperator CR if it exists. objectKey := client.ObjectKeyFromObject(iop) receiver := &unstructured.Unstructured{} receiver.SetGroupVersionKind(istioV1Alpha1.IstioOperatorGVK) if err := h.client.Get(context.TODO(), objectKey, receiver); err == nil { _ = h.client.Delete(context.TODO(), receiver) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 22 08:32:23 UTC 2024 - 22K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
return "", fmt.Errorf("could not retrieve global.multiCluster.clusterName from injection config") } return vs, nil } // Because we are placing into an Unstructured, place as a map instead // of structured Istio types. (The go-client can handle the structured data, but the // fake go-client used for mocking cannot.) func unstructureIstioType(spec any) (map[string]any, error) { b, err := yaml.Marshal(spec) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 25.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
g.Expect(c).Should(HavePathValueEqual(PathValue{"resources.requests.memory", "888Mi"})) dobj = mustGetDeployment(g, objs, "ilb-gateway") d = dobj.Unstructured() c = dobj.Container("istio-proxy") s := mustGetService(g, objs, "ilb-gateway").Unstructured() g.Expect(d).Should(HavePathValueContain(PathValue{"metadata.labels", toMap("app:istio-ingressgateway,istio:ingressgateway,release: istio")}))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
// For unstructured lists with a target group/version, preserve the group/version in the instantiated list items if unstructuredList, isUnstructured := listObj.(*unstructured.UnstructuredList); isUnstructured { if apiVersion := unstructuredList.GetAPIVersion(); len(apiVersion) > 0 { return func() runtime.Object { return &unstructured.Unstructured{Object: map[string]interface{}{"apiVersion": apiVersion}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 35.2K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/deploymentcontroller.go
data := map[string]any{} err := yaml.Unmarshal([]byte(yml), &data) if err != nil { return err } us := unstructured.Unstructured{Object: data} // set managed-by label clabel := strings.ReplaceAll(controller, "/", "-") err = unstructured.SetNestedField(us.Object, clabel, "metadata", "labels", constants.ManagedGatewayLabel) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 21:43:20 UTC 2024 - 26.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/typeresolver_test.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package unstructured import ( "reflect" "testing" "github.com/google/cel-go/cel" "k8s.io/apimachinery/pkg/util/version" "k8s.io/apiserver/pkg/cel/environment" "k8s.io/apiserver/pkg/cel/mutation" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 3.9K bytes - Viewed (0)