- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 78 for Filter (0.17 sec)
-
internal/bucket/replication/filter.go
) var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified") // Filter - a filter for a replication configuration Rule. type Filter struct { XMLName xml.Name `xml:"Filter" json:"Filter"` Prefix string And And Tag Tag // Caching tags, only once cachedTags map[string]string } // IsEmpty returns true if filter is not set func (f Filter) IsEmpty() bool {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 28 18:25:46 GMT 2022 - 3.5K bytes - Viewed (2) -
internal/bucket/lifecycle/filter.go
package lifecycle import ( "encoding/xml" "io" "github.com/minio/minio-go/v7/pkg/tags" ) var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified") // Filter - a filter for a lifecycle configuration Rule. type Filter struct { XMLName xml.Name `xml:"Filter"` set bool Prefix Prefix ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 6.2K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
inputXML: ` <Filter> <Tag> <Key>key1</Key> <Value>value1</Value> </Tag> </Filter>`, expectedErr: nil, }, { // Filter with Prefix tag inputXML: ` <Filter> <Prefix>key-prefix</Prefix> </Filter>`, expectedErr: nil, }, { // Filter without And and multiple Tag tags inputXML: ` <Filter> <Prefix>key-prefix</Prefix> <Tag>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 7.2K 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) -
cmd/batch-replicate_gen.go
zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "Filter": err = z.Filter.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Filter") return } case "Notify": err = z.Notify.DecodeMsg(dc) if err != nil { err = msgp.WrapError(err, "Notify") return }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 22 18:51:46 GMT 2023 - 40.6K bytes - Viewed (0) -
cmd/data-scanner_test.go
<Filter></Filter> <Status>Enabled</Status> <ID>DeleteAllVersions</ID> </Rule> </LifecycleConfiguration>` delMarkerILM := `<LifecycleConfiguration> <Rule> <ID>DelMarkerExpiration</ID> <Filter></Filter>
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 11:18:58 GMT 2024 - 6.9K bytes - Viewed (0) -
buildscripts/minio-iam-ldap-upgrade-import-test.sh
server_insecure=on \ lookup_bind_dn=cn=admin,dc=min,dc=io \ lookup_bind_password=admin \ user_dn_search_base_dn=dc=min,dc=io \ user_dn_search_filter="(uid=%s)" \ group_search_base_dn=ou=swengg,dc=min,dc=io \ group_search_filter="(&(objectclass=groupOfNames)(member=%d))" mc admin service restart old-minio mc idp ldap policy attach old-minio readwrite --user=UID=dillon,ou=people,ou=swengg,dc=min,dc=io
Shell Script - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 25 15:49:53 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
) else: return None def _create_credentials_fetcher(self): method = self.METHOD def fetch_credentials(): # HTTP headers are case insensitive filter out # all duplicate headers and pick one. headers = {} headers['content-type'] = 'application/x-www-form-urlencoded' headers['authorization'] = urllib3.make_headers(
Python - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 4.6K bytes - Viewed (1) -
cmd/batch-rotate.go
if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.Before(info.ModTime) { // skip all objects that are created before the specified time. return false } if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.After(info.ModTime) { // skip all objects that are created after the specified time. return false } if len(r.Flags.Filter.Tags) > 0 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
internal/bucket/replication/rule.go
} func (r Rule) validateFilter() error { return r.Filter.Validate() } // Prefix - a rule can either have prefix under <filter></filter> or under // <filter><and></and></filter>. This method returns the prefix from the // location where it is available func (r Rule) Prefix() string { if r.Filter.Prefix != "" { return r.Filter.Prefix } return r.Filter.And.Prefix }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 24 23:22:20 GMT 2022 - 8.3K bytes - Viewed (0)