- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 260 for Spring (3.5 sec)
-
istioctl/pkg/tag/util.go
func GetNamespacesWithTag(ctx context.Context, client kubernetes.Interface, tag string) ([]string, error) { namespaces, err := client.CoreV1().Namespaces().List(ctx, metav1.ListOptions{ LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, tag), }) if err != nil { return nil, err } nsNames := make([]string, len(namespaces.Items)) for i, ns := range namespaces.Items { nsNames[i] = ns.Name }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
"bytes" "os" "testing" "istio.io/istio/pilot/test/util" "istio.io/istio/pkg/test/util/assert" ) func TestConfigWriter_Prime(t *testing.T) { tests := []struct { name string wantConfigs int inputFile string wantErr bool }{ { name: "errors if unable to unmarshal bytes", inputFile: "", wantConfigs: 0, wantErr: true, }, } for _, tt := range tests {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Jan 03 23:08:06 GMT 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/cli/context_test.go
ns := handleNamespace("test", "default") if ns != "test" { t.Fatalf("Get the incorrect namespace: %q back", ns) } tests := []struct { description string namespace string defaultNamespace string wantNamespace string }{ { description: "return test namespace", namespace: "test", defaultNamespace: "default", wantNamespace: "test", }, {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 1.4K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
"testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output GoldenFilename string // Expected output stored in golden file WantException bool }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
common-protos/k8s.io/api/events/v1/generated.proto
// This field cannot be empty for new Events. optional string reportingController = 4; // reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. // This field cannot be empty for new Events and it can have at most 128 characters. optional string reportingInstance = 5;
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/util.go
// limitations under the License. package configdump import ( "fmt" anypb "google.golang.org/protobuf/types/known/anypb" ) type configTypeURL string // See https://www.envoyproxy.io/docs/envoy/latest/api-v3/admin/v3/config_dump.proto const ( bootstrap configTypeURL = "type.googleapis.com/envoy.admin.v3.BootstrapConfigDump"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Dec 24 08:16:26 GMT 2023 - 2.1K bytes - Viewed (0) -
common-protos/k8s.io/api/scheduling/v1beta1/generated.proto
// description is an arbitrary string that usually provides guidelines on // when this priority class should be used. // +optional optional string description = 4; // preemptionPolicy is the Policy for preempting pods with lower priority. // One of Never, PreemptLowerPriority. // Defaults to PreemptLowerPriority if unset. // +optional optional string preemptionPolicy = 5; }
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/pluginlistener/listener_test.go
if err != nil { t.Fatalf("failed to connect %v", err) } conn.Close() } func connect(socket string) (*grpc.ClientConn, error) { var opts []grpc.DialOption opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) { var d net.Dialer return d.DialContext(ctx, "unix", socket) }))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 21:58:32 GMT 2024 - 1.4K bytes - Viewed (0) -
istioctl/pkg/util/formatting/formatter_test.go
} func TestFormatter_PrintEmpty(t *testing.T) { g := NewWithT(t) msgs := diag.Messages{} logOutput, _ := Print(msgs, LogFormat, false) g.Expect(logOutput).To(Equal("")) jsonOutput, _ := Print(msgs, JSONFormat, false) g.Expect(jsonOutput).To(Equal("[]")) yamlOutput, _ := Print(msgs, YAMLFormat, false) g.Expect(yamlOutput).To(Equal("[]\n"))
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) -
istioctl/pkg/writer/compare/testdata/configdump_diff.json
"format_string": { "text_format_source": { "inline_string": "%DOWNSTREAM_PEER_URI_SAN%" } }, "shared_with_upstream": "ONCE", "factory_key": "envoy.string" },
Json - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Mar 12 10:02:09 GMT 2024 - 51.6K bytes - Viewed (1)