Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for lives (0.18 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    //
    // The purpose of this is to make it easier to read tests.
    func FixTabsOrDie(in string) string {
    	lines := bytes.Split([]byte(in), []byte{'\n'})
    	if len(lines[0]) == 0 && len(lines) > 1 {
    		lines = lines[1:]
    	}
    	// Create prefix made of tabs that we want to remove.
    	var prefix []byte
    	for _, c := range lines[0] {
    		if c != '\t' {
    			break
    		}
    		prefix = append(prefix, byte('\t'))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    	return "", fallbackToLogs
    }
    
    // readLastStringFromContainerLogs attempts to read up to the max log length from the end of the CRI log represented
    // by path. It reads up to max log lines.
    func (m *kubeGenericRuntimeManager) readLastStringFromContainerLogs(path string) string {
    	value := int64(kubecontainer.MaxContainerTerminationMessageLogLines)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      optional string Expression = 2;
    }
    
    // WebhookClientConfig contains the information to make a TLS
    // connection with the webhook
    message WebhookClientConfig {
      // `url` gives the location of the webhook, in standard URL form
      // (`scheme://host:port/path`). Exactly one of `url` or `service`
      // must be specified.
      //
      // The `host` should not refer to a service running in the cluster; use
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	Connect      OperationType = "CONNECT"
    )
    
    // WebhookClientConfig contains the information to make a TLS
    // connection with the webhook
    type WebhookClientConfig struct {
    	// `url` gives the location of the webhook, in standard URL form
    	// (`scheme://host:port/path`). Exactly one of `url` or `service`
    	// must be specified.
    	//
    	// The `host` should not refer to a service running in the cluster; use
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    	}
    }
    
    func logLines(logs string) []string {
    	if len(logs) == 0 {
    		return nil
    	}
    
    	lines := strings.Split(strings.TrimSpace(logs), "\n")
    	for i, line := range lines {
    		lines[i] = strings.SplitN(line, "] ", 2)[1]
    	}
    	return lines
    }
    
    func TestGetEncryptionConfigHash(t *testing.T) {
    	t.Parallel()
    
    	tests := []struct {
    		name     string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  6. pkg/proxy/iptables/proxier.go

    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesLastSync.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableNAT)).Set(float64(proxier.natRules.Lines() + skippedNatRules.Lines() - deletedChains))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier.go

    func getFirstColumn(r io.Reader) ([]string, error) {
    	b, err := io.ReadAll(r)
    	if err != nil {
    		return nil, err
    	}
    
    	lines := strings.Split(string(b), "\n")
    	words := make([]string, 0, len(lines))
    	for i := range lines {
    		fields := strings.Fields(lines[i])
    		if len(fields) > 0 {
    			words = append(words, fields[0])
    		}
    	}
    	return words, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    	)
    
    	// The part of name before the "__" can be up to 205 characters (as with
    	// servicePortChainNameBase above). An IPv6 address can be up to 39 characters, and
    	// a port can be up to 5 digits, plus 3 punctuation characters gives a max total
    	// length of 252, well over chainNameBaseLengthMax (240), so truncation is
    	// theoretically possible (though incredibly unlikely).
    	return hashAndTruncate(name)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    type validationOptions struct {
    	// allowDefaults permits the validation schema to contain default attributes
    	allowDefaults bool
    	// disallowDefaultsReason gives a reason as to why allowDefaults is false (for better user feedback)
    	disallowDefaultsReason string
    	// requireRecognizedConversionReviewVersion requires accepted webhook conversion versions to contain a recognized version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	//    up these events from the channel, after consuming the whole time
    	//    budget (defaulted to 100ms) on waiting, we will simply close the watch,
    	//    which will cause the test failure
    	// Using fakeTimeBudget gives us always a budget to wait and have a test
    	// pick up something from ResultCh in the meantime.
    	//
    	// The same can potentially happen in production, but in that case a watch
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
Back to top