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

     1  // Copyright (c) 2017 Intel Corporation
     2  //
     3  // SPDX-License-Identifier: Apache-2.0
     4  //
     5  
     6  package virtcontainers
     7  
     8  type noopShim struct{}
     9  
    10  // start is the noopShim start implementation for testing purpose.
    11  // It does nothing.
    12  func (s *noopShim) start(sandbox *Sandbox, params ShimParams) (int, error) {
    13  	return 0, nil
    14  }