- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for RegExp (0.16 sec)
-
istioctl/pkg/config/config_test.go
"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"), // WantException: false, //}, { // case 1 Args: strings.Split("list", " "), ExpectedOutput: `FLAG VALUE FROM
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.8K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// the regexes must include two named groups "poduid" and "containerid" // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used // nolint: lll var cgroupREs = []*regexp.Regexp{ // the regex used to parse out the pod UID and container ID from a // cgroup name. It assumes that any ".scope" suffix has been trimmed off // beforehand. CAUTION: we used to verify that the pod and container id were
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump_test.go
// See the License for the specific language governing permissions and // limitations under the License. package mesh import ( "os" "path/filepath" "regexp" "testing" "github.com/kylelemons/godebug/diff" "istio.io/istio/operator/pkg/util" ) func TestProfileDump(t *testing.T) { testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Jan 20 11:44:25 GMT 2022 - 3.7K bytes - Viewed (0) -
istioctl/cmd/options_test.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 cmd import ( "bytes" "regexp" "testing" ) // nolint: lll var expectedOutput = `The following options can be passed to any command: --log_as_json: Whether to format output as JSON or in plain console-friendly format
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Sep 14 02:38:54 GMT 2022 - 1.9K bytes - Viewed (0) -
common/config/.golangci-format.yml
# it's a comma-separated list of prefixes local-prefixes: istio.io/ issues: # Which dirs to exclude: issues from them won't be reported. # Can use regexp here: `generated.*`, regexp is applied on full path, # including the path prefix if one is set. # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 05 03:02:37 GMT 2024 - 2K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
// See the License for the specific language governing permissions and // limitations under the License. package metrics import ( "bytes" "context" "fmt" "regexp" "strings" "testing" "time" promv1 "github.com/prometheus/client_golang/api/prometheus/v1" prometheus_model "github.com/prometheus/common/model" corev1 "k8s.io/api/core/v1"
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
// See the License for the specific language governing permissions and // limitations under the License. package mesh import ( "fmt" "reflect" "regexp" "strings" . "github.com/onsi/gomega" "github.com/onsi/gomega/types" labels2 "k8s.io/apimachinery/pkg/labels" name2 "istio.io/istio/operator/pkg/name" "istio.io/istio/operator/pkg/object"
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
common/config/.golangci.yml
# excluded by default patterns execute `golangci-lint run --help` exclude: - composite literal uses unkeyed fields # Which dirs to exclude: issues from them won't be reported. # Can use regexp here: `generated.*`, regexp is applied on full path, # including the path prefix if one is set. # Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
Others - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 19:22:39 GMT 2024 - 11K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
// See the License for the specific language governing permissions and // limitations under the License. package ztunnelconfig import ( "context" "fmt" "io" "os" "regexp" "sort" "strings" "github.com/hashicorp/go-multierror" "github.com/spf13/cobra" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types"
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 22 15:39:28 GMT 2024 - 22.2K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard_test.go
WantException: false, }, { // case 4 Args: strings.Split("envoy --browser=false", " "), ExpectedRegexp: regexp.MustCompile(".*Error: specify a pod or --selector"), WantException: true, }, { // case 5 Args: strings.Split("envoy --browser=false pod-123456-7890", " "), ExpectedRegexp: regexp.MustCompile("http://localhost:3456"), WantException: false,
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0)