Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Constant (0.15 sec)

  1. istioctl/pkg/util/testutil/util.go

    	"testing"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/pilot/test/util"
    )
    
    type TestCase struct {
    	Args []string
    
    	// Typically use one of the three
    	ExpectedOutput string         // Expected constant output
    	ExpectedRegexp *regexp.Regexp // Expected regexp output
    	GoldenFilename string         // Expected output stored in golden file
    
    	WantException bool
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyStatus(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, with no Isitod instance
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. cni/test/install_cni.go

    	} else {
    		preConfFile = resultFileName
    	}
    	setEnv(cniNetworkConfigName, cniNetworkConfig, t)
    
    	// disable monitoring & uds logging
    	viper.Set(constants.MonitoringPort, 0)
    	viper.Set(constants.LogUDSAddress, "")
    	viper.Set(constants.RepairEnabled, false)
    
    	ctx, cancel := context.WithCancel(context.Background())
    	wg := sync.WaitGroup{}
    	wg.Add(1)
    	defer func() {
    		cancel()
    		wg.Wait()
    	}()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    	configDumps    map[string][]byte
    	namespace      string
    	istioNamespace string
    
    	args []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    // Tests Pilot /debug
    func TestDescribe(t *testing.T) {
    	productPageConfigPath := "testdata/describe/http_config.json"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	"istio.io/istio/pkg/kube"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/networking/v1/generated.proto

      // serving this Ingress resource, by a transitive connection
      // (controller -> IngressClass -> Ingress resource). Although the
      // `kubernetes.io/ingress.class` annotation (simple constant name) was never
      // formally defined, it was widely supported by Ingress controllers to create
      // a direct binding between Ingress controller and Ingress resources. Newly
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/constants/constants.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package constants
    
    const (
    	// In the below, we add the fwmask to ensure only that mark can match
    
    	DNSCapturePort              = 15053
    	ZtunnelInboundPort          = 15008
    	ZtunnelOutboundPort         = 15001
    Go
    - Registered: Wed Apr 10 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 887 bytes
    - Viewed (0)
  8. istioctl/pkg/proxyconfig/proxyconfig_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type execTestCase struct {
    	execClientConfig map[string][]byte
    	args             []string
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestProxyConfig(t *testing.T) {
    	loggingConfig := map[string][]byte{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. istioctl/pkg/util/constants.go

    Xiaopeng Han <******@****.***> 1686841337 +0800
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	revision      = ""
    	waitReady     bool
    	allNamespaces bool
    
    	deleteAll bool
    
    	trafficType       = ""
    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)
Back to top