Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Spring (0.4 sec)

  1. internal/logger/logger.go

    }
    
    // HashString - return the highway hash of the passed string
    func HashString(input string) string {
    	hh, _ := highwayhash.New(magicHighwayHash256Key)
    	hh.Write([]byte(input))
    	return hex.EncodeToString(hh.Sum(nil))
    }
    
    // LogAlwaysIf prints a detailed error message during
    // the execution of the server.
    func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) {
    	if err == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    type Config struct {
    	types.NetConf
    
    	// Add plugin-specific flags here
    	LogLevel        string     `json:"log_level"`
    	LogUDSAddress   string     `json:"log_uds_address"`
    	CNIEventAddress string     `json:"cni_event_address"`
    	AmbientEnabled  bool       `json:"ambient_enabled"`
    	Kubernetes      Kubernetes `json:"kubernetes"`
    }
    
    // K8sArgs is the valid CNI_ARGS used for Kubernetes
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    				return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String())
    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/common-main.go

    			case <-GlobalContext.Done():
    				return
    			}
    		}
    	}()
    }
    
    type envKV struct {
    	Key   string
    	Value string
    	Skip  bool
    }
    
    func (e envKV) String() string {
    	if e.Skip {
    		return ""
    	}
    	return fmt.Sprintf("%s=%s", e.Key, e.Value)
    }
    
    func parsEnvEntry(envEntry string) (envKV, error) {
    	envEntry = strings.TrimSpace(envEntry)
    	if envEntry == "" {
    		// Skip all empty lines
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. cmd/object-api-errors.go

    	Object   string
    	UploadID string
    }
    
    func (e InvalidUploadID) Error() string {
    	return "Invalid upload id " + e.UploadID
    }
    
    // InvalidPart One or more of the specified parts could not be found
    type InvalidPart struct {
    	PartNumber int
    	ExpETag    string
    	GotETag    string
    }
    
    func (e InvalidPart) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    	return errors.Join(inpodErrs...)
    }
    
    func (cfg *IptablesConfigurator) executeDeleteCommands() error {
    	deleteCmds := [][]string{
    		{"-t", iptablesconstants.MANGLE, "-D", iptablesconstants.PREROUTING, "-j", ChainInpodPrerouting},
    		{"-t", iptablesconstants.MANGLE, "-D", iptablesconstants.OUTPUT, "-j", ChainInpodOutput},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. Makefile.core.mk

    # There are two use cases here:
    # * Building all docker images (generally in CI). In this case we want to build everything at once, so they share work
    # * Building a single docker image (generally during dev). In this case we just want to build the single binary alone
    BUILD_ALL ?= true
    define build-linux
    .PHONY: $(TARGET_OUT_LINUX)/$(shell basename $(1))
    ifeq ($(BUILD_ALL),true)
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 20:25:15 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    - Revert the Git changes to files in the `.idea` folder
    
    NOTE: Due to the project size, the very first import can take a while and IntelliJ might become unresponsive for several seconds during this period.
    
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat May 04 07:43:02 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top