github.com/kata-containers/runtime@v0.0.0-20210505125100-04f29832a923/virtcontainers/shim/mock/kata-shim/shim.go (about)

     1  // Copyright (c) 2018 Intel Corporation
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  //
     5  
     6  package main
     7  
     8  import (
     9  	"github.com/kata-containers/runtime/virtcontainers/pkg/mock"
    10  )
    11  
    12  func main() {
    13  	config := mock.ShimMockConfig{
    14  		Name:               "kata-shim",
    15  		URLParamName:       "agent",
    16  		ContainerParamName: "container",
    17  		TokenParamName:     "exec-id",
    18  	}
    19  
    20  	mock.StartShim(config)
    21  }