Documentation
¶
Overview ¶
Package ar_pkg provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
Index ¶
- Constants
- func NewDeleteGenericFileFromPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
- func NewDownloadGenericFileFromPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
- func NewDownloadGenericPackageRequest(server string, accountId string, registry string, pPackage string, ...) (*http.Request, error)
- func NewDownloadMavenMetadataXmlRequest(server string, accountId string, registry string, groupId string, ...) (*http.Request, error)
- func NewDownloadNPMPackageMetadataRequest(server string, accountId string, registry string, pPackage string) (*http.Request, error)
- func NewHeadGenericFileAtPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
- func NewUploadCargoPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadComposerPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadConanPackageFileRequestWithBody(server string, accountId string, registry string, name string, version string, ...) (*http.Request, error)
- func NewUploadConanRecipeFileRequestWithBody(server string, accountId string, registry string, name string, version string, ...) (*http.Request, error)
- func NewUploadCondaPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadDartPackageRequestWithBody(server string, accountId string, registry string, uploadId string, ...) (*http.Request, error)
- func NewUploadDebianDebFileRequestWithBody(server string, accountId string, registry string, ...) (*http.Request, error)
- func NewUploadDebianDscFileRequestWithBody(server string, accountId string, registry string, ...) (*http.Request, error)
- func NewUploadDebianSrcFileRequestWithBody(server string, accountId string, registry string, ...) (*http.Request, error)
- func NewUploadGenericFileToPathRequestWithBody(server string, accountId string, registry string, filepath string, ...) (*http.Request, error)
- func NewUploadGenericPackageRequestWithBody(server string, accountId string, registry string, pPackage string, ...) (*http.Request, error)
- func NewUploadGoPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadMavenMetadataXmlRequestWithBody(server string, accountId string, registry string, groupId string, ...) (*http.Request, error)
- func NewUploadMavenPackageRequestWithBody(server string, accountId string, registry string, groupId string, ...) (*http.Request, error)
- func NewUploadNPMPackageRequestWithBody(server string, accountId string, registry string, pPackage string, ...) (*http.Request, error)
- func NewUploadNugetPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadPuppetPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadPythonPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadRpmPackageRequestWithBody(server string, accountId string, registry string, contentType string, ...) (*http.Request, error)
- func NewUploadSwiftPackageRequestWithBody(server string, accountId string, registry string, scope string, name string, ...) (*http.Request, error)
- type Client
- func (c *Client) DeleteGenericFileFromPath(ctx context.Context, accountId string, registry string, filepath string, ...) (*http.Response, error)
- func (c *Client) DownloadGenericFileFromPath(ctx context.Context, accountId string, registry string, filepath string, ...) (*http.Response, error)
- func (c *Client) DownloadGenericPackage(ctx context.Context, accountId string, registry string, pPackage string, ...) (*http.Response, error)
- func (c *Client) DownloadMavenMetadataXml(ctx context.Context, accountId string, registry string, groupId string, ...) (*http.Response, error)
- func (c *Client) DownloadNPMPackageMetadata(ctx context.Context, accountId string, registry string, pPackage string, ...) (*http.Response, error)
- func (c *Client) HeadGenericFileAtPath(ctx context.Context, accountId string, registry string, filepath string, ...) (*http.Response, error)
- func (c *Client) UploadCargoPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadComposerPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadConanPackageFileWithBody(ctx context.Context, accountId string, registry string, name string, ...) (*http.Response, error)
- func (c *Client) UploadConanRecipeFileWithBody(ctx context.Context, accountId string, registry string, name string, ...) (*http.Response, error)
- func (c *Client) UploadCondaPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadDartPackageWithBody(ctx context.Context, accountId string, registry string, uploadId string, ...) (*http.Response, error)
- func (c *Client) UploadDebianDebFileWithBody(ctx context.Context, accountId string, registry string, ...) (*http.Response, error)
- func (c *Client) UploadDebianDscFileWithBody(ctx context.Context, accountId string, registry string, ...) (*http.Response, error)
- func (c *Client) UploadDebianSrcFileWithBody(ctx context.Context, accountId string, registry string, ...) (*http.Response, error)
- func (c *Client) UploadGenericFileToPathWithBody(ctx context.Context, accountId string, registry string, filepath string, ...) (*http.Response, error)
- func (c *Client) UploadGenericPackageWithBody(ctx context.Context, accountId string, registry string, pPackage string, ...) (*http.Response, error)
- func (c *Client) UploadGoPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadMavenMetadataXmlWithBody(ctx context.Context, accountId string, registry string, groupId string, ...) (*http.Response, error)
- func (c *Client) UploadMavenPackageWithBody(ctx context.Context, accountId string, registry string, groupId string, ...) (*http.Response, error)
- func (c *Client) UploadNPMPackageWithBody(ctx context.Context, accountId string, registry string, pPackage string, ...) (*http.Response, error)
- func (c *Client) UploadNugetPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadPuppetPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadPythonPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadRpmPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadSwiftPackageWithBody(ctx context.Context, accountId string, registry string, scope string, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, ...) (*DeleteGenericFileFromPathResp, error)
- func (c *ClientWithResponses) DownloadGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, ...) (*DownloadGenericFileFromPathResp, error)
- func (c *ClientWithResponses) DownloadGenericPackageWithResponse(ctx context.Context, accountId string, registry string, pPackage string, ...) (*DownloadGenericPackageResp, error)
- func (c *ClientWithResponses) DownloadMavenMetadataXmlWithResponse(ctx context.Context, accountId string, registry string, groupId string, ...) (*DownloadMavenMetadataXmlResp, error)
- func (c *ClientWithResponses) DownloadNPMPackageMetadataWithResponse(ctx context.Context, accountId string, registry string, pPackage string, ...) (*DownloadNPMPackageMetadataResp, error)
- func (c *ClientWithResponses) HeadGenericFileAtPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, ...) (*HeadGenericFileAtPathResp, error)
- func (c *ClientWithResponses) UploadCargoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadCargoPackageResp, error)
- func (c *ClientWithResponses) UploadComposerPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadComposerPackageResp, error)
- func (c *ClientWithResponses) UploadConanPackageFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, ...) (*UploadConanPackageFileResp, error)
- func (c *ClientWithResponses) UploadConanRecipeFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, ...) (*UploadConanRecipeFileResp, error)
- func (c *ClientWithResponses) UploadCondaPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadCondaPackageResp, error)
- func (c *ClientWithResponses) UploadDartPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, uploadId string, ...) (*UploadDartPackageResp, error)
- func (c *ClientWithResponses) UploadDebianDebFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, ...) (*UploadDebianDebFileResp, error)
- func (c *ClientWithResponses) UploadDebianDscFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, ...) (*UploadDebianDscFileResp, error)
- func (c *ClientWithResponses) UploadDebianSrcFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, ...) (*UploadDebianSrcFileResp, error)
- func (c *ClientWithResponses) UploadGenericFileToPathWithBodyWithResponse(ctx context.Context, accountId string, registry string, filepath string, ...) (*UploadGenericFileToPathResp, error)
- func (c *ClientWithResponses) UploadGenericPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, ...) (*UploadGenericPackageResp, error)
- func (c *ClientWithResponses) UploadGoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadGoPackageResp, error)
- func (c *ClientWithResponses) UploadMavenMetadataXmlWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, ...) (*UploadMavenMetadataXmlResp, error)
- func (c *ClientWithResponses) UploadMavenPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, ...) (*UploadMavenPackageResp, error)
- func (c *ClientWithResponses) UploadNPMPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, ...) (*UploadNPMPackageResp, error)
- func (c *ClientWithResponses) UploadNugetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadNugetPackageResp, error)
- func (c *ClientWithResponses) UploadPuppetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadPuppetPackageResp, error)
- func (c *ClientWithResponses) UploadPythonPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadPythonPackageResp, error)
- func (c *ClientWithResponses) UploadRpmPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, ...) (*UploadRpmPackageResp, error)
- func (c *ClientWithResponses) UploadSwiftPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, scope string, ...) (*UploadSwiftPackageResp, error)
- type ClientWithResponsesInterface
- type DeleteGenericFileFromPathResp
- type DownloadGenericFileFromPathResp
- type DownloadGenericPackageParams
- type DownloadGenericPackageResp
- type DownloadMavenMetadataXmlResp
- type DownloadNPMPackageMetadataResp
- type HeadGenericFileAtPathResp
- type HttpRequestDoer
- type RequestEditorFn
- type UploadCargoPackageMultipartBody
- type UploadCargoPackageMultipartRequestBody
- type UploadCargoPackageResp
- type UploadComposerPackageResp
- type UploadConanPackageFileResp
- type UploadConanRecipeFileResp
- type UploadCondaPackageResp
- type UploadDartPackageMultipartBody
- type UploadDartPackageMultipartRequestBody
- type UploadDartPackageResp
- type UploadDebianDebFileParams
- type UploadDebianDebFileResp
- type UploadDebianDscFileParams
- type UploadDebianDscFileResp
- type UploadDebianSrcFileParams
- type UploadDebianSrcFileResp
- type UploadGenericFileToPathResp
- type UploadGenericPackageMultipartBody
- type UploadGenericPackageMultipartRequestBody
- type UploadGenericPackageResp
- type UploadGoPackageMultipartBody
- type UploadGoPackageMultipartRequestBody
- type UploadGoPackageResp
- type UploadMavenMetadataXmlResp
- type UploadMavenPackageResp
- type UploadNPMPackageResp
- type UploadNugetPackageMultipartBody
- type UploadNugetPackageMultipartRequestBody
- type UploadNugetPackageResp
- type UploadPuppetPackageMultipartBody
- type UploadPuppetPackageMultipartRequestBody
- type UploadPuppetPackageResp
- type UploadPythonPackageMultipartBody
- type UploadPythonPackageMultipartRequestBody
- type UploadPythonPackageResp
- type UploadRpmPackageMultipartBody
- type UploadRpmPackageMultipartRequestBody
- type UploadRpmPackageResp
- type UploadSwiftPackageMultipartBody
- type UploadSwiftPackageMultipartRequestBody
- type UploadSwiftPackageResp
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewDeleteGenericFileFromPathRequest ¶
func NewDeleteGenericFileFromPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
NewDeleteGenericFileFromPathRequest generates requests for DeleteGenericFileFromPath
func NewDownloadGenericFileFromPathRequest ¶
func NewDownloadGenericFileFromPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
NewDownloadGenericFileFromPathRequest generates requests for DownloadGenericFileFromPath
func NewDownloadGenericPackageRequest ¶
func NewDownloadGenericPackageRequest(server string, accountId string, registry string, pPackage string, version string, params *DownloadGenericPackageParams) (*http.Request, error)
NewDownloadGenericPackageRequest generates requests for DownloadGenericPackage
func NewDownloadMavenMetadataXmlRequest ¶ added in v1.3.2
func NewDownloadMavenMetadataXmlRequest(server string, accountId string, registry string, groupId string, artifactId string, file string) (*http.Request, error)
NewDownloadMavenMetadataXmlRequest generates requests for DownloadMavenMetadataXml
func NewDownloadNPMPackageMetadataRequest ¶ added in v1.3.10
func NewDownloadNPMPackageMetadataRequest(server string, accountId string, registry string, pPackage string) (*http.Request, error)
NewDownloadNPMPackageMetadataRequest generates requests for DownloadNPMPackageMetadata
func NewHeadGenericFileAtPathRequest ¶
func NewHeadGenericFileAtPathRequest(server string, accountId string, registry string, filepath string) (*http.Request, error)
NewHeadGenericFileAtPathRequest generates requests for HeadGenericFileAtPath
func NewUploadCargoPackageRequestWithBody ¶ added in v1.1.0
func NewUploadCargoPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadCargoPackageRequestWithBody generates requests for UploadCargoPackage with any type of body
func NewUploadComposerPackageRequestWithBody ¶ added in v1.1.0
func NewUploadComposerPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadComposerPackageRequestWithBody generates requests for UploadComposerPackage with any type of body
func NewUploadConanPackageFileRequestWithBody ¶ added in v1.3.26
func NewUploadConanPackageFileRequestWithBody(server string, accountId string, registry string, name string, version string, user string, channel string, rrev string, pkgid string, prev string, filename string, contentType string, body io.Reader) (*http.Request, error)
NewUploadConanPackageFileRequestWithBody generates requests for UploadConanPackageFile with any type of body
func NewUploadConanRecipeFileRequestWithBody ¶ added in v1.3.26
func NewUploadConanRecipeFileRequestWithBody(server string, accountId string, registry string, name string, version string, user string, channel string, rrev string, filename string, contentType string, body io.Reader) (*http.Request, error)
NewUploadConanRecipeFileRequestWithBody generates requests for UploadConanRecipeFile with any type of body
func NewUploadCondaPackageRequestWithBody ¶
func NewUploadCondaPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadCondaPackageRequestWithBody generates requests for UploadCondaPackage with any type of body
func NewUploadDartPackageRequestWithBody ¶ added in v1.1.2
func NewUploadDartPackageRequestWithBody(server string, accountId string, registry string, uploadId string, contentType string, body io.Reader) (*http.Request, error)
NewUploadDartPackageRequestWithBody generates requests for UploadDartPackage with any type of body
func NewUploadDebianDebFileRequestWithBody ¶ added in v1.3.20
func NewUploadDebianDebFileRequestWithBody(server string, accountId string, registry string, params *UploadDebianDebFileParams, contentType string, body io.Reader) (*http.Request, error)
NewUploadDebianDebFileRequestWithBody generates requests for UploadDebianDebFile with any type of body
func NewUploadDebianDscFileRequestWithBody ¶ added in v1.3.20
func NewUploadDebianDscFileRequestWithBody(server string, accountId string, registry string, params *UploadDebianDscFileParams, contentType string, body io.Reader) (*http.Request, error)
NewUploadDebianDscFileRequestWithBody generates requests for UploadDebianDscFile with any type of body
func NewUploadDebianSrcFileRequestWithBody ¶ added in v1.3.20
func NewUploadDebianSrcFileRequestWithBody(server string, accountId string, registry string, params *UploadDebianSrcFileParams, contentType string, body io.Reader) (*http.Request, error)
NewUploadDebianSrcFileRequestWithBody generates requests for UploadDebianSrcFile with any type of body
func NewUploadGenericFileToPathRequestWithBody ¶
func NewUploadGenericFileToPathRequestWithBody(server string, accountId string, registry string, filepath string, contentType string, body io.Reader) (*http.Request, error)
NewUploadGenericFileToPathRequestWithBody generates requests for UploadGenericFileToPath with any type of body
func NewUploadGenericPackageRequestWithBody ¶
func NewUploadGenericPackageRequestWithBody(server string, accountId string, registry string, pPackage string, version string, contentType string, body io.Reader) (*http.Request, error)
NewUploadGenericPackageRequestWithBody generates requests for UploadGenericPackage with any type of body
func NewUploadGoPackageRequestWithBody ¶
func NewUploadGoPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadGoPackageRequestWithBody generates requests for UploadGoPackage with any type of body
func NewUploadMavenMetadataXmlRequestWithBody ¶ added in v1.3.2
func NewUploadMavenMetadataXmlRequestWithBody(server string, accountId string, registry string, groupId string, artifactId string, file string, contentType string, body io.Reader) (*http.Request, error)
NewUploadMavenMetadataXmlRequestWithBody generates requests for UploadMavenMetadataXml with any type of body
func NewUploadMavenPackageRequestWithBody ¶ added in v1.3.2
func NewUploadMavenPackageRequestWithBody(server string, accountId string, registry string, groupId string, artifactId string, version string, file string, contentType string, body io.Reader) (*http.Request, error)
NewUploadMavenPackageRequestWithBody generates requests for UploadMavenPackage with any type of body
func NewUploadNPMPackageRequestWithBody ¶ added in v1.1.2
func NewUploadNPMPackageRequestWithBody(server string, accountId string, registry string, pPackage string, contentType string, body io.Reader) (*http.Request, error)
NewUploadNPMPackageRequestWithBody generates requests for UploadNPMPackage with any type of body
func NewUploadNugetPackageRequestWithBody ¶ added in v1.2.0
func NewUploadNugetPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadNugetPackageRequestWithBody generates requests for UploadNugetPackage with any type of body
func NewUploadPuppetPackageRequestWithBody ¶ added in v1.3.19
func NewUploadPuppetPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadPuppetPackageRequestWithBody generates requests for UploadPuppetPackage with any type of body
func NewUploadPythonPackageRequestWithBody ¶ added in v1.2.0
func NewUploadPythonPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadPythonPackageRequestWithBody generates requests for UploadPythonPackage with any type of body
func NewUploadRpmPackageRequestWithBody ¶ added in v1.1.0
func NewUploadRpmPackageRequestWithBody(server string, accountId string, registry string, contentType string, body io.Reader) (*http.Request, error)
NewUploadRpmPackageRequestWithBody generates requests for UploadRpmPackage with any type of body
func NewUploadSwiftPackageRequestWithBody ¶ added in v1.3.18
func NewUploadSwiftPackageRequestWithBody(server string, accountId string, registry string, scope string, name string, version string, contentType string, body io.Reader) (*http.Request, error)
NewUploadSwiftPackageRequestWithBody generates requests for UploadSwiftPackage with any type of body
Types ¶
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteGenericFileFromPath ¶
func (*Client) DownloadGenericFileFromPath ¶
func (*Client) DownloadGenericPackage ¶
func (*Client) DownloadMavenMetadataXml ¶ added in v1.3.2
func (*Client) DownloadNPMPackageMetadata ¶ added in v1.3.10
func (*Client) HeadGenericFileAtPath ¶
func (*Client) UploadCargoPackageWithBody ¶ added in v1.1.0
func (*Client) UploadComposerPackageWithBody ¶ added in v1.1.0
func (*Client) UploadConanPackageFileWithBody ¶ added in v1.3.26
func (c *Client) UploadConanPackageFileWithBody(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, pkgid string, prev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UploadConanRecipeFileWithBody ¶ added in v1.3.26
func (*Client) UploadCondaPackageWithBody ¶
func (*Client) UploadDartPackageWithBody ¶ added in v1.1.2
func (*Client) UploadDebianDebFileWithBody ¶ added in v1.3.20
func (*Client) UploadDebianDscFileWithBody ¶ added in v1.3.20
func (*Client) UploadDebianSrcFileWithBody ¶ added in v1.3.20
func (*Client) UploadGenericFileToPathWithBody ¶
func (*Client) UploadGenericPackageWithBody ¶
func (*Client) UploadGoPackageWithBody ¶
func (*Client) UploadMavenMetadataXmlWithBody ¶ added in v1.3.2
func (*Client) UploadMavenPackageWithBody ¶ added in v1.3.2
func (*Client) UploadNPMPackageWithBody ¶ added in v1.1.2
func (*Client) UploadNugetPackageWithBody ¶ added in v1.2.0
func (*Client) UploadPuppetPackageWithBody ¶ added in v1.3.19
func (*Client) UploadPythonPackageWithBody ¶ added in v1.2.0
func (*Client) UploadRpmPackageWithBody ¶ added in v1.1.0
type ClientInterface ¶
type ClientInterface interface {
// UploadCargoPackageWithBody request with any body
UploadCargoPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadComposerPackageWithBody request with any body
UploadComposerPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadConanRecipeFileWithBody request with any body
UploadConanRecipeFileWithBody(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadConanPackageFileWithBody request with any body
UploadConanPackageFileWithBody(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, pkgid string, prev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadCondaPackageWithBody request with any body
UploadCondaPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadDebianDebFileWithBody request with any body
UploadDebianDebFileWithBody(ctx context.Context, accountId string, registry string, params *UploadDebianDebFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadDebianDscFileWithBody request with any body
UploadDebianDscFileWithBody(ctx context.Context, accountId string, registry string, params *UploadDebianDscFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadDebianSrcFileWithBody request with any body
UploadDebianSrcFileWithBody(ctx context.Context, accountId string, registry string, params *UploadDebianSrcFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGenericFileFromPath request
DeleteGenericFileFromPath(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadGenericFileFromPath request
DownloadGenericFileFromPath(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HeadGenericFileAtPath request
HeadGenericFileAtPath(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadGenericFileToPathWithBody request with any body
UploadGenericFileToPathWithBody(ctx context.Context, accountId string, registry string, filepath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadGenericPackage request
DownloadGenericPackage(ctx context.Context, accountId string, registry string, pPackage string, version string, params *DownloadGenericPackageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadGenericPackageWithBody request with any body
UploadGenericPackageWithBody(ctx context.Context, accountId string, registry string, pPackage string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadGoPackageWithBody request with any body
UploadGoPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadMavenMetadataXml request
DownloadMavenMetadataXml(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadMavenMetadataXmlWithBody request with any body
UploadMavenMetadataXmlWithBody(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadMavenPackageWithBody request with any body
UploadMavenPackageWithBody(ctx context.Context, accountId string, registry string, groupId string, artifactId string, version string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadNPMPackageMetadata request
DownloadNPMPackageMetadata(ctx context.Context, accountId string, registry string, pPackage string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadNPMPackageWithBody request with any body
UploadNPMPackageWithBody(ctx context.Context, accountId string, registry string, pPackage string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadNugetPackageWithBody request with any body
UploadNugetPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadDartPackageWithBody request with any body
UploadDartPackageWithBody(ctx context.Context, accountId string, registry string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadPuppetPackageWithBody request with any body
UploadPuppetPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadPythonPackageWithBody request with any body
UploadPythonPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadRpmPackageWithBody request with any body
UploadRpmPackageWithBody(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadSwiftPackageWithBody request with any body
UploadSwiftPackageWithBody(ctx context.Context, accountId string, registry string, scope string, name string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteGenericFileFromPathWithResponse ¶
func (c *ClientWithResponses) DeleteGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*DeleteGenericFileFromPathResp, error)
DeleteGenericFileFromPathWithResponse request returning *DeleteGenericFileFromPathResp
func (*ClientWithResponses) DownloadGenericFileFromPathWithResponse ¶
func (c *ClientWithResponses) DownloadGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*DownloadGenericFileFromPathResp, error)
DownloadGenericFileFromPathWithResponse request returning *DownloadGenericFileFromPathResp
func (*ClientWithResponses) DownloadGenericPackageWithResponse ¶
func (c *ClientWithResponses) DownloadGenericPackageWithResponse(ctx context.Context, accountId string, registry string, pPackage string, version string, params *DownloadGenericPackageParams, reqEditors ...RequestEditorFn) (*DownloadGenericPackageResp, error)
DownloadGenericPackageWithResponse request returning *DownloadGenericPackageResp
func (*ClientWithResponses) DownloadMavenMetadataXmlWithResponse ¶ added in v1.3.2
func (c *ClientWithResponses) DownloadMavenMetadataXmlWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, reqEditors ...RequestEditorFn) (*DownloadMavenMetadataXmlResp, error)
DownloadMavenMetadataXmlWithResponse request returning *DownloadMavenMetadataXmlResp
func (*ClientWithResponses) DownloadNPMPackageMetadataWithResponse ¶ added in v1.3.10
func (c *ClientWithResponses) DownloadNPMPackageMetadataWithResponse(ctx context.Context, accountId string, registry string, pPackage string, reqEditors ...RequestEditorFn) (*DownloadNPMPackageMetadataResp, error)
DownloadNPMPackageMetadataWithResponse request returning *DownloadNPMPackageMetadataResp
func (*ClientWithResponses) HeadGenericFileAtPathWithResponse ¶
func (c *ClientWithResponses) HeadGenericFileAtPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*HeadGenericFileAtPathResp, error)
HeadGenericFileAtPathWithResponse request returning *HeadGenericFileAtPathResp
func (*ClientWithResponses) UploadCargoPackageWithBodyWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) UploadCargoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCargoPackageResp, error)
UploadCargoPackageWithBodyWithResponse request with arbitrary body returning *UploadCargoPackageResp
func (*ClientWithResponses) UploadComposerPackageWithBodyWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) UploadComposerPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadComposerPackageResp, error)
UploadComposerPackageWithBodyWithResponse request with arbitrary body returning *UploadComposerPackageResp
func (*ClientWithResponses) UploadConanPackageFileWithBodyWithResponse ¶ added in v1.3.26
func (c *ClientWithResponses) UploadConanPackageFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, pkgid string, prev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadConanPackageFileResp, error)
UploadConanPackageFileWithBodyWithResponse request with arbitrary body returning *UploadConanPackageFileResp
func (*ClientWithResponses) UploadConanRecipeFileWithBodyWithResponse ¶ added in v1.3.26
func (c *ClientWithResponses) UploadConanRecipeFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadConanRecipeFileResp, error)
UploadConanRecipeFileWithBodyWithResponse request with arbitrary body returning *UploadConanRecipeFileResp
func (*ClientWithResponses) UploadCondaPackageWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadCondaPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCondaPackageResp, error)
UploadCondaPackageWithBodyWithResponse request with arbitrary body returning *UploadCondaPackageResp
func (*ClientWithResponses) UploadDartPackageWithBodyWithResponse ¶ added in v1.1.2
func (c *ClientWithResponses) UploadDartPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDartPackageResp, error)
UploadDartPackageWithBodyWithResponse request with arbitrary body returning *UploadDartPackageResp
func (*ClientWithResponses) UploadDebianDebFileWithBodyWithResponse ¶ added in v1.3.20
func (c *ClientWithResponses) UploadDebianDebFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianDebFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianDebFileResp, error)
UploadDebianDebFileWithBodyWithResponse request with arbitrary body returning *UploadDebianDebFileResp
func (*ClientWithResponses) UploadDebianDscFileWithBodyWithResponse ¶ added in v1.3.20
func (c *ClientWithResponses) UploadDebianDscFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianDscFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianDscFileResp, error)
UploadDebianDscFileWithBodyWithResponse request with arbitrary body returning *UploadDebianDscFileResp
func (*ClientWithResponses) UploadDebianSrcFileWithBodyWithResponse ¶ added in v1.3.20
func (c *ClientWithResponses) UploadDebianSrcFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianSrcFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianSrcFileResp, error)
UploadDebianSrcFileWithBodyWithResponse request with arbitrary body returning *UploadDebianSrcFileResp
func (*ClientWithResponses) UploadGenericFileToPathWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadGenericFileToPathWithBodyWithResponse(ctx context.Context, accountId string, registry string, filepath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGenericFileToPathResp, error)
UploadGenericFileToPathWithBodyWithResponse request with arbitrary body returning *UploadGenericFileToPathResp
func (*ClientWithResponses) UploadGenericPackageWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadGenericPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGenericPackageResp, error)
UploadGenericPackageWithBodyWithResponse request with arbitrary body returning *UploadGenericPackageResp
func (*ClientWithResponses) UploadGoPackageWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadGoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGoPackageResp, error)
UploadGoPackageWithBodyWithResponse request with arbitrary body returning *UploadGoPackageResp
func (*ClientWithResponses) UploadMavenMetadataXmlWithBodyWithResponse ¶ added in v1.3.2
func (c *ClientWithResponses) UploadMavenMetadataXmlWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMavenMetadataXmlResp, error)
UploadMavenMetadataXmlWithBodyWithResponse request with arbitrary body returning *UploadMavenMetadataXmlResp
func (*ClientWithResponses) UploadMavenPackageWithBodyWithResponse ¶ added in v1.3.2
func (c *ClientWithResponses) UploadMavenPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, version string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMavenPackageResp, error)
UploadMavenPackageWithBodyWithResponse request with arbitrary body returning *UploadMavenPackageResp
func (*ClientWithResponses) UploadNPMPackageWithBodyWithResponse ¶ added in v1.1.2
func (c *ClientWithResponses) UploadNPMPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadNPMPackageResp, error)
UploadNPMPackageWithBodyWithResponse request with arbitrary body returning *UploadNPMPackageResp
func (*ClientWithResponses) UploadNugetPackageWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) UploadNugetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadNugetPackageResp, error)
UploadNugetPackageWithBodyWithResponse request with arbitrary body returning *UploadNugetPackageResp
func (*ClientWithResponses) UploadPuppetPackageWithBodyWithResponse ¶ added in v1.3.19
func (c *ClientWithResponses) UploadPuppetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadPuppetPackageResp, error)
UploadPuppetPackageWithBodyWithResponse request with arbitrary body returning *UploadPuppetPackageResp
func (*ClientWithResponses) UploadPythonPackageWithBodyWithResponse ¶ added in v1.2.0
func (c *ClientWithResponses) UploadPythonPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadPythonPackageResp, error)
UploadPythonPackageWithBodyWithResponse request with arbitrary body returning *UploadPythonPackageResp
func (*ClientWithResponses) UploadRpmPackageWithBodyWithResponse ¶ added in v1.1.0
func (c *ClientWithResponses) UploadRpmPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadRpmPackageResp, error)
UploadRpmPackageWithBodyWithResponse request with arbitrary body returning *UploadRpmPackageResp
func (*ClientWithResponses) UploadSwiftPackageWithBodyWithResponse ¶ added in v1.3.18
func (c *ClientWithResponses) UploadSwiftPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, scope string, name string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadSwiftPackageResp, error)
UploadSwiftPackageWithBodyWithResponse request with arbitrary body returning *UploadSwiftPackageResp
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// UploadCargoPackageWithBodyWithResponse request with any body
UploadCargoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCargoPackageResp, error)
// UploadComposerPackageWithBodyWithResponse request with any body
UploadComposerPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadComposerPackageResp, error)
// UploadConanRecipeFileWithBodyWithResponse request with any body
UploadConanRecipeFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadConanRecipeFileResp, error)
// UploadConanPackageFileWithBodyWithResponse request with any body
UploadConanPackageFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, name string, version string, user string, channel string, rrev string, pkgid string, prev string, filename string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadConanPackageFileResp, error)
// UploadCondaPackageWithBodyWithResponse request with any body
UploadCondaPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadCondaPackageResp, error)
// UploadDebianDebFileWithBodyWithResponse request with any body
UploadDebianDebFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianDebFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianDebFileResp, error)
// UploadDebianDscFileWithBodyWithResponse request with any body
UploadDebianDscFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianDscFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianDscFileResp, error)
// UploadDebianSrcFileWithBodyWithResponse request with any body
UploadDebianSrcFileWithBodyWithResponse(ctx context.Context, accountId string, registry string, params *UploadDebianSrcFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDebianSrcFileResp, error)
// DeleteGenericFileFromPathWithResponse request
DeleteGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*DeleteGenericFileFromPathResp, error)
// DownloadGenericFileFromPathWithResponse request
DownloadGenericFileFromPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*DownloadGenericFileFromPathResp, error)
// HeadGenericFileAtPathWithResponse request
HeadGenericFileAtPathWithResponse(ctx context.Context, accountId string, registry string, filepath string, reqEditors ...RequestEditorFn) (*HeadGenericFileAtPathResp, error)
// UploadGenericFileToPathWithBodyWithResponse request with any body
UploadGenericFileToPathWithBodyWithResponse(ctx context.Context, accountId string, registry string, filepath string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGenericFileToPathResp, error)
// DownloadGenericPackageWithResponse request
DownloadGenericPackageWithResponse(ctx context.Context, accountId string, registry string, pPackage string, version string, params *DownloadGenericPackageParams, reqEditors ...RequestEditorFn) (*DownloadGenericPackageResp, error)
// UploadGenericPackageWithBodyWithResponse request with any body
UploadGenericPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGenericPackageResp, error)
// UploadGoPackageWithBodyWithResponse request with any body
UploadGoPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadGoPackageResp, error)
// DownloadMavenMetadataXmlWithResponse request
DownloadMavenMetadataXmlWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, reqEditors ...RequestEditorFn) (*DownloadMavenMetadataXmlResp, error)
// UploadMavenMetadataXmlWithBodyWithResponse request with any body
UploadMavenMetadataXmlWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMavenMetadataXmlResp, error)
// UploadMavenPackageWithBodyWithResponse request with any body
UploadMavenPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, groupId string, artifactId string, version string, file string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMavenPackageResp, error)
// DownloadNPMPackageMetadataWithResponse request
DownloadNPMPackageMetadataWithResponse(ctx context.Context, accountId string, registry string, pPackage string, reqEditors ...RequestEditorFn) (*DownloadNPMPackageMetadataResp, error)
// UploadNPMPackageWithBodyWithResponse request with any body
UploadNPMPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, pPackage string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadNPMPackageResp, error)
// UploadNugetPackageWithBodyWithResponse request with any body
UploadNugetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadNugetPackageResp, error)
// UploadDartPackageWithBodyWithResponse request with any body
UploadDartPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, uploadId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadDartPackageResp, error)
// UploadPuppetPackageWithBodyWithResponse request with any body
UploadPuppetPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadPuppetPackageResp, error)
// UploadPythonPackageWithBodyWithResponse request with any body
UploadPythonPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadPythonPackageResp, error)
// UploadRpmPackageWithBodyWithResponse request with any body
UploadRpmPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadRpmPackageResp, error)
// UploadSwiftPackageWithBodyWithResponse request with any body
UploadSwiftPackageWithBodyWithResponse(ctx context.Context, accountId string, registry string, scope string, name string, version string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadSwiftPackageResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type DeleteGenericFileFromPathResp ¶
func ParseDeleteGenericFileFromPathResp ¶
func ParseDeleteGenericFileFromPathResp(rsp *http.Response) (*DeleteGenericFileFromPathResp, error)
ParseDeleteGenericFileFromPathResp parses an HTTP response from a DeleteGenericFileFromPathWithResponse call
func (DeleteGenericFileFromPathResp) Status ¶
func (r DeleteGenericFileFromPathResp) Status() string
Status returns HTTPResponse.Status
func (DeleteGenericFileFromPathResp) StatusCode ¶
func (r DeleteGenericFileFromPathResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadGenericFileFromPathResp ¶
func ParseDownloadGenericFileFromPathResp ¶
func ParseDownloadGenericFileFromPathResp(rsp *http.Response) (*DownloadGenericFileFromPathResp, error)
ParseDownloadGenericFileFromPathResp parses an HTTP response from a DownloadGenericFileFromPathWithResponse call
func (DownloadGenericFileFromPathResp) Status ¶
func (r DownloadGenericFileFromPathResp) Status() string
Status returns HTTPResponse.Status
func (DownloadGenericFileFromPathResp) StatusCode ¶
func (r DownloadGenericFileFromPathResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadGenericPackageParams ¶
type DownloadGenericPackageParams struct {
Filename string `form:"filename" json:"filename"`
}
DownloadGenericPackageParams defines parameters for DownloadGenericPackage.
type DownloadGenericPackageResp ¶
func ParseDownloadGenericPackageResp ¶
func ParseDownloadGenericPackageResp(rsp *http.Response) (*DownloadGenericPackageResp, error)
ParseDownloadGenericPackageResp parses an HTTP response from a DownloadGenericPackageWithResponse call
func (DownloadGenericPackageResp) Status ¶
func (r DownloadGenericPackageResp) Status() string
Status returns HTTPResponse.Status
func (DownloadGenericPackageResp) StatusCode ¶
func (r DownloadGenericPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadMavenMetadataXmlResp ¶ added in v1.3.2
func ParseDownloadMavenMetadataXmlResp ¶ added in v1.3.2
func ParseDownloadMavenMetadataXmlResp(rsp *http.Response) (*DownloadMavenMetadataXmlResp, error)
ParseDownloadMavenMetadataXmlResp parses an HTTP response from a DownloadMavenMetadataXmlWithResponse call
func (DownloadMavenMetadataXmlResp) Status ¶ added in v1.3.2
func (r DownloadMavenMetadataXmlResp) Status() string
Status returns HTTPResponse.Status
func (DownloadMavenMetadataXmlResp) StatusCode ¶ added in v1.3.2
func (r DownloadMavenMetadataXmlResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadNPMPackageMetadataResp ¶ added in v1.3.10
func ParseDownloadNPMPackageMetadataResp ¶ added in v1.3.10
func ParseDownloadNPMPackageMetadataResp(rsp *http.Response) (*DownloadNPMPackageMetadataResp, error)
ParseDownloadNPMPackageMetadataResp parses an HTTP response from a DownloadNPMPackageMetadataWithResponse call
func (DownloadNPMPackageMetadataResp) Status ¶ added in v1.3.10
func (r DownloadNPMPackageMetadataResp) Status() string
Status returns HTTPResponse.Status
func (DownloadNPMPackageMetadataResp) StatusCode ¶ added in v1.3.10
func (r DownloadNPMPackageMetadataResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HeadGenericFileAtPathResp ¶
func ParseHeadGenericFileAtPathResp ¶
func ParseHeadGenericFileAtPathResp(rsp *http.Response) (*HeadGenericFileAtPathResp, error)
ParseHeadGenericFileAtPathResp parses an HTTP response from a HeadGenericFileAtPathWithResponse call
func (HeadGenericFileAtPathResp) Status ¶
func (r HeadGenericFileAtPathResp) Status() string
Status returns HTTPResponse.Status
func (HeadGenericFileAtPathResp) StatusCode ¶
func (r HeadGenericFileAtPathResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type UploadCargoPackageMultipartBody ¶ added in v1.1.0
type UploadCargoPackageMultipartBody struct {
// File Package .cargo file to upload
File *openapi_types.File `json:"file,omitempty"`
}
UploadCargoPackageMultipartBody defines parameters for UploadCargoPackage.
type UploadCargoPackageMultipartRequestBody ¶ added in v1.1.0
type UploadCargoPackageMultipartRequestBody UploadCargoPackageMultipartBody
UploadCargoPackageMultipartRequestBody defines body for UploadCargoPackage for multipart/form-data ContentType.
type UploadCargoPackageResp ¶ added in v1.1.0
func ParseUploadCargoPackageResp ¶ added in v1.1.0
func ParseUploadCargoPackageResp(rsp *http.Response) (*UploadCargoPackageResp, error)
ParseUploadCargoPackageResp parses an HTTP response from a UploadCargoPackageWithResponse call
func (UploadCargoPackageResp) Status ¶ added in v1.1.0
func (r UploadCargoPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadCargoPackageResp) StatusCode ¶ added in v1.1.0
func (r UploadCargoPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadComposerPackageResp ¶ added in v1.1.0
func ParseUploadComposerPackageResp ¶ added in v1.1.0
func ParseUploadComposerPackageResp(rsp *http.Response) (*UploadComposerPackageResp, error)
ParseUploadComposerPackageResp parses an HTTP response from a UploadComposerPackageWithResponse call
func (UploadComposerPackageResp) Status ¶ added in v1.1.0
func (r UploadComposerPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadComposerPackageResp) StatusCode ¶ added in v1.1.0
func (r UploadComposerPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadConanPackageFileResp ¶ added in v1.3.26
func ParseUploadConanPackageFileResp ¶ added in v1.3.26
func ParseUploadConanPackageFileResp(rsp *http.Response) (*UploadConanPackageFileResp, error)
ParseUploadConanPackageFileResp parses an HTTP response from a UploadConanPackageFileWithResponse call
func (UploadConanPackageFileResp) Status ¶ added in v1.3.26
func (r UploadConanPackageFileResp) Status() string
Status returns HTTPResponse.Status
func (UploadConanPackageFileResp) StatusCode ¶ added in v1.3.26
func (r UploadConanPackageFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadConanRecipeFileResp ¶ added in v1.3.26
func ParseUploadConanRecipeFileResp ¶ added in v1.3.26
func ParseUploadConanRecipeFileResp(rsp *http.Response) (*UploadConanRecipeFileResp, error)
ParseUploadConanRecipeFileResp parses an HTTP response from a UploadConanRecipeFileWithResponse call
func (UploadConanRecipeFileResp) Status ¶ added in v1.3.26
func (r UploadConanRecipeFileResp) Status() string
Status returns HTTPResponse.Status
func (UploadConanRecipeFileResp) StatusCode ¶ added in v1.3.26
func (r UploadConanRecipeFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadCondaPackageResp ¶
func ParseUploadCondaPackageResp ¶
func ParseUploadCondaPackageResp(rsp *http.Response) (*UploadCondaPackageResp, error)
ParseUploadCondaPackageResp parses an HTTP response from a UploadCondaPackageWithResponse call
func (UploadCondaPackageResp) Status ¶
func (r UploadCondaPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadCondaPackageResp) StatusCode ¶
func (r UploadCondaPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadDartPackageMultipartBody ¶ added in v1.1.2
type UploadDartPackageMultipartBody struct {
// File Package binary file to upload
File openapi_types.File `json:"file"`
}
UploadDartPackageMultipartBody defines parameters for UploadDartPackage.
type UploadDartPackageMultipartRequestBody ¶ added in v1.1.2
type UploadDartPackageMultipartRequestBody UploadDartPackageMultipartBody
UploadDartPackageMultipartRequestBody defines body for UploadDartPackage for multipart/form-data ContentType.
type UploadDartPackageResp ¶ added in v1.1.2
func ParseUploadDartPackageResp ¶ added in v1.1.2
func ParseUploadDartPackageResp(rsp *http.Response) (*UploadDartPackageResp, error)
ParseUploadDartPackageResp parses an HTTP response from a UploadDartPackageWithResponse call
func (UploadDartPackageResp) Status ¶ added in v1.1.2
func (r UploadDartPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadDartPackageResp) StatusCode ¶ added in v1.1.2
func (r UploadDartPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadDebianDebFileParams ¶ added in v1.3.20
type UploadDebianDebFileParams struct {
// Distribution Debian distribution name (e.g., focal, bullseye)
Distribution string `form:"distribution" json:"distribution"`
// Component Debian component name (e.g., main, contrib, non-free)
Component string `form:"component" json:"component"`
}
UploadDebianDebFileParams defines parameters for UploadDebianDebFile.
type UploadDebianDebFileResp ¶ added in v1.3.20
func ParseUploadDebianDebFileResp ¶ added in v1.3.20
func ParseUploadDebianDebFileResp(rsp *http.Response) (*UploadDebianDebFileResp, error)
ParseUploadDebianDebFileResp parses an HTTP response from a UploadDebianDebFileWithResponse call
func (UploadDebianDebFileResp) Status ¶ added in v1.3.20
func (r UploadDebianDebFileResp) Status() string
Status returns HTTPResponse.Status
func (UploadDebianDebFileResp) StatusCode ¶ added in v1.3.20
func (r UploadDebianDebFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadDebianDscFileParams ¶ added in v1.3.20
type UploadDebianDscFileParams struct {
// Distribution Debian distribution name (e.g., focal, bullseye)
Distribution string `form:"distribution" json:"distribution"`
// Component Debian component name (e.g., main, contrib, non-free)
Component string `form:"component" json:"component"`
}
UploadDebianDscFileParams defines parameters for UploadDebianDscFile.
type UploadDebianDscFileResp ¶ added in v1.3.20
func ParseUploadDebianDscFileResp ¶ added in v1.3.20
func ParseUploadDebianDscFileResp(rsp *http.Response) (*UploadDebianDscFileResp, error)
ParseUploadDebianDscFileResp parses an HTTP response from a UploadDebianDscFileWithResponse call
func (UploadDebianDscFileResp) Status ¶ added in v1.3.20
func (r UploadDebianDscFileResp) Status() string
Status returns HTTPResponse.Status
func (UploadDebianDscFileResp) StatusCode ¶ added in v1.3.20
func (r UploadDebianDscFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadDebianSrcFileParams ¶ added in v1.3.20
type UploadDebianSrcFileParams struct {
// Distribution Debian distribution name (e.g., focal, bullseye)
Distribution string `form:"distribution" json:"distribution"`
// Component Debian component name (e.g., main, contrib, non-free)
Component string `form:"component" json:"component"`
// Package Debian package name (must be at least 2 characters and contain only lowercase letters, digits, +, -, .)
Package string `form:"package" json:"package"`
// Version Debian version format ([epoch:]upstream_version[-debian_revision])
Version string `form:"version" json:"version"`
}
UploadDebianSrcFileParams defines parameters for UploadDebianSrcFile.
type UploadDebianSrcFileResp ¶ added in v1.3.20
func ParseUploadDebianSrcFileResp ¶ added in v1.3.20
func ParseUploadDebianSrcFileResp(rsp *http.Response) (*UploadDebianSrcFileResp, error)
ParseUploadDebianSrcFileResp parses an HTTP response from a UploadDebianSrcFileWithResponse call
func (UploadDebianSrcFileResp) Status ¶ added in v1.3.20
func (r UploadDebianSrcFileResp) Status() string
Status returns HTTPResponse.Status
func (UploadDebianSrcFileResp) StatusCode ¶ added in v1.3.20
func (r UploadDebianSrcFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadGenericFileToPathResp ¶
func ParseUploadGenericFileToPathResp ¶
func ParseUploadGenericFileToPathResp(rsp *http.Response) (*UploadGenericFileToPathResp, error)
ParseUploadGenericFileToPathResp parses an HTTP response from a UploadGenericFileToPathWithResponse call
func (UploadGenericFileToPathResp) Status ¶
func (r UploadGenericFileToPathResp) Status() string
Status returns HTTPResponse.Status
func (UploadGenericFileToPathResp) StatusCode ¶
func (r UploadGenericFileToPathResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadGenericPackageMultipartBody ¶
type UploadGenericPackageMultipartBody struct {
// Description Human-readable description of the package/version
Description *string `json:"description,omitempty"`
// File Package file to upload
File openapi_types.File `json:"file"`
// Filename Original filename (mirrors form field `filename`)
Filename string `json:"filename"`
}
UploadGenericPackageMultipartBody defines parameters for UploadGenericPackage.
type UploadGenericPackageMultipartRequestBody ¶
type UploadGenericPackageMultipartRequestBody UploadGenericPackageMultipartBody
UploadGenericPackageMultipartRequestBody defines body for UploadGenericPackage for multipart/form-data ContentType.
type UploadGenericPackageResp ¶
func ParseUploadGenericPackageResp ¶
func ParseUploadGenericPackageResp(rsp *http.Response) (*UploadGenericPackageResp, error)
ParseUploadGenericPackageResp parses an HTTP response from a UploadGenericPackageWithResponse call
func (UploadGenericPackageResp) Status ¶
func (r UploadGenericPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadGenericPackageResp) StatusCode ¶
func (r UploadGenericPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadGoPackageMultipartBody ¶
type UploadGoPackageMultipartBody struct {
// Info Package .info file to upload
Info openapi_types.File `json:"info"`
// Mod Package .mod file to upload
Mod openapi_types.File `json:"mod"`
// Zip Package .zip file to upload
Zip openapi_types.File `json:"zip"`
}
UploadGoPackageMultipartBody defines parameters for UploadGoPackage.
type UploadGoPackageMultipartRequestBody ¶
type UploadGoPackageMultipartRequestBody UploadGoPackageMultipartBody
UploadGoPackageMultipartRequestBody defines body for UploadGoPackage for multipart/form-data ContentType.
type UploadGoPackageResp ¶
func ParseUploadGoPackageResp ¶
func ParseUploadGoPackageResp(rsp *http.Response) (*UploadGoPackageResp, error)
ParseUploadGoPackageResp parses an HTTP response from a UploadGoPackageWithResponse call
func (UploadGoPackageResp) Status ¶
func (r UploadGoPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadGoPackageResp) StatusCode ¶
func (r UploadGoPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadMavenMetadataXmlResp ¶ added in v1.3.2
func ParseUploadMavenMetadataXmlResp ¶ added in v1.3.2
func ParseUploadMavenMetadataXmlResp(rsp *http.Response) (*UploadMavenMetadataXmlResp, error)
ParseUploadMavenMetadataXmlResp parses an HTTP response from a UploadMavenMetadataXmlWithResponse call
func (UploadMavenMetadataXmlResp) Status ¶ added in v1.3.2
func (r UploadMavenMetadataXmlResp) Status() string
Status returns HTTPResponse.Status
func (UploadMavenMetadataXmlResp) StatusCode ¶ added in v1.3.2
func (r UploadMavenMetadataXmlResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadMavenPackageResp ¶ added in v1.3.2
func ParseUploadMavenPackageResp ¶ added in v1.3.2
func ParseUploadMavenPackageResp(rsp *http.Response) (*UploadMavenPackageResp, error)
ParseUploadMavenPackageResp parses an HTTP response from a UploadMavenPackageWithResponse call
func (UploadMavenPackageResp) Status ¶ added in v1.3.2
func (r UploadMavenPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadMavenPackageResp) StatusCode ¶ added in v1.3.2
func (r UploadMavenPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadNPMPackageResp ¶ added in v1.1.2
func ParseUploadNPMPackageResp ¶ added in v1.1.2
func ParseUploadNPMPackageResp(rsp *http.Response) (*UploadNPMPackageResp, error)
ParseUploadNPMPackageResp parses an HTTP response from a UploadNPMPackageWithResponse call
func (UploadNPMPackageResp) Status ¶ added in v1.1.2
func (r UploadNPMPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadNPMPackageResp) StatusCode ¶ added in v1.1.2
func (r UploadNPMPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadNugetPackageMultipartBody ¶ added in v1.2.0
type UploadNugetPackageMultipartBody struct {
// File Package .nupkg file to upload
File *openapi_types.File `json:"file,omitempty"`
}
UploadNugetPackageMultipartBody defines parameters for UploadNugetPackage.
type UploadNugetPackageMultipartRequestBody ¶ added in v1.2.0
type UploadNugetPackageMultipartRequestBody UploadNugetPackageMultipartBody
UploadNugetPackageMultipartRequestBody defines body for UploadNugetPackage for multipart/form-data ContentType.
type UploadNugetPackageResp ¶ added in v1.2.0
func ParseUploadNugetPackageResp ¶ added in v1.2.0
func ParseUploadNugetPackageResp(rsp *http.Response) (*UploadNugetPackageResp, error)
ParseUploadNugetPackageResp parses an HTTP response from a UploadNugetPackageWithResponse call
func (UploadNugetPackageResp) Status ¶ added in v1.2.0
func (r UploadNugetPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadNugetPackageResp) StatusCode ¶ added in v1.2.0
func (r UploadNugetPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadPuppetPackageMultipartBody ¶ added in v1.3.19
type UploadPuppetPackageMultipartBody struct {
// File Puppet module .tar.gz tarball
File *openapi_types.File `json:"file,omitempty"`
}
UploadPuppetPackageMultipartBody defines parameters for UploadPuppetPackage.
type UploadPuppetPackageMultipartRequestBody ¶ added in v1.3.19
type UploadPuppetPackageMultipartRequestBody UploadPuppetPackageMultipartBody
UploadPuppetPackageMultipartRequestBody defines body for UploadPuppetPackage for multipart/form-data ContentType.
type UploadPuppetPackageResp ¶ added in v1.3.19
func ParseUploadPuppetPackageResp ¶ added in v1.3.19
func ParseUploadPuppetPackageResp(rsp *http.Response) (*UploadPuppetPackageResp, error)
ParseUploadPuppetPackageResp parses an HTTP response from a UploadPuppetPackageWithResponse call
func (UploadPuppetPackageResp) Status ¶ added in v1.3.19
func (r UploadPuppetPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadPuppetPackageResp) StatusCode ¶ added in v1.3.19
func (r UploadPuppetPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadPythonPackageMultipartBody ¶ added in v1.2.0
type UploadPythonPackageMultipartBody struct {
// File Package .whl or .tar.gz file to upload
File *openapi_types.File `json:"file,omitempty"`
}
UploadPythonPackageMultipartBody defines parameters for UploadPythonPackage.
type UploadPythonPackageMultipartRequestBody ¶ added in v1.2.0
type UploadPythonPackageMultipartRequestBody UploadPythonPackageMultipartBody
UploadPythonPackageMultipartRequestBody defines body for UploadPythonPackage for multipart/form-data ContentType.
type UploadPythonPackageResp ¶ added in v1.2.0
func ParseUploadPythonPackageResp ¶ added in v1.2.0
func ParseUploadPythonPackageResp(rsp *http.Response) (*UploadPythonPackageResp, error)
ParseUploadPythonPackageResp parses an HTTP response from a UploadPythonPackageWithResponse call
func (UploadPythonPackageResp) Status ¶ added in v1.2.0
func (r UploadPythonPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadPythonPackageResp) StatusCode ¶ added in v1.2.0
func (r UploadPythonPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadRpmPackageMultipartBody ¶ added in v1.1.0
type UploadRpmPackageMultipartBody struct {
// File Package .rpm file to upload
File *openapi_types.File `json:"file,omitempty"`
}
UploadRpmPackageMultipartBody defines parameters for UploadRpmPackage.
type UploadRpmPackageMultipartRequestBody ¶ added in v1.1.0
type UploadRpmPackageMultipartRequestBody UploadRpmPackageMultipartBody
UploadRpmPackageMultipartRequestBody defines body for UploadRpmPackage for multipart/form-data ContentType.
type UploadRpmPackageResp ¶ added in v1.1.0
func ParseUploadRpmPackageResp ¶ added in v1.1.0
func ParseUploadRpmPackageResp(rsp *http.Response) (*UploadRpmPackageResp, error)
ParseUploadRpmPackageResp parses an HTTP response from a UploadRpmPackageWithResponse call
func (UploadRpmPackageResp) Status ¶ added in v1.1.0
func (r UploadRpmPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadRpmPackageResp) StatusCode ¶ added in v1.1.0
func (r UploadRpmPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadSwiftPackageMultipartBody ¶ added in v1.3.18
type UploadSwiftPackageMultipartBody struct {
// File Swift Package .zip file to upload
File *openapi_types.File `json:"file,omitempty"`
}
UploadSwiftPackageMultipartBody defines parameters for UploadSwiftPackage.
type UploadSwiftPackageMultipartRequestBody ¶ added in v1.3.18
type UploadSwiftPackageMultipartRequestBody UploadSwiftPackageMultipartBody
UploadSwiftPackageMultipartRequestBody defines body for UploadSwiftPackage for multipart/form-data ContentType.
type UploadSwiftPackageResp ¶ added in v1.3.18
func ParseUploadSwiftPackageResp ¶ added in v1.3.18
func ParseUploadSwiftPackageResp(rsp *http.Response) (*UploadSwiftPackageResp, error)
ParseUploadSwiftPackageResp parses an HTTP response from a UploadSwiftPackageWithResponse call
func (UploadSwiftPackageResp) Status ¶ added in v1.3.18
func (r UploadSwiftPackageResp) Status() string
Status returns HTTPResponse.Status
func (UploadSwiftPackageResp) StatusCode ¶ added in v1.3.18
func (r UploadSwiftPackageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode