Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Chow (0.58 sec)

  1. istioctl/pkg/writer/compare/sds/writer.go

    )
    
    // printSecretItemsTabular prints the secret in table format
    func (w *sdsWriter) printSecretItemsTabular(secrets []SecretItem) error {
    	if len(secrets) == 0 {
    		fmt.Fprintln(w.w, "No secret items to show.")
    		return nil
    	}
    	tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0)
    	fmt.Fprintln(tw, strings.Join(secretItemColumns, "\t"))
    	for _, s := range secrets {
    		if includeConfigType {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. istioctl/cmd/options.go

    		Args:  cobra.ExactArgs(0),
    	}
    
    	retval.SetHelpFunc(func(c *cobra.Command, args []string) {
    		c.Printf("The following options can be passed to any command:\n")
    		// (Currently the only global options we show are help options)
    		rootCmd.PersistentFlags().VisitAll(func(flag *pflag.Flag) {
    			if _, ok := helpFlags[flag.Name]; ok {
    				// Currently every flag.Shorthand is "", so there is no point in showing shorthands
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/clioptions/central.go

    	XdsPodLabel string
    
    	// XdsPodPort is a port exposing XDS (typically 15010 or 15012)
    	XdsPodPort int
    
    	// CertDir is the local directory containing certificates
    	CertDir string
    
    	// Timeout is how long to wait before giving up on XDS
    	Timeout time.Duration
    
    	// InsecureSkipVerify skips client verification the server's certificate chain and host name.
    	InsecureSkipVerify bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest_shared_test.go

    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    	goldenFileSuffixShowChangesInReview = ".golden-show-in-gh-pull-request.yaml"
    )
    
    var (
    	// By default, tests only run with manifest generate, since it doesn't require any external fake test environment.
    	testedManifestCmds = []cmdType{cmdGenerate}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. istioctl/pkg/multixds/gather.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package multixds
    
    // multixds knows how to target either central Istiod or all the Istiod pods on a cluster.
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"io"
    	"net"
    	"net/url"
    	"os"
    	"strings"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    	}
    
    	// Make sure we can fit "size" on to the disk without getting above the diskFillFraction
    	if available < uint64(size) {
    		return false, nil
    	}
    
    	// How much will be left after adding the file.
    	available -= uint64(size)
    
    	// wantLeft is how much space there at least must be left.
    	wantLeft := uint64(float64(total) * (1.0 - diskFillFraction))
    	return available > wantLeft, nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. internal/grid/connection.go

    	}
    	if handler == nil {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler for type"}))
    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    		}
    		var b []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    					ExpiryLCConfig: &configStr,
    					UpdatedAt:      time.Now(),
    				})
    				if err != nil {
    					return errSRBucketMetaError(err)
    				}
    			}
    		}
    	}
    
    	// Order matters from now on how the information is
    	// synced to remote sites.
    
    	// Policies should be synced first.
    	{
    		// Replicate IAM policies on local to all peers.
    		allPolicyDocs, err := globalIAMSys.ListPolicyDocs(ctx, "")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. istioctl/pkg/xds/client.go

    	"google.golang.org/grpc/credentials"
    
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/adsc"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultExpirationSeconds is how long-lived a token to request (an hour)
    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top