Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Content (0.17 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    func applyWithReconciler(reconciler *helmreconciler.HelmReconciler, manifest string) error {
    	m := name.Manifest{
    		// Name is not important here, only Content will be applied.
    		Name:    name.IstioOperatorComponentName,
    		Content: manifest,
    	}
    	_, err := reconciler.ApplyManifest(m)
    	return err
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. istioctl/pkg/completion/completion.go

    	}
    
    	return nsNameList, nil
    }
    
    func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) {
    	nslist, err := client.Kube().CoreV1().Namespaces().List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return []corev1.Namespace{}, err
    	}
    	return nslist.Items, nil
    }
    
    func ValidNamespaceArgs(_ *cobra.Command, ctx cli.Context, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/ztunnelserver.go

    )
    
    var ztunnelConnected = monitoring.NewGauge("ztunnel_connected",
    	"number of connections to ztunnel")
    
    type ZtunnelServer interface {
    	Run(ctx context.Context)
    	PodDeleted(ctx context.Context, uid string) error
    	PodAdded(ctx context.Context, pod *v1.Pod, netns Netns) error
    	Close() error
    }
    
    /*
    To clean up stale ztunnels
    
    	we may need to ztunnel to send its (uid, bootid / boot time) to us
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/net_test.go

    	ztunnelServer        *fakeZtunnel
    	iptablesConfigurator *iptables.IptablesConfigurator
    	nlDeps               *fakeIptablesDeps
    	ipsetDeps            *ipset.MockedIpsetDeps
    }
    
    func getTestFixure(ctx context.Context) netTestFixture {
    	podNsMap := newPodNetnsCache(openNsTestOverride)
    	nlDeps := &fakeIptablesDeps{}
    	iptablesConfigurator, _ := iptables.NewIptablesConfigurator(nil, &dependencies.DependenciesStub{}, nlDeps)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers_test.go

    	"istio.io/istio/pkg/monitoring/monitortest"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestExistingPodAddedWhenNsLabeled(t *testing.T) {
    	setupLogging()
    	NodeName = "testnode"
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard.go

    	port := 15014
    	pod, err := client.Kube().CoreV1().Pods(ns).Get(context.Background(), name, metav1.GetOptions{})
    	if err != nil {
    		return port
    	}
    	return kube.FindIstiodMonitoringPort(pod)
    }
    
    // port-forward to SkyWalking UI on istio-system
    func skywalkingDashCmd(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "skywalking",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. cni/test/install_cni.go

    	}
    	t.Logf("Finished pre-populating working dirs")
    }
    
    // create an install server instance and run it, blocking until it gets terminated
    // via context cancellation
    func startInstallServer(ctx context.Context, serverConfig *config.Config, t *testing.T) {
    	readyFlag := &atomic.Value{}
    	installer := install.NewInstaller(&serverConfig.InstallConfig, readyFlag)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. cni/pkg/install/cniconfig.go

    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    // Or until cancelled by parent context
    func getCNIConfigFilepath(ctx context.Context, cfg pluginConfig) (string, error) {
    	filename := cfg.cniConfName
    
    	if !cfg.chainedCNIPlugin {
    		if len(filename) == 0 {
    			filename = "YYY-istio-cni.conf"
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/clusters.go

    package proxyconfig
    
    import (
    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pkg/cluster"
    )
    
    // TODO move to multicluster package; requires exposing some private funcs/vars in this package
    func ClustersCommand(ctx cli.Context) *cobra.Command {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag_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 tag
    
    import (
    	"bytes"
    	"context"
    	"strings"
    	"testing"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/api/label"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
Back to top