Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for linting (0.16 sec)

  1. cni/pkg/nodeagent/net.go

    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    func (s *NetServer) getOrOpenNetns(pod *corev1.Pod, netNs string) (Netns, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  2. istioctl/pkg/tag/revision.go

    	// In this case, it is possible that they only have webhooks installed.
    	webhooks, err := Webhooks(context.Background(), client)
    	if err != nil {
    		return nil, fmt.Errorf("error while listing mutating webhooks: %v", err)
    	}
    	for _, hook := range webhooks {
    		rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName)
    		tagLabel := hook.GetLabels()[IstioTagLabel]
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/google.go

    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    	creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform")
    	if err != nil {
    		return nil, fmt.Errorf("finding default GCP credentials: %w", err)
    	}
    	return &oauth2.Transport{
    		Base:   tr,
    		Source: creds.TokenSource,
    	}, nil
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. istioctl/pkg/multicluster/remote_secret.go

    	allSecrets, err := client.Kube().CoreV1().Secrets(opt.Namespace).List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return nil, fmt.Errorf("failed listing secrets in %s: %v", opt.Namespace, err)
    	}
    	for _, item := range allSecrets.Items {
    		secret := item
    		if secretReferencesServiceAccount(serviceAccount, &secret) == nil {
    			return &secret, nil
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top