Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Print (0.28 sec)

  1. 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 Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. manifests/charts/istio-control/istio-discovery/templates/NOTES.txt

    {{- range $dep, $replace := $failDeps }}
    {{- /* Complex logic to turn the string above into a null-safe traversal like ((.Values.global).certificates */}}
    {{- $res := tpl (print "{{" (repeat (split "." $dep | len) "(")  ".Values." (replace "." ")." $dep) ")}}") $}}
    {{- if not (eq $res "")}}
    {{fail (print $dep " is removed")}}
    {{- end }}
    Plain Text
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Dec 13 03:23:36 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/services.go

    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // ServiceFilter is used to pass filter information into service based config writer print functions
    type ServiceFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
    	if wf.Namespace != "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. bin/build_ztunnel.sh

    # If we are not using the default, assume its private and we need to authenticate
    if [[ "${ISTIO_ZTUNNEL_BASE_URL}" != "https://storage.googleapis.com/istio-build/ztunnel" ]]; then
      AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)"
      export AUTH_HEADER
    fi
    
    ZTUNNEL_REPO_SHA="${ZTUNNEL_REPO_SHA:-$(grep ZTUNNEL_REPO_SHA istio.deps  -A 4 | grep lastStableSHA | cut -f 4 -d '"')}"
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. bin/update_crds.sh

    SHA=$(grep "istio.io/api" go.mod | grep "^replace" | awk -F "-" '{print $NF}')
    if [ -n "${SHA}" ]; then
      REPO=$(grep "istio.io/api" go.mod | grep "^replace" | awk '{print $4}')
    else
      SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }')
      if [[ ${SHA} == *"-"* && ! ${SHA} =~ -rc.[0-9]$ && ! ${SHA} =~ -beta.[0-9]$ && ! ${SHA} =~ -alpha.[0-9]$ ]]; then
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 14:28:27 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. bin/update_deps.sh

    LATEST_DEB11_DISTROLESS_SHA256=$(crane digest gcr.io/distroless/static-debian11 | awk -F\: '{print $2}')
    sed -i -E "s/sha256:[a-z0-9]+/sha256:${LATEST_DEB11_DISTROLESS_SHA256}/g" docker/Dockerfile.distroless
    
    # shellcheck disable=SC1001
    LATEST_IPTABLES_DISTROLESS_SHA256=$(crane digest gcr.io/istio-release/iptables | awk -F\: '{print $2}')
    sed -i -E "s/sha256:[a-z0-9]+/sha256:${LATEST_IPTABLES_DISTROLESS_SHA256}/g" pilot/docker/Dockerfile.proxyv2
    Shell Script
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Sep 12 14:07:30 GMT 2023
    - 2K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/tag.go

    		if msg.Resource.Metadata.FullName.Name == resource.LocalName(name) {
    			relevantMessages = append(relevantMessages, msg)
    		}
    	}
    	if len(relevantMessages) > 0 {
    		o, err := formatting.Print(relevantMessages, formatting.LogFormat, false)
    		if err != nil {
    			return err
    		}
    		// nolint
    		return fmt.Errorf("creating tag would conflict, pass --skip-confirmation to proceed:\n%v\n", o)
    	}
    	return nil
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/templates/configmap.yaml

          {{- else if eq .Values.global.proxy.tracer "zipkin" }}
            zipkin:
              # Address of the Zipkin collector
              address: {{ ((.Values.global.tracer).zipkin).address | default (print "zipkin." .Values.global.istioNamespace ":9411") }}
          {{- else if eq .Values.global.proxy.tracer "datadog" }}
            datadog:
              # Address of the Datadog Agent
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Mar 07 16:59:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    			}
    
    			// Get messages for output
    			outputMessages := result.Messages.SetDocRef("istioctl-analyze").FilterOutLowerThan(outputThreshold.Level)
    
    			// Print all the messages to stdout in the specified format
    			output, err := formatting.Print(outputMessages, msgOutputFormat, colorize)
    			if err != nil {
    				return err
    			}
    			fmt.Fprintln(cmd.OutOrStdout(), output)
    
    			// An extra message on success
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top