@Test public void shouldHandleLabelSelectorsWithDoubleEquals() { KubernetesCrudAttributesExtractor extractor = new KubernetesCrudAttributesExtractor(); AttributeSet attributes = extractor .extract("/api/v1/namespaces/myns/pods/mypod?labelSelector=name%3D%3Dmyname"); AttributeSet expected = new AttributeSet(); expected = expected.add(new Attribute("labels:name", "myname")); assertTrue(attributes.matches(expected)); }
@Override public AttributeSet extract(HasMetadata hasMetadata) { return extractMetadataAttributes(hasMetadata); }
KubernetesCrudAttributesExtractor extends KubernetesAttributesExtractor { @Override public AttributeSet extract(HasMetadata hasMetadata) { return extractMetadataAttributes(hasMetadata); } }
KubernetesCrudAttributesExtractor extends KubernetesAttributesExtractor { @Override public AttributeSet extract(HasMetadata hasMetadata) { return extractMetadataAttributes(hasMetadata); } KubernetesCrudAttributesExtractor();  KubernetesCrudAttributesExtractor(List<CustomResourceDefinitionContext> crdContexts); }
KubernetesCrudAttributesExtractor extends KubernetesAttributesExtractor { @Override public AttributeSet extract(HasMetadata hasMetadata) { return extractMetadataAttributes(hasMetadata); } KubernetesCrudAttributesExtractor();  KubernetesCrudAttributesExtractor(List<CustomResourceDefinitionContext> crdContexts); @Override AttributeSet extract(HasMetadata hasMetadata); }
KubernetesCrudAttributesExtractor extends KubernetesAttributesExtractor { @Override public AttributeSet extract(HasMetadata hasMetadata) { return extractMetadataAttributes(hasMetadata); } KubernetesCrudAttributesExtractor();  KubernetesCrudAttributesExtractor(List<CustomResourceDefinitionContext> crdContexts); @Override AttributeSet extract(HasMetadata hasMetadata);  }