Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Main (0.18 sec)

  1. cni/cmd/istio-cni/main.go

    // parses prevResult according to the cniVersion
    package main
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/containernetworking/cni/pkg/skel"
    	"github.com/containernetworking/cni/pkg/version"
    
    	"istio.io/istio/cni/pkg/plugin"
    	"istio.io/istio/pkg/log"
    	istioversion "istio.io/istio/pkg/version"
    )
    
    func main() {
    	if err := runPlugin(); err != nil {
    		os.Exit(1)
    	}
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 13:56:46 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. cni/pkg/ipset/ipset.go

    // reducing the # of rules we need.
    //
    // BUT netlink lib doesn't support adding things to `list:set` types yet, and current tagged release
    // doesn't support creating `list:set` types yet (is in main branch tho).
    // So this will actually create 2 underlying ipsets, one for v4 and one for v6
    func NewIPSet(name string, v6 bool, deps NetlinkIpsetDeps) (IPSet, error) {
    	var err error
    	set := IPSet{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	Limit int
    
    	// The number of disks to ask.
    	AskDisks string
    
    	// InclDeleted will keep all entries where latest version is a delete marker.
    	InclDeleted bool
    
    	// Scan recursively.
    	// If false only main directory will be scanned.
    	// Should always be true if Separator is n SlashSeparator.
    	Recursive bool
    
    	// Separator to use.
    	Separator string
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. cni/pkg/iptables/iptables.go

    	// Insert jumps to our custom chains
    	// This is mostly just for visual tidiness and cleanup, as we can delete the secondary chains and jumps
    	// without polluting the main table too much.
    
    	// -t mangle -A PREROUTING -j ISTIO_PRERT
    	iptablesBuilder.AppendRule(
    		iptableslog.UndefinedCommand, iptablesconstants.PREROUTING, iptablesconstants.MANGLE,
    		"-j", ChainInpodPrerouting,
    	)
    
    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)
  5. cni/pkg/cmd/root.go

    			if err != nil {
    				err = fmt.Errorf("%s: %w", cleanErr.Error(), err)
    			} else {
    				err = cleanErr
    			}
    		}
    
    		return
    	},
    }
    
    // GetCommand returns the main cobra.Command object for this application
    func GetCommand() *cobra.Command {
    	return rootCmd
    }
    
    func init() {
    	viper.AutomaticEnv()
    	viper.AllowEmptyEnv(true)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    		//
    		// import org.apache.spark.sql.SparkSession
    		// import org.apache.spark.sql.types.{IntegerType, StringType, StructField, StructType}
    		// object SparkJSONRead {
    		//   def main(args: Array[String]): Unit = {
    		//     val spark:SparkSession = SparkSession.builder()
    		//       .appName("SparkByExample")
    		//       .master("local[1]").getOrCreate()
    		//
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
Back to top