- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 70 for arn (0.07 seconds)
-
internal/bucket/replication/replication.go
} // HasExistingObjectReplication returns true if any of the rule returns 'ExistingObjects' replication. func (c Config) HasExistingObjectReplication(arn string) (hasARN, isEnabled bool) { for _, rule := range c.Rules { if rule.Destination.ARN == arn || c.RoleArn == arn { if !hasARN { hasARN = true } if rule.ExistingObjectReplication.Status == Enabled { return true, true } } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 8.9K bytes - Click Count (0) -
internal/config/lambda/event/arn_test.go
func TestARNString(t *testing.T) { testCases := []struct { arn ARN expectedResult string }{ {ARN{}, ""}, {ARN{TargetID{"1", "webhook"}, ""}, "arn:minio:s3-object-lambda::1:webhook"}, {ARN{TargetID{"1", "webhook"}, "us-east-1"}, "arn:minio:s3-object-lambda:us-east-1:1:webhook"}, } for i, testCase := range testCases { result := testCase.arn.String() if result != testCase.expectedResult {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 2.2K bytes - Click Count (0) -
internal/config/lambda/event/targetid.go
ID string Name string } // String - returns string representation. func (tid TargetID) String() string { return tid.ID + ":" + tid.Name } // ToARN - converts to ARN. func (tid TargetID) ToARN(region string) ARN { return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.8K bytes - Click Count (0) -
cmd/bucket-stats.go
defer r.RUnlock() brs, ok := r.Cache[bucket] if !ok { return qs } for arn := range brs.Stats { qs.TgtXferStats[arn] = make(map[RMetricName]XferStats) } count := 0 var totPeak float64 // calculate large, small transfers and total transfer rates per replication target at bucket level for arn, v := range brs.Stats { lcurrTgt := v.XferRateLrg.curr() scurrTgt := v.XferRateSml.curr()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.5K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
// authenticated via policy-claim based OpenID provider. var DummyRoleARN = func() arn.ARN { v, err := arn.NewIAMRoleARN("dummy-internal", "") if err != nil { panic("should not happen!") } return v }() // Config - OpenID Config type Config struct { Enabled bool // map of roleARN to providerCfg's arnProviderCfgsMap map[arn.ARN]*providerCfg // map of config names to providerCfg's
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
internal/event/config_test.go
config *Config region string expectedResult []ARN }{ {config1, "eu-west-1", []ARN{{TargetID{"1", "webhook"}, "eu-west-1"}}}, {config1, "", []ARN{{TargetID{"1", "webhook"}, ""}}}, {config2, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}}}, {config2, "", []ARN{{TargetID{"1", "webhook"}, ""}}}, {config3, "us-east-1", []ARN{{TargetID{"1", "webhook"}, "us-east-1"}, {TargetID{"2", "amqp"}, "us-east-1"}}},
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
internal/config/lambda/event/errors.go
} // ErrARNNotFound - ARN not found error. type ErrARNNotFound struct { ARN ARN } func (err ErrARNNotFound) Error() string { return fmt.Sprintf("ARN '%v' not found", err.ARN) } // ErrInvalidARN - invalid ARN error. type ErrInvalidARN struct { ARN string } func (err ErrInvalidARN) Error() string { return fmt.Sprintf("invalid ARN '%v'", err.ARN)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.3K bytes - Click Count (0) -
internal/bucket/replication/destination.go
} func (d Destination) String() string { return d.ARN } // LegacyArn returns true if arn format has prefix "arn:aws:s3:::" which was // used prior to multi-destination func (d Destination) LegacyArn() bool { return strings.HasPrefix(d.ARN, DestinationARNPrefix) } // TargetArn returns true if arn format has prefix "arn:minio:replication:::" // used for multi-destination targets
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4K bytes - Click Count (0) -
docs/sts/assume-role.md
``` > NOTE: In the following commands `--role-arn` and `--role-session-name` are not meaningful for MinIO and can be set to any value satisfying the command line requirements. ``` $ aws --profile foobar --endpoint-url http://localhost:9000 sts assume-role --policy '{"Version":"2012-10-17","Statement":[{"Sid":"Stmt1","Effect":"Allow","Action":"s3:*","Resource":"arn:aws:s3:::*"}]}' --role-arn arn:xxx:xxx:xxx:xxxx --role-session-name anything {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.2K bytes - Click Count (0) -
internal/bucket/bandwidth/monitor.go
// DeleteBucketThrottle deletes monitoring for a bucket's target func (m *Monitor) DeleteBucketThrottle(bucket, arn string) { m.tlock.Lock() delete(m.bucketsThrottle, BucketOptions{Name: bucket, ReplicationARN: arn}) m.tlock.Unlock() m.mlock.Lock() delete(m.bucketsMeasurement, BucketOptions{Name: bucket, ReplicationARN: arn}) m.mlock.Unlock() } // throttle returns currently configured throttle for this bucket
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6K bytes - Click Count (0)