- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,278 for Bool (0.39 sec)
-
istioctl/pkg/xds/google.go
return nil, err } if err := updateAuthHdrs(ctx, uri, "gcp", c.gcpCreds, ret, "authorization"); err != nil { return nil, err } return ret, nil } func (*meshAuthCredentials) RequireTransportSecurity() bool { return true } func updateAuthHdrs(ctx context.Context, uri []string, kind string, creds credentials.PerRPCCredentials, dst map[string]string, dstHdr string) error { ret, err := creds.GetRequestMetadata(ctx, uri...)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Nov 14 20:23:34 UTC 2022 - 3.4K bytes - Viewed (0) -
cmd/object-api-getobjectinfo_test.go
bucketName string objectName string // Expected output of GetObjectInfo. result ObjectInfo err error // Flag indicating whether the test is expected to pass or not. shouldPass bool }{ // Test cases with invalid bucket names ( Test number 1-4 ). {".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false}, {"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Dec 23 15:46:00 UTC 2022 - 5.6K bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
} }) } } func TestHasActiveRules(t *testing.T) { testCases := []struct { inputConfig string prefix string expectedNonRec bool expectedRec bool }{ // case 1 - only one rule which is in Disabled status {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0) -
internal/kms/config.go
// It returns an error if multiple KMS configurations are // present or if one configuration is incomplete. func IsPresent() (bool, error) { // isPresent reports whether at least one of the // given env. variables is present. isPresent := func(vars ...string) bool { for _, v := range vars { if _, ok := os.LookupEnv(v); ok { return ok } } return false }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 11:46:39 UTC 2024 - 14.2K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
serviceAccount string filename string outputDir string clusterID string ingressIP string internalIP string externalIP string ingressSvc string autoRegister bool dnsCapture bool ports []string resourceLabels []string annotations []string namespace string ) const ( istioEastWestGatewayServiceName = "istio-eastwestgateway"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 25.3K bytes - Viewed (0) -
internal/logger/target/testlogger/testlogger.go
func (t *testLogger) Stats() types.TargetStats { return types.TargetStats{} } func (t *testLogger) Init(ctx context.Context) error { return nil } func (t *testLogger) IsOnline(ctx context.Context) bool { return t.current.Load() != nil } func (t *testLogger) Cancel() { t.current.Store(nil) } func (t *testLogger) Send(ctx context.Context, entry interface{}) error { tb := t.current.Load()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/repair/netns.go
res, err = f() return err }) if err != nil { return res, fmt.Errorf("in network namespace %v: %v", ns, err) } return res, nil } func checkInterfacesForMatchingAddr(targetAddr net.IP) (match bool, err error) { var interfaces []net.Interface if interfaces, err = net.Interfaces(); err != nil { return false, fmt.Errorf("failed to get interfaces") } for _, ief := range interfaces { var addrs []net.Addr
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 28 19:12:54 UTC 2024 - 4.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
assert.Equal(t, true, expected.Contains(ns.Name)) } } func Test_injectionDisabled(t *testing.T) { cases := []struct { name string pod *corev1.Pod expected bool }{ { name: "Injection disabled by annotation", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{ annotation.SidecarInject.Name: "false", },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
cni/test/install_cni.go
} // doTest sets up necessary environment variables, runs the Docker installation // container and verifies output file correctness. func doTest(t *testing.T, chainedCNIPlugin bool, wd, preConfFile, resultFileName, delayedConfFile, expectedOutputFile, expectedPostCleanFile, tempCNIConfDir, tempCNIBinDir, tempK8sSvcAcctDir string, ) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
cmd/metrics-v2.go
dependGlobalObjectAPI bool dependGlobalAuthNPlugin bool dependGlobalSiteReplicationSys bool dependGlobalNotificationSys bool dependGlobalKMS bool bucketOnly bool dependGlobalLambdaTargetList bool dependGlobalIAMSys bool dependGlobalLockServer bool dependGlobalIsDistErasure bool dependGlobalBackgroundHealState bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0)