- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 234 for myname (0.55 sec)
-
src/encoding/json/encode.go
// // // Field appears in JSON as key "myName". // Field int `json:"myName"` // // // Field appears in JSON as key "myName" and // // the field is omitted from the object if its value is empty, // // as defined above. // Field int `json:"myName,omitempty"` // // // Field appears in JSON as key "Field" (the default), but // // the field is skipped if empty. // // Note the leading comma. // Field int `json:",omitempty"` //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimparameters_test.go
}(), }, } for name, scenario := range scenarios { t.Run(name, func(t *testing.T) { errs := ValidateResourceClaimParameters(scenario.parameters) assert.Equal(t, scenario.wantFailures, errs) }) } } func TestValidateResourceClaimParametersUpdate(t *testing.T) { name := "valid" validResourceClaimParameters := testResourceClaimParameters(name, name, nil) scenarios := map[string]struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclassparameters_test.go
}(), }, } for name, scenario := range scenarios { t.Run(name, func(t *testing.T) { errs := ValidateResourceClassParameters(scenario.parameters) assert.Equal(t, scenario.wantFailures, errs) }) } } func TestValidateResourceClassParametersUpdate(t *testing.T) { name := "valid" validResourceClassParameters := testResourceClassParameters(name, name, nil) scenarios := map[string]struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go
func isValidConditionReason(value string) []string { if !conditionReasonRegexp.MatchString(value) { return []string{validation.RegexError(conditionReasonErrMsg, conditionReasonFmt, "my_name", "MY_NAME", "MyName", "ReasonA,ReasonB", "ReasonA:ReasonB")} } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 13.5K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_podschedulingcontext_test.go
}, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, schedulingCtx: testPodSchedulingContexts("", goodNS, goodPodSchedulingSpec), }, "bad-name": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 09:18:08 UTC 2023 - 13.3K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go
template: testClaimTemplate(goodName, goodNS, goodClaimSpec), }, "missing-name": { wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")}, template: testClaimTemplate("", goodNS, goodClaimSpec), }, "bad-name": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 12.3K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto
// '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an // optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. optional string name = 1; // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 22.6K bytes - Viewed (0) -
.idea/inspectionProfiles/Gradle.xml
<extension name="InstanceMethodNamingConvention" enabled="true"> <option name="m_regex" value="[a-z][A-Za-z\d]*" /> <option name="m_minLength" value="2" /> <option name="m_maxLength" value="999" /> </extension> <extension name="StaticMethodNamingConvention" enabled="true"> <option name="m_regex" value="[a-z][A-Za-z\d]*" />
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:43 UTC 2024 - 13K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1/generated.proto
// '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an // optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName') // // Required. optional string name = 1; // Expression represents the expression which will be evaluated by CEL. Must evaluate to bool.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.4K bytes - Viewed (0)