Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewLocal (0.08 sec)

  1. pkg/test/framework/components/authz/server.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	return s
    }
    
    // NewLocal does not deploy a new server, but instead configures Istio
    // to allow calls to a local authz server running as a sidecar to the echo
    // app.
    func NewLocal(ctx resource.Context, ns namespace.Instance) (Server, error) {
    	return newLocalKubeServer(ctx, ns)
    }
    
    // NewLocalOrFail calls NewLocal and fails if an error occurs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 14 23:39:05 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/dcl.go

    		base.FatalfAt(pos, "misuse of method type: %v", typ)
    	}
    	types.CalcSize(typ)
    
    	sym := &types.Sym{
    		Name: autotmpname(len(curfn.Dcl)),
    		Pkg:  types.LocalPkg,
    	}
    	name := curfn.NewLocal(pos, sym, typ)
    	name.SetEsc(ir.EscNever)
    	name.SetUsed(true)
    	name.SetAutoTemp(true)
    
    	return name
    }
    
    var (
    	autotmpnamesmu sync.Mutex
    	autotmpnames   []string
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top