- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 52 for CoreV1 (0.15 sec)
-
istioctl/pkg/describe/describe.go
} } } func findProtocolForPort(port *corev1.ServicePort) string { var protocol string if port.Name == "" && port.AppProtocol == nil && port.Protocol != corev1.ProtocolUDP { protocol = "auto-detect" } else { protocol = string(configKube.ConvertProtocol(port.Port, port.Name, port.Protocol, port.AppProtocol)) } return protocol } func isMeshed(pod *corev1.Pod) bool { return inject.FindSidecar(pod) != nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
cni/pkg/nodeagent/fakes_test.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import ( "context" "embed" "io/fs" "sync/atomic" "syscall" corev1 "k8s.io/api/core/v1" "istio.io/istio/cni/pkg/iptables" ) //go:embed testdata/cgroupns var fakeProc embed.FS type fakeZtunnel struct { deletedPods atomic.Int32 addedPods atomic.Int32
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 3.9K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
} ctx := cli.NewFakeContext(&cli.NewFakeContextOption{ IstioNamespace: "istio-system", }) client, err := ctx.CLIClient() if err != nil { t.Fatal(err) } client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "prometheus", Namespace: "istio-system", Labels: map[string]string{ "app.kubernetes.io/name": "prometheus", }, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
cni/pkg/nodeagent/pod_cache_test.go
// See the License for the specific language governing permissions and // limitations under the License. package nodeagent import ( "reflect" "sync/atomic" "testing" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) func openNsTestOverride(s string) (NetnsCloser, error) { return newFakeNs(inc()), nil }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.2K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
return nil } func checkExternalNameAlias(cli kube.CLIClient, messages *diag.Messages) error { svcs, err := cli.Kube().CoreV1().Services(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{}) if err != nil { return err } for _, svc := range svcs.Items { if svc.Spec.Type != corev1.ServiceTypeExternalName { continue } res := ObjectToInstance(&svc) messages.Add(msg.NewUpdateIncompatibility(res,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 02:57:30 GMT 2024 - 19.3K bytes - Viewed (0) -
istioctl/pkg/cli/context.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 cli import ( corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/rest" "istio.io/istio/istioctl/pkg/util/handlers" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/ptr" ) type Context interface {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
UID: &pod.UID, ResourceVersion: &pod.ResourceVersion, } err := c.client.Kube().CoreV1().Pods(pod.Namespace).Delete(context.Background(), pod.Name, metav1.DeleteOptions{ Preconditions: preconditions, }) if err != nil { c.events.Write(pod, corev1.EventTypeWarning, ReasonDeleteBrokenPod, "pod detected as broken, but failed to delete: %v", err) m.With(resultLabel.Value(resultFail)).Increment()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
// limitations under the License. package nodeagent import ( "context" "encoding/json" "fmt" "io" "net" "net/http" "net/netip" "time" corev1 "k8s.io/api/core/v1" pconstants "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/pluginlistener" ) // Just a composite of the CNI plugin add event struct + some extracted "args"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 18:52:24 GMT 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
"regexp" "strings" "unicode" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/util/sets" ) type PodToNetns map[string]WorkloadInfo func (p PodToNetns) Close() { for _, wl := range p { wl.Netns.Close() } } type PodNetnsFinder interface { FindNetnsForPods(filter map[types.UID]*corev1.Pod) (PodToNetns, error) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 11K bytes - Viewed (0)