- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 405 for AsObject (0.21 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) -
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) -
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) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy
MyPlugin.Rules#mutateThing2(MyPlugin.MyThing2, MyPlugin.MyThing3, String, Integer) subject: - <no path> MyPlugin.MyThing2 (parameter 1) [*] inputs: - <no path> MyPlugin.MyThing3 (parameter 2) [*] - <no path> String (parameter 3) [*] - <no path> Integer (parameter 4) [*] MyPlugin.Rules#subjectOnly(MyPlugin.MyThing2) subject: - <no path> MyPlugin.MyThing2 (parameter 1) [*]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.3K bytes - Viewed (0) -
pkg/apis/flowcontrol/validation/validation.go
// ValidateFlowSchemaSubject validates flow-schema's subject object. func ValidateFlowSchemaSubject(subject *flowcontrol.Subject, fldPath *field.Path) field.ErrorList { var allErrs field.ErrorList switch subject.Kind { case flowcontrol.SubjectKindServiceAccount: allErrs = append(allErrs, ValidateServiceAccountSubject(subject.ServiceAccount, fldPath.Child("serviceAccount"))...) if subject.User != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 26.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java
ModelRuleDescriptor descriptor = sourceDescriptor.append("named(%s)", name); ModelReference<T> subject = ModelReference.of(modelNode.getPath().child(name), elementType); modelNode.applyToLink(ModelActionRole.Mutate, new FilteringActionWrapper<T>(elementFilter, subject, NoInputsModelAction.of(subject, descriptor, configAction))); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 23K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 22K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/match_test.go
Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindUser, User: &flowcontrol.UserSubject{Name: "goodu"}}}, ResourceRules: []flowcontrol.ResourcePolicyRule{{ Verbs: []string{"goodverb"}, APIGroups: []string{"goodapig"}, Resources: []string{"goodrscs"}, Namespaces: []string{"goodns"}}}}, { Subjects: []flowcontrol.Subject{{Kind: flowcontrol.SubjectKindGroup,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:35 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/ProjectFile.groovy
* limitations under the License. */ package org.gradle.ide.xcode.fixtures import com.dd.plist.NSArray import com.dd.plist.NSDictionary import com.dd.plist.NSObject import com.dd.plist.NSString import com.dd.plist.PropertyListParser import com.google.common.base.MoreObjects import org.gradle.ide.xcode.internal.xcodeproj.PBXTarget.ProductType import org.gradle.test.fixtures.file.TestFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 11.9K bytes - Viewed (0) -
pkg/apis/rbac/validation/validation_test.go
F: "roleRef.name", }, "bad subject kind": { A: rbac.ClusterRoleBinding{ ObjectMeta: metav1.ObjectMeta{Name: "master"}, RoleRef: rbac.RoleRef{APIGroup: rbac.GroupName, Kind: "ClusterRole", Name: "valid"}, Subjects: []rbac.Subject{{Name: "subject"}}, }, T: field.ErrorTypeNotSupported, F: "subjects[0].kind", }, "bad subject name": { A: rbac.ClusterRoleBinding{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 14.1K bytes - Viewed (0)