Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Balint (0.19 sec)

  1. istioctl/pkg/metrics/metrics_test.go

    				&prometheus_model.Sample{Value: 0.04},
    			},
    			"sum(rate(istio_requests_total{destination_workload=~\"details.*\", destination_workload_namespace=~\".*\",reporter=\"destination\",response_code=~\"[45][0-9]{2}\"}[1m0s]))": prometheus_model.Vector{}, // nolint: lll
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    	if err != nil {
    		return Info{}, err
    	}
    	//nolint:unconvert
    	devID := uint64(st.Dev) // Needed to support multiple GOARCHs
    	info.Major = unix.Major(devID)
    	info.Minor = unix.Minor(devID)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. istioctl/cmd/options_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package cmd
    
    import (
    	"bytes"
    	"regexp"
    	"testing"
    )
    
    // nolint: lll
    var expectedOutput = `The following options can be passed to any command:
          --log_as_json: Whether to format output as JSON or in plain console-friendly format
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/podcgroupns.go

    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    var cgroupREs = []*regexp.Regexp{
    	// the regex used to parse out the pod UID and container ID from a
    	// cgroup name. It assumes that any ".scope" suffix has been trimmed off
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. cmd/untar.go

    			}
    			wg.Add(1)
    			go func(name string, fi fs.FileInfo, b []byte) {
    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. logger/logger.go

    	if l.LogLevel >= Error {
    		l.Printf(l.errStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Trace print sql message
    //
    //nolint:cyclop
    func (l *logger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {
    	if l.LogLevel <= Silent {
    		return
    	}
    
    	elapsed := time.Since(begin)
    	switch {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Nov 07 02:19:41 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. istioctl/pkg/version/version.go

    			}
    		}
    	})
    	return versionCmd
    }
    
    // xdsRemoteVersionWrapper uses outXDS to share the XDS response with xdsProxyVersionWrapper.
    // (Screwy API on istioVersion.CobraCommandWithOptions)
    // nolint: lll
    func xdsRemoteVersionWrapper(ctx cli.Context, opts *clioptions.ControlPlaneOptions, centralOpts *clioptions.CentralControlPlaneOptions, outXDS **discovery.DiscoveryResponse) func() (*istioVersion.MeshInfo, error) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  8. istioctl/cmd/root.go

    }
    
    func hideInheritedFlags(orig *cobra.Command, hidden ...string) {
    	orig.SetHelpFunc(func(cmd *cobra.Command, args []string) {
    		for _, hidden := range hidden {
    			_ = cmd.Flags().MarkHidden(hidden) // nolint: errcheck
    		}
    
    		orig.SetHelpFunc(nil)
    		orig.HelpFunc()(cmd, args)
    	})
    }
    
    func ConfigureLogging(_ *cobra.Command, _ []string) error {
    	return log.Configure(root.LoggingOptions)
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  9. internal/s3select/sql/value.go

    func (v Value) ToArray() (val []Value, ok bool) {
    	val, ok = v.value.([]Value)
    	return
    }
    
    // IsNull - checks if value is missing.
    func (v Value) IsNull() bool {
    	//nolint:gocritic
    	switch v.value.(type) {
    	case nil:
    		return true
    	}
    	return false
    }
    
    // IsMissing - checks if value is missing.
    func (v Value) IsMissing() bool {
    	_, ok := v.value.(Missing)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    type K8sArgs struct {
    	types.CommonArgs
    	K8S_POD_NAME               types.UnmarshallableString // nolint: revive, stylecheck
    	K8S_POD_NAMESPACE          types.UnmarshallableString // nolint: revive, stylecheck
    	K8S_POD_INFRA_CONTAINER_ID types.UnmarshallableString // nolint: revive, stylecheck
    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top