"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "config.go" between
buildah-1.11.2.tar.gz and buildah-1.11.3.tar.gz

About: Buildah is a tool that facilitates building Open Container Initiative (OCI) container images.

config.go  (buildah-1.11.2):config.go  (buildah-1.11.3)
package buildah package buildah
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"runtime" "runtime"
"strings" "strings"
"time" "time"
"github.com/containers/buildah/docker" "github.com/containers/buildah/docker"
"github.com/containers/image/manifest" "github.com/containers/image/v4/manifest"
"github.com/containers/image/transports" "github.com/containers/image/v4/transports"
"github.com/containers/image/types" "github.com/containers/image/v4/types"
"github.com/containers/storage/pkg/stringid" "github.com/containers/storage/pkg/stringid"
ociv1 "github.com/opencontainers/image-spec/specs-go/v1" ociv1 "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )
// unmarshalConvertedConfig obtains the config blob of img valid for the wantedM anifestMIMEType format // unmarshalConvertedConfig obtains the config blob of img valid for the wantedM anifestMIMEType format
// (either as it exists, or converting the image if necessary), and unmarshals i t into dest. // (either as it exists, or converting the image if necessary), and unmarshals i t into dest.
// NOTE: The MIME type is of the _manifest_, not of the _config_ that is returne d. // NOTE: The MIME type is of the _manifest_, not of the _config_ that is returne d.
func unmarshalConvertedConfig(ctx context.Context, dest interface{}, img types.I mage, wantedManifestMIMEType string) error { func unmarshalConvertedConfig(ctx context.Context, dest interface{}, img types.I mage, wantedManifestMIMEType string) error {
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)