Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 199 for io (0.14 sec)

  1. istioctl/pkg/workload/workload_test.go

    	"github.com/spf13/cobra"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pilot/test/util"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var fakeCACert = []byte("fake-CA-cert")
    
    var (
    	defaultYAML = `apiVersion: networking.istio.io/v1alpha3
    kind: WorkloadGroup
    metadata:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/pod_cache.go

    // limitations under the License.
    
    package nodeagent
    
    import (
    	"errors"
    	"fmt"
    	"path/filepath"
    	"runtime"
    	"sync"
    
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/zdsapi"
    )
    
    var ErrPodNotFound = errors.New("netns not provided, but is needed as pod is not in cache")
    
    type PodNetnsCache interface {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/writer.go

    }
    
    // NewSDSWriter generates a new instance which conforms to SDSWriter interface
    func NewSDSWriter(w io.Writer, format Format) SDSWriter {
    	return &sdsWriter{
    		w:      w,
    		output: format,
    	}
    }
    
    // sdsWriter is provided concrete implementation of SDSWriter
    type sdsWriter struct {
    	w      io.Writer
    	output Format
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/listener.go

    // limitations under the License.
    
    package compare
    
    import (
    	"bytes"
    	"fmt"
    
    	"github.com/pmezard/go-difflib/difflib"
    
    	// Force import protos
    	_ "istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // ListenerDiff prints a diff between Istiod and Envoy listeners to the passed writer
    func (c *Comparator) ListenerDiff() error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 20:29:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/listener.go

    	tcp "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/network/tcp_proxy/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/util/proto"
    	"istio.io/istio/pilot/pkg/networking/util"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"math/big"
    	"strings"
    	"text/tabwriter"
    	"time"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/log"
    )
    
    // PrintSecretDump prints just the secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintSecretDump(outputFormat string) error {
    	if c.ztunnelDump == nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. cni/pkg/plugin/sidecar_redirect.go

    // limitations under the License.
    
    // 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"
    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)
  9. cni/pkg/nodeagent/podcgroupns_other.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 nodeagent
    
    import (
    	"fmt"
    	"io/fs"
    )
    
    func GetInode(fi fs.FileInfo) (uint64, error) {
    	return 0, fmt.Errorf("unable to get inode os not supported")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 781 bytes
    - Viewed (0)
  10. cni/pkg/repair/netns.go

    	"fmt"
    	"math"
    	"net"
    	"strconv"
    
    	netns "github.com/containernetworking/plugins/pkg/ns"
    	"github.com/prometheus/procfs"
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    	corev1 "k8s.io/api/core/v1"
    
    	"istio.io/istio/pkg/log"
    )
    
    func getPidNamespace(pid int) string {
    	return "/host/proc/" + strconv.Itoa(pid) + "/ns/net"
    }
    
    func runInHost[T any](f func() (T, error)) (T, error) {
    	var res T
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
Back to top