_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c7500 | // SetIPAddresses sets the IP addresses for the processing unit | |
c7501 | // ExposedServices returns the exposed services | |
c7502 | // DependentServices returns the external services. | |
c7503 | // ServicesListeningPort returns the port that should be used by the proxies. | |
c7504 | // UpdateDNSNetworks updates the set of FQDN names allowed by the policy | |
c7505 | // UpdateServiceCertificates updates the certificate and private key of the policy | |
c7506 | // ServiceCertificates returns the service certificate. | |
c7507 | // Scopes returns the scopes of the policy. | |
c7508 | // ToPublicPolicy converts the object to a marshallable object. | |
c7509 | // ToPrivatePolicy converts the object to a private object. | |
c7510 | // NewGenericSecretsDriver creates a new Kubernetes Secrets Driver. It
// always uses the incluster config to automatically derive all the
// necessary values. | |
c7511 | // Transform transforms the request of the SecretsDriver | |
c7512 | // ValueEqual return true if v1 and v2 is same value. If passed function, does
// extra checks otherwise just doing reflect.DeepEqual | |
c7513 | // Run executes statement in the specified environment. | |
c7514 | // RunContext executes statement in the specified environment with context. | |
c7515 | // newError makes VM error from error | |
c7516 | // newStringError makes VM error from string | |
c7517 | // equal returns true when lhsV and rhsV is same value. | |
c7518 | // appendSlice appends rhs to lhs
// function assumes lhsV and rhsV are slice or array | |
c7519 | // precedenceOfKinds returns the greater of two kinds
// string > float > int | |
c7520 | // toString converts all reflect.Value-s into string. | |
c7521 | // toBool converts all reflect.Value-s into bool. | |
c7522 | // toFloat64 converts all reflect.Value-s into float64. | |
c7523 | // toInt64 converts all reflect.Value-s into int64. | |
c7524 | // toInt converts all reflect.Value-s into int. | |
c7525 | // isHex returns true if the rune is a hex digits. | |
c7526 | // peek returns current rune in the code. | |
c7527 | // next moves offset to next. | |
c7528 | // pos returns the position of current. | |
c7529 | // scanIdentifier returns identifier beginning at current position. | |
c7530 | // scanNumber returns number beginning at current position. | |
c7531 | // scanRawString returns raw-string starting at current position. | |
c7532 | // scanString returns string starting at current position.
// This handles backslash escaping. | |
c7533 | // Lex scans the token and literals. | |
c7534 | // Error sets parse error. | |
c7535 | // Parse provides way to parse the code using Scanner. | |
c7536 | // ParseSrc provides way to parse the code from source. | |
c7537 | // DefineImport defines the vm import command that will import packages and package types when wanted | |
c7538 | // reflectValueSlicetoInterfaceSlice convert from a slice of reflect.Value to a interface slice
// returned in normal reflect.Value form | |
c7539 | // convertReflectValueToType trys to covert the reflect.Value to the reflect.Type
// if it can not, it returns the original rv and an error | |
c7540 | // convertSliceOrArray trys to covert the reflect.Value slice or array to the slice or array reflect.Type | |
c7541 | // convertMap trys to covert the reflect.Value map to the map reflect.Type | |
c7542 | // convertVMFunctionToType is for translating a runVMFunction into the correct type
// so it can be passed to a Go function argument with the correct static types
// it creates a translate function runVMConvertFunction | |
c7543 | // toSlice takes in a "generic" slice and converts and copies
// it's elements into the typed slice pointed at by ptr.
// Note that this is a costly operation. | |
c7544 | // funcExpr creates a function that reflect Call can use.
// When called, it will run runVMFunction, to run the function statements | |
c7545 | // anonCallExpr handles ast.AnonCallExpr which calls a function anonymously | |
c7546 | // checkIfRunVMFunction checking the number and types of the reflect.Type.
// If it matches the types for a runVMFunction this will return true, otherwise false | |
c7547 | // NewEnv creates new global scope. | |
c7548 | // NewEnv creates new child scope. | |
c7549 | // NewPackage creates a new env with a name | |
c7550 | // AddPackage creates a new env with a name that has methods and types in it. Created under the parent env | |
c7551 | // NewModule creates new module. | |
c7552 | // SetName sets a name of the scope. This means that the scope is module. | |
c7553 | // GetName returns module name. | |
c7554 | // Addr returns pointer value which specified symbol. It goes to upper scope until
// found or returns error. | |
c7555 | // Type returns type which specified symbol. It goes to upper scope until
// found or returns error. | |
c7556 | // Get returns value which specified symbol. It goes to upper scope until
// found or returns error. | |
c7557 | // Set modifies value which specified as symbol. It goes to upper scope until
// found or returns error. | |
c7558 | // DefineGlobal defines symbol in global scope. | |
c7559 | // defineGlobalValue defines symbol in global scope. | |
c7560 | // Define defines symbol in current scope. | |
c7561 | // defineValue defines symbol in current scope. | |
c7562 | // Delete deletes symbol in current scope. | |
c7563 | // DeleteGlobal deletes the first matching symbol found in current or parent scope. | |
c7564 | // DefineGlobalType defines type in global scope. | |
c7565 | // DefineGlobalReflectType defines type in global scope. | |
c7566 | // DefineType defines type in current scope. | |
c7567 | // DefineReflectType defines type in current scope. | |
c7568 | // String return the name of current scope. | |
c7569 | // Dump show symbol values in the scope. | |
c7570 | // Execute parses and runs source in current scope. | |
c7571 | // ExecuteContext parses and runs source in current scope. | |
c7572 | // RunContext runs statement in current scope. | |
c7573 | // Copy the state of the virtual machine environment | |
c7574 | // DeepCopy copy recursively the state of the virtual machine environment | |
c7575 | // AddAllowMethods is allowed to add custom methods | |
c7576 | // AddAllowHeaders is allowed to add custom headers | |
c7577 | // AddExposeHeaders is allowed to add custom expose headers | |
c7578 | // Validate is check configuration of user defined. | |
c7579 | // DefaultConfig returns a generic default configuration mapped to localhost. | |
c7580 | // Default returns the location middleware with default configuration. | |
c7581 | // New returns the location middleware with user-defined custom configuration. | |
c7582 | // MemProfileRate enables memory profiling at the preferred rate.
// It disables any previous profiling settings. | |
c7583 | // Stop stops the profile and flushes any unwritten data. | |
c7584 | // New returns a Limiter that will limit to the given RPS. | |
c7585 | // newCache returns a new cache. | |
c7586 | // registerConverter registers a converter function for a custom type. | |
c7587 | // get returns a cached structInfo, creating it if necessary. | |
c7588 | // create creates a structInfo with meta-data about a struct. | |
c7589 | // createField creates a fieldInfo for the given field. | |
c7590 | // converter returns the converter for a type. | |
c7591 | // fieldAlias parses a field tag to get a field alias. | |
c7592 | // parseTag splits a struct field's url tag into its name and comma-separated
// options. | |
c7593 | // Contains checks whether the tagOptions contains the specified option. | |
c7594 | // RegisterConverter registers a converter function for a custom type. | |
c7595 | // checkRequired checks whether required fields are empty
//
// check type t recursively if t has struct fields.
//
// src is the source map for decoding, we use it here to see if those required fields are included in src | |
c7596 | // findRequiredFields recursively searches the struct type t for required fields.
//
// canonicalPrefix and searchPrefix are used to resolve full paths in dotted notation
// for nested struct fields. canonicalPrefix is a complete path which never omits
// any embedded struct fields. searchPrefix is a user-friendly path... | |
c7597 | // isEmptyFields returns true if all of specified fields are empty. | |
c7598 | // isEmpty returns true if value is empty for specific type | |
c7599 | // NewEncoder returns a new Encoder with defaults. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.