Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Spring (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/erasure-object.go

    			}, index)
    		}
    
    		rmDisks := make(map[string]string, len(disks))
    		for index, err := range g.Wait() {
    			var errStr, diskName string
    			if err != nil {
    				errStr = err.Error()
    			} else {
    				errStr = "<nil>"
    			}
    			if disks[index] != nil {
    				diskName = disks[index].String()
    			} else {
    				diskName = fmt.Sprintf("disk-%d", index)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K 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. cmd/httprange_test.go

    package cmd
    
    import (
    	"testing"
    )
    
    func TestHTTPRequestRangeSpec(t *testing.T) {
    	resourceSize := int64(10)
    	validRangeSpecs := []struct {
    		spec                 string
    		expOffset, expLength int64
    	}{
    		{"bytes=0-", 0, 10},
    		{"bytes=1-", 1, 9},
    		{"bytes=0-9", 0, 10},
    		{"bytes=1-10", 1, 9},
    		{"bytes=1-1", 1, 1},
    		{"bytes=2-5", 2, 4},
    		{"bytes=-5", 5, 5},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    // APIError structure
    type APIError struct {
    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     string
    	RangeRequested string
    }
    
    // APIErrorResponse - error response format
    type APIErrorResponse struct {
    	XMLName          xml.Name `xml:"Error" json:"-"`
    	Code             string
    	Message          string
    	Key              string `xml:"Key,omitempty" json:"Key,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. 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)
  9. 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)
  10. cmd/batch-handlers.go

    	}
    }
    
    func (m *batchJobMetrics) delete(jobID string) {
    	m.Lock()
    	defer m.Unlock()
    
    	delete(m.metrics, jobID)
    }
    
    func (m *batchJobMetrics) save(jobID string, ri *batchJobInfo) {
    	m.Lock()
    	defer m.Unlock()
    
    	m.metrics[jobID] = ri.clone()
    }
    
    type objTraceInfoer interface {
    	TraceObjName() string
    	TraceVersionID() string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top