- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 518 for kwargs (0.08 sec)
-
internal/event/target/webhook.go
} // Only called from init() func (target *WebhookTarget) initWebhook() error { args := target.args transport := target.transport if args.ClientCert != "" && args.ClientKey != "" { manager, err := certs.NewManager(context.Background(), args.ClientCert, args.ClientKey, tls.LoadX509KeyPair) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
internal/arn/arn_test.go
} }) } } func TestNewIAMRoleARN(t *testing.T) { type args struct { resourceID string serverRegion string } tests := []struct { name string args args want ARN wantErr bool }{ { name: "valid resource ID must succeed", args: args{ resourceID: "my-role", serverRegion: "us-east-1", }, want: ARN{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 08:31:34 UTC 2024 - 5.1K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
}, { // case 1, with Istiod instance args: []string{}, expectedString: "NAME CLUSTER CDS LDS EDS RDS ECDS ISTIOD", }, { // case 2: supplying nonexistent pod name should result in error with flag args: strings.Split("deployment/random-gibberish", " "), wantException: true, }, { // case 3: supplying nonexistent deployment name
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
`, Aliases: []string{"clusters", "c"}, Args: func(cmd *cobra.Command, args []string) error { if (len(args) == 1) != (configDumpFile == "") { cmd.Println(cmd.UsageString()) return fmt.Errorf("cluster requires pod name or --file parameter") } return nil }, RunE: func(c *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats
echo "buildifier formatting is recommended. Here are the suggested fixes:" echo "=============================" grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \ | xargs buildifier -v -mode=diff -diff_command="git diff --no-index" } # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 3.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
) 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 TestInternalDebug(t *testing.T) { cases := []execTestCase{ { // case 0, no args args: []string{}, noIstiod: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Mar 15 08:28:50 UTC 2024 - 4.5K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
echo "buildifier formatting is recommended. Here are the suggested fixes:" echo "=============================" grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \ | xargs buildifier -v -mode=diff -diff_command="git diff --no-index" } # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 10 19:39:41 UTC 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
{ // case 0 Args: []string{}, ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`), WantException: true, }, { // case 1 Args: strings.Split("-f missing.yaml", " "), ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`), WantException: true, }, { // case 2 Args: strings.Split(
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 3.4K bytes - Viewed (0) -
bin/diff_yaml.py
return rl def compare(args): j0 = normalize(list(yaml.safe_load_all(open(args.orig))), args) j1 = normalize(list(yaml.safe_load_all(open(args.new))), args) q0 = {by_resource_name(res): res for res in j0 if res is not None} q1 = {by_resource_name(res): res for res in j1 if res is not None} added, removed, common = keydiff(q0.keys(), q1.keys()) changed = 0
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Mar 03 16:14:57 UTC 2021 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/AbstractInvocationHandler.java
throws Throwable { if (args == null) { args = NO_ARGS; } if (args.length == 0 && method.getName().equals("hashCode")) { return hashCode(); } if (args.length == 1 && method.getName().equals("equals") && method.getParameterTypes()[0] == Object.class) { Object arg = args[0]; if (arg == null) { return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 5.2K bytes - Viewed (0)