Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewCLIContext (0.19 sec)

  1. operator/cmd/mesh.go

    	binversion "istio.io/istio/operator/version"
    	"istio.io/istio/pkg/version"
    )
    
    func main() {
    	version.Info.Version = binversion.OperatorVersionString
    	rootCmd := mesh.GetRootCmd(cli.NewCLIContext(nil), os.Args[1:])
    	if err := rootCmd.Execute(); err != nil {
    		os.Exit(1)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 963 bytes
    - Viewed (0)
  2. istioctl/pkg/cli/context.go

    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    	return kube.NewCLIClient(kube.NewClientConfigForRestConfig(rc), kube.WithRevision(revision))
    }
    
    func NewCLIContext(rootFlags *RootFlags) Context {
    	if rootFlags == nil {
    		rootFlags = &RootFlags{
    			kubeconfig:       ptr.Of[string](""),
    			configContext:    ptr.Of[string](""),
    			namespace:        ptr.Of[string](""),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top