Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for utils (0.19 sec)

  1. cni/pkg/util/podutil_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package util
    
    import (
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/annotation"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. cni/pkg/util/podutil.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 (
    	"context"
    	"fmt"
    	"net/netip"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. cni/pkg/iptables/iptables_test.go

    // 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)
    	}{
    		{
    			"default",
    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)
  4. cni/pkg/nodeagent/net_test.go

    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/intstr"
    
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    func setupLogging() {
    	opts := istiolog.DefaultOptions()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/config/protocol"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var (
    	revision      = ""
    	waitReady     bool
    	allNamespaces bool
    
    	deleteAll bool
    
    	trafficType       = constants.ServiceTraffic
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	"github.com/spf13/cobra"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/kubectl/pkg/util/podutils"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	ambientutil "istio.io/istio/istioctl/pkg/util/ambient"
    	ztunnelDump "istio.io/istio/istioctl/pkg/writer/ztunnel/configdump"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/kube"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/rest"
    
    	pconstants "istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/cni/pkg/ipset"
    	"istio.io/istio/cni/pkg/iptables"
    	"istio.io/istio/cni/pkg/util"
    	"istio.io/istio/pkg/kube"
    )
    
    type MeshDataplane interface {
    	// called first, (even before Start()).
    	ConstructInitialSnapshot(ambientPods []*corev1.Pod) error
    	Start(ctx context.Context)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. 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)
Back to top