- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 518 for kwargs (0.12 sec)
-
istioctl/pkg/metrics/metrics.go
// nolint: goimports Aliases: []string{"m"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) < 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("metrics requires workload name") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { return run(cmd, ctx, args) }, DisableFlagsInUseLine: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/config/errors-utils.go
// Msgf - Replace the current error's message func (u Err) Msgf(m string, args ...interface{}) Err { e := u.Clone() if len(args) == 0 { e.msg = m } else { e.msg = fmt.Sprintf(m, args...) } return e } // Hint - Replace the current error's message func (u Err) Hint(m string, args ...interface{}) Err { e := u.Clone() e.hint = fmt.Sprintf(m, args...) return e } // ErrFn function wrapper
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
istioctl admin log --revision v1 # Reset levels of all the loggers to default value (info). istioctl admin log --reset `, Aliases: []string{"l"}, Args: func(logCmd *cobra.Command, args []string) error { if istiodReset && outputLogLevel != "" { logCmd.Println(logCmd.UsageString()) return fmt.Errorf("--level cannot be combined with --reset") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
istioctl x authz check -f httpbin_config_dump.json`, Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { cmd.Println(cmd.UsageString()) return fmt.Errorf("check requires only <pod-name>[.<pod-namespace>]") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
*/ public static <T> T newInstance(final Constructor<T> constructor, final Object... args) throws InstantiationRuntimeException, IllegalAccessRuntimeException { assertArgumentNotNull("constructor", constructor); try { return constructor.newInstance(args); } catch (final InstantiationException e) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/Platform.java
* This class is emulated in GWT. * * @author Hayward Chan */ @GwtCompatible final class Platform { /** Format the template with args, only supports the placeholder {@code %s}. */ static String format(String template, Object... args) { return String.format(Locale.ROOT, template, args); } /** See {@link ListListIteratorTester} */ static int listListIteratorTesterNumIterations() { return 4; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \ | kubectl --kubeconfig=c1.yaml apply -f -`, Args: cobra.NoArgs, RunE: func(c *cobra.Command, args []string) error { if err := opts.prepare(ctx); err != nil { return err } client, err := ctx.CLIClient() if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
tests/test_tutorial/test_events/test_tutorial002.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial002 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} try { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SetObjectTagsArgs args = SetObjectTagsArgs.builder().bucket(fessConfig.getStorageBucket()).object(objectName).tags(tags).build(); createClient(fessConfig).setObjectTags(args); } catch (final Exception e) { throw new StorageException("Failed to update tags for " + objectName, e); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
} } } public static void main(String[] args) throws IOException { if (args.length != 2) { System.out.println("Usage: Crawler <cache dir> <root>"); return; } int threadCount = 20; long cacheByteCount = 1024L * 1024L * 100L; Cache cache = new Cache(new File(args[0]), cacheByteCount); OkHttpClient client = new OkHttpClient.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Aug 12 07:26:27 UTC 2021 - 4.6K bytes - Viewed (0)