Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Tools (0.12 sec)

  1. cni/pkg/plugin/sidecar_iptables_linux.go

    package plugin
    
    import (
    	"fmt"
    
    	"github.com/containernetworking/plugins/pkg/ns"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // getNs is a unit test override variable for interface create.
    var getNs = ns.GetNS
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  2. cni/pkg/iptables/iptables.go

    	"istio.io/istio/cni/pkg/ipset"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/builder"
    	iptablesconfig "istio.io/istio/tools/istio-iptables/pkg/config"
    	iptablesconstants "istio.io/istio/tools/istio-iptables/pkg/constants"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    	iptableslog "istio.io/istio/tools/istio-iptables/pkg/log"
    )
    
    const (
    	// INPOD marks/masks
    	InpodTProxyMark      = 0x111
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. cni/pkg/plugin/sidecar_redirect.go

    // Defines the redirect object and operations.
    package plugin
    
    import (
    	"fmt"
    	"net/netip"
    	"strconv"
    	"strings"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    )
    
    const (
    	redirectModeREDIRECT         = "REDIRECT"
    	redirectModeTPROXY           = "TPROXY"
    	defaultProxyStatusPort       = "15020"
    	defaultRedirectToPort        = "15001"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_test.go

    // limitations under the License.
    
    package iptables
    
    import (
    	"net/netip"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	testutil "istio.io/istio/pilot/test/util"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptables(t *testing.T) {
    	cases := []struct {
    		name   string
    		config func(cfg *Config)
    	}{
    		{
    			"default",
    			func(cfg *Config) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net.go

    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/util"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    var log = istiolog.RegisterScope("ambient", "ambient controller")
    
    // Adapts CNI to ztunnel server. decoupled from k8s for easier integration testing.
    type NetServer struct {
    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)
  6. cni/pkg/nodeagent/net_test.go

    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func setupLogging() {
    	opts := istiolog.DefaultOptions()
    	opts.SetDefaultOutputLevel(istiolog.OverrideScopeName, istiolog.DebugLevel)
    	istiolog.Configure(opts)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  7. cni/pkg/repair/repair_test_helpers.go

    // limitations under the License.
    
    package repair
    
    import (
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/tools/istio-iptables/pkg/constants"
    )
    
    type makePodArgs struct {
    	PodName             string
    	Labels              map[string]string
    	Annotations         map[string]string
    	InitContainerName   string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 12 17:39:53 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables_linux.go

    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    		// TODO largely identical/copied from tools/istio-iptables/pkg/capture/run_linux.go
    		inpodMarkRule := netlink.NewRule()
    		inpodMarkRule.Family = family
    		inpodMarkRule.Table = RouteTableInbound
    		inpodMarkRule.Mark = InpodTProxyMark
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/options.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package multicluster
    
    import (
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    const (
    	clusterNameAnnotationKey = "networking.istio.io/cluster"
    )
    
    // KubeOptions contains kubernetes options common to all commands.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 01 23:59:49 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_dryrun_test.go

    	diff "istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    type mockNetNs struct {
    	path string
    }
    
    func (ns *mockNetNs) Do(toRun func(ns.NetNS) error) error {
    	return toRun(ns)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top