- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 1,423 for Func (0.02 sec)
-
istioctl/pkg/tag/generate.go
} // Create applies the given tag manifests. func Create(client kube.CLIClient, manifests, ns string) error { if err := client.ApplyYAMLContents(ns, manifests); err != nil { return fmt.Errorf("failed to apply tag manifests to cluster: %v", err) } return nil } // generateValidatingWebhook renders a validating webhook configuration from the given tagWebhookConfig.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
docs/sts/custom-token-identity.go
// Role ARN to use roleArn string // Display credentials flag displayCreds bool // Credential expiry duration expiryDuration time.Duration // Bucket to list bucketToList string ) func init() { flag.StringVar(&stsEndpoint, "sts-ep", "http://localhost:9000", "STS endpoint") flag.StringVar(&token, "t", "", "Token to use with AssumeRoleWithCustomToken STS API (required)")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 00:58:09 UTC 2022 - 3.4K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
} // MonitorReaderOptions provides configurable options for monitor reader implementation. type MonitorReaderOptions struct { BucketOptions HeaderSize int } // Read implements a throttled read func (r *MonitoredReader) Read(buf []byte) (n int, err error) { if r.throttle == nil { return r.r.Read(buf) } if r.lastErr != nil { err = r.lastErr return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/metacache_gen.go
return } // DecodeMsg implements msgp.Decodable func (z *scanStatus) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint8 zb0001, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err) return } (*z) = scanStatus(zb0001) } return } // EncodeMsg implements msgp.Encodable func (z scanStatus) EncodeMsg(en *msgp.Writer) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 08 18:26:08 UTC 2021 - 10K bytes - Viewed (0) -
cmd/object-api-datatypes.go
// ExpiresStr returns a stringified version of Expires header in http.TimeFormat func (o ObjectInfo) ExpiresStr() string { var expires string if !o.Expires.IsZero() { expires = o.Expires.UTC().Format(http.TimeFormat) } return expires } // ArchiveInfo returns any saved zip archive meta information. // It will be decrypted if needed. func (o *ObjectInfo) ArchiveInfo(h http.Header) []byte { if len(o.UserDefined) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
cmd/handler-utils_test.go
"bytes" "context" "encoding/xml" "io" "net/http" "net/textproto" "os" "reflect" "testing" "github.com/minio/minio/internal/config" ) // Tests validate bucket LocationConstraint. func TestIsValidLocationConstraint(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/data-scanner_test.go
"testing" "time" "github.com/google/uuid" "github.com/minio/minio/internal/bucket/lifecycle" "github.com/minio/minio/internal/bucket/object/lock" "github.com/minio/minio/internal/bucket/versioning" ) func TestApplyNewerNoncurrentVersionsLimit(t *testing.T) { objAPI, disks, err := prepareErasure(context.Background(), 8) if err != nil { t.Fatalf("Failed to initialize object layer: %v", err) } defer removeRoots(disks)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/bucket-policy-handlers_test.go
} // Wrapper for calling Create Bucket and ensure we get one and only one success. func TestCreateBucket(t *testing.T) { ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testCreateBucket, endpoints: []string{"MakeBucket"}}) } // testCreateBucket - Test for calling Create Bucket and ensure we get one and only one success. func testCreateBucket(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 32.9K bytes - Viewed (0) -
callbacks/create_test.go
package callbacks import ( "reflect" "sync" "testing" "time" "gorm.io/gorm" "gorm.io/gorm/clause" "gorm.io/gorm/schema" ) var schemaCache = &sync.Map{} func TestConvertToCreateValues_DestType_Slice(t *testing.T) { type user struct { ID int `gorm:"primaryKey"` Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/mountinfo/mountinfo_others.go
package mountinfo // CheckCrossDevice - check if any input path has multiple sub-mounts. // this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(file string) bool { return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0)