Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for Scheme (0.2 sec)

  1. istioctl/pkg/admin/istiodconfig.go

    			err = portForwarder.Start()
    			if err != nil {
    				return fmt.Errorf("could not start port forwarder for ControlZ %s: %v", podName, err)
    			}
    
    			ctrlzClient := &ControlzClient{
    				baseURL: &url.URL{
    					Scheme: "http",
    					Host:   portForwarder.Address(),
    					Path:   "scopej",
    				},
    				httpClient: &http.Client{},
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	if err != nil {
    		return nil, fmt.Errorf("could not decode object: %v", err)
    	}
    
    	return ar.Response.Patch, nil
    }
    
    var (
    	runtimeScheme = func() *runtime.Scheme {
    		r := runtime.NewScheme()
    		r.AddKnownTypes(admissionv1beta1.SchemeGroupVersion, &admissionv1beta1.AdmissionReview{})
    		r.AddKnownTypes(admission.SchemeGroupVersion, &admission.AdmissionReview{})
    		return r
    	}()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    changes in [../profiles/default.yaml](../profiles/default.yaml) ## Step 3. Update istioctl schema Istioctl uses a [schema](../../operator/pkg/apis/istio/v1alpha1/values_types.proto) to validate the values. Any changes to the schema must be added here, otherwise istioctl users will see errors. Once the schema file is updated, run: ```bash $ make operator-proto ``` This will regenerate the Go structs used for schema validation. ## Step 4. Update the generated manifests Tests of istioctl use the auto-generated...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  4. operator/cmd/mesh/shared.go

    		case "N", "NO":
    			return false
    		}
    	}
    }
    
    func KubernetesClients(kubeClient kube.CLIClient, l clog.Logger) (kube.CLIClient, client.Client, error) {
    	client, err := client.New(kubeClient.RESTConfig(), client.Options{Scheme: kube.IstioScheme})
    	if err != nil {
    		return nil, nil, err
    	}
    	if err := k8sversion.IsK8VersionSupported(kubeClient, l); err != nil {
    		return nil, nil, fmt.Errorf("check minimum supported Kubernetes version: %v", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    			scheme := protocolToScheme[protocol]
    			portSuffix := ""
    			if schemePortDefault[scheme] != nport {
    				portSuffix = fmt.Sprintf(":%d", nport)
    			}
    			ip := ingress.getIngressIP()
    			fmt.Fprintf(writer, "%sExposed on Ingress Gateway %s://%s%s\n", printSpaces(initPrintNum), scheme, ip, portSuffix)
    		}
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/remote_secret.go

    )
    
    var (
    	codec  runtime.Codec
    	scheme *runtime.Scheme
    
    	tokenWaitBackoff = time.Second
    )
    
    func init() {
    	scheme = runtime.NewScheme()
    	utilruntime.Must(v1.AddToScheme(scheme))
    	opt := json.SerializerOptions{
    		Yaml:   true,
    		Pretty: false,
    		Strict: false,
    	}
    	yamlSerializer := json.NewSerializerWithOptions(json.DefaultMetaFactory, scheme, scheme, opt)
    	codec = versioning.NewDefaultingCodecForScheme(
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  7. cni/pkg/install/kubeconfig.go

    			contextName: {
    				AuthInfo: userName,
    				Cluster:  clusterName,
    			},
    		},
    		CurrentContext: contextName,
    	}
    
    	lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion)
    	if err != nil {
    		return kubeconfig{}, err
    	}
    	// Convert to v1 schema which has proper encoding
    	fullYaml, err := yaml.Marshal(lcfg)
    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	// Log with redaction
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate.go

    		return strings.Contains(tmplName, vwhTemplateName)
    	})
    	if err != nil {
    		return "", fmt.Errorf("failed rendering istio-control manifest: %v", err)
    	}
    
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    	serializer := json.NewSerializerWithOptions(
    		json.DefaultMetaFactory, nil, nil, json.SerializerOptions{
    			Yaml:   true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. manifests/charts/UPDATING-CHARTS.md

    ## Step 3. Update istioctl schema
    
    Istioctl uses a [schema](../../operator/pkg/apis/istio/v1alpha1/values_types.proto) to validate the values. Any changes to
    the schema must be added here, otherwise istioctl users will see errors.
    Once the schema file is updated, run:
    
    ```bash
    $ make operator-proto
    ```
    
    This will regenerate the Go structs used for schema validation.
    
    ## Step 4. Update the generated manifests
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 27 18:28:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. istioctl/pkg/xds/google.go

    	"fmt"
    	"strings"
    
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    	"google.golang.org/grpc/credentials/oauth"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    
    	"istio.io/istio/pkg/kube"
    )
    
    type meshAuthCredentials struct {
    	k8sCreds credentials.PerRPCCredentials
    	gcpCreds credentials.PerRPCCredentials
    	project  string
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Nov 14 20:23:34 GMT 2022
    - 3.4K bytes
    - Viewed (0)
Back to top