Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for stringVar (0.14 sec)

  1. pkg/log/options.go

    	o.AttachFlags(
    		cmd.PersistentFlags().StringArrayVar,
    		cmd.PersistentFlags().StringVar,
    		cmd.PersistentFlags().IntVar,
    		cmd.PersistentFlags().BoolVar)
    }
    
    // AttachFlags allows attaching of flags through a set of lambda functions.
    func (o *Options) AttachFlags(
    	stringArrayVar func(p *[]string, name string, value []string, usage string),
    	stringVar func(p *string, name string, value string, usage string),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	common.attach(cmd)
    	cmd.PersistentFlags().StringVar(&address, "address", "", "Filter workloads by address field")
    	cmd.PersistentFlags().StringVar(&workloadsNamespace, "workload-namespace", "",
    		"Filter workloads by namespace field")
    	cmd.PersistentFlags().StringVar(&workloadNode, "workload-node", "",
    		"Filter workloads by node")
    
    	return cmd
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. istioctl/pkg/waypoint/waypoint.go

    			return nil
    		},
    	}
    
    	waypointApplyCmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", "The revision to label the waypoint with")
    	waypointApplyCmd.PersistentFlags().BoolVarP(&waitReady, "wait", "w", false, "Wait for the waypoint to be ready")
    	waypointCmd.AddCommand(waypointApplyCmd)
    	waypointGenerateCmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", "The revision to label the waypoint with")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. internal/grid/debugmsg_string.go

    // Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[debugShutdown-0]
    	_ = x[debugKillInbound-1]
    	_ = x[debugKillOutbound-2]
    	_ = x[debugWaitForExit-3]
    	_ = x[debugSetConnPingDuration-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. pkg/controller/endpointslice/endpointslice_controller_test.go

    				{
    					Name:     pointer.StringPtr("sctp-example"),
    					Protocol: protoPtr(v1.ProtocolSCTP),
    					Port:     pointer.Int32Ptr(int32(3456)),
    				},
    				{
    					Name:     pointer.StringPtr("udp-example"),
    					Protocol: protoPtr(v1.ProtocolUDP),
    					Port:     pointer.Int32Ptr(int32(161)),
    				},
    				{
    					Name:     pointer.StringPtr("tcp-example"),
    					Protocol: protoPtr(v1.ProtocolTCP),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/helpers_test.go

    }
    
    //lint:file-ignore U1000 Ignore dummy types, used by tests.
    
    // dummy helper types
    type foo struct {
    	foo int
    }
    type bar struct {
    	str    string
    	strptr *string
    
    	ints      []int
    	stringMap map[string]string
    
    	foo    foo
    	fooptr *foo
    
    	bars   []foo
    	barMap map[string]foo
    
    	skipRecurseStruct  foo
    	skipRecursePointer *foo
    	skipRecurseList1   []foo
    	skipRecurseList2   []foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/cluster/cluster.go

    //  limitations under the License.
    
    package cluster
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/kube"
    )
    
    // Cluster in a multicluster environment.
    type Cluster interface {
    	fmt.Stringer
    	kube.CLIClient
    
    	// Name of this cluster. Use for interacting with the cluster or validation against clusters.
    	// Use StableName instead of Name when creating subtests.
    	Name() string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. internal/grid/debug.go

    package grid
    
    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top