- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 109 for KeyFile (0.18 sec)
-
docs/iam/access-manager-plugin.go
serveFunc := func() error { return http.ListenAndServe(":8080", nil) } if certFile != "" || keyFile != "" { if certFile == "" || keyFile == "" { log.Fatal("Please provide both a key file and a cert file to enable TLS.") } serveFunc = func() error { return http.ListenAndServeTLS(":8080", certFile, keyFile, nil) } } http.HandleFunc("/", mainHandler) log.Print("Listening on :8080")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving.go
CertFile string // KeyFile is a file containing a PEM-encoded private key for the certificate specified by CertFile KeyFile string } type GeneratableKeyCert struct { // CertKey allows setting an explicit cert/key file to use. CertKey CertKey // CertDirectory specifies a directory to write generated certificates to if CertFile/KeyFile aren't explicitly set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 13:08:18 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/kubelet/certificate/kubelet.go
if err != nil { klog.ErrorS(err, "invalid certificate and key pair from file", "certFile", m.certFile, "keyFile", m.keyFile) return } m.currentTLSCertificate.Store(&cert) klog.V(4).InfoS("loaded certificate and key pair in kubelet server certificate manager", "certFile", m.certFile, "keyFile", m.keyFile) } // Current returns the last valid certificate key pair loaded from files.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 03:07:16 UTC 2024 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_serving_content.go
func NewDynamicServingContentFromFiles(purpose, certFile, keyFile string) (*DynamicCertKeyPairContent, error) { if len(certFile) == 0 || len(keyFile) == 0 { return nil, fmt.Errorf("missing filename for serving cert") } name := fmt.Sprintf("%s::%s::%s", purpose, certFile, keyFile) ret := &DynamicCertKeyPairContent{ name: name, certFile: certFile, keyFile: keyFile, queue: workqueue.NewTypedRateLimitingQueueWithConfig(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 6.9K bytes - Viewed (0) -
cmd/kube-controller-manager/app/certificates.go
} func areKubeletClientSignerFilesSpecified(config csrsigningconfig.CSRSigningControllerConfiguration) bool { // if only one is specified, it will error later during construction return len(config.KubeletClientSignerConfiguration.CertFile) > 0 || len(config.KubeletClientSignerConfiguration.KeyFile) > 0 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 11:28:02 UTC 2023 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go
certBundleFile := filepath.Join(sniDir, "cert") keyFile := filepath.Join(sniDir, "key") err := getOrCreateTestCertFiles(certBundleFile, keyFile, c.TestCertSpec) if err != nil { t.Fatalf("failed to create SNI cert %d: %v", j, err) } namedCertKeys = append(namedCertKeys, cliflag.NamedCertKey{ KeyFile: keyFile, CertFile: certBundleFile, Names: c.explicitNames, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 15:52:39 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/kubelet/client/kubelet_client_test.go
) func TestMakeTransportInvalid(t *testing.T) { config := &KubeletClientConfig{ // Invalid certificate and key path TLSClientConfig: KubeletTLSConfig{ CertFile: "../../client/testdata/mycertinvalid.cer", KeyFile: "../../client/testdata/mycertinvalid.key", CAFile: "../../client/testdata/myCA.cer", }, } rt, err := MakeTransport(config) if err == nil { t.Errorf("Expected an error") } if rt != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 07 01:34:49 UTC 2023 - 2.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/DeploymentContinuousBuildIntegrationTest.groovy
then: def key = fixture.keyFile.text fixture.assertDeploymentIsRunning(key) buildTimes.size() == 2 buildTimes[0] >= buildTimes[1] } @ToBeFixedForConfigurationCache def "deployment in continuous build reports accurate build time" () { when: succeeds("runDeployment") then: def key = fixture.keyFile.text
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.2K bytes - Viewed (0) -
pkg/controller/certificates/signer/config/v1alpha1/zz_generated.conversion.go
} func autoConvert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration(in *v1alpha1.CSRSigningConfiguration, out *config.CSRSigningConfiguration, s conversion.Scope) error { out.CertFile = in.CertFile out.KeyFile = in.KeyFile return nil } // Convert_v1alpha1_CSRSigningConfiguration_To_config_CSRSigningConfiguration is an autogenerated conversion function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 8K bytes - Viewed (0) -
pkg/controller/certificates/signer/config/types.go
type CSRSigningConfiguration struct { // certFile is the filename containing a PEM-encoded // X509 CA certificate used to issue certificates CertFile string // keyFile is the filename containing a PEM-encoded // RSA or ECDSA private key used to issue certificates KeyFile string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 02 03:38:15 UTC 2021 - 2.4K bytes - Viewed (0)