Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for texts (0.13 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    )
    
    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 {
    		t.Run(tt.name, func(t *testing.T) {
    			cw := &ConfigWriter{}
    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)
  2. istioctl/pkg/cli/context_test.go

    package cli
    
    import "testing"
    
    func Test_handleNamespace(t *testing.T) {
    	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",
    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)
  3. istioctl/pkg/tag/revision.go

    // integration tests only
    type MutatingWebhookConfigInfo struct {
    	Name     string `json:"name"`
    	Revision string `json:"revision"`
    	Tag      string `json:"tag,omitempty"`
    }
    
    // NsInfo represents namespace related information like pods running there.
    // It is used to display data and is exposed for integration tests.
    type NsInfo struct {
    	Name string             `json:"name,omitempty"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener_test.go

    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    
    	"istio.io/istio/pkg/wellknown"
    )
    
    func TestListenerFilter_Verify(t *testing.T) {
    	tests := []struct {
    		desc       string
    		inFilter   *ListenerFilter
    		inListener *listener.Listener
    		expect     bool
    	}{
    		{
    			desc: "filter-fields-empty",
    			inFilter: &ListenerFilter{
    				Address: "",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. manifests/charts/UPDATING-CHARTS.md

    Once the schema file is updated, run:
    
    ```bash
    $ make operator-proto
    ```
    
    This will regenerate the Go structs used for schema validation.
    
    ## Step 4. Update the generated manifests
    
    Tests of istioctl use the auto-generated manifests to ensure that the istioctl binary has the correct version of the charts.
    To regenerate the manifests, run:
    
    ```bash
    $ make copy-templates update-golden
    ```
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 27 18:28:55 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/ecds.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"fmt"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	core "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    const typeURLPrefix = "type.googleapis.com/"
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Jan 14 02:41:27 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  7. cni/test/install_k8s_test.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.
    
    // This tests the k8s installation.  It validates the CNI plugin configuration
    // and the existence of the CNI plugin binary locations.
    package install_test
    
    import (
    	"testing"
    
    	install "istio.io/istio/cni/test"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jul 27 18:01:48 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig_test.go

    		slp               string
    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    *ScopeLevelPair
    		wantErr bool
    	}{
    		{
    			name:    "Fail when logs scope-level pair don't match pattern",
    			args:    args{validationPattern: validationPattern, slp: "invalid:pattern"},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/profile-dump_test.go

    	"testing"
    
    	"github.com/kylelemons/godebug/diff"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestProfileDump(t *testing.T) {
    	testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
    	tests := []struct {
    		desc       string
    		configPath string
    	}{
    		{
    			desc: "all_off",
    		},
    		{
    			desc:       "config_path",
    			configPath: "components",
    		},
    		{
    			desc:       "list_path",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. istioctl/pkg/authz/analyzer_test.go

    	"google.golang.org/protobuf/types/known/anypb"
    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    		{
    			name: "Test1",
    			input: &configdump.Wrapper{
    				ConfigDump: &envoy_admin.ConfigDump{
    					Configs: []*anypb.Any{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top