Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLocalStorage (0.22 sec)

  1. pkg/kubelet/nodeshutdown/storage_test.go

    limitations under the License.
    */
    
    package nodeshutdown
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    )
    
    func TestLocalStorage(t *testing.T) {
    	var localStorageStateFileName = "graceful_node_shutdown_state"
    	tempdir := os.TempDir()
    	path := filepath.Join(tempdir, localStorageStateFileName)
    	l := localStorage{
    		Path: path,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 11 09:31:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top