Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for iota (0.16 sec)

  1. istioctl/pkg/writer/compare/sds/writer.go

    type SDSWriter interface {
    	PrintSecretItems([]SecretItem) error
    	PrintDiffs([]SecretItemDiff) error
    }
    
    type Format int
    
    const (
    	JSON Format = iota
    	TABULAR
    )
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    	includeConfigType = p
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    type Level int
    
    const (
    	defaultLoggerName       = "level"
    	defaultEnvoyOutputLevel = WarningLevel
    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    	// ErrorLevel enables error level logging
    	ErrorLevel
    	// WarningLevel enables warning level logging
    	WarningLevel
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/clusters/clusters.go

    	fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER")
    	for _, ce := range clusterEndpoint {
    		var endpoint string
    		if ce.port != 0 {
    			endpoint = ce.address + ":" + strconv.Itoa(ce.port)
    		} else {
    			endpoint = ce.address
    		}
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", endpoint, core.HealthStatus_name[int32(ce.status)], printFailedOutlierCheck(ce.failedOutlierCheck), ce.cluster)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  4. cni/pkg/repair/netns.go

    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    	return "/host/proc/" + strconv.Itoa(pid) + "/ns/net"
    }
    
    func runInHost[T any](f func() (T, error)) (T, error) {
    	var res T
    	ns, err := netns.GetNS(getPidNamespace(1))
    	if err != nil {
    		return res, fmt.Errorf("failed to get host network: %v", err)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	return cmd
    }
    
    // Level is an enumeration of all supported log levels.
    type Level int
    
    const (
    	defaultLoggerName = "level"
    )
    
    const (
    	// OffLevel disables logging
    	OffLevel Level = iota
    	// CriticalLevel enables critical level logging
    	CriticalLevel
    	// ErrorLevel enables error level logging
    	ErrorLevel
    	// WarningLevel enables warning level logging
    	WarningLevel
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/endpoint.go

    }
    
    func retrieveEndpointAddress(ep *endpoint.LbEndpoint) string {
    	addr := ep.GetEndpoint().GetAddress()
    	if addr := addr.GetSocketAddress(); addr != nil {
    		return addr.Address + ":" + strconv.Itoa(int(addr.GetPortValue()))
    	}
    	if addr := addr.GetPipe(); addr != nil {
    		return addr.GetPath()
    	}
    	if internal := addr.GetEnvoyInternalAddress(); internal != nil {
    		switch an := internal.GetAddressNameSpecifier().(type) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    func getIstioVirtualServicePathForSvcFromRoute(cd *configdump.Wrapper, svc corev1.Service, port int32) (string, error) {
    	sPort := strconv.Itoa(int(port))
    
    	// Routes know their destination Service name, namespace, and port, and the DR that configures them
    	rcd, err := cd.GetDynamicRouteDump(false)
    	if err != nil {
    		return "", err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    	}
    	return strings.EqualFold(inject, "false")
    }
    
    func renderCounts(injectedRevision string, counts revisionCount) string {
    	if counts.pods == 0 {
    		return "<no pods>"
    	}
    
    	podText := strconv.Itoa(counts.pods)
    	if counts.disabled > 0 {
    		podText += fmt.Sprintf(" (injection disabled: %d)", counts.disabled)
    	}
    	if counts.needsRestart > 0 {
    		podText += fmt.Sprintf(" NEEDS RESTART: %d", counts.needsRestart)
    	}
    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)
Back to top