Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for podutil (0.13 sec)

  1. test/linkobj.go

    	}
    	return string(out)
    }
    
    func cp(src, dst string) {
    	data, err := ioutil.ReadFile(src)
    	if err != nil {
    		fatalf("%v", err)
    	}
    	err = ioutil.WriteFile(dst, data, 0666)
    	if err != nil {
    		fatalf("%v", err)
    	}
    }
    
    func writeFile(name, data string) {
    	err := ioutil.WriteFile(name, []byte(data), 0666)
    	if err != nil {
    		fatalf("%v", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/renewal/filerenewer_test.go

    	"crypto/x509"
    	"testing"
    
    	certutil "k8s.io/client-go/util/cert"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil"
    )
    
    func TestFileRenewer(t *testing.T) {
    	// creates a File renewer using a test Certificate authority
    	fr := NewFileRenewer(testCACert, testCAKey)
    
    	// renews a certificate
    	certCfg := &pkiutil.CertConfig{
    		Config: certutil.Config{
    			CommonName: "test-certs",
    			AltNames: certutil.AltNames{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 28 04:36:54 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/AbstractStandaloneSessionBuilderAgainstStdlibTest.kt

    import org.jetbrains.kotlin.psi.KtCallExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedFunction
    import org.jetbrains.kotlin.psi.KtTypeReference
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.junit.jupiter.api.Assertions
    import java.nio.file.Path
    
    @OptIn(KaAnalysisApiInternals::class)
    abstract class AbstractStandaloneSessionBuilderAgainstStdlibTest : TestWithDisposable() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/PublicKeySerializer.java

    import org.bouncycastle.openpgp.PGPObjectFactory;
    import org.bouncycastle.openpgp.PGPPublicKey;
    import org.bouncycastle.openpgp.PGPPublicKeyRing;
    import org.bouncycastle.openpgp.PGPUtil;
    import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator;
    import org.gradle.internal.serialize.AbstractSerializer;
    import org.gradle.internal.serialize.Decoder;
    import org.gradle.internal.serialize.Encoder;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue19658.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const fn = `
    package main
    
    import  "errors"
    type S struct {
    
    }
    func (s S) String() string {
    	return "s-stringer"
    }
    func main() {
     	_ = errors.New
      panic(%s(%s))
    }
    `
    
    func main() {
    	tempDir, err := ioutil.TempDir("", "")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. src/io/ioutil/ioutil_test.go

    		switch {
    		case !dir.IsDir() && dir.Name() == "io_test.go":
    			foundFile = true
    		case dir.IsDir() && dir.Name() == "ioutil":
    			foundSubDir = true
    		}
    	}
    	if !foundFile {
    		t.Fatalf("ReadDir %s: io_test.go file not found", dirname)
    	}
    	if !foundSubDir {
    		t.Fatalf("ReadDir %s: ioutil directory not found", dirname)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/visibilityChecker/AbstractVisibilityCheckerTest.kt

    import org.jetbrains.kotlin.psi.KtExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedDeclaration
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.jetbrains.kotlin.test.services.TestServices
    import org.jetbrains.kotlin.test.services.assertions
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 16:12:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. pkg/test/framework/components/istio/ca.go

    	if err != nil {
    		return Cert{}, err
    	}
    
    	san := fmt.Sprintf("spiffe://%s/ns/%s/sa/%s", "cluster.local", namespace, serviceAccount)
    	options := pkiutil.CertOptions{
    		Host:       san,
    		RSAKeySize: 2048,
    	}
    	// Generate the cert/key, send CSR to CA.
    	csrPEM, keyPEM, err := pkiutil.GenCSR(options)
    	if err != nil {
    		return Cert{}, err
    	}
    	a, err := i.InternalDiscoveryAddressFor(c)
    	if err != nil {
    		return Cert{}, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SimpleKeyRing.groovy

    import org.bouncycastle.openpgp.PGPPublicKeyRingCollection
    import org.bouncycastle.openpgp.PGPSecretKey
    import org.bouncycastle.openpgp.PGPSignature
    import org.bouncycastle.openpgp.PGPSignatureGenerator
    import org.bouncycastle.openpgp.PGPUtil
    import org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder
    import org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
    import org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. pkg/kubelet/util/format/pod.go

    // with pod UID as part of the string.
    func PodDesc(podName, podNamespace string, podUID types.UID) string {
    	// Use underscore as the delimiter because it is not allowed in pod name
    	// (DNS subdomain format), while allowed in the container name format.
    	return fmt.Sprintf("%s_%s(%s)", podName, podNamespace, podUID)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 13 08:27:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top