dotcloud/docker

View on GitHub

Showing 1,468 of 1,914 total issues

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.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 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 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

          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/host/host.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.ServiceUpdate has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              func (cli *Client) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options types.ServiceUpdateOptions) (swarm.ServiceUpdateResponse, error) {
              Severity: Minor
              Found in client/service_update.go - About 35 mins to fix

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

                func ExecTask(ctx context.Context, t *testing.T, d *daemon.Daemon, task swarmtypes.Task, options container.ExecOptions) types.HijackedResponse {
                Severity: Minor
                Found in integration/internal/swarm/service.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.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 Client.sendRequest has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                      func (cli *Client) sendRequest(ctx context.Context, method, 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

                        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 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 manager.Join has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            func (d *manager) Join(_ context.Context, nid, eid string, sboxKey string, jinfo driverapi.JoinInfo, options map[string]interface{}) error {
                            Severity: Minor
                            Found in libnetwork/cnmallocator/manager.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

                                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 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

                                    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

                                      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

                                        Method Service.searchUnfiltered has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        func (s *Service) searchUnfiltered(ctx context.Context, term string, limit int, authConfig *registry.AuthConfig, headers http.Header) (*registry.SearchResults, error) {
                                        Severity: Minor
                                        Found in registry/search.go - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language