- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 155 for Filter (0.26 sec)
-
tests/test_filter_pydantic_sub_model_pv2.py
return {"name": name, "description": "model-a-desc", "foo": model_c} client = TestClient(app) return client @needs_pydanticv2 def test_filter_sub_model(client: TestClient): response = client.get("/model/modelA") assert response.status_code == 200, response.text assert response.json() == { "name": "modelA", "description": "model-a-desc",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 6.3K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/workload.go
"fmt" "sort" "strings" "sigs.k8s.io/yaml" ) // WorkloadFilter is used to pass filter information into workload based config writer print functions type WorkloadFilter struct { Address string Node string Verbose bool Namespace string } // Verify returns true if the passed workload matches the filter fields func (wf *WorkloadFilter) Verify(workload *ZtunnelWorkload) bool {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 4K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
{ Status: "Enabled", Filter: Filter{Prefix: Prefix{string: "prefix-1", set: true}}, Expiration: Expiration{Days: ExpirationDays(3)}, }, { Status: "Enabled", Filter: Filter{Prefix: Prefix{string: "prefix-1", set: true}}, Expiration: Expiration{Date: midnightTS}, }, { Status: "Enabled",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 53.2K bytes - Viewed (0) -
docs/bucket/replication/setup_ilm_expiry_replication.sh
prefix=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Prefix' | sed 's/"//g') tagName1=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Key' | sed 's/"//g') tagVal1=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[0].Value' | sed 's/"//g') tagName2=$(./mc ilm rule list siteb/bucket --json | jq '.config.Rules[0].Filter.And.Tags[1].Key' | sed 's/"//g')
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/policies.go
} // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error { w := c.tabwriter() zDump := c.ztunnelDump pols := slices.Filter(maps.Values(zDump.Policies), filter.Verify) slices.SortFunc(pols, func(a, b *ZtunnelPolicy) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.5K bytes - Viewed (0) -
internal/bucket/lifecycle/rule_test.go
<Expiration> <Days>365</Days> </Expiration> <Status>Enabled</Status> </Rule>`, expectedErr: errXMLNotWellFormed, }, { inputXML: `<Rule> <ID>Rule with a tag and DelMarkerExpiration</ID> <Filter><Tag><Key>k1</Key><Value>v1</Value></Tag></Filter> <DelMarkerExpiration>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 4.9K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
} // Tags - a rule can either have tag under <filter></filter> or under // <filter><and></and></filter>. This method returns all the tags from the // rule in the format tag1=value1&tag2=value2 func (r Rule) Tags() string { if !r.Filter.Tag.IsEmpty() { return r.Filter.Tag.String() } if len(r.Filter.And.Tags) != 0 { var buf bytes.Buffer for _, t := range r.Filter.And.Tags { if buf.Len() > 0 { buf.WriteString("&")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 5.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
/** * User property for version filters expression, a semicolon separated list of filters to apply. By default, no version * filter is applied (like in Maven 3). * <p> * Supported filters: * <ul> * <li>"h" or "h(num)" - highest version or top list of highest ones filter</li> * <li>"l" or "l(num)" - lowest version or bottom list of lowest ones filter</li>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 27.5K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
} // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout func (c *ConfigWriter) PrintServiceSummary(filter ServiceFilter) error { w := c.tabwriter() zDump := c.ztunnelDump svcs := slices.Filter(maps.Values(zDump.Services), filter.Verify) slices.SortFunc(svcs, func(a, b *ZtunnelService) int { if r := cmp.Compare(a.Namespace, b.Namespace); r != 0 { return r }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
} } return "unknown" } func (c *ConfigWriter) PrintEndpoints(filter EndpointFilter, outputFormat string) error { if c.configDump == nil { return fmt.Errorf("config writer has not been primed") } dump, err := c.retrieveSortedEndpointsSlice(filter) if err != nil { return err } marshaller := make(proto.MessageSlice, 0, len(dump)) for _, eds := range dump {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 5.6K bytes - Viewed (0)