Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,976 for CONTEXT (0.1 sec)

  1. pkg/config/analysis/testing/fixtures/context.go

    	"istio.io/istio/pkg/config/analysis/diag"
    	"istio.io/istio/pkg/config/resource"
    )
    
    // Context is a test fixture of analysis.Context
    type Context struct {
    	Resources []*resource.Instance
    	Reports   []diag.Message
    }
    
    var _ analysis.Context = &Context{}
    
    // Report implements analysis.Context
    func (ctx *Context) Report(_ config.GroupVersionKind, t diag.Message) {
    	ctx.Reports = append(ctx.Reports, t)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 28 20:21:54 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. pkg/test/framework/resource/context.go

    	"istio.io/istio/pkg/test/framework/resource/config/cleanup"
    	"istio.io/istio/pkg/test/util/yml"
    )
    
    // Context is the core context interface that is used by resources.
    type Context interface {
    	yml.FileWriter
    
    	// TrackResource tracks a resource in this context. If the context is closed, then the resource will be
    	// cleaned up.
    	TrackResource(r Resource) ID
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/context.go

    // this was not an explicit design goal of the context type. In fact, due to
    // concurrent use it is convenient not to guarantee de-duplication.
    //
    // Nevertheless, in the future it could be helpful to allow users to leverage
    // contexts to canonicalize instances, and it would probably be possible to
    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/list/context.go

    	InstallSuffix string   `json:",omitempty"` // suffix to use in the name of the install dir
    }
    
    func newContext(c *build.Context) *Context {
    	return &Context{
    		GOARCH:        c.GOARCH,
    		GOOS:          c.GOOS,
    		GOROOT:        c.GOROOT,
    		GOPATH:        c.GOPATH,
    		CgoEnabled:    c.CgoEnabled,
    		UseAllFiles:   c.UseAllFiles,
    		Compiler:      c.Compiler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 21:56:16 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/request/context.go

    func NewContext() context.Context {
    	return context.TODO()
    }
    
    // NewDefaultContext instantiates a base context object for request flows in the default namespace
    func NewDefaultContext() context.Context {
    	return WithNamespace(NewContext(), metav1.NamespaceDefault)
    }
    
    // WithValue returns a copy of parent in which the value associated with key is val.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 23 14:08:44 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  6. internal/kms/context.go

    package kms
    
    import (
    	"bytes"
    	"sort"
    	"unicode/utf8"
    )
    
    // Context is a set of key-value pairs that
    // are associated with a generate data encryption
    // key (DEK).
    //
    // A KMS implementation may bind the context to the
    // generated DEK such that the same context must be
    // provided when decrypting an encrypted DEK.
    type Context map[string]string
    
    // MarshalText returns a canonical text representation of
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  7. src/context/context.go

    	// 	var userKey key
    	//
    	// 	// NewContext returns a new Context that carries value u.
    	// 	func NewContext(ctx context.Context, u *User) context.Context {
    	// 		return context.WithValue(ctx, userKey, u)
    	// 	}
    	//
    	// 	// FromContext returns the User value stored in ctx, if any.
    	// 	func FromContext(ctx context.Context) (*User, bool) {
    	// 		u, ok := ctx.Value(userKey).(*User)
    	// 		return u, ok
    	// 	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  8. src/go/types/context.go

    // achieve such a guarantee.
    
    // A Context is an opaque type checking context. It may be used to share
    // identical type instances across type-checked packages or calls to
    // Instantiate. Contexts are safe for concurrent use.
    //
    // The use of a shared context does not guarantee that identical instances are
    // deduplicated in all cases.
    type Context struct {
    	mu        sync.Mutex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pkg/ctrlz/fw/context.go

    func (c context) HTMLRouter() *mux.Router {
    	return c.htmlRouter
    }
    
    func (c context) JSONRouter() *mux.Router {
    	return c.jsonRouter
    }
    
    func (c context) Layout() *template.Template {
    	return c.layout
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/context.go

    import (
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/client-go/rest"
    
    	"istio.io/istio/istioctl/pkg/util/handlers"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/ptr"
    )
    
    type Context interface {
    	// CLIClient returns a client for the default revision
    	CLIClient() (kube.CLIClient, error)
    	// CLIClientWithRevision returns a client for the given revision
    	CLIClientWithRevision(rev string) (kube.CLIClient, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top