...

Source file src/github.com/Microsoft/hcsshim/internal/uvm/delete_container.go

Documentation: github.com/Microsoft/hcsshim/internal/uvm

     1  //go:build windows
     2  
     3  package uvm
     4  
     5  import (
     6  	"context"
     7  	"errors"
     8  )
     9  
    10  func (uvm *UtilityVM) DeleteContainerState(ctx context.Context, cid string) error {
    11  	if !uvm.DeleteContainerStateSupported() {
    12  		return errors.New("uvm guest connection does not support deleteContainerState")
    13  	}
    14  
    15  	return uvm.gc.DeleteContainerState(ctx, cid)
    16  }
    17  

View as plain text