You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: arsenal.go
    path of file: ./repos/cds/contrib/integrations/arsenal
    
    the code of the file until where you have to start completion: package arsenal

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io"
	"net/http"
	"net/url"
	"time"

	"github.com/ovh/cds/sdk"
	"github.com/ovh/cds/sdk/cdsclient"
)

const (
    
func (ac *Client) DeleteAlternative(altName string) error {
	req, err := ac.newRequest(http.MethodDelete, "/alternative/"+url.PathEscape(altName), nil)
	if err != nil {
		return fmt.Errorf("failed to create delete alternative request: %w", err)
	}
	req.Header.Add(arsenalDeploymentTokenHeader, ac.deploymentToken)

	statusCode, rawBody, err := ac.doRequest(req, nil)
	if err != nil {
		return err
	}
	if statusCode != http.StatusOK {
		if statusCode >= http.StatusBadRequest && statusCode < http.StatusInternalServerError {
			return fmt.Errorf("failed delete alternative request (HTTP status %d): %s", statusCode, rawBody)
		}
		return fmt.Errorf("cannot reach Arsenal service (HTTP status %d)", statusCode)
	}
	return nil
}