- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 239 for unstructured (0.14 sec)
-
operator/pkg/controller/istiocontrolplane/istiocontrolplane_controller.go
var ( ownedResourcePredicates = predicate.TypedFuncs[*unstructured.Unstructured]{ CreateFunc: func(_ event.TypedCreateEvent[*unstructured.Unstructured]) bool { // no action return false }, GenericFunc: func(_ event.TypedGenericEvent[*unstructured.Unstructured]) bool { // no action return false }, DeleteFunc: func(e event.TypedDeleteEvent[*unstructured.Unstructured]) bool { obj, err := meta.Accessor(e.Object)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 13:56:46 UTC 2024 - 19.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/basic_test.go
} } } // Update test for version2, noxuResourceClient2 := range noxuResourceClients { var gottenNoxuInstance *unstructured.Unstructured if disabledVersions[version2] { gottenNoxuInstance = &unstructured.Unstructured{} gottenNoxuInstance.SetName("foo") } else { gottenNoxuInstance, err = noxuResourceClient2.Get(context.TODO(), "foo", metav1.GetOptions{})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 11:35:33 UTC 2024 - 33.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go
} if iter.HasNext() != types.True { t.Error("Expected HasNext to return true") } next := iter.Next().Value() if !reflect.DeepEqual(next, tc.unstructured[i]) { t.Errorf("Expected Next to return %v for index %d but got %v", tc.unstructured[i], i, next) } } if iter.HasNext() != types.False { t.Error("Expected HasNext to return false") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 17.3K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
) type validator struct{} func checkFields(un *unstructured.Unstructured) error { var errs error for key := range un.Object { if _, ok := validFields[key]; !ok { errs = multierror.Append(errs, fmt.Errorf("unknown field %q", key)) } } return errs } func (v *validator) validateResource(istioNamespace, defaultNamespace string, un *unstructured.Unstructured, writer io.Writer) (validation.Warning, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 22 17:58:52 UTC 2024 - 15K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/mutation/unstructured/fieldtype.go
limitations under the License. */ package unstructured import ( "fmt" "github.com/google/cel-go/common/types" ) // NewFieldType creates a field by its field name. // This version of FieldType is unstructured and has DynType as its type. func NewFieldType(name string) *types.FieldType { return &types.FieldType{ // for unstructured, we do not check for its type, // use DynType for all fields.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 24 00:01:35 UTC 2024 - 1.2K bytes - Viewed (0) -
tests/integration/pilot/revisions/uninstall_test.go
func getRemainingResourcesCluster(cs cluster.Cluster, gvr schema.GroupVersionResource, ls string) ([]unstructured.Unstructured, []string) { usList, _ := cs.Dynamic().Resource(gvr).List(context.TODO(), metav1.ListOptions{LabelSelector: ls}) var remainingResources []unstructured.Unstructured var staleList []string if usList != nil && len(usList.Items) != 0 { for _, item := range usList.Items {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 8.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/autoserviceexportcontroller.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go
} } unstructIn, ok := in.(*unstructured.Unstructured) if !ok { return fmt.Errorf("input type %T in not valid for unstructured conversion to %T", in, out) } unstructOut, ok := out.(*unstructured.Unstructured) if !ok { return fmt.Errorf("output type %T in not valid for unstructured conversion from %T", out, in) } outGVK := unstructOut.GroupVersionKind()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/cel/interface.go
EvalClaimMapping(ctx context.Context, claims *unstructured.Unstructured) (EvaluationResult, error) // EvalClaimMappings evaluates the given expressions and returns a list of EvaluationResult. // This is used for extra claim mapping and claim validation that contains a list of expressions. EvalClaimMappings(ctx context.Context, claims *unstructured.Unstructured) ([]EvaluationResult, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 5.2K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
err := visitor.Visit(func(info *resource.Info, err error) error { if err != nil { return err } content, err := runtime.DefaultUnstructuredConverter.ToUnstructured(info.Object) if err != nil { return err } un := &unstructured.Unstructured{Object: content} kind := un.GetKind() name := un.GetName() namespace := un.GetNamespace() kinds := resourceKinds(un) if namespace == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0)