- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 217 for recognizers (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/recognizer/recognizer.go
skipped = append(skipped, t) } } // try recognizers that returned unknown or didn't recognize their data for _, r := range skipped { out, actual, err := r.Decode(data, gvk, into) if err != nil { // if we got an object back from the decoder, and the // error was a strict decoding error (e.g. unknown or // duplicate fields), we still consider the recognizer // to have understood the object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 21:24:36 UTC 2021 - 3.5K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove.go
approver := &sarApprover{ client: client, recognizers: recognizers(), } return certificates.NewCertificateController( ctx, "csrapproving", client, csrInformer, approver.handle, ) } func recognizers() []csrRecognizer { recognizers := []csrRecognizer{ { recognize: isSelfNodeClientCert,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 16:03:42 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove_test.go
}) approver := sarApprover{ client: client, recognizers: []csrRecognizer{ { successMessage: "tester", permission: authorization.ResourceAttributes{Group: "foo", Resource: "bar", Subresource: "baz"}, recognize: func(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool { return c.recognized }, }, }, } csr := makeTestCsr()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 7.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt
assertFalse(instance.isFileSystemCheckIgnoredFor(File("xyz/abc"))) } @Test fun `recognizes relative paths against rootDirectory`() { val instance = createFromPaths(listOf("test/123")) assertTrue(instance.isFileSystemCheckIgnoredFor(rootDir.resolve("test/123"))) } @Test fun `recognizes multiple paths`() { val instance = createFromPaths(listOf("path/one", "path/two"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/crdserverscheme/unstructured.go
} return nil, false, runtime.NewNotRegisteredErrForType("crdserverscheme.UnstructuredObjectTyper", reflect.TypeOf(obj)) } // Recognizes returns true if the provided group,version,kind was in the // discovery information. func (d *UnstructuredObjectTyper) Recognizes(gvk schema.GroupVersionKind) bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 06 18:08:14 UTC 2018 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/test/runtime_serializer_protobuf_protobuf_test.go
if ok, _, err := s.RecognizesData(data); err != nil || ok { t.Errorf("%d: should not recognize data: %v", i, err) } } recognizes := [][]byte{ {0x6b, 0x38, 0x73, 0x00}, {0x6b, 0x38, 0x73, 0x00, 0x01}, } for i, data := range recognizes { if ok, _, err := s.RecognizesData(data); err != nil || !ok { t.Errorf("%d: should recognize data: %v", i, err) } } } func TestEncode(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 8.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/KotlinBuildScriptPatternTest.kt
) } @Test fun `recognizes build scripts from script templates`() { checkScriptRecognizedBy(KotlinProjectScriptTemplate::class, ScriptType.BUILD) } @Test fun `recognizes settings scripts from script templates`() { checkScriptRecognizedBy(KotlinSettingsScriptTemplate::class, ScriptType.SETTINGS) } @Test fun `recognizes init scripts from script templates`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go
"k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes" "k8s.io/apimachinery/pkg/runtime/serializer/recognizer" util "k8s.io/apimachinery/pkg/util/runtime" "github.com/fxamacker/cbor/v2" ) type metaFactory interface { // Interpret should return the version and kind of the wire-format of the object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy
import spock.lang.Issue @LocalOnly class ChangesBetweenBuildsFileSystemWatchingIntegrationTest extends AbstractFileSystemWatchingIntegrationTest { def "source file changes are recognized"() { buildFile << """ apply plugin: "application" application.mainClass = "Main" """ def mainSourceFileRelativePath = "src/main/java/Main.java"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.1K bytes - Viewed (0) -
docs/en/docs/tutorial/body.md
**FastAPI** will recognize each of them and take the data from the correct place. === "Python 3.10+" ```Python hl_lines="16" {!> ../../../docs_src/body/tutorial004_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="18" {!> ../../../docs_src/body/tutorial004.py!} ``` The function parameters will be recognized as follows:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 7.3K bytes - Viewed (0)