- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 998 for AsObject (0.27 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/errors/errors.go
return &ErrorReporter{ code: code, verb: verb, reason: reason, } } // AsObject returns a valid error runtime.Object (a v1.Status) for the given // error, using the code and verb of the reporter type. The error is set to // indicate that this was an unexpected server response. func (r *ErrorReporter) AsObject(err error) runtime.Object {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 21 03:41:32 UTC 2022 - 30.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummaryTest.kt
val subject = ConfigurationCacheProblemsSummary(maxCollectedProblems = 2) assertTrue( "1st problem", subject.onProblem(buildLogicProblem("build.gradle", "failure"), ProblemSeverity.Failure) ) assertTrue( "2nd problem (same message as 1st but different location)",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/apis/rbac/validation/validation.go
func ValidateRoleBindingSubject(subject rbac.Subject, isNamespaced bool, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} if len(subject.Name) == 0 { allErrs = append(allErrs, field.Required(fldPath.Child("name"), "")) } switch subject.Kind { case rbac.ServiceAccountKind: if len(subject.Name) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:48:21 UTC 2022 - 10.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/execution/plan/OrdinalGroupFactoryTest.groovy
given: def subject = new OrdinalGroupFactory() when: def g2 = subject.group(2) def g0 = subject.group(0) def g1 = subject.group(1) then: subject.allGroups == [g0, g1, g2] } def 'returns the same group for the same ordinal'() { given: def subject = new OrdinalGroupFactory() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 02 17:42:59 UTC 2022 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/UnboundRulesProcessorTest.groovy
) } def "creates unbound rules for multiple binders"() { binder { descriptor("firstRule") subjectReference("path.subject.first", String) } binder { descriptor("secondRule") subjectReference("path.subject.second", Number) } expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy
@Mutate void theRule(List subject, String input1, Integer input2, Set input3) { subject.add(input1) subject.add(input2) subject.addAll(input3) } } static class ArrayListRuleSource { @Mutate void theRule(ArrayList subject, String input1, Integer input2, Set input3) { subject.add(input1) subject.add(input2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/rule.go
for _, subject := range subjects { if matchesSubject(user, subject) { return true } } return false } func matchesSubject(user user.Info, subject flowcontrol.Subject) bool { switch subject.Kind { case flowcontrol.SubjectKindUser: return subject.User != nil && (subject.User.Name == flowcontrol.NameAll || subject.User.Name == user.GetName())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosCredentials.java
import java.util.List; import java.util.Set; import javax.security.auth.Subject; import javax.security.auth.kerberos.KerberosKey; import javax.security.auth.kerberos.KeyTab; import javax.security.auth.login.LoginContext; import javax.security.auth.login.LoginException; @SuppressWarnings ( "javadoc" ) public class KerberosCredentials { private Subject subject; public KerberosCredentials () throws LoginException {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/codegen/GradleApiExtensionsTest.kt
fun classToKClass(subject: ClassToKClass) { subject.rawClass(type = String::class) subject.unknownClass(type = String::class) subject.invariantClass(type = Number::class) subject.covariantClass(type = Int::class) subject.contravariantClass(type = Number::class)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Nov 12 16:16:08 UTC 2023 - 22.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedTransformOutputFixture.java
private final String initialSubjectType; private final String subject; private final String transformer; public GroupedTransformOutputFixture(String initialSubjectType, String subject, String transformer) { this.initialSubjectType = initialSubjectType; this.subject = subject; this.transformer = transformer; } public String getInitialSubjectType() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.6K bytes - Viewed (0)