- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for define (0.21 sec)
-
cni/pkg/nodeagent/netns_linux_test.go
func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than // #define PROC_DYNAMIC_FIRST 0xF0000000U if ns.Inode() < 0xF0000000 { t.Fatalf("unexpected inode: %v", ns.Inode()) } defer ns.Close()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 976 bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
for _, configuredPodIPs := range addCmd.IPs { // net.ip is implicitly convertible to netip as slice ip, _ := netip.AddrFromSlice(configuredPodIPs.Address.IP) // We ignore the mask of the IPNet - it's fine if the IPNet defines // a block grant of addresses, we just need one for checking routes. podIps = append(podIps, ip) }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
istioctl/pkg/clioptions/control_plane.go
// See the License for the specific language governing permissions and // limitations under the License. package clioptions import "github.com/spf13/cobra" // ControlPlaneOptions defines common options used by istioctl. type ControlPlaneOptions struct { // Revision is the istio.io/rev control plane revision Revision string } // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Mar 01 05:47:27 GMT 2021 - 1.1K bytes - Viewed (0) -
operator/cmd/mesh/root.go
installationCompleteStr = `Installation complete` ForceFlagHelpStr = `Proceed even with validation errors.` MaxConcurrentReconcilesFlagHelpStr = `Defines the concurrency limit for operator to reconcile IstioOperatorSpec in parallel. Default value is 1.` HubFlagHelpStr = `The hub for the operator controller image.`
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
}, { testName: "success", objs: []runtime.Object{kubeSystemNamespace, sa, saSecret}, name: "cluster-foo", want: "cal-want", }, { testName: "success with type defined", objs: []runtime.Object{kubeSystemNamespace, sa, saSecret}, name: "cluster-foo", secType: "config", want: "cal-want", }, { testName: "failure due to multiple secrets",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
msg.NewUnsupportedKubernetesVersion(&resource.Instance{Origin: clusterOrigin{}}, v.String(), fmt.Sprintf("1.%d", k8sversion.MinK8SVersion)), }, nil } return nil, nil } // clusterOrigin defines an Origin that refers to the cluster type clusterOrigin struct{} func (o clusterOrigin) ClusterName() istiocluster.ID { return "Cluster" } func (o clusterOrigin) String() string { return "" }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
"istio.io/istio/pkg/version" ) const ( testIstioDiscoveryChartPath = "charts/istio-control/istio-discovery/templates" operatorSubdirFilePath = "manifests" ) // chartSourceType defines where charts used in the test come from. type chartSourceType string var ( operatorRootDir = filepath.Join(env.IstioSrc, "operator") // testDataDir contains the directory for manifest-generate test data
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_iptables_linux.go
"istio.io/istio/tools/istio-iptables/pkg/config" "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) // getNs is a unit test override variable for interface create. var getNs = ns.GetNS // Program defines a method which programs iptables based on the parameters // provided in Redirect. func (ipt *iptables) Program(podName, netns string, rdrct *Redirect) error { cfg := config.DefaultConfig() cfg.CNIMode = true
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 18 17:36:41 GMT 2024 - 2.5K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.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. // Defines the redirect object and operations. package plugin import ( "fmt" "net/netip" "strconv" "strings" "istio.io/api/annotation" "istio.io/istio/pkg/log"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
cni/test/install_k8s_test.go
resultFileName: "YYY-istio-cni.conf", expectedOutputFile: testDataDir + "/expected/YYY-istio-cni.conf", }, { name: "standalone plugin user defined name", preConfFile: "user-defined.conf", resultFileName: "user-defined.conf", expectedOutputFile: testDataDir + "/expected/YYY-istio-cni.conf", }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Jul 27 18:01:48 GMT 2022 - 8K bytes - Viewed (0)