Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for kindOf (0.48 sec)

  1. src/reflect/value.go

    		// as a default value doesn't makes sense here.
    		panic(&ValueError{"reflect.Value.SetZero", v.Kind()})
    	}
    }
    
    // Kind returns v's Kind.
    // If v is the zero Value ([Value.IsValid] returns false), Kind returns Invalid.
    func (v Value) Kind() Kind {
    	return v.kind()
    }
    
    // Len returns v's length.
    // It panics if v's Kind is not [Array], [Chan], [Map], [Slice], [String], or pointer to [Array].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_test.go

    					Namespace:        TestServiceNamespace,
    				},
    				Spec: destRuleWithNewSubsets,
    			}},
    			configUpdated: sets.New(
    				model.ConfigKey{Kind: kind.ServiceEntry, Name: "testnew.com", Namespace: TestServiceNamespace},
    				model.ConfigKey{Kind: kind.DestinationRule, Name: "test-desinationrule", Namespace: TestServiceNamespace}),
    			watchedResourceNames: []string{"outbound|8080||test.com"},
    			usedDelta:            true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    	tests := []struct {
    		kind schema.GroupKind
    		name string
    		want string
    	}{
    		{schema.GroupKind{}, "", ""},
    		{schema.GroupKind{}, "name", "name"},
    		{schema.GroupKind{Kind: "Kind"}, "", "kind/"}, // should not happen in practice
    		{schema.GroupKind{Kind: "Kind"}, "name", "kind/name"},
    		{schema.GroupKind{Group: "group", Kind: "Kind"}, "name", "kind.group/name"},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			`),
    			oldObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    				list:	
    				- name: entry1
    				  apiVersion: v2
    				  kind: Baz
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    			`),
    			newObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    					otherField: newValue
    				list:	
    				- name: entry1
    				  apiVersion: v2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    				if got, want := controllerRef.APIVersion, "batch/v1"; got != want {
    					t.Errorf("controllerRef.APIVersion = %q, want %q", got, want)
    				}
    				if got, want := controllerRef.Kind, "Job"; got != want {
    					t.Errorf("controllerRef.Kind = %q, want %q", got, want)
    				}
    				if got, want := controllerRef.Name, job.Name; got != want {
    					t.Errorf("controllerRef.Name = %q, want %q", got, want)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/eviction_manager_test.go

        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package eviction
    
    import (
    	"context"
    	"fmt"
    	"testing"
    	"time"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    	}
    	return rows, nil
    }
    
    // formatResourceName receives a resource kind, name, and boolean specifying
    // whether or not to update the current name to "kind/name"
    func formatResourceName(kind schema.GroupKind, name string, withKind bool) string {
    	if !withKind || kind.Empty() {
    		return name
    	}
    
    	return strings.ToLower(kind.String()) + "/" + name
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    						util.IstioMetadataKey: {
    							Fields: map[string]*structpb.Value{
    								"services": {Kind: &structpb.Value_ListValue{ListValue: &structpb.ListValue{Values: []*structpb.Value{
    									{Kind: &structpb.Value_StructValue{StructValue: &structpb.Struct{Fields: map[string]*structpb.Value{
    										"host": {
    											Kind: &structpb.Value_StringValue{
    												StringValue: "host",
    											},
    										},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

            override val diagnosticClass get() = NativeIndexerKeyShouldBeStringOrNumber::class
            val kind: String
        }
    
        interface NativeIndexerWrongParameterCount : KaFirDiagnostic<KtElement> {
            override val diagnosticClass get() = NativeIndexerWrongParameterCount::class
            val parametersCount: Int
            val kind: String
        }
    
        interface NativeIndexerCanNotHaveDefaultArguments : KaFirDiagnostic<KtElement> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 172.6K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package kubelet
    
    import (
    	"context"
    	"crypto/tls"
    	"fmt"
    	"net"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top