go.mod: update images to 0.11

Mainly to include:

- distro/rhel9: Make /boot 600 MiB big on RHEL 9.3+
- fedora: exclude sdubby
- Minimal image builds

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2023-10-06 10:00:29 +02:00 committed by Ondřej Budai
parent edc45fde72
commit 19edaca01a
213 changed files with 4113 additions and 3823 deletions

View file

@ -79,10 +79,10 @@ type Client struct {
hostsMu sync.Mutex
hosts map[string]string
Namespace string // Vim namespace
Version string // Vim version
Types types.Func
UserAgent string
Namespace string `json:"namespace"` // Vim namespace
Version string `json:"version"` // Vim version
Types types.Func `json:"types"`
UserAgent string `json:"userAgent"`
cookie string
insecureCookies bool
@ -487,11 +487,11 @@ func (c *Client) URL() *url.URL {
}
type marshaledClient struct {
Cookies []*http.Cookie
URL *url.URL
Insecure bool
Version string
UseJSON bool
Cookies []*http.Cookie `json:"cookies"`
URL *url.URL `json:"url"`
Insecure bool `json:"insecure"`
Version string `json:"version"`
UseJSON bool `json:"useJSON"`
}
// MarshalJSON writes the Client configuration to JSON.
@ -727,6 +727,7 @@ type Upload struct {
Headers map[string]string
Ticket *http.Cookie
Progress progress.Sinker
Close bool
}
var DefaultUpload = Upload{
@ -754,7 +755,7 @@ func (c *Client) Upload(ctx context.Context, f io.Reader, u *url.URL, param *Upl
}
req = req.WithContext(ctx)
req.Close = param.Close
req.ContentLength = param.ContentLength
req.Header.Set("Content-Type", param.Type)
@ -812,6 +813,7 @@ type Download struct {
Ticket *http.Cookie
Progress progress.Sinker
Writer io.Writer
Close bool
}
var DefaultDownload = Download{
@ -826,6 +828,7 @@ func (c *Client) DownloadRequest(ctx context.Context, u *url.URL, param *Downloa
}
req = req.WithContext(ctx)
req.Close = param.Close
for k, v := range param.Headers {
req.Header.Add(k, v)