Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for kindOf (0.16 sec)

  1. operator/pkg/util/reflect.go

    // 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 util
    
    import (
    	"fmt"
    	"reflect"
    )
    
    // kindOf returns the reflection Kind that represents the dynamic type of value.
    // If value is a nil interface value, kindOf returns reflect.Invalid.
    func kindOf(value any) reflect.Kind {
    	if value == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 8.6K bytes
    - Viewed (0)
  2. pkg/config/schema/kind/kind.go

    // 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 kind
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 30 21:13:14 UTC 2022
    - 616 bytes
    - Viewed (0)
  3. pkg/config/schema/codegen/templates/kind.go.tmpl

    	{{- if (eq $index 0) }}
    	{{.Resource.Identifier}} Kind = iota
    	{{- else }}
    	{{.Resource.Identifier}}
    	{{- end }}
    {{- end }}
    )
    
    func (k Kind) String() string {
    	switch k {
    {{- range .Entries }}
    	case {{.Resource.Identifier}}:
    		return "{{.Resource.Kind}}"
    {{- end }}
    	default:
    		return "Unknown"
    	}
    }
    
    func MustFromGVK(g config.GroupVersionKind) Kind {
    	switch g {
    {{- range .Entries }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 862 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/invalid/httproute/invalid-backend-kind.yaml

    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-backend-kind
    spec:
      rules:
      - backendRefs:
        - kind: "*"
          name: foo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 180 bytes
    - Viewed (0)
  5. prow/integ-suite-kind.sh

    # LoadBalancer in Kind is supported using metallb
    export TEST_ENV=kind-metallb
    
    # See https://kind.sigs.k8s.io/docs/user/quick-start/#loading-an-image-into-your-cluster
    export PULL_POLICY=IfNotPresent
    
    # We run a local-registry in a docker container that KinD nodes pull from
    # These values are must match what is in config/trustworthy-jwt.yaml
    export KIND_REGISTRY_NAME="kind-registry"
    export KIND_REGISTRY_PORT="5000"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tools/build-kind-image.sh

    # 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.
    
    # This script builds a multi-arch kind node image
    # Largely copied from https://github.com/kubernetes-sigs/kind/blob/2a1e9df91fd22d6ae5b91648b6c1a606ab4cdf30/hack/release/build/push-node.sh
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 12 17:36:35 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. pkg/config/analysis/local/helpers_test.go

    	"istio.io/istio/pkg/config/validation"
    )
    
    // K8SCollection1 describes the collection k8s/collection1
    var K8SCollection1 = r2.Builder{
    	Group:         "testdata.istio.io",
    	Kind:          "Kind1",
    	Plural:        "Kind1s",
    	Version:       "v1alpha1",
    	Proto:         "google.protobuf.Struct",
    	ReflectType:   reflect.TypeOf(&structpb.Struct{}).Elem(),
    	ProtoPackage:  "github.com/gogo/protobuf/types",
    	ClusterScoped: false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            item.kinds = new Kind[kinds.size()];
            for (int i = 0; i < kinds.size(); i++) {
                final String kind = kinds.get(i);
                if (kind.equals(Kind.DOCUMENT.toString())) {
                    item.kinds[i] = Kind.DOCUMENT;
                } else if (kind.equals(Kind.QUERY.toString())) {
                    item.kinds[i] = Kind.QUERY;
                } else if (kind.equals(Kind.USER.toString())) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper_test.go

    				{Group: "second-group", Version: "first-version", Kind: "my-kind"},
    				{Group: "second-group", Version: "first-version", Kind: "your-kind"},
    			},
    			PartialResourceToRequest: schema.GroupVersionResource{Resource: "my-kinds"},
    
    			ExpectedKinds: []schema.GroupVersionKind{
    				{Group: "second-group", Version: "first-version", Kind: "my-kind"},
    				{Group: "first-group", Version: "first-version", Kind: "my-kind"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 01 08:38:57 UTC 2020
    - 28.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/codec.go

    	for _, src := range kinds {
    		for _, kind := range v.acceptedGroupKinds {
    			if kind.Group != src.Group {
    				continue
    			}
    			if len(kind.Kind) > 0 && kind.Kind != src.Kind {
    				continue
    			}
    			return v.target.WithKind(src.Kind), true
    		}
    	}
    	if v.coerce && len(kinds) > 0 {
    		return v.target.WithKind(kinds[0].Kind), true
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:20:30 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top