Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CIDRRules (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/addresses.go

    }
    
    // DefaultAddresses is a default implementation of Addresses that will work in most cases
    type DefaultAddresses struct {
    	// CIDRRules is a list of CIDRs and Addresses to use if a client is in the range
    	CIDRRules []CIDRRule
    
    	// DefaultAddress is the address (hostname or IP and port) that should be used in
    	// if no CIDR matches more specifically.
    	DefaultAddress string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 12:50:43 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/addresses_test.go

    		},
    	}
    
    	_, ipRange, _ := netutils.ParseCIDRSloppy("10.0.0.0/24")
    	discoveryAddresses := DefaultAddresses{DefaultAddress: "ExternalAddress"}
    	discoveryAddresses.CIDRRules = append(discoveryAddresses.CIDRRules,
    		CIDRRule{IPRange: *ipRange, Address: "serviceIP"})
    
    	for i, test := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. pkg/controlplane/instance.go

    	discoveryAddresses := discovery.DefaultAddresses{DefaultAddress: cfg.ControlPlane.Generic.ExternalAddress}
    	discoveryAddresses.CIDRRules = append(discoveryAddresses.CIDRRules,
    		discovery.CIDRRule{IPRange: cfg.Extra.ServiceIPRange, Address: net.JoinHostPort(cfg.Extra.APIServerServiceIP.String(), strconv.Itoa(cfg.Extra.APIServerServicePort))})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top