Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 106 for Preds (0.04 sec)

  1. pilot/pkg/xds/ecds.go

    		} else {
    			results[sr.ResourceName] = cred
    		}
    	}
    	return results
    }
    
    func (e *EcdsGenerator) SetCredController(creds credscontroller.MulticlusterController) {
    	e.secretController = creds
    }
    
    func referencedSecrets(proxy *model.Proxy, push *model.PushContext, resourceNames []string) []SecretResource {
    	// The requirement for the Wasm pull secret:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    						Parent:        creds.ParentUser,
    						AccessKey:     creds.AccessKey,
    						SecretKey:     creds.SecretKey,
    						Groups:        creds.Groups,
    						Claims:        claims,
    						SessionPolicy: json.RawMessage(policyJSON),
    						Status:        creds.Status,
    						Name:          creds.Name,
    						Description:   creds.Description,
    						Expiration:    &creds.Expiration,
    					},
    				},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  3. docs/sts/client-grants.go

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	// Uncomment this to use MinIO API operations by initializing minio
    	// client with obtained credentials.
    
    	opts := &minio.Options{
    		Creds:        sts,
    		BucketLookup: minio.BucketLookupAuto,
    	}
    
    	u, err := url.Parse(stsEndpoint)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	clnt, err := minio.New(u.Host, opts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. src/encoding/json/example_test.go

    		ID     int
    		Name   string
    		Colors []string
    	}
    	group := ColorGroup{
    		ID:     1,
    		Name:   "Reds",
    		Colors: []string{"Crimson", "Red", "Ruby", "Maroon"},
    	}
    	b, err := json.Marshal(group)
    	if err != nil {
    		fmt.Println("error:", err)
    	}
    	os.Stdout.Write(b)
    	// Output:
    	// {"ID":1,"Name":"Reds","Colors":["Crimson","Red","Ruby","Maroon"]}
    }
    
    func ExampleUnmarshal() {
    	var jsonBlob = []byte(`[
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go

    }
    
    func TestGeneratePodSandboxWindowsConfig_HostProcess(t *testing.T) {
    	_, _, m, err := createTestRuntimeManager()
    	require.NoError(t, err)
    
    	const containerName = "container"
    	gmsaCreds := "gmsa-creds"
    	userName := "SYSTEM"
    	trueVar := true
    	falseVar := false
    
    	testCases := []struct {
    		name                  string
    		podSpec               *v1.PodSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  6. pilot/test/xds/fake.go

    		t.Fatal(err)
    	}
    
    	bootstrap.InitGenerators(s, core.NewConfigGenerator(s.Cache), "istio-system", "", nil)
    	s.Generators[v3.SecretType] = xds.NewSecretGen(creds, s.Cache, opts.DefaultClusterName, nil)
    	s.Generators[v3.ExtensionConfigurationType].(*xds.EcdsGenerator).SetCredController(creds)
    
    	memRegistry := cg.MemRegistry
    	memRegistry.XdsUpdater = s
    
    	// Setup config handlers
    	// TODO code re-use from server.go
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 16:08:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. cmd/admin-server-info.go

    			continue
    		}
    		split := strings.SplitN(v, "=", 2)
    		key := split[0]
    		value := ""
    		if len(split) > 1 {
    			value = split[1]
    		}
    
    		// Do not send sensitive creds.
    		if _, ok := sensitive[key]; ok || strings.Contains(strings.ToLower(key), "password") || strings.HasSuffix(strings.ToLower(key), "key") {
    			props.MinioEnvVars[key] = "*** EXISTS, REDACTED ***"
    			continue
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. pkg/bootstrap/platform/gcp.go

    	defer cancel()
    
    	success := make(chan bool)
    	labels := map[string]string{}
    	var instanceLabels map[string]string
    	go func() {
    		// use explicit credentials with compute.instances.get IAM permissions
    		creds, err := google.FindDefaultCredentials(ctx, ComputeReadonlyScope)
    		if err != nil {
    			log.Warnf("failed to find default credentials: %v", err)
    			success <- false
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  9. cmd/bucket-targets.go

    func (sys *BucketTargetSys) getRemoteTargetClient(tcfg *madmin.BucketTarget) (*TargetClient, error) {
    	config := tcfg.Credentials
    	creds := credentials.NewStaticV4(config.AccessKey, config.SecretKey, "")
    
    	api, err := minio.New(tcfg.Endpoint, &minio.Options{
    		Creds:     creds,
    		Secure:    tcfg.Secure,
    		Region:    tcfg.Region,
    		Transport: globalRemoteTargetTransport,
    	})
    	if err != nil {
    		return nil, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 01:09:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. cmd/warm-backend-gcs.go

    	}
    	if len(gcsObjects) > 0 {
    		return true, nil
    	}
    	return false, nil
    }
    
    func newWarmBackendGCS(conf madmin.TierGCS, tier string) (*warmBackendGCS, error) {
    	// Validation code
    	if conf.Creds == "" {
    		return nil, errors.New("empty credentials unsupported")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	credsJSON, err := conf.GetCredentialJSON()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top