Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,240 for ktypes (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/types/testdata/examples/types.go

    // // type is a type parameter not declared by that type declaration.
    // func _[T any]() {
    // 	type _ T         // ERROR "cannot use function type parameter T as RHS in type declaration"
    // 	type _ [_ any] T // ERROR "cannot use function type parameter T as RHS in type declaration"
    // }
    
    // As a special case, an explicit type argument may be omitted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/proto/types.go

    // limitations under the License.
    
    package proto
    
    import (
    	wrappers "google.golang.org/protobuf/types/known/wrapperspb"
    )
    
    var (
    	// BoolTrue is a bool true pointer of types.BoolValue.
    	BoolTrue = &wrappers.BoolValue{
    		Value: true,
    	}
    
    	// BoolFalse is a bool false pointer of types.BoolValue.
    	BoolFalse = &wrappers.BoolValue{
    		Value: false,
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 19 21:53:59 UTC 2021
    - 902 bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Types.java

    import java.util.Set;
    
    public class Types {
        private static final Collection<Class<?>> OBJECT_TYPE = ImmutableList.<Class<?>>of(Object.class);
    
        /**
         * Visits all types in a type hierarchy in breadth-first order, super-classes first and then implemented interfaces.
         *
         * @param clazz the type of whose type hierarchy to visit.
         * @param visitor the visitor to call for each type in the hierarchy.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. 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)
Back to top