Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestReadStaticPodFromDisk (0.16 sec)

  1. cmd/kubeadm/app/util/staticpod/utils_test.go

      name: etcd
      namespace: kube-system
    spec:
      containers:
      - image: gcr.io/google_containers/etcd-amd64:3.1.12
    status: {}
    `
    
    	invalidPod = `---{ broken yaml @@@`
    )
    
    func TestReadStaticPodFromDisk(t *testing.T) {
    	tests := []struct {
    		description   string
    		podYaml       string
    		expectErr     bool
    		writeManifest bool
    	}{
    		{
    			description:   "valid pod is marshaled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 15:44:44 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top