Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 1,598 for var1 (0.05 sec)

  1. internal/kms/errors.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"fmt"
    	"net/http"
    )
    
    var (
    	// ErrPermission is an error returned by the KMS when it has not
    	// enough permissions to perform the operation.
    	ErrPermission = Error{
    		Code:    http.StatusForbidden,
    		APICode: "kms:NotAuthorized",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 16 14:03:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. cni/pkg/util/pluginutil.go

    // Read CNI config from file and return the unmarshalled JSON as a map
    func ReadCNIConfigMap(path string) (map[string]any, error) {
    	cniConfig, err := os.ReadFile(path)
    	if err != nil {
    		return nil, err
    	}
    
    	var cniConfigMap map[string]any
    	if err = json.Unmarshal(cniConfig, &cniConfigMap); err != nil {
    		return nil, fmt.Errorf("%s: %w", path, err)
    	}
    
    	return cniConfigMap, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/comparator.go

    	}
    	if err := c.ListenerDiff(); err != nil {
    		return err
    	}
    	return c.RouteDiff()
    }
    
    // nonstrictResolver is an AnyResolver that ignores unknown proto messages
    type nonstrictResolver struct{}
    
    var envoyResolver nonstrictResolver
    
    func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) {
    	// See https://github.com/golang/protobuf/issues/747#issuecomment-437463120
    	mname := typeURL
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. istioctl/pkg/xds/client.go

    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultExpirationSeconds is how long-lived a token to request (an hour)
    	defaultExpirationSeconds = 60 * 60
    )
    
    // Audience to create tokens for
    var tokenAudiences = []string{"istio-ca"}
    
    // GetXdsResponse opens a gRPC connection to opts.xds and waits for a single response
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. api/go1.19.txt

    pkg go/doc/comment, type Printer struct, TextWidth int #51082
    pkg go/doc/comment, type Text interface, unexported methods #51082
    pkg go/types, method (*Func) Origin() *Func #51682
    pkg go/types, method (*Var) Origin() *Var #51682
    pkg hash/maphash, func Bytes(Seed, []uint8) uint64 #42710
    pkg hash/maphash, func String(Seed, string) uint64 #42710
    pkg html/template, method (*Template) Funcs(template.FuncMap) *Template #46121
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  6. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val hostnameVerifier = RecordingHostnameVerifier()
      private lateinit var client: OkHttpClient
      private lateinit var host: String
      private lateinit var url: HttpUrl
      private val networkLogs = LogRecorder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/QueueDispatcher.kt

     */
    @ExperimentalOkHttpApi
    open class QueueDispatcher : Dispatcher() {
      protected val responseQueue: BlockingQueue<MockResponse> = LinkedBlockingQueue()
      private var failFastResponse: MockResponse? = null
    
      @Throws(InterruptedException::class)
      override fun dispatch(request: RecordedRequest): MockResponse {
        // To permit interactive/browser testing, ignore requests for favicons.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. internal/kms/config_test.go

    		}
    
    		if !test.ShouldFail && ok != test.IsPresent {
    			t.Fatalf("Test %d: reported that KMS present=%v - want present=%v", i, ok, test.IsPresent)
    		}
    	}
    }
    
    var isPresentTests = []struct {
    	Env        map[string]string
    	IsPresent  bool
    	ShouldFail bool
    }{
    	{Env: map[string]string{}}, // 0
    	{ // 1
    		Env: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    func TestReader(t *testing.T) {
    	for _, zt := range tests {
    		t.Run(zt.Name, func(t *testing.T) {
    			readTestZip(t, zt)
    		})
    	}
    }
    
    func readTestZip(t *testing.T, zt ZipTest) {
    	var z *Reader
    	var err error
    	var raw []byte
    	if zt.Source != nil {
    		rat, size := zt.Source()
    		z, err = NewReader(rat, size)
    		raw = make([]byte, size)
    		if _, err := rat.ReadAt(raw, 0); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  10. internal/s3select/jstream/errors.go

    package jstream
    
    import (
    	"fmt"
    	"strconv"
    )
    
    // Predefined errors
    var (
    	ErrSyntax        = DecoderError{msg: "invalid character"}
    	ErrUnexpectedEOF = DecoderError{msg: "unexpected end of JSON input"}
    	ErrMaxDepth      = DecoderError{msg: "maximum recursion depth exceeded"}
    )
    
    type errPos [2]int // line number, byte offset where error occurred
    
    // DecoderError contains a detailed decoding error.
    type DecoderError struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top