- Sort Score
- Num 10 results
- Language All
Results 631 - 640 of 1,019 for Var (0.01 seconds)
-
internal/event/targetid.go
func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil { return err } *tid = *targetID return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Click Count (0) -
internal/bucket/replication/and.go
type And struct { XMLName xml.Name `xml:"And" json:"And"` Prefix string `xml:"Prefix,omitempty" json:"Prefix,omitempty"` Tags []Tag `xml:"Tag,omitempty" json:"Tag,omitempty"` } var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed") // isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.8K bytes - Click Count (0) -
schema/index.go
for _, value := range strings.Split(field.Tag.Get("gorm"), ";") { if value != "" { v := strings.Split(value, ":") k := strings.TrimSpace(strings.ToUpper(v[0])) if k == "INDEX" || k == "UNIQUEINDEX" { var ( name string tag = strings.Join(v[1:], ":") idx = strings.IndexByte(tag, ',') tagSetting = strings.Join(strings.Split(tag, ",")[1:], ",")
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 21 02:35:56 GMT 2025 - 3.8K bytes - Click Count (0) -
src/cmd/asm/internal/lex/tokenizer.go
tok ScanToken s *scanner.Scanner base *src.PosBase line int file *os.File // If non-nil, file descriptor to close. } func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer { var s scanner.Scanner s.Init(r) // Newline is like a semicolon; other space characters are fine. s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' ' // Don't skip comments: we need to count newlines. s.Mode = scanner.ScanChars |
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Click Count (0) -
internal/config/lambda/help.go
package lambda import ( "github.com/minio/minio/internal/config" "github.com/minio/minio/internal/event/target" ) // Help template inputs for all lambda targets var ( HelpWebhook = config.HelpKVS{ config.HelpKV{ Key: target.WebhookEndpoint, Description: "webhook server endpoint e.g. http://localhost:8080/minio/lambda", Type: "url", Sensitive: true,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/config/browser/help.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package browser import "github.com/minio/minio/internal/config" // Help template for browser feature. var ( defaultHelpPostfix = func(key string) string { return config.DefaultHelpPostfix(DefaultKVS, key) } Help = config.HelpKVS{ config.HelpKV{ Key: browserCSPPolicy,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 2.1K bytes - Click Count (0) -
callbacks/preload.go
var ( reflectValue = tx.Statement.ReflectValue relForeignKeys []string relForeignFields []*schema.Field foreignFields []*schema.Field foreignValues [][]interface{} identityMap = map[string][]reflect.Value{} inlineConds []interface{} ) if rel.JoinTable != nil { var (
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/iam/identity-manager-plugin.go
} type Resp struct { User string `json:"user"` MaxValiditySeconds int `json:"maxValiditySeconds"` Claims map[string]interface{} `json:"claims"` } var tokens map[string]Resp = map[string]Resp{ "aaa": { User: "Alice", MaxValiditySeconds: 3600, Claims: map[string]interface{}{ "groups": []string{"data-science"}, }, }, "bbb": {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/config/identity/openid/provider/provider.go
} // User represents information about user. type User struct { Name string `json:"username"` ID string `json:"id"` Enabled bool `json:"enabled"` } // Standard errors. var ( ErrNotImplemented = errors.New("function not implemented") ErrAccessTokenExpired = errors.New("access_token expired or unauthorized") ) // Provider implements identity provider specific admin operations, such asCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 2.7K bytes - Click Count (0) -
cmd/metrics-v3-api.go
apiRequestsTTFBSecondsDistribution MetricName = "ttfb_seconds_distribution" apiTrafficSentBytes MetricName = "traffic_sent_bytes" apiTrafficRecvBytes MetricName = "traffic_received_bytes" ) var ( apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal, "Total number of requests rejected for auth failure", "type") apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 17:13:00 GMT 2024 - 9.4K bytes - Click Count (0)