Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 142 for New (0.19 sec)

  1. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      // "csi.storage.k8s.io/ephemeral": "true" if the volume is an ephemeral inline volume
      //                                 defined by a CSIVolumeSource, otherwise "false"
      //
      // "csi.storage.k8s.io/ephemeral" is a new feature in Kubernetes 1.16. It is only
      // required for drivers which support both the "Persistent" and "Ephemeral" VolumeLifecycleMode.
      // Other drivers can leave pod info disabled and/or ignore this field.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag.go

    	})
    
    	switch outputFormat {
    	case util.JSONFormat:
    		return PrintJSON(writer, tags)
    	case util.TableFormat:
    	default:
    		return fmt.Errorf("unknown format: %s", outputFormat)
    	}
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	fmt.Fprintln(w, "TAG\tREVISION\tNAMESPACES")
    	for _, t := range tags {
    		fmt.Fprintf(w, "%s\t%s\t%s\n", t.Tag, t.Revision, strings.Join(t.Namespaces, ","))
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/analyzer.go

    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    )
    
    // Analyzer that can be used to check authorization policy.
    type Analyzer struct {
    	listenerDump *envoy_admin.ListenersConfigDump
    }
    
    // NewAnalyzer creates a new analyzer for a given pod based on its envoy config.
    func NewAnalyzer(envoyConfig *configdump.Wrapper) (*Analyzer, error) {
    	listeners, err := envoyConfig.GetDynamicListenerDump(true)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 13 01:59:17 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  4. cni/pkg/util/executil.go

    	if len(stdout.String()) != 0 {
    		log.Debugf("Command output: \n%v", stdout.String())
    	}
    
    	if err != nil || len(stderr.Bytes()) != 0 {
    		log.Debugf("Command error output: \n%v", stderr.String())
    		return errors.New(stderr.String())
    	}
    
    	return nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/table/writer.go

    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    	s.EnableColor()
    	return s.Sprintf("%s", cell.Value)
    }
    
    func (c *ColoredTableWriter) getTableOutput(allRows []Row) [][]Cell {
    	output := [][]Cell{}
    	if len(c.header.Cells) != 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/netns_linux.go

    				// not as optimal but at least always safe to do.
    				runtime.UnlockOSThread()
    			}
    		}()
    
    		return toRun()
    	}
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    
    	// Start the callback in a new green thread so that if we later fail
    	// to switch the namespace back to the original one, we can safely
    	// leave the thread locked to die without a risk of the current thread
    	// left lingering with incorrect namespace.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 31 10:05:36 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    			&scopeLogLevel{
    				ScopeName:   scope.Name,
    				LogLevel:    scope.OutputLevel,
    				Description: scope.Description,
    			},
    		)
    	}
    	switch ga.outputFormat {
    	case "short":
    		w := new(tabwriter.Writer).Init(out, 0, 8, 3, ' ', 0)
    		_, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL")
    		for _, sll := range resultScopeLogLevel {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    	"istio.io/istio/pkg/config/validation"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/url"
    )
    
    var (
    	errMissingFilename = errors.New(`error: you must specify resources by --filename.
    Example resource specifications include:
       '-f rsrc.yaml'
       '--filename=rsrc.json'`)
    
    	validFields = map[string]struct{}{
    		"apiVersion": {},
    		"kind":       {},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/net.go

    			err := addPodToHostNSIpset(pod, podIPs, &s.hostsideProbeIPSet)
    			if err != nil {
    				return err
    			}
    			addedIPSnapshot = append(addedIPSnapshot, podIPs...)
    		}
    
    	}
    	return pruneHostIPset(sets.New(addedIPSnapshot...), &s.hostsideProbeIPSet)
    }
    
    // addPodToHostNSIpset:
    // 1. get pod manifest
    // 2. Get all pod ips (might be several, v6/v4)
    // 3. update ipsets accordingly
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
Back to top