Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for attr (0.14 sec)

  1. cni/pkg/iptables/iptables_linux.go

    			{
    				Dst:       localhostDst,
    				Scope:     netlink.SCOPE_HOST,
    				Type:      unix.RTN_LOCAL,
    				Table:     RouteTableInbound,
    				LinkIndex: loopbackLink.Attrs().Index,
    			},
    		}
    
    		for _, route := range netlinkRoutes {
    			log.Debugf("Iterating netlink route : %+v", route)
    			if err := f(route); err != nil {
    				log.Errorf("Failed to add netlink route : %+v", route)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  2. cni/pkg/repair/netns.go

    	}
    	return res, nil
    }
    
    func findNetworkIDByIP(ip string) (int, error) {
    	link, err := getLinkWithDestinationOf(ip)
    	if err != nil {
    		return 0, fmt.Errorf("find link for %v: %v", ip, err)
    	}
    	return link.Attrs().NetNsID, nil
    }
    
    func getLinkWithDestinationOf(ip string) (netlink.Link, error) {
    	routes, err := netlink.RouteListFiltered(
    		netlink.FAMILY_V4,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/table/writer.go

    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    	s.EnableColor()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  4. common/scripts/tracing.sh

      otel-cli span \
        --service "${BASH_SOURCE[-1]}" \
        --name "$1" \
        --start "$start" \
        --end "$end" \
        --force-trace-id "$tid" \
        --force-span-id "$sid" \
        --attrs "$(_genattrs)"
      if [[ $was_execution_trace == 1 ]]; then
        { set -x; } 2>/dev/null
      fi
      return "$result"
    }
    
    # Usage: tracing::decorate <function>
    # Automatically makes a function traced.
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jul 28 15:25:47 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. go.sum

    cloud.google.com/go/auth v0.3.0 h1:PRyzEpGfx/Z9e8+lHsbkoUVXD0gnu4MNmm7Gp8TQNIs=
    cloud.google.com/go/auth v0.3.0/go.mod h1:lBv6NKTWp8E3LPzmO1TbiiRKc4drLOfHsgmlH9ogv5w=
    cloud.google.com/go/auth/oauth2adapt v0.2.2 h1:+TTV8aXpjeChS9M+aTtN/TjdQnzJvmzKFt//oWu7HX4=
    cloud.google.com/go/auth/oauth2adapt v0.2.2/go.mod h1:wcYjgpZI9+Yu7LyYBg4pqSiaRkfEK3GQcpb7C/uyF1Q=
    cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 15:22:54 GMT 2024
    - 109.1K bytes
    - Viewed (0)
Back to top