Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 395 for podutil (0.1 sec)

  1. cmd/kubeadm/app/phases/controlplane/main_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package controlplane
    
    import (
    	"testing"
    
    	pkiutiltesting "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil/testing"
    )
    
    func TestMain(m *testing.M) {
    	pkiutiltesting.RunWithPrivateKeyFixtureDirectory(m)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 04 08:41:27 UTC 2021
    - 775 bytes
    - Viewed (0)
  2. test/linkmain_run.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Run the sinit test.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"strings"
    )
    
    var tmpDir string
    
    func cleanup() {
    	os.RemoveAll(tmpDir)
    }
    
    func run(cmdline ...string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiNamedClassOrObjectSymbol.kt

    import org.jetbrains.kotlin.psi.KtClassOrObject
    import org.jetbrains.kotlin.psi.KtEnumEntry
    import org.jetbrains.kotlin.psi.KtObjectDeclaration
    import org.jetbrains.kotlin.psi.psiUtil.hasActualModifier
    import org.jetbrains.kotlin.psi.psiUtil.hasExpectModifier
    import org.jetbrains.kotlin.resolve.BindingContext
    
    internal class KaFe10PsiNamedClassOrObjectSymbol(
        override val psi: KtClassOrObject,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 09:59:11 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. security/pkg/nodeagent/cache/secretcache.go

    	}
    
    	cacheLog.Debugf("constructed host name for CSR: %s", csrHostName.String())
    	options := pkiutil.CertOptions{
    		Host:       csrHostName.String(),
    		RSAKeySize: sc.configOptions.WorkloadRSAKeySize,
    		PKCS8Key:   sc.configOptions.Pkcs8Keys,
    		ECSigAlg:   pkiutil.SupportedECSignatureAlgorithms(sc.configOptions.ECCSigAlg),
    		ECCCurve:   pkiutil.SupportedEllipticCurves(sc.configOptions.ECCCurve),
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 04 08:29:46 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/attacher.go

    	if err != nil {
    		return nil, err
    	}
    	var podUID types.UID
    	if pod != nil {
    		secret, err = createSecretMap(spec, &iscsiPlugin{host: host, targetLocks: targetLocks}, pod.Namespace)
    		if err != nil {
    			return nil, err
    		}
    		podUID = pod.UID
    	}
    	iscsiDisk, err := createISCSIDisk(spec,
    		podUID,
    		&iscsiPlugin{host: host, targetLocks: targetLocks},
    		&ISCSIUtil{},
    		secret,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 04 08:51:31 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. pkg/volume/util/subpath/subpath_windows_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package subpath
    
    import (
    	"fmt"
    	"io/ioutil"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    func makeLink(link, target string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/podcgroupns_test.go

    		},
    	} {
    		tt := tt
    		t.Run(tt.name, func(t *testing.T) {
    			podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths))
    
    			if tt.expectMsg != "" {
    				assert.Equal(t, tt.expectMsg, err.Error())
    				return
    			}
    			assert.Equal(t, tt.expectPodUID, podUID)
    			assert.Equal(t, tt.expectContainerID, containerID)
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. istioctl/pkg/internaldebug/internal-debug_test.go

    	"google.golang.org/grpc"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/cli-runtime/pkg/resource"
    	"k8s.io/client-go/rest/fake"
    	cmdtesting "k8s.io/kubectl/pkg/cmd/testing"
    	cmdutil "k8s.io/kubectl/pkg/cmd/util"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/multixds"
    	"istio.io/istio/istioctl/pkg/xds"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/authentication_test.go

    			}
    		})
    	}
    }
    
    func TestApplyToFallback(t *testing.T) {
    
    	f, err := ioutil.TempFile("", "authkubeconfig")
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.Remove(f.Name())
    
    	if err := ioutil.WriteFile(f.Name(), []byte(`
    apiVersion: v1
    kind: Config
    clusters:
    - cluster:
        server: http://localhost:56789
      name: cluster
    contexts:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 15:01:56 UTC 2019
    - 6.9K bytes
    - Viewed (0)
  10. test/fixedbugs/bug358.go

    // license that can be found in the LICENSE file.
    
    // issue 1979
    // used to get internal compiler error too
    
    package main
    
    import (
    	// avoid imported and not used errors
    	// "io/ioutil"
    	"net/http"
    	// "os"
    )
    
    func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 04 06:36:33 UTC 2021
    - 601 bytes
    - Viewed (0)
Back to top