- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 499 for args (0.13 sec)
-
operator/cmd/mesh/profile-diff.go
# Profile diff by providing a profile name istioctl profile diff default demo`, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 2 { return fmt.Errorf("diff requires two profiles") } return nil }, RunE: func(cmd *cobra.Command, args []string) error { isdifferent, err := profileDiff(cmd, pfArgs, args) if err != nil { return err } if isdifferent { os.Exit(1) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.1K bytes - Viewed (0) -
cmd/bucket-policy.go
policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket) return policy, err } // IsAllowed - checks given policy args is allowed to continue the Rest API. func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool { p, err := sys.Get(args.BucketName) if err == nil { return p.IsAllowed(args) } // Log unhandled errors. if _, ok := err.(BucketPolicyNotFound); !ok {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 8K bytes - Viewed (0) -
internal/event/target/postgresql.go
func NewPostgreSQLTarget(id string, args PostgreSQLArgs, loggerOnce logger.LogOnce) (*PostgreSQLTarget, error) { params := []string{args.ConnectionString} if args.ConnectionString == "" { params = []string{} if !args.Host.IsEmpty() { params = append(params, "host="+args.Host.String()) } if args.Port != "" { params = append(params, "port="+args.Port) } if args.Username != "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 17:51:07 GMT 2024 - 13.3K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
// None of the args have ellipses use the old style. if ok { setArgs, err = GetAllSets(setDriveCount, args...) if err != nil { return err } ctxt.Layout = disksLayout{ legacy: true, pools: []poolDisksLayout{{layout: setArgs, cmdline: strings.Join(args, " ")}}, } return } for _, arg := range args { if !ellipses.HasEllipses(arg) && len(args) > 1 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 14.7K 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,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
chainable_api.go
}) } else if strings.Count(v, "@") > 0 && len(args) > 0 { tx.Statement.AddClause(clause.Select{ Distinct: db.Statement.Distinct, Expression: clause.NamedExpr{SQL: v, Vars: args}, }) } else { tx.Statement.Selects = []string{v} for _, arg := range args { switch arg := arg.(type) { case string: tx.Statement.Selects = append(tx.Statement.Selects, arg) case []string:
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Wed Apr 17 03:38:55 GMT 2024 - 14.3K bytes - Viewed (1) -
istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go
"ztunnel-9v7nw": []byte("current log level is debug"), } cases := []execTestCase{ { args: []string{}, expectedString: "A group of commands used to update or retrieve Ztunnel", }, { // logger name invalid when namespacing is used improperly execClientConfig: loggingConfig, args: strings.Split("log ztunnel-9v7nw --level ztunnel:::pool:debug", " "),
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) -
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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
}, { name: "invalid port naming service", args: []string{"--filename", invalidPortNamingSvcFile}, wantError: true, }, { name: "filename missing", wantError: true, }, { name: "valid resources from file", args: []string{"--filename", validFilenameYAML}, }, { name: "extra args", args: []string{"--filename", validFilenameYAML, "extra-arg"},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
internal/event/target/mqtt.go
// NewMQTTTarget - creates new MQTT target. func NewMQTTTarget(id string, args MQTTArgs, loggerOnce logger.LogOnce) (*MQTTTarget, error) { if args.MaxReconnectInterval == 0 { // Default interval // https://github.com/eclipse/paho.mqtt.golang/blob/master/options.go#L115 args.MaxReconnectInterval = 10 * time.Minute } if args.KeepAlive == 0 { args.KeepAlive = 10 * time.Second }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 8.2K bytes - Viewed (0)