Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for WriteString (0.07 sec)

  1. cni/pkg/config/config.go

    	b.WriteString("KubeCAFile: " + c.KubeCAFile + "\n")
    	b.WriteString("SkipTLSVerify: " + fmt.Sprint(c.SkipTLSVerify) + "\n")
    
    	b.WriteString("ExcludeNamespaces: " + fmt.Sprint(c.ExcludeNamespaces) + "\n")
    	b.WriteString("K8sServiceProtocol: " + c.K8sServiceProtocol + "\n")
    	b.WriteString("K8sServiceHost: " + c.K8sServiceHost + "\n")
    	b.WriteString("K8sServicePort: " + fmt.Sprint(c.K8sServicePort) + "\n")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 16 15:33:47 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. clause/expression.go

    			builder.WriteString(" = ")
    			builder.AddVar(builder, in.Values[0])
    			break
    		}
    
    		fallthrough
    	default:
    		builder.WriteString(" IN (")
    		builder.AddVar(builder, in.Values...)
    		builder.WriteByte(')')
    	}
    }
    
    func (in IN) NegationBuild(builder Builder) {
    	builder.WriteQuoted(in.Column)
    	switch len(in.Values) {
    	case 0:
    		builder.WriteString(" IS NOT NULL")
    	case 1:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. clause/on_conflict.go

    			builder.WriteString(" WHERE ")
    			onConflict.TargetWhere.Build(builder)
    			builder.WriteByte(' ')
    		}
    	}
    
    	if onConflict.DoNothing {
    		builder.WriteString("DO NOTHING")
    	} else {
    		builder.WriteString("DO UPDATE SET ")
    		onConflict.DoUpdates.Build(builder)
    	}
    
    	if len(onConflict.Where.Exprs) > 0 {
    		builder.WriteString(" WHERE ")
    		onConflict.Where.Build(builder)
    		builder.WriteByte(' ')
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Oct 07 05:46:20 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  4. clause/where.go

    		if len(not.Exprs) > 1 {
    			builder.WriteByte(')')
    		}
    	} else {
    		builder.WriteString("NOT ")
    		if len(not.Exprs) > 1 {
    			builder.WriteByte('(')
    		}
    
    		for idx, c := range not.Exprs {
    			if idx > 0 {
    				switch c.(type) {
    				case OrConditions:
    					builder.WriteString(OrWithSpace)
    				default:
    					builder.WriteString(AndWithSpace)
    				}
    			}
    
    			e, wrapInParentheses := c.(Expr)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. internal/config/certsinfo.go

    		} else {
    			values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String()))
    		}
    	}
    	if len(values) > 0 {
    		buf.WriteString(values[0])
    		for i := 1; i < len(values); i++ {
    			buf.WriteString(", " + values[i])
    		}
    		buf.WriteString("\n")
    	}
    	return values
    }
    
    // CertificateText returns a human-readable string representation
    // of the certificate cert. The format is similar to the OpenSSL
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  6. clause/locking.go

    	return "FOR"
    }
    
    // Build build where clause
    func (locking Locking) Build(builder Builder) {
    	builder.WriteString(locking.Strength)
    	if locking.Table.Name != "" {
    		builder.WriteString(" OF ")
    		builder.WriteQuoted(locking.Table)
    	}
    
    	if locking.Options != "" {
    		builder.WriteByte(' ')
    		builder.WriteString(locking.Options)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:32:56 UTC 2023
    - 773 bytes
    - Viewed (0)
  7. internal/kms/context.go

    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    		for k, v := range c {
    			b.WriteString(`{"`)
    			escapeStringJSON(b, k)
    			b.WriteString(`":"`)
    			escapeStringJSON(b, v)
    			b.WriteString(`"}`)
    		}
    		return b.Bytes(), nil
    	}
    
    	sortedKeys := make([]string, 0, len(c))
    	for k := range c {
    		sortedKeys = append(sortedKeys, k)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  8. clause/limit.go

    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    		if limit.Limit != nil && *limit.Limit >= 0 {
    			builder.WriteByte(' ')
    		}
    		builder.WriteString("OFFSET ")
    		builder.AddVar(builder, limit.Offset)
    	}
    }
    
    // MergeClause merge order by clauses
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/cluster.go

    	if err != nil {
    		envoyBytes.WriteString(err.Error())
    	} else {
    		envoy, err := protomarshal.ToJSONWithAnyResolver(envoyClusterDump, "    ", &envoyResolver)
    		if err != nil {
    			return err
    		}
    		envoyBytes.WriteString(envoy)
    	}
    	istiodClusterDump, err := c.istiod.GetDynamicClusterDump(true)
    	if err != nil {
    		istiodBytes.WriteString(err.Error())
    	} else {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. cmd/bootstrap-peer-server_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "MinioEnv")
    		return
    	}
    	for za0002, za0003 := range z.MinioEnv {
    		err = en.WriteString(za0002)
    		if err != nil {
    			err = msgp.WrapError(err, "MinioEnv")
    			return
    		}
    		err = en.WriteString(za0003)
    		if err != nil {
    			err = msgp.WrapError(err, "MinioEnv", za0002)
    			return
    		}
    	}
    	// write "Checksum"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 14:49:49 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top