Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 70 for netutils (0.17 sec)

  1. cmd/kubeadm/app/util/endpoint.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"net"
    	"net/url"
    	"strconv"
    
    	"github.com/pkg/errors"
    
    	"k8s.io/apimachinery/pkg/util/validation"
    	"k8s.io/klog/v2"
    	netutils "k8s.io/utils/net"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    )
    
    // GetControlPlaneEndpoint returns a properly formatted endpoint for the control plane built according following rules:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 11 15:08:59 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/config_selfclient.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package server
    
    import (
    	"fmt"
    	"net"
    
    	restclient "k8s.io/client-go/rest"
    	netutils "k8s.io/utils/net"
    )
    
    // LoopbackClientServerNameOverride is passed to the apiserver from the loopback client in order to
    // select the loopback certificate via SNI if TLS is used.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 23 00:06:34 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates.go

    */
    
    package dynamiccertificates
    
    import (
    	"crypto/tls"
    	"crypto/x509"
    	"fmt"
    	"strings"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/validation"
    	"k8s.io/klog/v2"
    	netutils "k8s.io/utils/net"
    )
    
    // BuildNamedCertificates returns a map of *tls.Certificate by name. It's
    // suitable for use in tls.Config#NamedCertificates. Returns an error if any of the certs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 21 07:29:30 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  4. cmd/kube-apiserver/app/options/completion.go

    limitations under the License.
    */
    
    package options
    
    import (
    	"fmt"
    	"net"
    	"strings"
    
    	apiserveroptions "k8s.io/apiserver/pkg/server/options"
    	_ "k8s.io/component-base/metrics/prometheus/workqueue"
    	netutils "k8s.io/utils/net"
    
    	controlplane "k8s.io/kubernetes/pkg/controlplane/apiserver/options"
    	"k8s.io/kubernetes/pkg/kubeapiserver"
    	kubeoptions "k8s.io/kubernetes/pkg/kubeapiserver/options"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 26 19:50:38 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/netlink_linux.go

    limitations under the License.
    */
    
    package ipvs
    
    import (
    	"fmt"
    	"net"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    	proxyutil "k8s.io/kubernetes/pkg/proxy/util"
    	netutils "k8s.io/utils/net"
    
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    type netlinkHandle struct {
    	netlink.Handle
    	isIPv6 bool
    }
    
    // NewNetLinkHandle will create a new NetLinkHandle
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. pkg/proxy/util/localdetector.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 util
    
    import (
    	netutils "k8s.io/utils/net"
    )
    
    // LocalTrafficDetector generates iptables or nftables rules to detect traffic from local pods.
    type LocalTrafficDetector interface {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/kubeproxy.go

    limitations under the License.
    */
    
    package componentconfigs
    
    import (
    	"github.com/pkg/errors"
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/klog/v2"
    	kubeproxyconfig "k8s.io/kube-proxy/config/v1alpha1"
    	netutils "k8s.io/utils/net"
    
    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3"
    	kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 03:01:30 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/named_certificates_test.go

    import (
    	"bytes"
    	"crypto/rand"
    	"crypto/rsa"
    	"crypto/tls"
    	"crypto/x509"
    	"crypto/x509/pkix"
    	"encoding/base64"
    	"encoding/pem"
    	"fmt"
    	"math/big"
    	"net"
    	"testing"
    	"time"
    
    	netutils "k8s.io/utils/net"
    
    	"github.com/stretchr/testify/assert"
    )
    
    type testCertSpec struct {
    	host       string
    	names, ips []string // in certificate
    }
    
    type namedtestCertSpec struct {
    	testCertSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 20 08:42:09 UTC 2021
    - 8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/apiclient/init_dryrun.go

    		// We can't handle this event
    		return false, nil, nil
    	}
    
    	_, svcSubnet, err := netutils.ParseCIDRSloppy(idr.serviceSubnet)
    	if err != nil {
    		return true, nil, errors.Wrapf(err, "error parsing CIDR %q", idr.serviceSubnet)
    	}
    
    	internalAPIServerVirtualIP, err := netutils.GetIndexedIP(svcSubnet, 1)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:50 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go

    	"k8s.io/apiserver/pkg/util/openapi"
    	"k8s.io/apiserver/pkg/util/proxy"
    	"k8s.io/apiserver/pkg/util/webhook"
    	scheme "k8s.io/client-go/kubernetes/scheme"
    	corev1 "k8s.io/client-go/listers/core/v1"
    	netutils "k8s.io/utils/net"
    )
    
    const defaultEtcdPathPrefix = "/registry/apiextensions.kubernetes.io"
    
    // CustomResourceDefinitionsServerOptions describes the runtime options of an apiextensions-apiserver.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top