Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 190 for maps (0.12 sec)

  1. internal/config/identity/openid/openid.go

    	}
    	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
    	ProviderCfgs map[string]*providerCfg
    
    	pubKeys          publicKeys
    	roleArnPolicyMap map[arn.ARN]string
    
    	transport   http.RoundTripper
    	closeRespFn func(io.ReadCloser)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload.go

    }
    
    // Because we are placing into an Unstructured, place as a map instead
    // of structured Istio types.  (The go-client can handle the structured data, but the
    // fake go-client used for mocking cannot.)
    func unstructureIstioType(spec any) (map[string]any, error) {
    	b, err := yaml.Marshal(spec)
    	if err != nil {
    		return nil, err
    	}
    	iSpec := map[string]any{}
    	err = yaml.Unmarshal(b, &iSpec)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. internal/config/lambda/event/targetlist.go

    type TargetStats struct {
    	TargetStats map[string]TargetStat
    }
    
    // TargetStat is the stats of a single target.
    type TargetStat struct {
    	ID             TargetID
    	ActiveRequests int64
    	TotalRequests  int64
    	FailedRequests int64
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	sync.RWMutex
    	targets map[TargetID]Target
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    	res := auditTargets
    	return res
    }
    
    // CurrentStats returns the current statistics.
    func CurrentStats() map[string]types.TargetStats {
    	sys := SystemTargets()
    	audit := AuditTargets()
    	res := make(map[string]types.TargetStats, len(sys)+len(audit))
    	cnt := make(map[string]int, len(sys)+len(audit))
    
    	// Add system and audit.
    	for _, t := range sys {
    		key := strings.ToLower(t.Type().String())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    	}
    	return retval, nil
    }
    
    // getInjectedImages() returns a map of revision->dockerimage
    func getInjectedImages(ctx context.Context, client kube.CLIClient) (map[string]string, error) {
    	retval := map[string]string{}
    
    	// All configs in all namespaces that are Istio revisioned
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. istioctl/pkg/cli/context.go

    	if ns == corev1.NamespaceAll {
    		ns = defaultNamespace
    	}
    	return ns
    }
    
    type fakeInstance struct {
    	// clients are cached clients for each revision
    	clients   map[string]kube.CLIClient
    	rootFlags *RootFlags
    	results   map[string][]byte
    	objects   []runtime.Object
    	version   string
    }
    
    func (f *fakeInstance) CLIClientWithRevision(rev string) (kube.CLIClient, error) {
    	if _, ok := f.clients[rev]; !ok {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/debugging/reorder-disks/main.go

    )
    
    type xl struct {
    	This string     `json:"this"`
    	Sets [][]string `json:"sets"`
    }
    
    type format struct {
    	ID string `json:"id"`
    	XL xl     `json:"xl"`
    }
    
    func getMountMap() (map[string]string, error) {
    	result := make(map[string]string)
    
    	mountInfo, err := os.Open("/proc/self/mountinfo")
    	if err != nil {
    		return nil, err
    	}
    	defer mountInfo.Close()
    
    	scanner := bufio.NewScanner(mountInfo)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/api.go

    	Rules     [][][]*PolicyMatch `json:"rules"`
    }
    
    type ZtunnelDump struct {
    	Workloads     map[string]*ZtunnelWorkload `json:"workloads"`
    	Services      map[string]*ZtunnelService  `json:"services"`
    	Policies      map[string]*ZtunnelPolicy   `json:"policies"`
    	Certificates  []*CertsDump                `json:"certificates"`
    	WorkloadState map[string]WorkloadState    `json:"workloadState"`
    }
    
    type CertsDump struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. cni/pkg/install/cniconfig_test.go

    		expectedFailure      bool
    		existingConfFilename string
    		newConfFilename      string
    	}{
    		{
    			name:                 "invalid existing config format (map)",
    			expectedFailure:      true,
    			existingConfFilename: "invalid-map.conflist",
    			newConfFilename:      "istio-cni.conf",
    		},
    		{
    			name:                 "invalid new config format (arr)",
    			expectedFailure:      true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/mock_client.go

    type MockClient struct {
    	// Results is a map of podName to the results of the expected test on the pod
    	Results map[string][]byte
    	kube.CLIClient
    }
    
    func (c MockClient) NewPortForwarder(_, _, _ string, _, _ int) (kube.PortForwarder, error) {
    	return MockPortForwarder{}, nil
    }
    
    func (c MockClient) AllDiscoveryDo(_ context.Context, _, _ string) (map[string][]byte, error) {
    	return c.Results, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top