Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Sanders (0.31 sec)

  1. istioctl/pkg/cli/context.go

    	if err != nil {
    		return "", "", err
    	}
    	return handlers.InferPodInfoFromTypedResource(name, i.NamespaceOrDefault(namespace), MakeKubeFactory(client))
    }
    
    func (i *instance) InferPodsFromTypedResource(name, namespace string) ([]string, string, error) {
    	client, err := i.CLIClient()
    	if err != nil {
    		return nil, "", err
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher.go

    }
    
    type CniPluginServer struct {
    	cniListenServer       *http.Server
    	cniListenServerCancel context.CancelFunc
    	handlers              K8sHandlers
    	dataplane             MeshDataplane
    
    	sockAddress string
    	ctx         context.Context
    }
    
    func startCniPluginServer(ctx context.Context, pluginSocket string,
    	handlers K8sHandlers,
    	dataplane MeshDataplane,
    ) *CniPluginServer {
    	ctx, cancel := context.WithCancel(ctx)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    	).Return(nil)
    
    	dpServer := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, dpServer, "istio-system")
    
    	// We are not going to start the server, so the sockpath is irrelevant
    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 02 08:18:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. architecture/networking/controllers.md

    Construction should create informers (via `kclient.New`), setup a queue (via `controllers.NewQueue`), and register event handlers on the informers.
    Often, these handlers are adding something to the queue like `client.AddEventHandler(controllers.ObjectHandler(queue.AddObject))`.
    Construction should NOT actually start running all of these things, do I/O, or block in anyway.
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 09 17:41:25 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. istioctl/pkg/util/handlers/handlers.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 handlers
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sort"
    	"strings"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers_test.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 handlers
    
    import (
    	"fmt"
    	"net/http"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	appsv1 "k8s.io/api/apps/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    		isReady:    ready,
    		dataplane: &meshDataplane{
    			kubeClient: client.Kube(),
    			netServer:  netServer,
    		},
    	}
    	s.NotReady()
    	s.handlers = setupHandlers(s.ctx, s.kubeClient, s.dataplane, args.SystemNamespace)
    
    	cniServer := startCniPluginServer(ctx, pluginSocket, s.handlers, s.dataplane)
    	err = cniServer.Start()
    	if err != nil {
    		return nil, fmt.Errorf("error starting cni server: %w", err)
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/node/v1/generated.proto

      // implementation will use to handle pods of this class. The possible values
      // are specific to the node & CRI configuration.  It is assumed that all
      // handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
      // runtime (using native Linux containers) will be used to run the containers
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/node/v1alpha1/generated.proto

      // CRI implementation will use to handle pods of this class. The possible
      // values are specific to the node & CRI configuration.  It is assumed that
      // all handlers are available on every node, and handlers of the same name are
      // equivalent on every node.
      // For example, a handler called "runc" might specify that the runc OCI
      // runtime (using native Linux containers) will be used to run the containers
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/operator-common.go

    	orn := operatorResourceName
    	if revision != "" {
    		orn += "-" + revision
    	}
    	return deploymentExists(cs, operatorNamespace, orn)
    }
    
    // renderOperatorManifest renders a manifest to install the operator with the given input arguments.
    func renderOperatorManifest(_ *RootArgs, ocArgs *operatorCommonArgs) (string, string, error) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Sat Dec 17 02:25:04 GMT 2022
    - 3.8K bytes
    - Viewed (0)
Back to top