Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for registerScope (0.28 sec)

  1. pkg/log/options_test.go

    				}
    
    				if !reflect.DeepEqual(c.result, *o) {
    					t.Errorf("Got %v, expected %v", *o, c.result)
    				}
    			})
    		}
    
    		_ = RegisterScope("foo", "bar")
    	}
    }
    
    func TestSetDefaultLevel(t *testing.T) {
    	resetGlobals()
    
    	_ = RegisterScope("TestSetLevel", "")
    
    	cases := []struct {
    		flagLevels    string
    		scope         string
    		defaultLevel  Level
    		expectedLevel Level
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. security/pkg/nodeagent/sds/sdsservice.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/backoff"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/model"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/xds"
    )
    
    var sdsServiceLog = log.RegisterScope("sds", "SDS service debugging")
    
    type sdsservice struct {
    	st security.SecretManager
    
    	stop       chan struct{}
    	rootCaPath string
    	pkpConf    *mesh.PrivateKeyProvider
    
    	sync.Mutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. pkg/webhooks/validation/controller/controller.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/controllers"
    	"istio.io/istio/pkg/kube/kclient"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/ptr"
    	"istio.io/istio/pkg/webhooks/util"
    )
    
    var scope = log.RegisterScope("validationController", "validation webhook controller")
    
    type Options struct {
    	// Istio system namespace where istiod resides.
    	WatchedNamespace string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. pkg/log/config_test.go

    				t.Errorf("formatDate(%v) => %s, want micros: %s", v.input, testEnc.output, v.want)
    			}
    		})
    	}
    }
    
    func TestOverrides(t *testing.T) {
    	resetGlobals()
    	s := RegisterScope("TestOverrides", "For testing")
    
    	o := DefaultOptions()
    	o.outputLevels = "default:debug,all:info"
    	if err := Configure(o); err != nil {
    		t.Errorf("Expecting success, got %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. pkg/spiffe/spiffe.go

    	defaultTrustDomain = constants.DefaultClusterLocalDomain
    
    	ServiceAccountSegment = "sa"
    	NamespaceSegment      = "ns"
    )
    
    var (
    	firstRetryBackOffTime = time.Millisecond * 50
    
    	spiffeLog = log.RegisterScope("spiffe", "SPIFFE library logging")
    )
    
    type Identity struct {
    	TrustDomain    string
    	Namespace      string
    	ServiceAccount string
    }
    
    func ParseIdentity(s string) (Identity, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pkg/wasm/cache.go

    	"path/filepath"
    	"strconv"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/google/go-containerregistry/pkg/name"
    
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var wasmLog = log.RegisterScope("wasm", "")
    
    const (
    	// oci URL prefix
    	ociURLPrefix = "oci://"
    
    	// sha256 scheme prefix
    	sha256SchemePrefix = "sha256:"
    )
    
    // Cache models a Wasm module cache.
    type Cache interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller.go

    	"istio.io/istio/pkg/kube/kubetypes"
    	istiolog "istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var log = istiolog.RegisterScope("gateway", "gateway-api controller")
    
    var errUnsupportedOp = fmt.Errorf("unsupported operation: the gateway config store is a read-only view")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/crdclient/client.go

    	"istio.io/istio/pkg/kube/kubetypes"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/queue"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var scope = log.RegisterScope("kube", "Kubernetes client messages")
    
    // Client is a client for Istio CRDs, implementing config store cache
    // This is used for CRUD operators on Istio configuration, as well as handling of events on config changes
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. pilot/pkg/security/authn/policy_applier.go

    	// TCP describes the tls context to use for TCP filter chains
    	TCP *tlsv3.DownstreamTlsContext
    	// HTTP describes the tls context to use for HTTP filter chains
    	HTTP *tlsv3.DownstreamTlsContext
    }
    
    var authnLog = log.RegisterScope("authn", "authn debugging")
    
    // Implementation of authn.PolicyApplier with v1beta1 API.
    type policyApplier struct {
    	// processedJwtRules is the consolidate JWT rules from all jwtPolicies.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. operator/pkg/manifest/shared.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/util/sets"
    	pkgversion "istio.io/istio/pkg/version"
    )
    
    // installerScope is the scope for shared manifest package.
    var installerScope = log.RegisterScope("installer", "installer")
    
    // GenManifests generates a manifest map, keyed by the component name, from input file list and a YAML tree
    // representation of path-values passed through the --set flag.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
Back to top