Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for netutil (0.1 sec)

  1. istioctl/pkg/workload/workload.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/config/validation/agent"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	netutil "istio.io/istio/pkg/util/net"
    	"istio.io/istio/pkg/util/protomarshal"
    	"istio.io/istio/pkg/util/shellescape"
    )
    
    var (
    	// TODO refactor away from package vars and add more UTs
    	tokenDuration  int64
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * @author shinsuke
     * @author kaorufuzita
     *
     */
    public final class TextUtil {
        private static final Logger logger = LoggerFactory.getLogger(TextUtil.class);
    
        private TextUtil() {
        }
    
        public static class TextNormalizeContext {
    
            private final Reader reader;
    
            private int initialCapacity = 10000;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TestUtil.java

    import com.google.common.collect.Iterators;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Set;
    
    /** Utility methods used in various common.graph tests. */
    final class TestUtil {
      static final String ERROR_ELEMENT_NOT_IN_GRAPH = "not an element of this graph";
      static final String ERROR_NODE_NOT_IN_GRAPH =
          "Should not be allowed to pass a node that is not an element of the graph.";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/TestUtil.java

     */
    package org.codelibs.core;
    
    import static org.hamcrest.CoreMatchers.is;
    
    import org.hamcrest.CoreMatchers;
    import org.hamcrest.Matcher;
    
    /**
     * @author koichik
     */
    public abstract class TestUtil {
    
        /**
         * 実際の値が期待する{@literal clazz}と等しいかを検証する{@link Matcher}を返します。
         *
         * <pre>assertThat(clazz, is(Xxx.class));</pre>
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. istioctl/pkg/authz/authz_test.go

    // limitations under the License.
    
    package authz
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestAuthz(t *testing.T) {
    	cases := []testutil.TestCase{
    		{
    			Args:           []string{"-f fake.yaml"},
    			ExpectedOutput: "Error: failed to get config dump from file  fake.yaml: open  fake.yaml: no such file or directory\n",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 21 14:20:23 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject_test.go

    package kubeinject
    
    import (
    	"fmt"
    	"regexp"
    	"strings"
    	"testing"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestKubeInject(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           []string{},
    			ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`),
    			WantException:  true,
    		},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun visitMethodCallExpression(mce: MethodCallExpression) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce)
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  8. build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java

            return isIntegrationTest(node.getDeclaringClass());
        }
    
        @Override
        public void visitMethodCallExpression(MethodCallExpression mce) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce);
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                Expression objectExpr = mce.getObjectExpression();
                checkIndirectOutputContains(objectExpr, mce);
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  9. istioctl/pkg/config/config_test.go

    package config
    
    import (
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/spf13/viper"
    
    	"istio.io/istio/istioctl/pkg/util/testutil"
    	"istio.io/istio/pkg/config/constants"
    )
    
    func TestConfigList(t *testing.T) {
    	cases := []testutil.TestCase{
    		//{ // case 0
    		//	Args:           strings.Split("get istioNamespace", " "),
    		//	ExpectedRegexp: regexp.MustCompile("Configure istioctl defaults"),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze_test.go

    	g.Expect(err).To(BeNil())
    }
    
    func TestSkipPodsInFiles(t *testing.T) {
    	c := testutil.TestCase{
    		Args: strings.Split(
    			"-A --use-kube=false --failure-threshold ERROR testdata/analyze-file/public-gateway.yaml",
    			" "),
    		WantException: false,
    	}
    	analyze := Analyze(cli.NewFakeContext(nil))
    	testutil.VerifyOutput(t, analyze, c)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top