Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 183 for interface (0.3 sec)

  1. common-protos/k8s.io/api/authentication/v1/generated.proto

      // Error indicates that the token couldn't be checked
      // +optional
      optional string error = 3;
    }
    
    // UserInfo holds the information about the user needed to implement the
    // user.Info interface.
    message UserInfo {
      // The name that uniquely identifies this user among all active users.
      // +optional
      optional string username = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    func GetFirstPod(client v1.CoreV1Interface, namespace string, selector string) (*corev1.Pod, error) {
    	options := metav1.ListOptions{LabelSelector: selector}
    
    	sortBy := func(pods []*corev1.Pod) sort.Interface { return sort.Reverse(podutils.ActivePods(pods)) }
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return nil, err
    	}
    	pods := make([]*corev1.Pod, 0, len(podList.Items))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil.go

    	}
    	return false
    }
    
    func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool {
    	return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel"
    }
    
    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/storage/v1/generated.proto

    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/api/storage/v1";
    
    // CSIDriver captures information about a Container Storage Interface (CSI)
    // volume driver deployed on the cluster.
    // Kubernetes attach detach controller uses this object to determine whether attach is required.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  5. cni/pkg/plugin/plugin_test.go

        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
                    "sandbox": "%s"
                }
            ],
            "ips": [
                {
                    "version": "4",
                    "address": "10.0.0.2/24",
                    "gateway": "10.0.0.1",
                    "interface": 0
                }
            ],
            "routes": []
    
        },
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  6. architecture/networking/pilot.md

    Primarily for historical reasons, ingestion is split into a few components.
    
    #### ConfigStore
    
    The `ConfigStore` reads a variety of resources and exposes them over a standard interface (Get, List, etc). These types are wrapped in a common `config.Config` struct, contrasting with typical Kubernetes clients which use per-resource types. The most common is reading from Kubernetes via the `crdclient` package.
    
    ```mermaid
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 19.1K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    	if err := doAddRun(args, conf, client, IptablesInterceptRuleMgr()); err != nil {
    		return err
    	}
    	return pluginResponse(conf)
    }
    
    func doAddRun(args *skel.CmdArgs, conf *Config, kClient kubernetes.Interface, rulesMgr InterceptRuleMgr) error {
    	setupLogging(conf)
    
    	var loggedPrevResult any
    	if conf.PrevResult == nil {
    		loggedPrevResult = "none"
    	} else {
    		loggedPrevResult = conf.PrevResult
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. cni/pkg/ipset/ipset.go

    	"net/netip"
    )
    
    type IPSet struct {
    	V4Name string
    	V6Name string
    	Prefix string
    	Deps   NetlinkIpsetDeps
    }
    
    const (
    	V4Name = "%s-v4"
    	V6Name = "%s-v6"
    )
    
    type NetlinkIpsetDeps interface {
    	ipsetIPHashCreate(name string, v6 bool) error
    	destroySet(name string) error
    	addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error
    	deleteIP(name string, ip netip.Addr, ipProto uint8) error
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto

    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apimachinery/pkg/apis/meta/v1beta1";
    
    // PartialObjectMetadataList contains a list of objects containing only their metadata.
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    message PartialObjectMetadataList {
      // Standard list metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/shared.go

    	scope := log.RegisterScope("controlleruntime", "scope for controller runtime")
    	controllruntimelog.SetLogger(log.NewLogrAdapter(scope))
    }
    
    type Printer interface {
    	Printf(format string, a ...any)
    	Println(string)
    }
    
    func NewPrinterForWriter(w io.Writer) Printer {
    	return &writerPrinter{writer: w}
    }
    
    type writerPrinter struct {
    	writer io.Writer
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 5.1K bytes
    - Viewed (0)
Back to top