Showing 1,468 of 1,914 total issues
Function NewRouter
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func NewRouter(backend Backend, searcher Searcher, referenceBackend reference.Store, imageStore image.Store, layerStore layer.Store) router.Router {
Method Worker.ResolveSourceMetadata
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (w *Worker) ResolveSourceMetadata(ctx context.Context, op *pb.SourceOp, opt sourceresolver.Opt, sm *session.Manager, g session.Group) (*sourceresolver.MetaResponse, error) {
Function getAccountIdentity
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func getAccountIdentity(ctx context.Context, builder *Builder, accountName string, ctrRootPath string, state *dispatchState) (idtools.Identity, error) {
Method Builder.exportImage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (b *Builder) exportImage(ctx context.Context, state *dispatchState, layer builder.RWLayer, parent builder.Image, runConfig *container.Config) error {
Function tagImages
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func tagImages(ctx context.Context, ic ImageComponent, stdout io.Writer, imageID image.ID, repoAndTags []reference.Named) error {
Function parseChownFlag
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func parseChownFlag(ctx context.Context, builder *Builder, state *dispatchState, chown, ctrRootPath string, identityMapping idtools.IdentityMapping) (idtools.Identity, error) {
Function newDispatchRequest
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func newDispatchRequest(builder *Builder, escapeToken rune, source builder.Source, buildArgs *BuildArgs, stages *stagesBuildResults) dispatchRequest {
Function ResolveCacheImporterFunc
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func ResolveCacheImporterFunc(sm *session.Manager, resolverFunc docker.RegistryHosts, cs content.Store, rs reference.Store, is imagestore.Store) remotecache.ResolveCacheImporterFunc {
Method Worker.ResolveImageConfig
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (w *Worker) ResolveImageConfig(ctx context.Context, ref string, opt sourceresolver.Opt, sm *session.Manager, g session.Group) (digest.Digest, []byte, error) {
Function WriteLogStream
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func WriteLogStream(_ context.Context, w http.ResponseWriter, msgs <-chan *backend.LogMessage, config *container.LogsOptions, mux bool) {
Method ImageService.PrepareSnapshot
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (i *ImageService) PrepareSnapshot(ctx context.Context, id string, parentImage string, platform *ocispec.Platform, setupInit func(string) error) error {
Method ImageService.imageSummary
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (i *ImageService) imageSummary(ctx context.Context, img images.Image, platformMatcher platforms.MatchComparer,
opts imagetypes.ListOptions, tagsByDigest map[digest.Digest][]string,
Method task.Exec
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (t *task) Exec(ctx context.Context, processID string, spec *specs.Process, withStdin bool, attachStdio libcontainerdtypes.StdioCallback) (libcontainerdtypes.Process, error) {
Method task.Exec
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (t *task) Exec(ctx context.Context, processID string, spec *specs.Process, withStdin bool, attachStdio libcontainerdtypes.StdioCallback) (_ libcontainerdtypes.Process, retErr error) {
Function compressAndWriteBlob
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func compressAndWriteBlob(ctx context.Context, cs content.Store, compression archive.Compression, mediaType string, uncompressedLayerReader io.Reader) (digest.Digest, digest.Digest, error) {
Function storeJson
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func storeJson(ctx context.Context, cs content.Ingester, mt string, obj interface{}, labels map[string]string) (ocispec.Descriptor, error) {
Method ImageService.LoadImage
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (i *ImageService) LoadImage(ctx context.Context, inTar io.ReadCloser, platform *ocispec.Platform, outStream io.Writer, quiet bool) error {
Method ImageService.pullForBuilder
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (i *ImageService) pullForBuilder(ctx context.Context, name string, authConfigs map[string]registry.AuthConfig, output io.Writer, platform *ocispec.Platform) (*ocispec.Descriptor, error) {
Method ImageService.deleteAll
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (i *ImageService) deleteAll(ctx context.Context, imgID image.ID, all []images.Image, c conflictType, prune bool) (records []imagetypes.DeleteResponse, err error) {
Method Cluster.UpdateService
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Cluster) UpdateService(serviceIDOrName string, version uint64, spec swarm.ServiceSpec, flags types.ServiceUpdateOptions, queryRegistry bool) (*swarm.ServiceUpdateResponse, error) {