- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for Annotation (0.17 sec)
-
istioctl/pkg/injector/injector-list.go
"github.com/spf13/cobra" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api_pkg_labels "k8s.io/apimachinery/pkg/labels" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/describe" "istio.io/istio/istioctl/pkg/util/ambient"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
package checkinject import ( "os" "testing" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/yaml" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/pkg/test/util/assert" ) func Test_analyzeRunningWebhooks(t *testing.T) { cases := []struct { name string pod *corev1.Pod
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
}, { name: "include-exclude-ports", annotations: map[string]string{ annotation.SidecarStatus.Name: "true", annotation.SidecarTrafficIncludeInboundPorts.Name: "1111,2222", annotation.SidecarTrafficExcludeInboundPorts.Name: "3333,4444", annotation.SidecarTrafficExcludeOutboundPorts.Name: "5555,6666", }, proxyEnv: []corev1.EnvVar{},
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
cmd/site-replication.go
} } return c.newConcErr(errMap, actionName) } func (c *SiteReplicationSys) annotateErr(annotation string, err error) error { if err == nil { return nil } return fmt.Errorf("%s: %s: %w", c.state.Name, annotation, err) } func (c *SiteReplicationSys) annotatePeerErr(dstPeer string, annotation string, err error) error { if err == nil { return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 184.2K bytes - Viewed (1) -
cni/pkg/plugin/plugin.go
"k8s.io/client-go/kubernetes" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/util" "istio.io/istio/pkg/log" "istio.io/istio/pkg/util/sets" ) var ( injectAnnotationKey = annotation.SidecarInject.Name sidecarStatusKey = annotation.SidecarStatus.Name podRetrievalMaxRetries = 30
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 10.5K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
// 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{ ObjectMeta: metav1.ObjectMeta{ Name: "test",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/util/podutil.go
"k8s.io/client-go/kubernetes" "istio.io/api/annotation" "istio.io/istio/pkg/config/constants" ) var annotationPatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":"%s"}}}`, constants.AmbientRedirection, constants.AmbientRedirectionEnabled, )) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, ))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
} wasAnnotated := oldPod.Annotations != nil && oldPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled isAnnotated := newPod.Annotations != nil && newPod.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled shouldBeEnabled := util.PodRedirectionEnabled(ns, newPod) // We should check the latest annotation vs desired status
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
cni/pkg/repair/repair_test_helpers.go
InitContainerStatus: &brokenInitContainerWaiting, }) brokenPodNoAnnotation = makePod(makePodArgs{ PodName: "broken-pod-no-annotation", InitContainerStatus: &brokenInitContainerWaiting, }) workingPod = makePod(makePodArgs{ PodName: "working-pod", Annotations: map[string]string{ "sidecar.istio.io/status": "something", }, InitContainerStatus: &workingInitContainer, })
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 12 17:39:53 GMT 2023 - 4.7K bytes - Viewed (0) -
src/bufio/scan.go
// text, stripped of any trailing end-of-line marker. The returned line may // be empty. The end-of-line marker is one optional carriage return followed // by one mandatory newline. In regular expression notation, it is `\r?\n`. // The last non-empty line of input will be returned even if it has no // newline. func ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF && len(data) == 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0)