- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 75 for code (0.13 sec)
-
istioctl/pkg/tag/tag_test.go
// limitations under the License. package tag import ( "bytes" "context" "strings" "testing" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/fake" "istio.io/api/label" "istio.io/istio/istioctl/pkg/util" "istio.io/istio/pkg/kube" ) func TestTagList(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
package nodeagent import ( "context" "errors" "fmt" "io" "net" "os" "sync" "time" "golang.org/x/sys/unix" "google.golang.org/protobuf/proto" v1 "k8s.io/api/core/v1" "istio.io/istio/pkg/monitoring" "istio.io/istio/pkg/spiffe" "istio.io/istio/pkg/zdsapi" ) var ( ztunnelKeepAliveCheckInterval = 5 * time.Second readWriteDeadline = 5 * time.Second )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 12.4K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
// limitations under the License. package nodeagent import ( "context" "fmt" "testing" "time" "github.com/stretchr/testify/mock" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" "istio.io/istio/cni/pkg/util" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
// limitations under the License. package nodeagent import ( "context" "errors" "net/netip" "runtime" "sync/atomic" "testing" "time" "golang.org/x/sys/unix" 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"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
} func TestKnownExitStrings(t *testing.T) { for err, wantCode := range KnownErrorCode { if code := GetExitCode(err); code != wantCode { t.Errorf("For %v want %v, but is %v", err, wantCode, code) } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
msgs := diag.Messages{firstMsg, secondMsg} output, _ := Print(msgs, JSONFormat, false) expectedOutput := `[ { "code": "B1", "documentationUrl": "` + url.ConfigAnalysis + `/b1/", "level": "Error", "message": "Explosion accident: the bubble is too big", "origin": "SoapBubble" }, { "code": "C1", "documentationUrl": "` + url.ConfigAnalysis + `/c1/", "level": "Warning",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 4.1K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
cmd.Print("Cancelled.\n") os.Exit(1) } l.LogAndPrintf("Removing Istio operator...") // Create an empty IOP for the purpose of populating revision. Apply code requires a non-nil IOP. var iop *iopv1alpha1.IstioOperator if orArgs.revision != "" { emptyiops := &v1alpha1.IstioOperatorSpec{Profile: "empty", Revision: orArgs.revision}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.4K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
return trimmedTerminationMessage == "" || trimmedTerminationMessage == strings.TrimSpace(state.Message) } // Helper function; checks that container exit code matches filter matchExitCode := func(state *corev1.ContainerStateTerminated) bool { // If we are filtering on init container exit code and the termination message does not match, exit if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) { return true } return false
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) -
istioctl/pkg/validate/validate.go
return nil, err } // IstioOperator isn't part of pkg/config/schema/collections, // usual conversion not available. Convert unstructured to string // and ask operator code to check. un.SetCreationTimestamp(metav1.Time{}) // UnmarshalIstioOperator chokes on these by := util.ToYAML(un) iop, err := operatoristio.UnmarshalIstioOperator(by, false) if err != nil { return nil, err
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
cni/pkg/config/config.go
DeletePods bool // Whether to label broken pods LabelPods bool // Filters for race repair, including name of sidecar annotation, name of init container, // init container termination message and exit code. SidecarAnnotation string InitContainerName string InitTerminationMsg string InitExitCode int // Label and field selectors to select pods managed by race repair. LabelSelectors string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0)