- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for ktlint (0.14 sec)
-
internal/s3select/csv/reader.go
for len(r.current) <= r.recordsRead { if r.err != nil { return nil, r.err } // Move to next block item, ok := <-r.queue if !ok { r.err = io.EOF return nil, r.err } //nolint:staticcheck // SA6002 Using pointer would allocate more since we would have to copy slice header before taking a pointer. r.csvDstPool.Put(r.current) r.current = <-item.dst r.err = item.err r.recordsRead = 0 }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 8.9K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
makeCGroups := func(groupPaths []string) []Cgroup { var out []Cgroup for _, groupPath := range groupPaths { out = append(out, Cgroup{ GroupPath: groupPath, }) } return out } //nolint: lll for _, tt := range []struct { name string cgroupPaths []string expectPodUID types.UID expectContainerID string expectMsg string }{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 4.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
"fmt" "io" "strings" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck exprpb "google.golang.org/genproto/googleapis/api/expr/v1alpha1" "google.golang.org/protobuf/reflect/protoreflect" "google.golang.org/protobuf/reflect/protoregistry"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1) -
schema/naming.go
bs := h.Sum(nil) formattedName = formattedName[0:ns.IdentifierMaxLength-8] + hex.EncodeToString(bs)[:8] } return formattedName } var ( // https://github.com/golang/lint/blob/master/lint.go#L770
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 5.2K bytes - Viewed (0) -
istioctl/pkg/xds/client.go
return nil, fmt.Errorf("failed to create RPC credentials for \"%s.%s\": %w", serviceAccount, ns, err) } if isMCP { return mcpDialOptions(ctx, opts.GCPProject, k8sCreds) } return []grpc.DialOption{ // nolint: gosec // Only runs over istioctl experimental // TODO: https://github.com/istio/istio/issues/41937 grpc.WithTransportCredentials(credentials.NewTLS( &tls.Config{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Dec 19 22:42:42 GMT 2023 - 3.7K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
return configs } // FIXME: currently removing the deprecated code below may result in functions not working // if there is a mismatch of versions between istiod and istioctl // nolint: staticcheck for _, config := range clientConfig.GetXdsConfig() { var typeURL string switch config.PerXdsConfig.(type) { case *xdsstatus.PerXdsConfig_ListenerConfig: typeURL = xdsresource.ListenerType
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.1K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
return &cobra.Command{ Use: "generate", Short: "Generates an Istio install manifest", Long: "The generate subcommand generates an Istio install manifest and outputs to the console by default.", // nolint: lll Example: ` # Generate a default Istio installation istioctl manifest generate # Enable Tracing istioctl manifest generate --set meshConfig.enableTracing=true # Generate the demo profile
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.8K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Wed Sep 14 02:38:54 GMT 2022 - 1.9K bytes - Viewed (0)