dotcloud/docker

View on GitHub

Showing 1,904 of 1,904 total issues

Function Exec has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

func Exec(ctx context.Context, apiClient client.APIClient, id string, cmd []string, ops ...func(*container.ExecOptions)) (ExecResult, error) {
Severity: Minor
Found in integration/internal/container/exec.go - About 35 mins to fix

    Method driver.Join has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (d *driver) Join(ctx context.Context, nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, options map[string]interface{}) error {
    Severity: Minor
    Found in libnetwork/drivers/ipvlan/ipvlan_joinleave.go - About 35 mins to fix

      Method Client.postHijacked has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func (cli *Client) postHijacked(ctx context.Context, path string, query url.Values, body interface{}, headers map[string][]string) (types.HijackedResponse, error) {
      Severity: Minor
      Found in client/hijack.go - About 35 mins to fix

        Function NewRequestReaderWithInitialResponse has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        func NewRequestReaderWithInitialResponse(c *http.Client, r *http.Request, maxfail uint32, totalsize int64, initialResponse *http.Response) io.ReadCloser {
        Severity: Minor
        Found in registry/resumable/resumablerequestreader.go - About 35 mins to fix

          Method driver.Join has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          func (d *driver) Join(ctx context.Context, nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, options map[string]interface{}) error {
          Severity: Minor
          Found in libnetwork/drivers/windows/windows.go - About 35 mins to fix

            Function Remove has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

            func Remove(ctx context.Context, t *testing.T, apiClient client.APIClient, container string, options container.RemoveOptions) {
            Severity: Minor
            Found in integration/internal/container/container.go - About 35 mins to fix

              Method Client.post has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              func (cli *Client) post(ctx context.Context, path string, query url.Values, obj interface{}, headers http.Header) (serverResponse, error) {
              Severity: Minor
              Found in client/request.go - About 35 mins to fix

                Method driver.Join has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                func (d *driver) Join(ctx context.Context, nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, options map[string]interface{}) error {
                Severity: Minor
                Found in libnetwork/drivers/windows/overlay/joinleave_windows.go - About 35 mins to fix

                  Function v2AuthHTTPClient has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                  func v2AuthHTTPClient(endpoint *url.URL, authTransport http.RoundTripper, modifiers []transport.RequestModifier, creds auth.CredentialStore, scopes []auth.Scope) (*http.Client, error) {
                  Severity: Minor
                  Found in registry/auth.go - About 35 mins to fix

                    Method Client.putRaw has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    func (cli *Client) putRaw(ctx context.Context, path string, query url.Values, body io.Reader, headers http.Header) (serverResponse, error) {
                    Severity: Minor
                    Found in client/request.go - About 35 mins to fix

                      Method Client.postRaw has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      func (cli *Client) postRaw(ctx context.Context, path string, query url.Values, body io.Reader, headers http.Header) (serverResponse, error) {
                      Severity: Minor
                      Found in client/request.go - About 35 mins to fix

                        Method driver.Join has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        func (d *driver) Join(_ context.Context, nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, options map[string]interface{}) error {
                        Severity: Minor
                        Found in libnetwork/drivers/ipvlan/ivmanager/ivmanager.go - About 35 mins to fix

                          Method Client.put has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                          func (cli *Client) put(ctx context.Context, path string, query url.Values, obj interface{}, headers http.Header) (serverResponse, error) {
                          Severity: Minor
                          Found in client/request.go - About 35 mins to fix

                            Function getAccountIdentity has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            func getAccountIdentity(ctx context.Context, builder *Builder, accountName string, ctrRootPath string, state *dispatchState) (idtools.Identity, error) {
                            Severity: Minor
                            Found in builder/dockerfile/internals_windows.go - About 35 mins to fix

                              Method Builder.dispatchDockerfileWithCancellation has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                              func (b *Builder) dispatchDockerfileWithCancellation(ctx context.Context, parseResult []instructions.Stage, metaArgs []instructions.ArgCommand, escapeToken rune, source builder.Source) (*dispatchState, error) {
                              Severity: Minor
                              Found in builder/dockerfile/builder.go - About 35 mins to fix

                                Function parseChownFlag has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                func parseChownFlag(ctx context.Context, builder *Builder, state *dispatchState, chown, ctrRootPath string, identityMapping idtools.IdentityMapping) (idtools.Identity, error) {
                                Severity: Minor
                                Found in builder/dockerfile/internals_linux.go - About 35 mins to fix

                                  Method Builder.exportImage has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                  func (b *Builder) exportImage(ctx context.Context, state *dispatchState, layer builder.RWLayer, parent builder.Image, runConfig *container.Config) error {
                                  Severity: Minor
                                  Found in builder/dockerfile/internals.go - About 35 mins to fix

                                    Function parseChownFlag has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    func parseChownFlag(ctx context.Context, builder *Builder, state *dispatchState, chown, ctrRootPath string, identityMapping idtools.IdentityMapping) (idtools.Identity, error) {
                                    Severity: Minor
                                    Found in builder/dockerfile/internals_windows.go - About 35 mins to fix

                                      Function NewRouter has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                      func NewRouter(backend Backend, searcher Searcher, referenceBackend reference.Store, imageStore image.Store, layerStore layer.Store) router.Router {
                                      Severity: Minor
                                      Found in api/server/router/image/image.go - About 35 mins to fix

                                        Function tagImages has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        func tagImages(ctx context.Context, ic ImageComponent, stdout io.Writer, imageID image.ID, repoAndTags []reference.Named) error {
                                        Severity: Minor
                                        Found in api/server/backend/build/tag.go - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language