Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for tables (0.18 sec)

  1. cni/pkg/iptables/iptables.go

    	//
    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    	// `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky.
    	//
    	// But that's stunningly unlikely (and would still work either way)
    	iptVer, err := ext.DetectIptablesVersion(false)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  2. migrator/migrator.go

    		currentDatabase := m.DB.Migrator().CurrentDatabase()
    		return m.DB.Raw("SELECT count(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ? AND table_type = ?", currentDatabase, stmt.Table, "BASE TABLE").Row().Scan(&count)
    	})
    
    	return count > 0
    }
    
    // RenameTable rename table from oldName to newName
    func (m Migrator) RenameTable(oldName, newName interface{}) error {
    	var oldTable, newTable interface{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  3. docs/metrics/v3.md

    ## Request, System and Cluster Metrics
    
    At a high level metrics are grouped into three categories, listed in the following sub-sections. The path in each of the tables is relative to the top-level endpoint.
    
    ### Request metrics 
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables_linux.go

    		}
    
    		netlinkRoutes := []*netlink.Route{
    			// In routing table ${INBOUND_TPROXY_ROUTE_TABLE}, create a single default rule to route all traffic to
    			// the loopback interface.
    			// Equiv: "ip route add local 0.0.0.0/0 dev lo table 100"
    			{
    				Dst:       localhostDst,
    				Scope:     netlink.SCOPE_HOST,
    				Type:      unix.RTN_LOCAL,
    				Table:     RouteTableInbound,
    				LinkIndex: loopbackLink.Attrs().Index,
    			},
    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)
  5. cni/pkg/iptables/iptables_test.go

    // See the License for the specific language governing permissions and
    // 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)
    	}{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. RELEASE.md

        vocabulary file.
    *   Added `index_to_string_table` which returns a lookup table that maps indices
        to strings.
    *   Add `string_to_index_table`, which returns a lookup table that matches
        strings to indices.
    *   Add a `ParallelForWithWorkerId` function.
    *   Add `string_to_index_table`, which returns a lookup table that matches
        strings to indices.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  7. cni/pkg/nodeagent/net.go

    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/types"
    
    	"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")
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  8. cni/README.md

            - If so, calls `istio-iptables` with params to setup pod netns
            - If ambient, sets up the ambient logic.
    
    - `istio-iptables`
        - sets up iptables to redirect a list of ports to the port envoy will listen
        - shared code with istio-init container
        - it will generate an iptables-save config, based on annotations/labels and other settings, and apply it.
    
    ### CmdAdd Sidecar Workflow
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  9. tests/query_test.go

    		*GetUser("find_in_batches_with_error", Config{}),
    	}
    
    	DB.Create(&users)
    
    	var (
    		results    []User
    		totalBatch int
    	)
    
    	if result := DB.Table("wrong_table").Where("name = ?", users[0].Name).FindInBatches(&results, 2, func(tx *gorm.DB, batch int) error {
    		totalBatch += batch
    		return nil
    	}); result.Error == nil || result.RowsAffected > 0 {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  10. cmd/metrics-v3-system-drive.go

    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    	m.Set(driveWaitingIO, float64(disk.Metrics.TotalWaiting), labels...)
    
    	// Append the api label for the drive API latencies.
    	labels = append(labels, "api", "")
    	lastIdx := len(labels) - 1
    	for apiName, latency := range disk.Metrics.LastMinute {
    		labels[lastIdx] = "storage." + apiName
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top