Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for profile (0.19 sec)

  1. operator/cmd/mesh/profile.go

    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    		Long:  "The profile command lists, dumps or diffs Istio configuration profiles.",
    		Example: "istioctl profile list\n" +
    			"istioctl install --set profile=demo  # Use a profile from the list",
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile-diff.go

    	return &cobra.Command{
    		Use:   "diff <profile|file1.yaml> <profile|file2.yaml>",
    		Short: "Diffs two Istio configuration profiles",
    		Long:  "The diff subcommand displays the differences between two Istio configuration profiles.",
    		Example: `  # Profile diff by providing yaml files
      istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml
    
      # Profile diff by providing a profile name
      istioctl profile diff default demo`,
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-list.go

    		return err
    	}
    	if len(profiles) == 0 {
    		cmd.Println("No profiles available.")
    	} else {
    		cmd.Println("Istio configuration profiles:")
    		sort.Strings(profiles)
    		for _, profile := range profiles {
    			cmd.Printf("    %s\n", profile)
    		}
    	}
    
    	return nil
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-dump.go

    }
    
    func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "dump [<profile>]",
    		Short: "Dumps an Istio configuration profile",
    		Long:  "The dump subcommand dumps the values in an Istio configuration profile.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				return fmt.Errorf("too many positional arguments")
    			}
    			return nil
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff demo demo --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    		{
    			args:           fmt.Sprintf("profile diff openshift openshift --manifests %s", snapshotCharts),
    			expectedString: "Profiles are identical",
    		},
    	}
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  6. operator/cmd/mesh/profile-list_test.go

    	. "github.com/onsi/gomega"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    )
    
    func TestProfileList(t *testing.T) {
    	g := NewWithT(t)
    	args := []string{"profile", "list", "--dry-run", "--manifests", filepath.Join(env.IstioSrc, "manifests")}
    
    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/profile-dump_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    			if !util.IsYAMLEqual(got, want) {
    				t.Errorf("profile-dump command(%s): got:\n%s\n\nwant:\n%s\nDiff:\n%s\n", tt.desc, got, want, util.YAMLDiff(got, want))
    			}
    		})
    	}
    }
    
    func runProfileDump(profilePath, configPath string, chartSource chartSourceType, outfmt string) (string, error) {
    	cmd := "profile dump -f " + profilePath
    	if configPath != "" {
    		cmd += " --config-path " + configPath
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  8. tests/associations_test.go

    	member := Member{Refer: 1, Name: "foreign_key_constraints", Profile: Profile{Name: "my_profile"}}
    
    	DB.Create(&member)
    
    	var profile Profile
    	if err := DB.First(&profile, "id = ?", member.Profile.ID).Error; err != nil {
    		t.Fatalf("failed to find profile, got error: %v", err)
    	} else if profile.MemberID != member.ID {
    		t.Fatalf("member id is not equal: expects: %v, got: %v", member.ID, profile.MemberID)
    	}
    
    	member.Profile = Profile{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Feb 08 08:29:09 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. schema/relationship_test.go

    			{"UserRefer", "Profile", "ProfileRefer", "user_profiles", "", false},
    		},
    	}, Relation{
    		Name: "Profiles2", Type: schema.Many2Many, Schema: "User", FieldSchema: "Profile",
    		JoinTable: JoinTable{Name: "user_profiles2", Table: "user_profiles2"},
    		References: []Reference{
    			{"Refer", "User", "User_refer_id", "user_profiles2", "", true},
    			{"UserRefer", "Profile", "Profile_refer", "user_profiles2", "", false},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/install.go

    		Example: `  # Apply a default Istio installation
      istioctl install
    
      # Enable Tracing
      istioctl install --set meshConfig.enableTracing=true
    
      # Generate the demo profile and don't wait for confirmation
      istioctl install --set profile=demo --skip-confirmation
    
      # To override a setting that includes dots, escape them with a backslash (\).  Your shell may require enclosing quotes.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top