- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 984 for ktypes (0.16 sec)
-
pkg/config/schema/codegen/templates/clients.go.tmpl
} } func GetClient[T, TL runtime.Object](c ClientGetter, namespace string) ktypes.ReadWriteAPI[T, TL] { switch any(ptr.Empty[T]()).(type) { {{- range .Entries }} {{- if not .Resource.Synthetic }} case *{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}: return c.{{.ClientGetter}}().{{ .ClientGroupPath }}().{{ .ClientTypePath }}({{if not .Resource.ClusterScoped}}namespace{{end}}).(ktypes.ReadWriteAPI[T, TL])
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/config/schema/kubeclient/common.go
} func GetInformerFilteredFromGVR(c ClientGetter, opts ktypes.InformerOptions, g schema.GroupVersionResource) informerfactory.StartableInformer { switch opts.InformerType { case ktypes.DynamicInformer: return getInformerFilteredDynamic(c, opts, g) case ktypes.MetadataInformer: return getInformerFilteredMetadata(c, opts, g) default: return getInformerFiltered(c, opts, g) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/config/schema/kubeclient/common_test.go
corev1 "k8s.io/api/core/v1" v1 "k8s.io/api/networking/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "istio.io/istio/pkg/kube" ktypes "istio.io/istio/pkg/kube/kubetypes" ) func TestCustomRegistration(t *testing.T) { Register[*v1.NetworkPolicy]( v1.SchemeGroupVersion.WithResource("networkpolicies"), v1.SchemeGroupVersion.WithKind("NetworkPolicy"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 16:38:40 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go
// license that can be found in the LICENSE file. // Package typesinternal provides access to internal go/types APIs that are not // yet exported. package typesinternal import ( "go/token" "go/types" "reflect" "unsafe" ) func SetUsesCgo(conf *types.Config) bool { v := reflect.ValueOf(conf).Elem() f := v.FieldByName("go115UsesCgo") if !f.IsValid() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go
return true case *types.Basic: switch typ.Kind() { case types.UntypedBool, types.Bool: return m.t&argBool != 0 case types.UntypedInt, types.Int, types.Int8, types.Int16, types.Int32, types.Int64, types.Uint, types.Uint8, types.Uint16, types.Uint32, types.Uint64, types.Uintptr: return m.t&argInt != 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 8.6K bytes - Viewed (0) -
pkg/kubelet/types/types.go
limitations under the License. */ package types import ( "net/http" "time" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/cri-client/pkg/logs" ) // TODO: Reconcile custom types in kubelet/types and this subpackage // HTTPDoer encapsulates http.Do functionality type HTTPDoer interface { Do(req *http.Request) (*http.Response, error) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 13:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/api/apidiscovery/v2/types.go
ResponseKind *v1.GroupVersionKind `json:"responseKind,omitempty" protobuf:"bytes,2,opt,name=responseKind"` // acceptedTypes describes the kinds that this endpoint accepts. // Subresources may accept the standard content types or define // custom negotiation schemes. The list may not be exhaustive for // all operations. // +listType=map // +listMapKey=group
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/kube/kubetypes/types.go
} // WriteAPI exposes a generic API for a client go type for status operations. // Not all types have status, so they need to be split out type WriteStatusAPI[T runtime.Object] interface { UpdateStatus(ctx context.Context, object T, opts metav1.UpdateOptions) (T, error) } // ReadAPI exposes a generic API for a client go type for read operations. type ReadAPI[T runtime.Object, TL runtime.Object] interface {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/kubelet/cm/dra/types.go
limitations under the License. */ package dra import ( v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "k8s.io/kubernetes/pkg/kubelet/config" kubecontainer "k8s.io/kubernetes/pkg/kubelet/container" ) // Manager manages all the DRA resource plugins running on a node. type Manager interface { // Start starts the reconcile loop of the manager.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:23:29 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go
// license that can be found in the LICENSE file. package telemetry // Common types and directories used by multiple packages. // An UploadConfig controls what data is uploaded. type UploadConfig struct { GOOS []string GOARCH []string GoVersion []string SampleRate float64 Programs []*ProgramConfig } type ProgramConfig struct { // the counter names may have to be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 1.5K bytes - Viewed (0)