Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Unmarshal (0.23 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

         */
        BeanConfigurationRequest setBean(Object bean);
    
        /**
         * Gets the configuration to unmarshal into the bean.
         *
         * @return The configuration to unmarshal into the bean or {@code null} if none.
         */
        Object getConfiguration();
    
        /**
         * Sets the configuration to unmarshal into the bean. The configuration should be taken from
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    		Algorithm: c.Algorithm.String(),
    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    func (c *ChecksumInfo) UnmarshalJSON(data []byte) error {
    	var info checksumInfoJSON
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &info); err != nil {
    		return err
    	}
    	sum, err := hex.DecodeString(info.Hash)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    		if err != nil {
    			fmt.Printf("Error getting configmap %s: %v\n", configMapName, err)
    		}
    		meshData := make(map[string]interface{})
    		if data, exists := configMap.Data["mesh"]; exists {
    			if err := yaml.Unmarshal([]byte(data), &meshData); err != nil {
    				fmt.Printf("Error parsing meshConfig: %v\n", err)
    				return err
    			}
    		}
    		if scopingImpacted = meshData["discoverySelectors"] != nil; !scopingImpacted {
    			continue
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			// This code-path is to preserve the legacy data.
    			xlMetaLegacy := &xlMetaV1Object{}
    			json := jsoniter.ConfigCompatibleWithStandardLibrary
    			if err := json.Unmarshal(dstBuf, xlMetaLegacy); err != nil {
    				storageLogOnceIf(ctx, err, "read-data-unmarshal-"+dstFilePath)
    				// Data appears corrupt. Drop data.
    			} else {
    				xlMetaLegacy.DataDir = legacyDataDir
    				if err = xlMeta.AddLegacy(xlMetaLegacy); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    	if v, ok := anno[label.IoIstioRev.Name]; ok {
    		return v
    	}
    	statusString := anno.Get(apiannotation.SidecarStatus.Name)
    	var injectionStatus inject.SidecarInjectionStatus
    	if err := json.Unmarshal([]byte(statusString), &injectionStatus); err != nil {
    		return ""
    	}
    
    	return injectionStatus.Revision
    }
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	describeCmd := &cobra.Command{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig.go

    			Global struct {
    				Proxy struct {
    					LogLevel string `json:"logLevel"`
    				} `json:"proxy"`
    			} `json:"global"`
    		} `json:"sidecarInjectorWebhook"`
    	}
    	if err := yaml.Unmarshal([]byte(valuesConfig), &values); err != nil {
    		return "", fmt.Errorf("failed to parse values config: %v [%v]", err, valuesConfig)
    	}
    	return values.SidecarInjectorWebhook.Global.Proxy.LogLevel, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    		return backgroundHealInfo{}
    	}
    	var info backgroundHealInfo
    	if err = json.Unmarshal(buf, &info); err != nil {
    		bugLogIf(ctx, err, backgroundHealInfoPath)
    	}
    	return info
    }
    
    func saveBackgroundHealInfo(ctx context.Context, objAPI ObjectLayer, info backgroundHealInfo) {
    	if globalIsErasureSD {
    		return
    	}
    
    	b, err := json.Marshal(info)
    	if err != nil {
    		bugLogIf(ctx, err)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    			}
    			for za0001 := range x.versions {
    				start := len(allMeta) - len(bts)
    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    					meta:   allMeta[start:end],
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A
     * common use case for such preprocessing is the evaluation of variables within the configuration value.
     *
     */
    public interface BeanConfigurationValuePreprocessor {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works
     * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top