Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 596 for Pkg (0.07 sec)

  1. cni/pkg/util/podutil.go

    package util
    
    import (
    	"context"
    	"fmt"
    	"net/netip"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/kubernetes"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    )
    
    var annotationPatch = []byte(fmt.Sprintf(
    	`{"metadata":{"annotations":{"%s":"%s"}}}`,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher.go

    	"context"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/netip"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/pluginlistener"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/sleep"
    )
    
    // Just a composite of the CNI plugin add event struct + some extracted "args"
    type CNIPluginAddEvent struct {
    	Netns        string
    	PodName      string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/route.go

    	route "github.com/envoyproxy/go-control-plane/envoy/config/route/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	pilot_util "istio.io/istio/pilot/pkg/networking/util"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // RouteFilter is used to pass filter information into route based config writer print functions
    type RouteFilter struct {
    	Name    string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 08 20:44:50 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_e2e_test.go

    	_ "github.com/howardjohn/unshare-go/netns"
    	"github.com/howardjohn/unshare-go/userns"
    
    	"istio.io/istio/cni/pkg/scopes"
    	"istio.io/istio/pkg/test/util/assert"
    	dep "istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func TestIptablesCleanRoundTrip(t *testing.T) {
    	setup(t)
    	tt := struct {
    		name   string
    		config func(cfg *Config)
    	}{
    		"default",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/net_test.go

    	"sync/atomic"
    	"testing"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"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()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. .gitignore

    *.iml
    .idea/
    .run/
    # Visual Studio Code
    .vscode/
    # Bazel
    /bazel-*
    # vi swap files
    .*.swp
    # vi backups
    *.bak
    # common backups
    *~
    # python artifacts
    *.pyc
    # pilot
    pilot/pkg/kube/config
    pilot/pkg/proxy/envoy/envoy
    # lint
    lintconfig.gen.json
    .istiorc
    .istiorc.mk
    # codegen stuff
    bin/adapterlinter
    bin/protoc-gen-gogoslick*
    bin/protoc-min-version*
    bin/protoc-gen-docs*
    bin/testlinter
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 21:20:01 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/operator/pkg/values"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/kube/controller"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/config/validation/agent"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. istioctl/pkg/root/root.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package root
    
    import (
    	"istio.io/istio/pkg/env"
    	"istio.io/istio/pkg/log"
    )
    
    const (
    	// Location to read istioctl defaults from
    	defaultIstioctlConfig = "$HOME/.istioctl/config.yaml"
    )
    
    var (
    	// IstioConfig is the name of the istioctl config file (if any)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. cni/pkg/log/uds_test.go

    package log
    
    import (
    	"encoding/json"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    	"time"
    
    	"istio.io/istio/cni/pkg/constants"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestUDSLog(t *testing.T) {
    	// Start UDS log server
    	udsSockDir := t.TempDir()
    	udsSock := filepath.Join(udsSockDir, "cni.sock")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. istioctl/cmd/istioctl/main.go

    // limitations under the License.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	// import all known client auth plugins
    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    
    	"istio.io/istio/istioctl/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	if err := cmd.ConfigAndEnvProcessing(); err != nil {
    		fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
    		exitCode := cmd.GetExitCode(err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.1K bytes
    - Viewed (0)
Back to top