Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for dolor (0.3 sec)

  1. istioctl/pkg/util/formatting/formatter.go

    	termEnvVar          = env.Register("TERM", "", "Specifies terminal type.  Use 'dumb' to suppress color output")
    )
    
    func init() {
    	for _, key := range MsgOutputFormatKeys {
    		MsgOutputFormats[key] = true
    	}
    }
    
    // Print output messages in the specified format with color options
    func Print(ms diag.Messages, format string, colorize bool) (string, error) {
    	switch format {
    	case LogFormat:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Name), table.NewCell(wa.Revision))
    		if wa.Injected {
    			row.Cells = append(row.Cells, table.NewCell("✔", color.FgGreen))
    		} else {
    			row.Cells = append(row.Cells, table.NewCell("✘", color.FgRed))
    		}
    		row.Cells = append(row.Cells, table.NewCell(wa.Reason))
    		return row
    	})
    	w.AddHeader("WEBHOOK", "REVISION", "INJECTED", "REASON")
    	injectedTotal := 0
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    	}
    
    	if customResource != "" {
    		if err := applyManifest(kubeClient, client, customResource, name.IstioOperatorComponentName, opts, iop, l); err != nil {
    			l.LogAndFatal(err)
    		}
    	}
    
    	l.LogAndPrint(color.New(color.FgGreen).Sprint("✔ ") + installationCompleteStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer.go

    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    	s := color.New(cell.Attributes...)
    	s.EnableColor()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

    	if err != nil {
    		return fmt.Errorf("fetch Istio version: %v", err)
    	}
    
    	// return warning if current date is near the EOL date
    	if operatorVer.IsEOL() {
    		warnMarker := color.New(color.FgYellow).Add(color.Italic).Sprint("WARNING:")
    		fmt.Printf("%s Istio %v may be out of support (EOL) already: see https://istio.io/latest/docs/releases/supported-releases/ for supported releases\n",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  6. operator/cmd/mesh/operator-remove.go

    	if err != nil {
    		l.LogAndFatal(err)
    	}
    	if err := reconciler.DeleteObjectsList(rs, string(name.IstioOperatorComponentName)); err != nil {
    		l.LogAndFatal(err)
    	}
    
    	l.LogAndPrint(color.New(color.FgGreen).Sprint("✔ ") + "Removal complete")
    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)
  7. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true,
    		"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
    	analysisCmd.PersistentFlags().BoolVar(&colorize, "color", formatting.IstioctlColorDefault(analysisCmd.OutOrStdout()),
    		"Default true.  Disable with '=false' or set $TERM to dumb")
    	analysisCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false,
    		"Enable verbose output")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/table/writer_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package table
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/fatih/color"
    )
    
    type testObject struct {
    	name      string
    	namespace string
    	version   string
    }
    
    var newTestObject = func(name, namespace, version string) testObject {
    	return testObject{
    		name:      name,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    				}
    			}
    			output, err := formatting.Print(outputMsgs, msgOutputFormat, true)
    			if err != nil {
    				return err
    			}
    
    			if len(outputMsgs) == 0 {
    				fmt.Fprintf(cmd.ErrOrStderr(), color.New(color.FgGreen).Sprint("✔")+" No issues found when checking the cluster. Istio is safe to install or upgrade!\n"+
    					"  To get started, check out https://istio.io/latest/docs/setup/getting-started/\n")
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top