- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 488 for args2 (0.06 sec)
-
istioctl/pkg/workload/workload_test.go
}, { description: "Invalid command args - missing service name", args: strings.Split("group create -n bar", " "), expectedException: true, expectedOutput: "Error: expecting a workload name\n", }, { description: "Invalid command args - missing service namespace", args: strings.Split("group create --name foo", " "), expectedException: true,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 20:04:20 UTC 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
# List all waypoints in a specific namespace istioctl waypoint list --namespace default`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
internal/config/dns/etcd_dns.go
if err != nil { return nil, err } args := &CoreDNS{ etcdClient: etcdClient, } for _, setter := range setters { setter(args) } if len(args.domainNames) == 0 || args.domainIPs.IsEmpty() { return nil, errors.New("invalid argument") } // strip ports off of domainIPs domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 15:03:08 UTC 2024 - 8K bytes - Viewed (0) -
cmd/logging.go
} } func iamLogEvent(ctx context.Context, msg string, args ...interface{}) { logger.Event(ctx, "iam", msg, args...) } func rebalanceLogIf(ctx context.Context, err error, errKind ...interface{}) { logger.LogIf(ctx, "rebalance", err, errKind...) } func rebalanceLogEvent(ctx context.Context, msg string, args ...interface{}) { logger.Event(ctx, "rebalance", msg, args...) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 03 18:49:48 UTC 2024 - 7.1K bytes - Viewed (0) -
internal/config/dns/operator_dns.go
func Authentication(username, password string) OperatorOption { return func(args *OperatorDNS) { args.username = username args.password = password } } // RootCAs - add custom trust certs pool func RootCAs(certPool *x509.CertPool) OperatorOption { return func(args *OperatorDNS) { args.rootCAs = certPool } } // NewOperatorDNS - initialize a new K8S Operator DNS set/unset values.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 6.6K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
} } return "", errors.New("format.json is corrupted") } func main() { var node, args string flag.StringVar(&node, "local-node-name", "", "the name of the local node") flag.StringVar(&args, "args", "", "arguments passed to MinIO server") flag.Parse() localDisks, err := filterLocalDisks(node, args) if err != nil { log.Fatal(err) } if len(localDisks) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptParser.java
return Collections.singletonList(parseEncryptCliOptions(context.parserRequest.args())); } protected CommonsCliEncryptOptions parseEncryptCliOptions(List<String> args) throws ParserException { try { return CommonsCliEncryptOptions.parse(args.toArray(new String[0])); } catch (ParseException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
prepare_stmt.go
} return nil, ErrInvalidTransaction } func (db *PreparedStmtDB) ExecContext(ctx context.Context, query string, args ...interface{}) (result sql.Result, err error) { stmt, err := db.prepare(ctx, db.ConnPool, false, query) if err == nil { result, err = stmt.ExecContext(ctx, args...) if errors.Is(err, driver.ErrBadConn) { db.Mux.Lock() defer db.Mux.Unlock() go stmt.Close()
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:02:05 UTC 2024 - 6.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
} } func Test_dedupPorts(t *testing.T) { type args struct { ports []string } tests := []struct { name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}}, want: []string{"1234", "2345"}, }, { name: "Sequential Duplicates", args: args{ports: []string{"1234", "1234", "2345", "2345"}},
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0) -
build-logic-settings/UpdateDevelocityPluginVersion.java
import java.util.regex.*; public class UpdateDevelocityPluginVersion { public static void main(String[] args) throws IOException { if (args.length != 1) { System.out.println("Usage: java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>"); System.exit(1); } String newVersion = args[0]; String[] files = { "build-logic-commons/build-platform/build.gradle.kts",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 12 07:58:50 UTC 2024 - 1.4K bytes - Viewed (0)