- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for sniNames (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/cert_key.go
type sniCertKeyContent struct { certKeyContent sniNames []string } func (c *sniCertKeyContent) Equal(rhs *sniCertKeyContent) bool { if c == nil || rhs == nil { return c == rhs } if len(c.sniNames) != len(rhs.sniNames) { return false } for i := range c.sniNames { if c.sniNames[i] != rhs.sniNames[i] { return false } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/static_content.go
} return &staticSNICertKeyContent{ staticCertKeyContent: staticCertKeyContent{ name: name, cert: cert, key: key, }, sniNames: sniNames, }, nil } func (c *staticSNICertKeyContent) SNINames() []string { return c.sniNames }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/cert_key_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 22 13:27:45 UTC 2019 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/dynamic_sni_content.go
DynamicCertKeyPairContent: servingContent, sniNames: sniNames, } if err := ret.loadCertKeyPair(); err != nil { return nil, err } return ret, nil } // SNINames returns explicitly set SNI names for the certificate. These are not dynamic. func (c *DynamicFileSNIContent) SNINames() []string { return c.sniNames
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/interfaces.go
// well as optional explicit names. type SNICertKeyContentProvider interface { Notifier CertKeyContentProvider // SNINames provides names used for SNI. May return nil. SNINames() []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 12 18:29:15 UTC 2021 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig_test.go
// ignore sni names for serving cert servingCert: certKeyContent{cert: serverCert, key: serverKey}, sniCerts: []sniCertKeyContent{{certKeyContent: certKeyContent{cert: serverCert, key: serverKey}, sniNames: []string{"foo"}}}, }, }, { name: "nil", expected: &dynamicCertificateContent{clientCA: caBundleContent{}, servingCert: certKeyContent{}}, }, } for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/tlsconfig.go
} newContent.sniCerts = append(newContent.sniCerts, sniCertKeyContent{certKeyContent: certKeyContent{cert: currCert, key: currKey}, sniNames: sniCert.SNINames()}) } return newContent, nil } // syncCerts gets newTLSContent, if it has changed from the existing, the content is parsed and stored for usage in // GetConfigForClient.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go
} // error is not possible given above call to X509KeyPair x509Cert, _ := x509.ParseCertificate(cert.Certificate[0]) names := sniCerts[i].sniNames for _, name := range names { byNameExplicit[name] = &cert } klog.V(2).InfoS("Loaded SNI cert", "index", i, "certName", c.sniCerts[i].Name(), "certDetail", GetHumanCertDetail(x509Cert))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 21 07:29:30 UTC 2022 - 3.2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/sidecar/selector.go
reportedResources[rs.Metadata.FullName.String()] = true } } continue } if len(sList) > 1 { sNames := getNames(sList) for _, r := range sList { c.Report(gvk.Sidecar, msg.NewMultipleSidecarsWithoutWorkloadSelectors(r, sNames, string(ns))) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
pkg/bootstrap/option/convert.go
} return convertToJSON(upstreamConnectionOptions), nil } } func transportSocketConverter(tls *networkingAPI.ClientTLSSettings, sniName string, metadata *model.BootstrapNodeMetadata, isH2 bool) convertFunc { return func(*instance) (any, error) { tlsContext := tlsContextConvert(tls, sniName, metadata) if tlsContext == nil { return "", nil } if !isH2 { tlsContext.CommonTlsContext.AlpnProtocols = nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 00:35:05 UTC 2024 - 10.2K bytes - Viewed (0)