Add server config for stream processors

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2019-08-02 17:43:22 +00:00
parent 97a98773cf
commit 366823727f
5 changed files with 78 additions and 24 deletions

View File

@@ -20,6 +20,7 @@ import (
"context"
"github.com/containerd/containerd/mount"
"github.com/gogo/protobuf/types"
ocispec "github.com/opencontainers/image-spec/specs-go/v1"
)
@@ -54,7 +55,7 @@ type Comparer interface {
// ApplyConfig is used to hold parameters needed for a apply operation
type ApplyConfig struct {
// ProcessorPayloads specifies the payload sent to various processors
ProcessorPayloads map[string]interface{}
ProcessorPayloads map[string]*types.Any
}
// ApplyOpt is used to configure an Apply operation