github.com/tri-adam/singularity@v3.1.1+incompatible/internal/pkg/runtime/engines/config/oci/command.go (about) 1 // Copyright (c) 2018, Sylabs Inc. All rights reserved. 2 // This software is licensed under a 3-clause BSD license. Please consult the 3 // LICENSE.md file distributed with the sources of this project regarding your 4 // rights to use or distribute this software. 5 6 package oci 7 8 import ( 9 specs "github.com/opencontainers/runtime-spec/specs-go" 10 ) 11 12 // Command describes the interface for a compliant OCI runtime 13 type Command interface { 14 State(id string) *specs.State 15 Create(id string, bundle string) 16 Start(id string) 17 Kill(id string, signal int) 18 Delete(id string) 19 }