- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for Decode (0.21 sec)
-
istioctl/pkg/tag/generate.go
Yaml: true, Pretty: true, Strict: true, }) whObject, _, err := deserializer.Decode([]byte(validatingWebhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{}) if err != nil { return "", fmt.Errorf("could not decode generated webhook: %w", err) } decodedWh := whObject.(*admitv1.ValidatingWebhookConfiguration) for i := range decodedWh.Webhooks {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
common-protos/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
// Spec is an empty spec. It is here to comply with Kubernetes API style. optional StorageVersionSpec spec = 2; // API server instances report the version they can decode and the version they // encode objects to when persisting objects in the backend. optional StorageVersionStatus status = 3; } // Describes the state of the storageVersion at a certain point. message StorageVersionCondition {
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 4.1K bytes - Viewed (0) -
licenses/github.com/hashicorp/go-multierror/LICENSE
10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached. Exhibit A - Source Code Form License Notice This Source Code Form is subject to the
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Oct 26 02:47:39 GMT 2019 - 15.6K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1/generated.proto
message CSINodeSpec { // drivers is a list of information of all CSI Drivers existing on a node. // If all drivers in the list are uninstalled, this can become empty. // +patchMergeKey=name // +patchStrategy=merge repeated CSINodeDriver drivers = 1; } // CSIStorageCapacity stores the result of one CSI GetCapacity call.
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 24.7K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
} err = json.NewDecoder(resp.Body).Decode(&scopeInfos) if err != nil { return nil, fmt.Errorf("cannot deserialize response %s", err) } return scopeInfos, nil } func (c *ControlzClient) PutScope(scope *ScopeInfo) error { var jsonScopeInfo bytes.Buffer err := json.NewEncoder(&jsonScopeInfo).Encode(scope) if err != nil { return fmt.Errorf("cannot serialize scope %+v", *scope)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
) (validation.Warning, error) { decoder := yaml.NewDecoder(reader) decoder.SetStrict(true) var errs error var warnings validation.Warning for { // YAML allows non-string keys and the produces generic keys for nested fields raw := make(map[any]any) err := decoder.Decode(&raw) if err == io.EOF { return warnings, errs } if err != nil {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// scheduled right away as preemption victims receive their graceful termination periods. // This field does not guarantee that the pod will be scheduled on this node. Scheduler may decide // to place the pod elsewhere if other nodes become available sooner. Scheduler may also decide to // give the resources on this node to a higher priority pod that is created after preemption.
Plain Text - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 255.8K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
return nil, err } var obj runtime.Object var ar *kube.AdmissionReview out, _, err := deserializer.Decode(body, nil, obj) if err != nil { return nil, fmt.Errorf("could not decode body: %v", err) } ar, err = kube.AdmissionReviewKubeToAdapter(out) if err != nil { return nil, fmt.Errorf("could not decode object: %v", err) } return ar.Response.Patch, nil } var (
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
} webhookYAML, err := generateValidatingWebhook(webhookConfig, opts) if err != nil { t.Fatalf("tag webhook YAML generation failed with error: %v", err) } vwhObject, _, err := deserializer.Decode([]byte(webhookYAML), nil, &admitv1.ValidatingWebhookConfiguration{}) if err != nil { t.Fatalf("could not parse webhook from generated YAML: %s", vwhObject) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
if err != nil { return SecretItem{}, fmt.Errorf("error building secret: %v", err) } return secret, nil } func secretMetaFromCert(rawCert []byte) (SecretMeta, error) { block, _ := pem.Decode(rawCert) if block == nil { return SecretMeta{}, fmt.Errorf("failed to parse certificate PEM") } cert, err := x509.ParseCertificate(block.Bytes) if err != nil { return SecretMeta{}, err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0)