- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for kindOf (0.15 sec)
-
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) -
pkg/config/schema/kind/kind.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 30 21:13:14 UTC 2022 - 616 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/runtime/codec_test.go
return schema.GroupVersion{Group: group, Version: version} } func gvk(group, version, kind string) schema.GroupVersionKind { return schema.GroupVersionKind{Group: group, Version: version, Kind: kind} } func gk(group, kind string) schema.GroupKind { return schema.GroupKind{Group: group, Kind: kind} } func TestCoercingMultiGroupVersioner(t *testing.T) { testcases := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 30 06:58:54 UTC 2019 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version_test.go
{ desc: "targets and kinds have match items", kinds: []GroupVersionKind{{Version: "V1", Kind: "pod"}, {Version: "V2", Kind: "pod"}}, targets: []GroupVersionKind{{Version: "V1", Kind: "pod"}}, output: GroupVersionKind{Version: "V1", Kind: "pod"}, }, { desc: "targets and kinds do not have match items", kinds: []GroupVersionKind{{Version: "V1", Kind: "pod"}, {Version: "V2", Kind: "pod"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:46:00 UTC 2022 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/errors.go
} switch len(searchedVersions) { case 0: return fmt.Sprintf("no matches for kind %q in group %q", e.GroupKind.Kind, e.GroupKind.Group) case 1: return fmt.Sprintf("no matches for kind %q in version %q", e.GroupKind.Kind, searchedVersions.List()[0]) default: return fmt.Sprintf("no matches for kind %q in versions %q", e.GroupKind.Kind, searchedVersions.List()) } } func (*NoKindMatchError) Is(target error) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 11 22:50:51 UTC 2022 - 4.2K bytes - Viewed (0)