Documentation
¶
Overview ¶
Package catalog provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func NewGetCatalogRepoReadmeRequest(server string, id string) (*http.Request, error)
- func NewGetCatalogRepoRequest(server string, id string) (*http.Request, error)
- func NewGetCatalogSkillReadmeRequest(server string, id string) (*http.Request, error)
- func NewGetCatalogSkillRequest(server string, id string) (*http.Request, error)
- func NewGetCatalogSkillVariantRequest(server string, id string, variantId string) (*http.Request, error)
- func NewGetCatalogTemplateRequest(server string, id string) (*http.Request, error)
- func NewGetCpuTypeRequest(server string, id string, params *GetCpuTypeParams) (*http.Request, error)
- func NewGetDataCenterRequest(server string, id string, params *GetDataCenterParams) (*http.Request, error)
- func NewGetGpuTypeRequest(server string, id string, params *GetGpuTypeParams) (*http.Request, error)
- func NewGetPublicTemplateReadmeRequest(server string, id string) (*http.Request, error)
- func NewListCatalogReposRequest(server string, params *ListCatalogReposParams) (*http.Request, error)
- func NewListCatalogSkillsRequest(server string, params *ListCatalogSkillsParams) (*http.Request, error)
- func NewListCpuTypesRequest(server string, params *ListCpuTypesParams) (*http.Request, error)
- func NewListDataCentersRequest(server string, params *ListDataCentersParams) (*http.Request, error)
- func NewListGpuTypesRequest(server string, params *ListGpuTypesParams) (*http.Request, error)
- func NewListPublicTemplatesRequest(server string, params *ListPublicTemplatesParams) (*http.Request, error)
- type Client
- func (c *Client) GetCatalogRepo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCatalogRepoReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCatalogSkill(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCatalogSkillReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCatalogSkillVariant(ctx context.Context, id string, variantId string, ...) (*http.Response, error)
- func (c *Client) GetCatalogTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCpuType(ctx context.Context, id string, params *GetCpuTypeParams, ...) (*http.Response, error)
- func (c *Client) GetDataCenter(ctx context.Context, id string, params *GetDataCenterParams, ...) (*http.Response, error)
- func (c *Client) GetGpuType(ctx context.Context, id string, params *GetGpuTypeParams, ...) (*http.Response, error)
- func (c *Client) GetPublicTemplateReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCatalogRepos(ctx context.Context, params *ListCatalogReposParams, ...) (*http.Response, error)
- func (c *Client) ListCatalogSkills(ctx context.Context, params *ListCatalogSkillsParams, ...) (*http.Response, error)
- func (c *Client) ListCpuTypes(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListDataCenters(ctx context.Context, params *ListDataCentersParams, ...) (*http.Response, error)
- func (c *Client) ListGpuTypes(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPublicTemplates(ctx context.Context, params *ListPublicTemplatesParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetCatalogRepoReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoReadmeResult, error)
- func (c *ClientWithResponses) GetCatalogRepoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoResult, error)
- func (c *ClientWithResponses) GetCatalogSkillReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillReadmeResult, error)
- func (c *ClientWithResponses) GetCatalogSkillVariantWithResponse(ctx context.Context, id string, variantId string, ...) (*GetCatalogSkillVariantResult, error)
- func (c *ClientWithResponses) GetCatalogSkillWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillResult, error)
- func (c *ClientWithResponses) GetCatalogTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogTemplateResult, error)
- func (c *ClientWithResponses) GetCpuTypeWithResponse(ctx context.Context, id string, params *GetCpuTypeParams, ...) (*GetCpuTypeResult, error)
- func (c *ClientWithResponses) GetDataCenterWithResponse(ctx context.Context, id string, params *GetDataCenterParams, ...) (*GetDataCenterResult, error)
- func (c *ClientWithResponses) GetGpuTypeWithResponse(ctx context.Context, id string, params *GetGpuTypeParams, ...) (*GetGpuTypeResult, error)
- func (c *ClientWithResponses) GetPublicTemplateReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicTemplateReadmeResult, error)
- func (c *ClientWithResponses) ListCatalogReposWithResponse(ctx context.Context, params *ListCatalogReposParams, ...) (*ListCatalogReposResult, error)
- func (c *ClientWithResponses) ListCatalogSkillsWithResponse(ctx context.Context, params *ListCatalogSkillsParams, ...) (*ListCatalogSkillsResult, error)
- func (c *ClientWithResponses) ListCpuTypesWithResponse(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*ListCpuTypesResult, error)
- func (c *ClientWithResponses) ListDataCentersWithResponse(ctx context.Context, params *ListDataCentersParams, ...) (*ListDataCentersResult, error)
- func (c *ClientWithResponses) ListGpuTypesWithResponse(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*ListGpuTypesResult, error)
- func (c *ClientWithResponses) ListPublicTemplatesWithResponse(ctx context.Context, params *ListPublicTemplatesParams, ...) (*ListPublicTemplatesResult, error)
- type ClientWithResponsesInterface
- type GetCatalogRepoReadmeResult
- func (r GetCatalogRepoReadmeResult) ContentType() string
- func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogRepoReadmeResult) GetBody() []byte
- func (r GetCatalogRepoReadmeResult) Status() string
- func (r GetCatalogRepoReadmeResult) StatusCode() int
- type GetCatalogRepoReadmeResult200Headers
- type GetCatalogRepoReadmeResult403Headers
- type GetCatalogRepoReadmeResult404Headers
- type GetCatalogRepoReadmeResult429Headers
- type GetCatalogRepoReadmeResultDefaultHeaders
- type GetCatalogRepoResult
- func (r GetCatalogRepoResult) ContentType() string
- func (r GetCatalogRepoResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogRepoResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogRepoResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogRepoResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogRepoResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogRepoResult) GetBody() []byte
- func (r GetCatalogRepoResult) GetJSON200() *externalRef0.CatalogRepoDetail
- func (r GetCatalogRepoResult) Status() string
- func (r GetCatalogRepoResult) StatusCode() int
- type GetCatalogRepoResult200Headers
- type GetCatalogRepoResult403Headers
- type GetCatalogRepoResult404Headers
- type GetCatalogRepoResult429Headers
- type GetCatalogRepoResultDefaultHeaders
- type GetCatalogSkillReadmeResult
- func (r GetCatalogSkillReadmeResult) ContentType() string
- func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogSkillReadmeResult) GetBody() []byte
- func (r GetCatalogSkillReadmeResult) Status() string
- func (r GetCatalogSkillReadmeResult) StatusCode() int
- type GetCatalogSkillReadmeResult200Headers
- type GetCatalogSkillReadmeResult403Headers
- type GetCatalogSkillReadmeResult404Headers
- type GetCatalogSkillReadmeResult429Headers
- type GetCatalogSkillReadmeResultDefaultHeaders
- type GetCatalogSkillResult
- func (r GetCatalogSkillResult) ContentType() string
- func (r GetCatalogSkillResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogSkillResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogSkillResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogSkillResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogSkillResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogSkillResult) GetBody() []byte
- func (r GetCatalogSkillResult) GetJSON200() *externalRef0.CatalogSkillDetail
- func (r GetCatalogSkillResult) Status() string
- func (r GetCatalogSkillResult) StatusCode() int
- type GetCatalogSkillResult200Headers
- type GetCatalogSkillResult403Headers
- type GetCatalogSkillResult404Headers
- type GetCatalogSkillResult429Headers
- type GetCatalogSkillResultDefaultHeaders
- type GetCatalogSkillVariantResult
- func (r GetCatalogSkillVariantResult) ContentType() string
- func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogSkillVariantResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogSkillVariantResult) GetBody() []byte
- func (r GetCatalogSkillVariantResult) Status() string
- func (r GetCatalogSkillVariantResult) StatusCode() int
- type GetCatalogSkillVariantResult200Headers
- type GetCatalogSkillVariantResult403Headers
- type GetCatalogSkillVariantResult404Headers
- type GetCatalogSkillVariantResult429Headers
- type GetCatalogSkillVariantResultDefaultHeaders
- type GetCatalogTemplateResult
- func (r GetCatalogTemplateResult) ContentType() string
- func (r GetCatalogTemplateResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCatalogTemplateResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCatalogTemplateResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCatalogTemplateResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCatalogTemplateResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCatalogTemplateResult) GetBody() []byte
- func (r GetCatalogTemplateResult) GetJSON200() *externalRef0.CatalogTemplateDetail
- func (r GetCatalogTemplateResult) Status() string
- func (r GetCatalogTemplateResult) StatusCode() int
- type GetCatalogTemplateResult200Headers
- type GetCatalogTemplateResult403Headers
- type GetCatalogTemplateResult404Headers
- type GetCatalogTemplateResult429Headers
- type GetCatalogTemplateResultDefaultHeaders
- type GetCpuTypeParams
- type GetCpuTypeResult
- func (r GetCpuTypeResult) ContentType() string
- func (r GetCpuTypeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetCpuTypeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetCpuTypeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetCpuTypeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetCpuTypeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetCpuTypeResult) GetBody() []byte
- func (r GetCpuTypeResult) GetJSON200() *externalRef0.CpuType
- func (r GetCpuTypeResult) Status() string
- func (r GetCpuTypeResult) StatusCode() int
- type GetCpuTypeResult200Headers
- type GetCpuTypeResult403Headers
- type GetCpuTypeResult404Headers
- type GetCpuTypeResult429Headers
- type GetCpuTypeResultDefaultHeaders
- type GetDataCenterParams
- type GetDataCenterResult
- func (r GetDataCenterResult) ContentType() string
- func (r GetDataCenterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetDataCenterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetDataCenterResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetDataCenterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetDataCenterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetDataCenterResult) GetBody() []byte
- func (r GetDataCenterResult) GetJSON200() *externalRef0.DataCenter
- func (r GetDataCenterResult) Status() string
- func (r GetDataCenterResult) StatusCode() int
- type GetDataCenterResult200Headers
- type GetDataCenterResult403Headers
- type GetDataCenterResult404Headers
- type GetDataCenterResult429Headers
- type GetDataCenterResultDefaultHeaders
- type GetGpuTypeParams
- type GetGpuTypeResult
- func (r GetGpuTypeResult) ContentType() string
- func (r GetGpuTypeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetGpuTypeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetGpuTypeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetGpuTypeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetGpuTypeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetGpuTypeResult) GetBody() []byte
- func (r GetGpuTypeResult) GetJSON200() *externalRef0.GpuType
- func (r GetGpuTypeResult) Status() string
- func (r GetGpuTypeResult) StatusCode() int
- type GetGpuTypeResult200Headers
- type GetGpuTypeResult403Headers
- type GetGpuTypeResult404Headers
- type GetGpuTypeResult429Headers
- type GetGpuTypeResultDefaultHeaders
- type GetPublicTemplateReadmeResult
- func (r GetPublicTemplateReadmeResult) ContentType() string
- func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
- func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r GetPublicTemplateReadmeResult) GetBody() []byte
- func (r GetPublicTemplateReadmeResult) Status() string
- func (r GetPublicTemplateReadmeResult) StatusCode() int
- type GetPublicTemplateReadmeResult200Headers
- type GetPublicTemplateReadmeResult403Headers
- type GetPublicTemplateReadmeResult404Headers
- type GetPublicTemplateReadmeResult429Headers
- type GetPublicTemplateReadmeResultDefaultHeaders
- type HttpRequestDoer
- type ListCatalogReposParams
- type ListCatalogReposParamsSource
- type ListCatalogReposResult
- func (r ListCatalogReposResult) ContentType() string
- func (r ListCatalogReposResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListCatalogReposResult) GetBody() []byte
- func (r ListCatalogReposResult) GetJSON200() *externalRef0.ListCatalogReposResponse
- func (r ListCatalogReposResult) Status() string
- func (r ListCatalogReposResult) StatusCode() int
- type ListCatalogReposResult200Headers
- type ListCatalogReposResult400Headers
- type ListCatalogReposResult403Headers
- type ListCatalogReposResult413Headers
- type ListCatalogReposResult422Headers
- type ListCatalogReposResult429Headers
- type ListCatalogReposResultDefaultHeaders
- type ListCatalogSkillsParams
- type ListCatalogSkillsResult
- func (r ListCatalogSkillsResult) ContentType() string
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListCatalogSkillsResult) GetBody() []byte
- func (r ListCatalogSkillsResult) GetJSON200() *externalRef0.ListCatalogSkillsResponse
- func (r ListCatalogSkillsResult) Status() string
- func (r ListCatalogSkillsResult) StatusCode() int
- type ListCatalogSkillsResult200Headers
- type ListCatalogSkillsResult400Headers
- type ListCatalogSkillsResult403Headers
- type ListCatalogSkillsResult413Headers
- type ListCatalogSkillsResult422Headers
- type ListCatalogSkillsResult429Headers
- type ListCatalogSkillsResultDefaultHeaders
- type ListCpuTypesParams
- type ListCpuTypesResult
- func (r ListCpuTypesResult) ContentType() string
- func (r ListCpuTypesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListCpuTypesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListCpuTypesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListCpuTypesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListCpuTypesResult) GetBody() []byte
- func (r ListCpuTypesResult) GetJSON200() *externalRef0.ListCpuTypesResponse
- func (r ListCpuTypesResult) Status() string
- func (r ListCpuTypesResult) StatusCode() int
- type ListCpuTypesResult200Headers
- type ListCpuTypesResult403Headers
- type ListCpuTypesResult429Headers
- type ListCpuTypesResultDefaultHeaders
- type ListDataCentersParams
- type ListDataCentersResult
- func (r ListDataCentersResult) ContentType() string
- func (r ListDataCentersResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListDataCentersResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListDataCentersResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListDataCentersResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListDataCentersResult) GetBody() []byte
- func (r ListDataCentersResult) GetJSON200() *externalRef0.ListDataCentersResponse
- func (r ListDataCentersResult) Status() string
- func (r ListDataCentersResult) StatusCode() int
- type ListDataCentersResult200Headers
- type ListDataCentersResult403Headers
- type ListDataCentersResult429Headers
- type ListDataCentersResultDefaultHeaders
- type ListGpuTypesParams
- type ListGpuTypesResult
- func (r ListGpuTypesResult) ContentType() string
- func (r ListGpuTypesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListGpuTypesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListGpuTypesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListGpuTypesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListGpuTypesResult) GetBody() []byte
- func (r ListGpuTypesResult) GetJSON200() *externalRef0.ListGpuTypesResponse
- func (r ListGpuTypesResult) Status() string
- func (r ListGpuTypesResult) StatusCode() int
- type ListGpuTypesResult200Headers
- type ListGpuTypesResult403Headers
- type ListGpuTypesResult429Headers
- type ListGpuTypesResultDefaultHeaders
- type ListPublicTemplatesParams
- type ListPublicTemplatesParamsSource
- type ListPublicTemplatesResult
- func (r ListPublicTemplatesResult) ContentType() string
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
- func (r ListPublicTemplatesResult) GetBody() []byte
- func (r ListPublicTemplatesResult) GetJSON200() *externalRef0.ListCatalogTemplatesResponse
- func (r ListPublicTemplatesResult) Status() string
- func (r ListPublicTemplatesResult) StatusCode() int
- type ListPublicTemplatesResult200Headers
- type ListPublicTemplatesResult400Headers
- type ListPublicTemplatesResult403Headers
- type ListPublicTemplatesResult413Headers
- type ListPublicTemplatesResult422Headers
- type ListPublicTemplatesResult429Headers
- type ListPublicTemplatesResultDefaultHeaders
- type RequestEditorFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGetCatalogRepoReadmeRequest ¶ added in v2.4.0
NewGetCatalogRepoReadmeRequest constructs an http.Request for the GetCatalogRepoReadme method
func NewGetCatalogRepoRequest ¶ added in v2.4.0
NewGetCatalogRepoRequest constructs an http.Request for the GetCatalogRepo method
func NewGetCatalogSkillReadmeRequest ¶ added in v2.4.0
NewGetCatalogSkillReadmeRequest constructs an http.Request for the GetCatalogSkillReadme method
func NewGetCatalogSkillRequest ¶ added in v2.4.0
NewGetCatalogSkillRequest constructs an http.Request for the GetCatalogSkill method
func NewGetCatalogSkillVariantRequest ¶ added in v2.4.0
func NewGetCatalogSkillVariantRequest(server string, id string, variantId string) (*http.Request, error)
NewGetCatalogSkillVariantRequest constructs an http.Request for the GetCatalogSkillVariant method
func NewGetCatalogTemplateRequest ¶ added in v2.4.0
NewGetCatalogTemplateRequest constructs an http.Request for the GetCatalogTemplate method
func NewGetCpuTypeRequest ¶
func NewGetCpuTypeRequest(server string, id string, params *GetCpuTypeParams) (*http.Request, error)
NewGetCpuTypeRequest constructs an http.Request for the GetCpuType method
func NewGetDataCenterRequest ¶
func NewGetDataCenterRequest(server string, id string, params *GetDataCenterParams) (*http.Request, error)
NewGetDataCenterRequest constructs an http.Request for the GetDataCenter method
func NewGetGpuTypeRequest ¶
func NewGetGpuTypeRequest(server string, id string, params *GetGpuTypeParams) (*http.Request, error)
NewGetGpuTypeRequest constructs an http.Request for the GetGpuType method
func NewGetPublicTemplateReadmeRequest ¶ added in v2.4.0
NewGetPublicTemplateReadmeRequest constructs an http.Request for the GetPublicTemplateReadme method
func NewListCatalogReposRequest ¶ added in v2.4.0
func NewListCatalogReposRequest(server string, params *ListCatalogReposParams) (*http.Request, error)
NewListCatalogReposRequest constructs an http.Request for the ListCatalogRepos method
func NewListCatalogSkillsRequest ¶ added in v2.4.0
func NewListCatalogSkillsRequest(server string, params *ListCatalogSkillsParams) (*http.Request, error)
NewListCatalogSkillsRequest constructs an http.Request for the ListCatalogSkills method
func NewListCpuTypesRequest ¶
func NewListCpuTypesRequest(server string, params *ListCpuTypesParams) (*http.Request, error)
NewListCpuTypesRequest constructs an http.Request for the ListCpuTypes method
func NewListDataCentersRequest ¶
func NewListDataCentersRequest(server string, params *ListDataCentersParams) (*http.Request, error)
NewListDataCentersRequest constructs an http.Request for the ListDataCenters method
func NewListGpuTypesRequest ¶
func NewListGpuTypesRequest(server string, params *ListGpuTypesParams) (*http.Request, error)
NewListGpuTypesRequest constructs an http.Request for the ListGpuTypes method
func NewListPublicTemplatesRequest ¶
func NewListPublicTemplatesRequest(server string, params *ListPublicTemplatesParams) (*http.Request, error)
NewListPublicTemplatesRequest constructs an http.Request for the ListPublicTemplates method
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) GetCatalogRepo ¶ added in v2.4.0
func (c *Client) GetCatalogRepo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogRepo Get a Hub repo
Returns one repo with its listed release, including the GPUs, disk and environment variables the release deploys with. Read the README at `GET /v2/catalog/repos/{id}/readme`.
Corresponds with GET /v2/catalog/repos/{id} (the `GetCatalogRepo` operationId).
func (*Client) GetCatalogRepoReadme ¶ added in v2.4.0
func (c *Client) GetCatalogRepoReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogRepoReadme Get a Hub repo README
Returns the README of the repo's listed release as raw Markdown. Returns `404` when the repo does not exist or its release has no README.
Corresponds with GET /v2/catalog/repos/{id}/readme (the `GetCatalogRepoReadme` operationId).
func (*Client) GetCatalogSkill ¶ added in v2.4.0
func (c *Client) GetCatalogSkill(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogSkill Get a skill
Returns one skill with its variants. Read the README at `GET /v2/catalog/skills/{id}/readme` and a variant at `GET /v2/catalog/skills/{id}/variants/{variantId}`.
Corresponds with GET /v2/catalog/skills/{id} (the `GetCatalogSkill` operationId).
func (*Client) GetCatalogSkillReadme ¶ added in v2.4.0
func (c *Client) GetCatalogSkillReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogSkillReadme Get a skill README
Returns the skill's README as raw Markdown. Returns `404` when the skill does not exist or its README has not been synced yet.
Corresponds with GET /v2/catalog/skills/{id}/readme (the `GetCatalogSkillReadme` operationId).
func (*Client) GetCatalogSkillVariant ¶ added in v2.4.0
func (c *Client) GetCatalogSkillVariant(ctx context.Context, id string, variantId string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogSkillVariant Get a skill variant
Returns one variant of a skill as raw Markdown. Returns `404` when the skill or variant does not exist or the variant has not been synced yet.
Corresponds with GET /v2/catalog/skills/{id}/variants/{variantId} (the `GetCatalogSkillVariant` operationId).
func (*Client) GetCatalogTemplate ¶ added in v2.4.0
func (c *Client) GetCatalogTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCatalogTemplate Get a public template
Returns one public template. This covers every public template, including ones the list leaves out: your own, and ones below the list's quality bar.
For a versioned line, `versions` lists every version with its tags. The top-level fields are the requested tag's when you ask by tag ID, and the first current tag's when you ask by line ID. A line ID resolves only while the line has a current tag; its published tags resolve regardless, with `currentVersion` null when nothing is current.
Corresponds with GET /v2/catalog/templates/{id} (the `GetCatalogTemplate` operationId).
func (*Client) GetCpuType ¶
func (c *Client) GetCpuType(ctx context.Context, id string, params *GetCpuTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetCpuType Get a CPU type
Returns a single CPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Corresponds with GET /v2/catalog/cpus/{id} (the `GetCpuType` operationId).
func (*Client) GetDataCenter ¶
func (c *Client) GetDataCenter(ctx context.Context, id string, params *GetDataCenterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetDataCenter Get a data center
Returns a single data center. Availability is included only when requested with include=GPU_AVAILABILITY or include=CPU_AVAILABILITY.
Corresponds with GET /v2/catalog/datacenters/{id} (the `GetDataCenter` operationId).
func (*Client) GetGpuType ¶
func (c *Client) GetGpuType(ctx context.Context, id string, params *GetGpuTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
GetGpuType Get a GPU type
Returns a single GPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Corresponds with GET /v2/catalog/gpus/{id} (the `GetGpuType` operationId).
func (*Client) GetPublicTemplateReadme ¶ added in v2.4.0
func (c *Client) GetPublicTemplateReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
GetPublicTemplateReadme Get a public template README
Returns the README of a public catalog template as raw Markdown. `id` is a template ID, a versioned tag's ID or a versioned line's `versionedTemplateId`. A line returns its own README, or its current tag's when it has none. Only public templates are served. Returns `404` when the template does not exist, is not public, or has no README. Use `GET /v2/templates/{id}/readme` for your private templates.
Corresponds with GET /v2/catalog/templates/{id}/readme (the `GetPublicTemplateReadme` operationId).
func (*Client) ListCatalogRepos ¶ added in v2.4.0
func (c *Client) ListCatalogRepos(ctx context.Context, params *ListCatalogReposParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCatalogRepos List Hub repos
Returns Hub repos: GitHub repositories Runpod builds into images you can deploy. Open one with `GET /v2/catalog/repos/{id}` for its listed release and deploy defaults.
Without `search`, repos are ordered most deployed first.
Corresponds with GET /v2/catalog/repos (the `ListCatalogRepos` operationId).
func (*Client) ListCatalogSkills ¶ added in v2.4.0
func (c *Client) ListCatalogSkills(ctx context.Context, params *ListCatalogSkillsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCatalogSkills List skills
Returns skills: step-by-step guides, published by Runpod, that an agent follows to set up a workload. Each skill has a README and one or more variants; open one with `GET /v2/catalog/skills/{id}`.
Without `search`, skills are ordered most recently updated first. `minReliability`, `product` and `category` don't apply to skills and are rejected with 422, as is any other undeclared parameter.
Corresponds with GET /v2/catalog/skills (the `ListCatalogSkills` operationId).
func (*Client) ListCpuTypes ¶
func (c *Client) ListCpuTypes(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListCpuTypes List CPU types
Returns available CPU flavors. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Corresponds with GET /v2/catalog/cpus (the `ListCpuTypes` operationId).
func (*Client) ListDataCenters ¶
func (c *Client) ListDataCenters(ctx context.Context, params *ListDataCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListDataCenters List data centers
Returns available data center locations with region, compliance, supported network volume tiers, and global networking support. Use include=GPU_AVAILABILITY or include=CPU_AVAILABILITY to add per-resource availability arrays to each data center. The regions, networkVolumeTypes, compliance, and globalNetwork query parameters filter the list before it is returned.
Corresponds with GET /v2/catalog/datacenters (the `ListDataCenters` operationId).
func (*Client) ListGpuTypes ¶
func (c *Client) ListGpuTypes(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListGpuTypes List GPU types
Returns available GPU types with pricing. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context. With countryCodes, the list is narrowed to GPU types deployable in those countries, so "this geography + this chip" resolves in one read.
Corresponds with GET /v2/catalog/gpus (the `ListGpuTypes` operationId).
func (*Client) ListPublicTemplates ¶
func (c *Client) ListPublicTemplates(ctx context.Context, params *ListPublicTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
ListPublicTemplates List public templates
Returns the public template catalog. `source` selects which slice: `official` (the default) is Runpod-curated templates, `verified` is community templates Runpod has verified, and `community` is everything else other users have shared publicly. Both pod and serverless templates appear — use each entry's `serverless` flag to tell them apart. `registry` is always null for templates you don't own. Your own templates (public or private) are managed under `/v2/templates`; fetch any individual template — catalog or owned — via `/v2/templates/{id}`.
A versioned template line appears as its current tags: each is a deployable template of its own.
Without `search`, templates are ordered most deployed first: by the number of unique users who deployed them.
Corresponds with GET /v2/catalog/templates (the `ListPublicTemplates` operationId).
type ClientInterface ¶
type ClientInterface interface {
// ListCpuTypes List CPU types
//
// Returns available CPU flavors. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Corresponds with GET /v2/catalog/cpus (the `ListCpuTypes` operationId).
ListCpuTypes(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCpuType Get a CPU type
//
// Returns a single CPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Corresponds with GET /v2/catalog/cpus/{id} (the `GetCpuType` operationId).
GetCpuType(ctx context.Context, id string, params *GetCpuTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListDataCenters List data centers
//
// Returns available data center locations with region, compliance, supported network volume tiers, and global networking support. Use include=GPU_AVAILABILITY or include=CPU_AVAILABILITY to add per-resource availability arrays to each data center. The regions, networkVolumeTypes, compliance, and globalNetwork query parameters filter the list before it is returned.
//
// Corresponds with GET /v2/catalog/datacenters (the `ListDataCenters` operationId).
ListDataCenters(ctx context.Context, params *ListDataCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDataCenter Get a data center
//
// Returns a single data center. Availability is included only when requested with include=GPU_AVAILABILITY or include=CPU_AVAILABILITY.
//
// Corresponds with GET /v2/catalog/datacenters/{id} (the `GetDataCenter` operationId).
GetDataCenter(ctx context.Context, id string, params *GetDataCenterParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGpuTypes List GPU types
//
// Returns available GPU types with pricing. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context. With countryCodes, the list is narrowed to GPU types deployable in those countries, so "this geography + this chip" resolves in one read.
//
// Corresponds with GET /v2/catalog/gpus (the `ListGpuTypes` operationId).
ListGpuTypes(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGpuType Get a GPU type
//
// Returns a single GPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Corresponds with GET /v2/catalog/gpus/{id} (the `GetGpuType` operationId).
GetGpuType(ctx context.Context, id string, params *GetGpuTypeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCatalogRepos List Hub repos
//
// Returns Hub repos: GitHub repositories Runpod builds into images you
// can deploy. Open one with `GET /v2/catalog/repos/{id}` for its listed
// release and deploy defaults.
//
// Without `search`, repos are ordered most deployed first.
//
// Corresponds with GET /v2/catalog/repos (the `ListCatalogRepos` operationId).
ListCatalogRepos(ctx context.Context, params *ListCatalogReposParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogRepo Get a Hub repo
//
// Returns one repo with its listed release, including the GPUs, disk
// and environment variables the release deploys with. Read the README
// at `GET /v2/catalog/repos/{id}/readme`.
//
// Corresponds with GET /v2/catalog/repos/{id} (the `GetCatalogRepo` operationId).
GetCatalogRepo(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogRepoReadme Get a Hub repo README
//
// Returns the README of the repo's listed release as raw Markdown.
// Returns `404` when the repo does not exist or its release has no
// README.
//
// Corresponds with GET /v2/catalog/repos/{id}/readme (the `GetCatalogRepoReadme` operationId).
GetCatalogRepoReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCatalogSkills List skills
//
// Returns skills: step-by-step guides, published by Runpod, that an
// agent follows to set up a workload. Each skill has a README and one
// or more variants; open one with `GET /v2/catalog/skills/{id}`.
//
// Without `search`, skills are ordered most recently updated first.
// `minReliability`, `product` and `category` don't apply to skills and
// are rejected with 422, as is any other undeclared parameter.
//
// Corresponds with GET /v2/catalog/skills (the `ListCatalogSkills` operationId).
ListCatalogSkills(ctx context.Context, params *ListCatalogSkillsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogSkill Get a skill
//
// Returns one skill with its variants. Read the README at
// `GET /v2/catalog/skills/{id}/readme` and a variant at
// `GET /v2/catalog/skills/{id}/variants/{variantId}`.
//
// Corresponds with GET /v2/catalog/skills/{id} (the `GetCatalogSkill` operationId).
GetCatalogSkill(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogSkillReadme Get a skill README
//
// Returns the skill's README as raw Markdown. Returns `404` when the
// skill does not exist or its README has not been synced yet.
//
// Corresponds with GET /v2/catalog/skills/{id}/readme (the `GetCatalogSkillReadme` operationId).
GetCatalogSkillReadme(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogSkillVariant Get a skill variant
//
// Returns one variant of a skill as raw Markdown. Returns `404` when
// the skill or variant does not exist or the variant has not been
// synced yet.
//
// Corresponds with GET /v2/catalog/skills/{id}/variants/{variantId} (the `GetCatalogSkillVariant` operationId).
GetCatalogSkillVariant(ctx context.Context, id string, variantId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPublicTemplates List public templates
//
// Returns the public template catalog. `source` selects which slice:
// `official` (the default) is Runpod-curated templates, `verified` is
// community templates Runpod has verified, and `community` is everything
// else other users have shared publicly. Both pod and serverless
// templates appear — use each entry's `serverless` flag to tell them
// apart. `registry` is always null for templates you don't own. Your own
// templates (public or private) are managed under `/v2/templates`; fetch
// any individual template — catalog or owned — via `/v2/templates/{id}`.
//
// A versioned template line appears as its current tags: each is a
// deployable template of its own.
//
// Without `search`, templates are ordered most deployed first: by the number
// of unique users who deployed them.
//
// Corresponds with GET /v2/catalog/templates (the `ListPublicTemplates` operationId).
ListPublicTemplates(ctx context.Context, params *ListPublicTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCatalogTemplate Get a public template
//
// Returns one public template. This covers every public template,
// including ones the list leaves out: your own, and ones below the
// list's quality bar.
//
// For a versioned line, `versions` lists every version with its tags.
// The top-level fields are the requested tag's when you ask by tag ID,
// and the first current tag's when you ask by line ID. A line ID
// resolves only while the line has a current tag; its published tags
// resolve regardless, with `currentVersion` null when nothing is
// current.
//
// Corresponds with GET /v2/catalog/templates/{id} (the `GetCatalogTemplate` operationId).
GetCatalogTemplate(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPublicTemplateReadme Get a public template README
//
// Returns the README of a public catalog template as raw Markdown.
// `id` is a template ID, a versioned tag's ID or a versioned line's
// `versionedTemplateId`. A line returns its own README, or its current
// tag's when it has none. Only public templates are served. Returns
// `404` when the template does not exist, is not public, or has no
// README. Use `GET /v2/templates/{id}/readme` for your private
// templates.
//
// Corresponds with GET /v2/catalog/templates/{id}/readme (the `GetPublicTemplateReadme` operationId).
GetPublicTemplateReadme(ctx context.Context, id string, 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) GetCatalogRepoReadmeWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogRepoReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoReadmeResult, error)
GetCatalogRepoReadmeWithResponse Get a Hub repo README
Returns the README of the repo's listed release as raw Markdown. Returns `404` when the repo does not exist or its release has no README.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/repos/{id}/readme (the `GetCatalogRepoReadme` operationId).
func (*ClientWithResponses) GetCatalogRepoWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogRepoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoResult, error)
GetCatalogRepoWithResponse Get a Hub repo
Returns one repo with its listed release, including the GPUs, disk and environment variables the release deploys with. Read the README at `GET /v2/catalog/repos/{id}/readme`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/repos/{id} (the `GetCatalogRepo` operationId).
func (*ClientWithResponses) GetCatalogSkillReadmeWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogSkillReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillReadmeResult, error)
GetCatalogSkillReadmeWithResponse Get a skill README
Returns the skill's README as raw Markdown. Returns `404` when the skill does not exist or its README has not been synced yet.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/skills/{id}/readme (the `GetCatalogSkillReadme` operationId).
func (*ClientWithResponses) GetCatalogSkillVariantWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogSkillVariantWithResponse(ctx context.Context, id string, variantId string, reqEditors ...RequestEditorFn) (*GetCatalogSkillVariantResult, error)
GetCatalogSkillVariantWithResponse Get a skill variant
Returns one variant of a skill as raw Markdown. Returns `404` when the skill or variant does not exist or the variant has not been synced yet.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/skills/{id}/variants/{variantId} (the `GetCatalogSkillVariant` operationId).
func (*ClientWithResponses) GetCatalogSkillWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogSkillWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillResult, error)
GetCatalogSkillWithResponse Get a skill
Returns one skill with its variants. Read the README at `GET /v2/catalog/skills/{id}/readme` and a variant at `GET /v2/catalog/skills/{id}/variants/{variantId}`.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/skills/{id} (the `GetCatalogSkill` operationId).
func (*ClientWithResponses) GetCatalogTemplateWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetCatalogTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogTemplateResult, error)
GetCatalogTemplateWithResponse Get a public template
Returns one public template. This covers every public template, including ones the list leaves out: your own, and ones below the list's quality bar.
For a versioned line, `versions` lists every version with its tags. The top-level fields are the requested tag's when you ask by tag ID, and the first current tag's when you ask by line ID. A line ID resolves only while the line has a current tag; its published tags resolve regardless, with `currentVersion` null when nothing is current.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/templates/{id} (the `GetCatalogTemplate` operationId).
func (*ClientWithResponses) GetCpuTypeWithResponse ¶
func (c *ClientWithResponses) GetCpuTypeWithResponse(ctx context.Context, id string, params *GetCpuTypeParams, reqEditors ...RequestEditorFn) (*GetCpuTypeResult, error)
GetCpuTypeWithResponse Get a CPU type
Returns a single CPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/cpus/{id} (the `GetCpuType` operationId).
func (*ClientWithResponses) GetDataCenterWithResponse ¶
func (c *ClientWithResponses) GetDataCenterWithResponse(ctx context.Context, id string, params *GetDataCenterParams, reqEditors ...RequestEditorFn) (*GetDataCenterResult, error)
GetDataCenterWithResponse Get a data center
Returns a single data center. Availability is included only when requested with include=GPU_AVAILABILITY or include=CPU_AVAILABILITY.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/datacenters/{id} (the `GetDataCenter` operationId).
func (*ClientWithResponses) GetGpuTypeWithResponse ¶
func (c *ClientWithResponses) GetGpuTypeWithResponse(ctx context.Context, id string, params *GetGpuTypeParams, reqEditors ...RequestEditorFn) (*GetGpuTypeResult, error)
GetGpuTypeWithResponse Get a GPU type
Returns a single GPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/gpus/{id} (the `GetGpuType` operationId).
func (*ClientWithResponses) GetPublicTemplateReadmeWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) GetPublicTemplateReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicTemplateReadmeResult, error)
GetPublicTemplateReadmeWithResponse Get a public template README
Returns the README of a public catalog template as raw Markdown. `id` is a template ID, a versioned tag's ID or a versioned line's `versionedTemplateId`. A line returns its own README, or its current tag's when it has none. Only public templates are served. Returns `404` when the template does not exist, is not public, or has no README. Use `GET /v2/templates/{id}/readme` for your private templates.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/templates/{id}/readme (the `GetPublicTemplateReadme` operationId).
func (*ClientWithResponses) ListCatalogReposWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) ListCatalogReposWithResponse(ctx context.Context, params *ListCatalogReposParams, reqEditors ...RequestEditorFn) (*ListCatalogReposResult, error)
ListCatalogReposWithResponse List Hub repos
Returns Hub repos: GitHub repositories Runpod builds into images you can deploy. Open one with `GET /v2/catalog/repos/{id}` for its listed release and deploy defaults.
Without `search`, repos are ordered most deployed first.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/repos (the `ListCatalogRepos` operationId).
func (*ClientWithResponses) ListCatalogSkillsWithResponse ¶ added in v2.4.0
func (c *ClientWithResponses) ListCatalogSkillsWithResponse(ctx context.Context, params *ListCatalogSkillsParams, reqEditors ...RequestEditorFn) (*ListCatalogSkillsResult, error)
ListCatalogSkillsWithResponse List skills
Returns skills: step-by-step guides, published by Runpod, that an agent follows to set up a workload. Each skill has a README and one or more variants; open one with `GET /v2/catalog/skills/{id}`.
Without `search`, skills are ordered most recently updated first. `minReliability`, `product` and `category` don't apply to skills and are rejected with 422, as is any other undeclared parameter.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/skills (the `ListCatalogSkills` operationId).
func (*ClientWithResponses) ListCpuTypesWithResponse ¶
func (c *ClientWithResponses) ListCpuTypesWithResponse(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*ListCpuTypesResult, error)
ListCpuTypesWithResponse List CPU types
Returns available CPU flavors. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/cpus (the `ListCpuTypes` operationId).
func (*ClientWithResponses) ListDataCentersWithResponse ¶
func (c *ClientWithResponses) ListDataCentersWithResponse(ctx context.Context, params *ListDataCentersParams, reqEditors ...RequestEditorFn) (*ListDataCentersResult, error)
ListDataCentersWithResponse List data centers
Returns available data center locations with region, compliance, supported network volume tiers, and global networking support. Use include=GPU_AVAILABILITY or include=CPU_AVAILABILITY to add per-resource availability arrays to each data center. The regions, networkVolumeTypes, compliance, and globalNetwork query parameters filter the list before it is returned.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/datacenters (the `ListDataCenters` operationId).
func (*ClientWithResponses) ListGpuTypesWithResponse ¶
func (c *ClientWithResponses) ListGpuTypesWithResponse(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*ListGpuTypesResult, error)
ListGpuTypesWithResponse List GPU types
Returns available GPU types with pricing. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context. With countryCodes, the list is narrowed to GPU types deployable in those countries, so "this geography + this chip" resolves in one read.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/gpus (the `ListGpuTypes` operationId).
func (*ClientWithResponses) ListPublicTemplatesWithResponse ¶
func (c *ClientWithResponses) ListPublicTemplatesWithResponse(ctx context.Context, params *ListPublicTemplatesParams, reqEditors ...RequestEditorFn) (*ListPublicTemplatesResult, error)
ListPublicTemplatesWithResponse List public templates
Returns the public template catalog. `source` selects which slice: `official` (the default) is Runpod-curated templates, `verified` is community templates Runpod has verified, and `community` is everything else other users have shared publicly. Both pod and serverless templates appear — use each entry's `serverless` flag to tell them apart. `registry` is always null for templates you don't own. Your own templates (public or private) are managed under `/v2/templates`; fetch any individual template — catalog or owned — via `/v2/templates/{id}`.
A versioned template line appears as its current tags: each is a deployable template of its own.
Without `search`, templates are ordered most deployed first: by the number of unique users who deployed them.
Returns a wrapper object for the known response body format(s).
Corresponds with GET /v2/catalog/templates (the `ListPublicTemplates` operationId).
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListCpuTypesWithResponse List CPU types
//
// Returns available CPU flavors. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/cpus (the `ListCpuTypes` operationId).
ListCpuTypesWithResponse(ctx context.Context, params *ListCpuTypesParams, reqEditors ...RequestEditorFn) (*ListCpuTypesResult, error)
// GetCpuTypeWithResponse Get a CPU type
//
// Returns a single CPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/cpus/{id} (the `GetCpuType` operationId).
GetCpuTypeWithResponse(ctx context.Context, id string, params *GetCpuTypeParams, reqEditors ...RequestEditorFn) (*GetCpuTypeResult, error)
// ListDataCentersWithResponse List data centers
//
// Returns available data center locations with region, compliance, supported network volume tiers, and global networking support. Use include=GPU_AVAILABILITY or include=CPU_AVAILABILITY to add per-resource availability arrays to each data center. The regions, networkVolumeTypes, compliance, and globalNetwork query parameters filter the list before it is returned.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/datacenters (the `ListDataCenters` operationId).
ListDataCentersWithResponse(ctx context.Context, params *ListDataCentersParams, reqEditors ...RequestEditorFn) (*ListDataCentersResult, error)
// GetDataCenterWithResponse Get a data center
//
// Returns a single data center. Availability is included only when requested with include=GPU_AVAILABILITY or include=CPU_AVAILABILITY.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/datacenters/{id} (the `GetDataCenter` operationId).
GetDataCenterWithResponse(ctx context.Context, id string, params *GetDataCenterParams, reqEditors ...RequestEditorFn) (*GetDataCenterResult, error)
// ListGpuTypesWithResponse List GPU types
//
// Returns available GPU types with pricing. Availability is included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context. With countryCodes, the list is narrowed to GPU types deployable in those countries, so "this geography + this chip" resolves in one read.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/gpus (the `ListGpuTypes` operationId).
ListGpuTypesWithResponse(ctx context.Context, params *ListGpuTypesParams, reqEditors ...RequestEditorFn) (*ListGpuTypesResult, error)
// GetGpuTypeWithResponse Get a GPU type
//
// Returns a single GPU type with pricing. Availability details are included only when requested with include=AVAILABILITY, which requires `product` — stock differs by product context.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/gpus/{id} (the `GetGpuType` operationId).
GetGpuTypeWithResponse(ctx context.Context, id string, params *GetGpuTypeParams, reqEditors ...RequestEditorFn) (*GetGpuTypeResult, error)
// ListCatalogReposWithResponse List Hub repos
//
// Returns Hub repos: GitHub repositories Runpod builds into images you
// can deploy. Open one with `GET /v2/catalog/repos/{id}` for its listed
// release and deploy defaults.
//
// Without `search`, repos are ordered most deployed first.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/repos (the `ListCatalogRepos` operationId).
ListCatalogReposWithResponse(ctx context.Context, params *ListCatalogReposParams, reqEditors ...RequestEditorFn) (*ListCatalogReposResult, error)
// GetCatalogRepoWithResponse Get a Hub repo
//
// Returns one repo with its listed release, including the GPUs, disk
// and environment variables the release deploys with. Read the README
// at `GET /v2/catalog/repos/{id}/readme`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/repos/{id} (the `GetCatalogRepo` operationId).
GetCatalogRepoWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoResult, error)
// GetCatalogRepoReadmeWithResponse Get a Hub repo README
//
// Returns the README of the repo's listed release as raw Markdown.
// Returns `404` when the repo does not exist or its release has no
// README.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/repos/{id}/readme (the `GetCatalogRepoReadme` operationId).
GetCatalogRepoReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogRepoReadmeResult, error)
// ListCatalogSkillsWithResponse List skills
//
// Returns skills: step-by-step guides, published by Runpod, that an
// agent follows to set up a workload. Each skill has a README and one
// or more variants; open one with `GET /v2/catalog/skills/{id}`.
//
// Without `search`, skills are ordered most recently updated first.
// `minReliability`, `product` and `category` don't apply to skills and
// are rejected with 422, as is any other undeclared parameter.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/skills (the `ListCatalogSkills` operationId).
ListCatalogSkillsWithResponse(ctx context.Context, params *ListCatalogSkillsParams, reqEditors ...RequestEditorFn) (*ListCatalogSkillsResult, error)
// GetCatalogSkillWithResponse Get a skill
//
// Returns one skill with its variants. Read the README at
// `GET /v2/catalog/skills/{id}/readme` and a variant at
// `GET /v2/catalog/skills/{id}/variants/{variantId}`.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/skills/{id} (the `GetCatalogSkill` operationId).
GetCatalogSkillWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillResult, error)
// GetCatalogSkillReadmeWithResponse Get a skill README
//
// Returns the skill's README as raw Markdown. Returns `404` when the
// skill does not exist or its README has not been synced yet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/skills/{id}/readme (the `GetCatalogSkillReadme` operationId).
GetCatalogSkillReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogSkillReadmeResult, error)
// GetCatalogSkillVariantWithResponse Get a skill variant
//
// Returns one variant of a skill as raw Markdown. Returns `404` when
// the skill or variant does not exist or the variant has not been
// synced yet.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/skills/{id}/variants/{variantId} (the `GetCatalogSkillVariant` operationId).
GetCatalogSkillVariantWithResponse(ctx context.Context, id string, variantId string, reqEditors ...RequestEditorFn) (*GetCatalogSkillVariantResult, error)
// ListPublicTemplatesWithResponse List public templates
//
// Returns the public template catalog. `source` selects which slice:
// `official` (the default) is Runpod-curated templates, `verified` is
// community templates Runpod has verified, and `community` is everything
// else other users have shared publicly. Both pod and serverless
// templates appear — use each entry's `serverless` flag to tell them
// apart. `registry` is always null for templates you don't own. Your own
// templates (public or private) are managed under `/v2/templates`; fetch
// any individual template — catalog or owned — via `/v2/templates/{id}`.
//
// A versioned template line appears as its current tags: each is a
// deployable template of its own.
//
// Without `search`, templates are ordered most deployed first: by the number
// of unique users who deployed them.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/templates (the `ListPublicTemplates` operationId).
ListPublicTemplatesWithResponse(ctx context.Context, params *ListPublicTemplatesParams, reqEditors ...RequestEditorFn) (*ListPublicTemplatesResult, error)
// GetCatalogTemplateWithResponse Get a public template
//
// Returns one public template. This covers every public template,
// including ones the list leaves out: your own, and ones below the
// list's quality bar.
//
// For a versioned line, `versions` lists every version with its tags.
// The top-level fields are the requested tag's when you ask by tag ID,
// and the first current tag's when you ask by line ID. A line ID
// resolves only while the line has a current tag; its published tags
// resolve regardless, with `currentVersion` null when nothing is
// current.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/templates/{id} (the `GetCatalogTemplate` operationId).
GetCatalogTemplateWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetCatalogTemplateResult, error)
// GetPublicTemplateReadmeWithResponse Get a public template README
//
// Returns the README of a public catalog template as raw Markdown.
// `id` is a template ID, a versioned tag's ID or a versioned line's
// `versionedTemplateId`. A line returns its own README, or its current
// tag's when it has none. Only public templates are served. Returns
// `404` when the template does not exist, is not public, or has no
// README. Use `GET /v2/templates/{id}/readme` for your private
// templates.
//
// Returns a wrapper object for the known response body format(s).
//
// Corresponds with GET /v2/catalog/templates/{id}/readme (the `GetPublicTemplateReadme` operationId).
GetPublicTemplateReadmeWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPublicTemplateReadmeResult, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type GetCatalogRepoReadmeResult ¶ added in v2.4.0
type GetCatalogRepoReadmeResult struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogRepoReadmeResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogRepoReadmeResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogRepoReadmeResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogRepoReadmeResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogRepoReadmeResultDefaultHeaders
}
func ParseGetCatalogRepoReadmeResult ¶ added in v2.4.0
func ParseGetCatalogRepoReadmeResult(rsp *http.Response) (*GetCatalogRepoReadmeResult, error)
ParseGetCatalogRepoReadmeResult parses an HTTP response from a GetCatalogRepoReadmeWithResponse call
func (GetCatalogRepoReadmeResult) ContentType ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogRepoReadmeResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogRepoReadmeResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogRepoReadmeResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogRepoReadmeResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogRepoReadmeResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogRepoReadmeResult) GetBody ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogRepoReadmeResult) Status ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogRepoReadmeResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogRepoReadmeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogRepoReadmeResult200Headers ¶ added in v2.4.0
type GetCatalogRepoReadmeResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoReadmeResult200Headers the declared response headers of an HTTP 200 response for GetCatalogRepoReadme
type GetCatalogRepoReadmeResult403Headers ¶ added in v2.4.0
type GetCatalogRepoReadmeResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoReadmeResult403Headers the declared response headers of an HTTP 403 response for GetCatalogRepoReadme
type GetCatalogRepoReadmeResult404Headers ¶ added in v2.4.0
type GetCatalogRepoReadmeResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoReadmeResult404Headers the declared response headers of an HTTP 404 response for GetCatalogRepoReadme
type GetCatalogRepoReadmeResult429Headers ¶ added in v2.4.0
type GetCatalogRepoReadmeResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogRepoReadmeResult429Headers the declared response headers of an HTTP 429 response for GetCatalogRepoReadme
type GetCatalogRepoReadmeResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogRepoReadmeResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoReadmeResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogRepoReadme
type GetCatalogRepoResult ¶ added in v2.4.0
type GetCatalogRepoResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.CatalogRepoDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogRepoResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogRepoResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogRepoResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogRepoResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogRepoResultDefaultHeaders
}
func ParseGetCatalogRepoResult ¶ added in v2.4.0
func ParseGetCatalogRepoResult(rsp *http.Response) (*GetCatalogRepoResult, error)
ParseGetCatalogRepoResult parses an HTTP response from a GetCatalogRepoWithResponse call
func (GetCatalogRepoResult) ContentType ¶ added in v2.4.0
func (r GetCatalogRepoResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogRepoResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogRepoResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogRepoResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogRepoResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogRepoResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogRepoResult) GetBody ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogRepoResult) GetJSON200 ¶ added in v2.4.0
func (r GetCatalogRepoResult) GetJSON200() *externalRef0.CatalogRepoDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCatalogRepoResult) Status ¶ added in v2.4.0
func (r GetCatalogRepoResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogRepoResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogRepoResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogRepoResult200Headers ¶ added in v2.4.0
type GetCatalogRepoResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoResult200Headers the declared response headers of an HTTP 200 response for GetCatalogRepo
type GetCatalogRepoResult403Headers ¶ added in v2.4.0
type GetCatalogRepoResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoResult403Headers the declared response headers of an HTTP 403 response for GetCatalogRepo
type GetCatalogRepoResult404Headers ¶ added in v2.4.0
type GetCatalogRepoResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoResult404Headers the declared response headers of an HTTP 404 response for GetCatalogRepo
type GetCatalogRepoResult429Headers ¶ added in v2.4.0
type GetCatalogRepoResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogRepoResult429Headers the declared response headers of an HTTP 429 response for GetCatalogRepo
type GetCatalogRepoResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogRepoResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogRepoResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogRepo
type GetCatalogSkillReadmeResult ¶ added in v2.4.0
type GetCatalogSkillReadmeResult struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogSkillReadmeResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogSkillReadmeResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogSkillReadmeResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogSkillReadmeResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogSkillReadmeResultDefaultHeaders
}
func ParseGetCatalogSkillReadmeResult ¶ added in v2.4.0
func ParseGetCatalogSkillReadmeResult(rsp *http.Response) (*GetCatalogSkillReadmeResult, error)
ParseGetCatalogSkillReadmeResult parses an HTTP response from a GetCatalogSkillReadmeWithResponse call
func (GetCatalogSkillReadmeResult) ContentType ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogSkillReadmeResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogSkillReadmeResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogSkillReadmeResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogSkillReadmeResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogSkillReadmeResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogSkillReadmeResult) GetBody ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogSkillReadmeResult) Status ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogSkillReadmeResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogSkillReadmeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogSkillReadmeResult200Headers ¶ added in v2.4.0
type GetCatalogSkillReadmeResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillReadmeResult200Headers the declared response headers of an HTTP 200 response for GetCatalogSkillReadme
type GetCatalogSkillReadmeResult403Headers ¶ added in v2.4.0
type GetCatalogSkillReadmeResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillReadmeResult403Headers the declared response headers of an HTTP 403 response for GetCatalogSkillReadme
type GetCatalogSkillReadmeResult404Headers ¶ added in v2.4.0
type GetCatalogSkillReadmeResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillReadmeResult404Headers the declared response headers of an HTTP 404 response for GetCatalogSkillReadme
type GetCatalogSkillReadmeResult429Headers ¶ added in v2.4.0
type GetCatalogSkillReadmeResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogSkillReadmeResult429Headers the declared response headers of an HTTP 429 response for GetCatalogSkillReadme
type GetCatalogSkillReadmeResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogSkillReadmeResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillReadmeResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogSkillReadme
type GetCatalogSkillResult ¶ added in v2.4.0
type GetCatalogSkillResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.CatalogSkillDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogSkillResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogSkillResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogSkillResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogSkillResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogSkillResultDefaultHeaders
}
func ParseGetCatalogSkillResult ¶ added in v2.4.0
func ParseGetCatalogSkillResult(rsp *http.Response) (*GetCatalogSkillResult, error)
ParseGetCatalogSkillResult parses an HTTP response from a GetCatalogSkillWithResponse call
func (GetCatalogSkillResult) ContentType ¶ added in v2.4.0
func (r GetCatalogSkillResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogSkillResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogSkillResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogSkillResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogSkillResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogSkillResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogSkillResult) GetBody ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogSkillResult) GetJSON200 ¶ added in v2.4.0
func (r GetCatalogSkillResult) GetJSON200() *externalRef0.CatalogSkillDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCatalogSkillResult) Status ¶ added in v2.4.0
func (r GetCatalogSkillResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogSkillResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogSkillResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogSkillResult200Headers ¶ added in v2.4.0
type GetCatalogSkillResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillResult200Headers the declared response headers of an HTTP 200 response for GetCatalogSkill
type GetCatalogSkillResult403Headers ¶ added in v2.4.0
type GetCatalogSkillResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillResult403Headers the declared response headers of an HTTP 403 response for GetCatalogSkill
type GetCatalogSkillResult404Headers ¶ added in v2.4.0
type GetCatalogSkillResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillResult404Headers the declared response headers of an HTTP 404 response for GetCatalogSkill
type GetCatalogSkillResult429Headers ¶ added in v2.4.0
type GetCatalogSkillResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogSkillResult429Headers the declared response headers of an HTTP 429 response for GetCatalogSkill
type GetCatalogSkillResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogSkillResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogSkill
type GetCatalogSkillVariantResult ¶ added in v2.4.0
type GetCatalogSkillVariantResult struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogSkillVariantResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogSkillVariantResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogSkillVariantResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogSkillVariantResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogSkillVariantResultDefaultHeaders
}
func ParseGetCatalogSkillVariantResult ¶ added in v2.4.0
func ParseGetCatalogSkillVariantResult(rsp *http.Response) (*GetCatalogSkillVariantResult, error)
ParseGetCatalogSkillVariantResult parses an HTTP response from a GetCatalogSkillVariantWithResponse call
func (GetCatalogSkillVariantResult) ContentType ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogSkillVariantResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogSkillVariantResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogSkillVariantResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogSkillVariantResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogSkillVariantResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogSkillVariantResult) GetBody ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogSkillVariantResult) Status ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogSkillVariantResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogSkillVariantResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogSkillVariantResult200Headers ¶ added in v2.4.0
type GetCatalogSkillVariantResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillVariantResult200Headers the declared response headers of an HTTP 200 response for GetCatalogSkillVariant
type GetCatalogSkillVariantResult403Headers ¶ added in v2.4.0
type GetCatalogSkillVariantResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillVariantResult403Headers the declared response headers of an HTTP 403 response for GetCatalogSkillVariant
type GetCatalogSkillVariantResult404Headers ¶ added in v2.4.0
type GetCatalogSkillVariantResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillVariantResult404Headers the declared response headers of an HTTP 404 response for GetCatalogSkillVariant
type GetCatalogSkillVariantResult429Headers ¶ added in v2.4.0
type GetCatalogSkillVariantResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogSkillVariantResult429Headers the declared response headers of an HTTP 429 response for GetCatalogSkillVariant
type GetCatalogSkillVariantResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogSkillVariantResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogSkillVariantResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogSkillVariant
type GetCatalogTemplateResult ¶ added in v2.4.0
type GetCatalogTemplateResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.CatalogTemplateDetail
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCatalogTemplateResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCatalogTemplateResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCatalogTemplateResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCatalogTemplateResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCatalogTemplateResultDefaultHeaders
}
func ParseGetCatalogTemplateResult ¶ added in v2.4.0
func ParseGetCatalogTemplateResult(rsp *http.Response) (*GetCatalogTemplateResult, error)
ParseGetCatalogTemplateResult parses an HTTP response from a GetCatalogTemplateWithResponse call
func (GetCatalogTemplateResult) ContentType ¶ added in v2.4.0
func (r GetCatalogTemplateResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCatalogTemplateResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCatalogTemplateResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCatalogTemplateResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCatalogTemplateResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCatalogTemplateResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCatalogTemplateResult) GetBody ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCatalogTemplateResult) GetJSON200 ¶ added in v2.4.0
func (r GetCatalogTemplateResult) GetJSON200() *externalRef0.CatalogTemplateDetail
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCatalogTemplateResult) Status ¶ added in v2.4.0
func (r GetCatalogTemplateResult) Status() string
Status returns HTTPResponse.Status
func (GetCatalogTemplateResult) StatusCode ¶ added in v2.4.0
func (r GetCatalogTemplateResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCatalogTemplateResult200Headers ¶ added in v2.4.0
type GetCatalogTemplateResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogTemplateResult200Headers the declared response headers of an HTTP 200 response for GetCatalogTemplate
type GetCatalogTemplateResult403Headers ¶ added in v2.4.0
type GetCatalogTemplateResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogTemplateResult403Headers the declared response headers of an HTTP 403 response for GetCatalogTemplate
type GetCatalogTemplateResult404Headers ¶ added in v2.4.0
type GetCatalogTemplateResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogTemplateResult404Headers the declared response headers of an HTTP 404 response for GetCatalogTemplate
type GetCatalogTemplateResult429Headers ¶ added in v2.4.0
type GetCatalogTemplateResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCatalogTemplateResult429Headers the declared response headers of an HTTP 429 response for GetCatalogTemplate
type GetCatalogTemplateResultDefaultHeaders ¶ added in v2.4.0
type GetCatalogTemplateResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCatalogTemplateResultDefaultHeaders the declared response headers of an HTTP default response for GetCatalogTemplate
type GetCpuTypeParams ¶
type GetCpuTypeParams struct {
// Include Comma-separated optional expansions; see `CatalogInclude` for the supported values.
Include *externalRef0.CatalogIncludeParam `form:"include,omitempty" json:"include,omitempty"`
// Product Comma-separated availability product contexts. Supported values for CPUs: POD, SERVERLESS. Required with include=AVAILABILITY, and valid only with it (400 either way). There is no default: availability differs by product.
Product *externalRef0.CpuProductFilter `form:"product,omitempty" json:"product,omitempty"`
// VcpuCount Availability vCPU count. Valid only with include=AVAILABILITY. Must be a power of two.
VcpuCount *externalRef0.CpuVCPUCountFilter `form:"vcpuCount,omitempty" json:"vcpuCount,omitempty"`
}
GetCpuTypeParams defines parameters for GetCpuType.
type GetCpuTypeResult ¶
type GetCpuTypeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.CpuType
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetCpuTypeResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetCpuTypeResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetCpuTypeResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetCpuTypeResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetCpuTypeResultDefaultHeaders
}
func ParseGetCpuTypeResult ¶
func ParseGetCpuTypeResult(rsp *http.Response) (*GetCpuTypeResult, error)
ParseGetCpuTypeResult parses an HTTP response from a GetCpuTypeWithResponse call
func (GetCpuTypeResult) ContentType ¶
func (r GetCpuTypeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetCpuTypeResult) GetApplicationproblemJSON401 ¶
func (r GetCpuTypeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetCpuTypeResult) GetApplicationproblemJSON403 ¶
func (r GetCpuTypeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetCpuTypeResult) GetApplicationproblemJSON404 ¶
func (r GetCpuTypeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetCpuTypeResult) GetApplicationproblemJSON429 ¶
func (r GetCpuTypeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetCpuTypeResult) GetApplicationproblemJSONDefault ¶
func (r GetCpuTypeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetCpuTypeResult) GetBody ¶
func (r GetCpuTypeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetCpuTypeResult) GetJSON200 ¶
func (r GetCpuTypeResult) GetJSON200() *externalRef0.CpuType
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetCpuTypeResult) Status ¶
func (r GetCpuTypeResult) Status() string
Status returns HTTPResponse.Status
func (GetCpuTypeResult) StatusCode ¶
func (r GetCpuTypeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCpuTypeResult200Headers ¶
type GetCpuTypeResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCpuTypeResult200Headers the declared response headers of an HTTP 200 response for GetCpuType
type GetCpuTypeResult403Headers ¶
type GetCpuTypeResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCpuTypeResult403Headers the declared response headers of an HTTP 403 response for GetCpuType
type GetCpuTypeResult404Headers ¶
type GetCpuTypeResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCpuTypeResult404Headers the declared response headers of an HTTP 404 response for GetCpuType
type GetCpuTypeResult429Headers ¶
type GetCpuTypeResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetCpuTypeResult429Headers the declared response headers of an HTTP 429 response for GetCpuType
type GetCpuTypeResultDefaultHeaders ¶
type GetCpuTypeResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetCpuTypeResultDefaultHeaders the declared response headers of an HTTP default response for GetCpuType
type GetDataCenterParams ¶
type GetDataCenterParams struct {
// Include Comma-separated optional expansions. Supported value: GPU_AVAILABILITY, CPU_AVAILABILITY.
Include *[]externalRef0.DataCenterInclude `form:"include,omitempty" json:"include,omitempty"`
}
GetDataCenterParams defines parameters for GetDataCenter.
type GetDataCenterResult ¶
type GetDataCenterResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.DataCenter
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetDataCenterResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetDataCenterResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetDataCenterResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetDataCenterResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetDataCenterResultDefaultHeaders
}
func ParseGetDataCenterResult ¶
func ParseGetDataCenterResult(rsp *http.Response) (*GetDataCenterResult, error)
ParseGetDataCenterResult parses an HTTP response from a GetDataCenterWithResponse call
func (GetDataCenterResult) ContentType ¶
func (r GetDataCenterResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetDataCenterResult) GetApplicationproblemJSON401 ¶
func (r GetDataCenterResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetDataCenterResult) GetApplicationproblemJSON403 ¶
func (r GetDataCenterResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetDataCenterResult) GetApplicationproblemJSON404 ¶
func (r GetDataCenterResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetDataCenterResult) GetApplicationproblemJSON429 ¶
func (r GetDataCenterResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetDataCenterResult) GetApplicationproblemJSONDefault ¶
func (r GetDataCenterResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetDataCenterResult) GetBody ¶
func (r GetDataCenterResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetDataCenterResult) GetJSON200 ¶
func (r GetDataCenterResult) GetJSON200() *externalRef0.DataCenter
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetDataCenterResult) Status ¶
func (r GetDataCenterResult) Status() string
Status returns HTTPResponse.Status
func (GetDataCenterResult) StatusCode ¶
func (r GetDataCenterResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDataCenterResult200Headers ¶
type GetDataCenterResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetDataCenterResult200Headers the declared response headers of an HTTP 200 response for GetDataCenter
type GetDataCenterResult403Headers ¶
type GetDataCenterResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetDataCenterResult403Headers the declared response headers of an HTTP 403 response for GetDataCenter
type GetDataCenterResult404Headers ¶
type GetDataCenterResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetDataCenterResult404Headers the declared response headers of an HTTP 404 response for GetDataCenter
type GetDataCenterResult429Headers ¶
type GetDataCenterResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetDataCenterResult429Headers the declared response headers of an HTTP 429 response for GetDataCenter
type GetDataCenterResultDefaultHeaders ¶
type GetDataCenterResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetDataCenterResultDefaultHeaders the declared response headers of an HTTP default response for GetDataCenter
type GetGpuTypeParams ¶
type GetGpuTypeParams struct {
// Include Comma-separated optional expansions; see `CatalogInclude` for the supported values.
Include *externalRef0.CatalogIncludeParam `form:"include,omitempty" json:"include,omitempty"`
// Product Comma-separated availability product contexts. Supported values: POD, CLUSTER, SERVERLESS. Required with include=AVAILABILITY, and valid only with it (400 either way). There is no default: the same GPU type can be scarce for pods and plentiful for serverless, so the context has to be stated rather than assumed.
Product *externalRef0.GpuProductFilter `form:"product,omitempty" json:"product,omitempty"`
// Count GPU count for availability and lowest-price calculations. Valid only with include=AVAILABILITY. Defaults to 1.
Count *externalRef0.GpuCountFilter `form:"count,omitempty" json:"count,omitempty"`
// Cloud Cloud type for availability and lowest-price calculations. Valid only with include=AVAILABILITY. Supported values: SECURE, COMMUNITY. Default when omitted: SECURE.
Cloud *externalRef0.GpuCloudFilter `form:"cloud,omitempty" json:"cloud,omitempty"`
// CountryCodes Comma-separated ISO 3166-1 alpha-2 country codes, uppercase, to constrain availability to — e.g. FR or FR,DE. Values within this filter use OR semantics. Valid only with include=AVAILABILITY (400 otherwise); a malformed entry is a 422. Scopes availability, lowest-price calculations and the dataCenters array to those countries, so a listed data center outside them is omitted rather than returned with availability NONE. On the list endpoint a GPU type with no data center in those countries drops out entirely; the single-GPU endpoint still returns the requested type, with availability NONE and dataCenters omitted, so a 404 keeps meaning the GPU type does not exist. Read the NONE on availability rather than the absence of dataCenters, which is also absent when availability was not requested.
CountryCodes *externalRef0.CountryCodesFilter `form:"countryCodes,omitempty" json:"countryCodes,omitempty"`
// CudaVersions Comma-separated CUDA versions to scope availability and lowest-price calculations to, matched exactly. Format: major.minor, e.g. 12.8 — a bare major is rejected here because it identifies no version. Valid only with include=AVAILABILITY (400 otherwise) and mutually exclusive with minCudaVersion (400 if both are sent); a malformed entry is a 422. Also narrows the returned cudaVersions array; omit it to enumerate every version offered.
CudaVersions *externalRef0.CudaVersionsFilter `form:"cudaVersions,omitempty" json:"cudaVersions,omitempty"`
// MinCudaVersion Lowest acceptable CUDA version to scope availability and lowest-price calculations to, compared numerically. Format: integer major or major.minor, e.g. 12 or 12.1 — unlike the `gpu.minCudaVersion` body field on pod and endpoint create, a bare major is accepted here and means any release of that major, because this filter only widens a read. Valid only with include=AVAILABILITY (400 otherwise) and mutually exclusive with cudaVersions (400 if both are sent); a malformed value is a 422. Use this for an open-ended floor and cudaVersions for an exact set.
MinCudaVersion *externalRef0.MinCudaVersionFilter `form:"minCudaVersion,omitempty" json:"minCudaVersion,omitempty"`
// MinVcpuCountPerGpu Minimum host vCPUs per GPU for availability filtering, multiplied by `count` to match pod create's placement. Requires include=AVAILABILITY (400 otherwise).
MinVcpuCountPerGpu *externalRef0.MinVcpuCountPerGpuFilter `form:"minVcpuCountPerGpu,omitempty" json:"minVcpuCountPerGpu,omitempty"`
// MinRamPerGpu Minimum host system RAM (GB) per GPU for availability filtering, multiplied by `count` to match pod create's placement. This is host RAM, not the GPU VRAM in `memory`. Requires include=AVAILABILITY (400 otherwise).
MinRamPerGpu *externalRef0.MinRamPerGpuFilter `form:"minRamPerGpu,omitempty" json:"minRamPerGpu,omitempty"`
}
GetGpuTypeParams defines parameters for GetGpuType.
type GetGpuTypeResult ¶
type GetGpuTypeResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.GpuType
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetGpuTypeResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetGpuTypeResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetGpuTypeResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetGpuTypeResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetGpuTypeResultDefaultHeaders
}
func ParseGetGpuTypeResult ¶
func ParseGetGpuTypeResult(rsp *http.Response) (*GetGpuTypeResult, error)
ParseGetGpuTypeResult parses an HTTP response from a GetGpuTypeWithResponse call
func (GetGpuTypeResult) ContentType ¶
func (r GetGpuTypeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetGpuTypeResult) GetApplicationproblemJSON401 ¶
func (r GetGpuTypeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetGpuTypeResult) GetApplicationproblemJSON403 ¶
func (r GetGpuTypeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetGpuTypeResult) GetApplicationproblemJSON404 ¶
func (r GetGpuTypeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetGpuTypeResult) GetApplicationproblemJSON429 ¶
func (r GetGpuTypeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetGpuTypeResult) GetApplicationproblemJSONDefault ¶
func (r GetGpuTypeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetGpuTypeResult) GetBody ¶
func (r GetGpuTypeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetGpuTypeResult) GetJSON200 ¶
func (r GetGpuTypeResult) GetJSON200() *externalRef0.GpuType
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (GetGpuTypeResult) Status ¶
func (r GetGpuTypeResult) Status() string
Status returns HTTPResponse.Status
func (GetGpuTypeResult) StatusCode ¶
func (r GetGpuTypeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGpuTypeResult200Headers ¶
type GetGpuTypeResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetGpuTypeResult200Headers the declared response headers of an HTTP 200 response for GetGpuType
type GetGpuTypeResult403Headers ¶
type GetGpuTypeResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetGpuTypeResult403Headers the declared response headers of an HTTP 403 response for GetGpuType
type GetGpuTypeResult404Headers ¶
type GetGpuTypeResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetGpuTypeResult404Headers the declared response headers of an HTTP 404 response for GetGpuType
type GetGpuTypeResult429Headers ¶
type GetGpuTypeResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetGpuTypeResult429Headers the declared response headers of an HTTP 429 response for GetGpuType
type GetGpuTypeResultDefaultHeaders ¶
type GetGpuTypeResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetGpuTypeResultDefaultHeaders the declared response headers of an HTTP default response for GetGpuType
type GetPublicTemplateReadmeResult ¶ added in v2.4.0
type GetPublicTemplateReadmeResult struct {
Body []byte
HTTPResponse *http.Response
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON404 the response for an HTTP 404 `application/problem+json` response
ApplicationproblemJSON404 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *GetPublicTemplateReadmeResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *GetPublicTemplateReadmeResult403Headers
// Headers404 the parsed response headers for an HTTP 404 response
Headers404 *GetPublicTemplateReadmeResult404Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *GetPublicTemplateReadmeResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *GetPublicTemplateReadmeResultDefaultHeaders
}
func ParseGetPublicTemplateReadmeResult ¶ added in v2.4.0
func ParseGetPublicTemplateReadmeResult(rsp *http.Response) (*GetPublicTemplateReadmeResult, error)
ParseGetPublicTemplateReadmeResult parses an HTTP response from a GetPublicTemplateReadmeWithResponse call
func (GetPublicTemplateReadmeResult) ContentType ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPublicTemplateReadmeResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (GetPublicTemplateReadmeResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (GetPublicTemplateReadmeResult) GetApplicationproblemJSON404 ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON404() *externalRef0.ErrorResponse
GetApplicationproblemJSON404 returns the response for an HTTP 404 `application/problem+json` response
func (GetPublicTemplateReadmeResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (GetPublicTemplateReadmeResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (GetPublicTemplateReadmeResult) GetBody ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) GetBody() []byte
GetBody returns the raw response body bytes
func (GetPublicTemplateReadmeResult) Status ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) Status() string
Status returns HTTPResponse.Status
func (GetPublicTemplateReadmeResult) StatusCode ¶ added in v2.4.0
func (r GetPublicTemplateReadmeResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPublicTemplateReadmeResult200Headers ¶ added in v2.4.0
type GetPublicTemplateReadmeResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetPublicTemplateReadmeResult200Headers the declared response headers of an HTTP 200 response for GetPublicTemplateReadme
type GetPublicTemplateReadmeResult403Headers ¶ added in v2.4.0
type GetPublicTemplateReadmeResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetPublicTemplateReadmeResult403Headers the declared response headers of an HTTP 403 response for GetPublicTemplateReadme
type GetPublicTemplateReadmeResult404Headers ¶ added in v2.4.0
type GetPublicTemplateReadmeResult404Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetPublicTemplateReadmeResult404Headers the declared response headers of an HTTP 404 response for GetPublicTemplateReadme
type GetPublicTemplateReadmeResult429Headers ¶ added in v2.4.0
type GetPublicTemplateReadmeResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
GetPublicTemplateReadmeResult429Headers the declared response headers of an HTTP 429 response for GetPublicTemplateReadme
type GetPublicTemplateReadmeResultDefaultHeaders ¶ added in v2.4.0
type GetPublicTemplateReadmeResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
GetPublicTemplateReadmeResultDefaultHeaders the declared response headers of an HTTP default response for GetPublicTemplateReadme
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListCatalogReposParams ¶ added in v2.4.0
type ListCatalogReposParams struct {
// Search Search text, matched case-insensitively. Every word must match. A skill matches on its name, description and tags; a repo also on its GitHub owner and name; a template on its name and image, and a versioned template's tag also on its line's name and description. Enables `orderBy=RELEVANCE`, which becomes the default order.
Search *externalRef0.CatalogSearchQuery `form:"search,omitempty" json:"search,omitempty"`
// Product Only return items that deploy to one of these products. Comma-separated.
Product *externalRef0.CatalogProducts `form:"product,omitempty" json:"product,omitempty"`
// MinReliability Only return items whose `health.reliability` is at least this value. Unscored items are excluded when this is set.
MinReliability *externalRef0.CatalogMinReliability `form:"minReliability,omitempty" json:"minReliability,omitempty"`
// Category Only return items in this category, matched exactly and case-insensitively.
Category *externalRef0.CatalogCategory `form:"category,omitempty" json:"category,omitempty"`
// Tags Only return items carrying every one of these tags, matched exactly and case-insensitively. Comma-separated.
Tags *externalRef0.CatalogTags `form:"tags,omitempty" json:"tags,omitempty"`
// Source `official` returns repos Runpod publishes (see `official` on the repo). `community` returns the rest. Omit for all.
Source *ListCatalogReposParamsSource `form:"source,omitempty" json:"source,omitempty"`
// Owner Only return repos from this GitHub owner, matched exactly and case-insensitively.
Owner *string `form:"owner,omitempty" json:"owner,omitempty"`
// OrderBy Defaults to `RELEVANCE` when `search` is set and `POPULAR` otherwise. `RELEVANCE` without `search` is rejected with 400.
OrderBy *externalRef0.CatalogOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// OrderDirection Sort direction. Defaults to `ASC` for `orderBy=NAME` and `DESC` otherwise.
OrderDirection *externalRef0.CatalogOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`
// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, 1–1000. Defaults to 1000 when omitted.
Limit *externalRef0.PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCatalogReposParams defines parameters for ListCatalogRepos.
type ListCatalogReposParamsSource ¶ added in v2.4.0
type ListCatalogReposParamsSource string
ListCatalogReposParamsSource defines parameters for ListCatalogRepos.
const ( CatalogRepoSourceCommunity ListCatalogReposParamsSource = "community" CatalogRepoSourceOfficial ListCatalogReposParamsSource = "official" )
Defines values for ListCatalogReposParamsSource.
func (ListCatalogReposParamsSource) Valid ¶ added in v2.4.0
func (e ListCatalogReposParamsSource) Valid() bool
Valid indicates whether the value is a known member of the ListCatalogReposParamsSource enum.
type ListCatalogReposResult ¶ added in v2.4.0
type ListCatalogReposResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListCatalogReposResponse
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *externalRef0.ErrorResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *externalRef0.ErrorResponse
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListCatalogReposResult200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListCatalogReposResult400Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListCatalogReposResult403Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *ListCatalogReposResult413Headers
// Headers422 the parsed response headers for an HTTP 422 response
Headers422 *ListCatalogReposResult422Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListCatalogReposResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListCatalogReposResultDefaultHeaders
}
func ParseListCatalogReposResult ¶ added in v2.4.0
func ParseListCatalogReposResult(rsp *http.Response) (*ListCatalogReposResult, error)
ParseListCatalogReposResult parses an HTTP response from a ListCatalogReposWithResponse call
func (ListCatalogReposResult) ContentType ¶ added in v2.4.0
func (r ListCatalogReposResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCatalogReposResult) GetApplicationproblemJSON400 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSON413 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSON422 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListCatalogReposResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r ListCatalogReposResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListCatalogReposResult) GetBody ¶ added in v2.4.0
func (r ListCatalogReposResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCatalogReposResult) GetJSON200 ¶ added in v2.4.0
func (r ListCatalogReposResult) GetJSON200() *externalRef0.ListCatalogReposResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCatalogReposResult) Status ¶ added in v2.4.0
func (r ListCatalogReposResult) Status() string
Status returns HTTPResponse.Status
func (ListCatalogReposResult) StatusCode ¶ added in v2.4.0
func (r ListCatalogReposResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCatalogReposResult200Headers ¶ added in v2.4.0
type ListCatalogReposResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResult200Headers the declared response headers of an HTTP 200 response for ListCatalogRepos
type ListCatalogReposResult400Headers ¶ added in v2.4.0
type ListCatalogReposResult400Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResult400Headers the declared response headers of an HTTP 400 response for ListCatalogRepos
type ListCatalogReposResult403Headers ¶ added in v2.4.0
type ListCatalogReposResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResult403Headers the declared response headers of an HTTP 403 response for ListCatalogRepos
type ListCatalogReposResult413Headers ¶ added in v2.4.0
type ListCatalogReposResult413Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResult413Headers the declared response headers of an HTTP 413 response for ListCatalogRepos
type ListCatalogReposResult422Headers ¶ added in v2.4.0
type ListCatalogReposResult422Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResult422Headers the declared response headers of an HTTP 422 response for ListCatalogRepos
type ListCatalogReposResult429Headers ¶ added in v2.4.0
type ListCatalogReposResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListCatalogReposResult429Headers the declared response headers of an HTTP 429 response for ListCatalogRepos
type ListCatalogReposResultDefaultHeaders ¶ added in v2.4.0
type ListCatalogReposResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogReposResultDefaultHeaders the declared response headers of an HTTP default response for ListCatalogRepos
type ListCatalogSkillsParams ¶ added in v2.4.0
type ListCatalogSkillsParams struct {
// Search Search text, matched case-insensitively. Every word must match. A skill matches on its name, description and tags; a repo also on its GitHub owner and name; a template on its name and image, and a versioned template's tag also on its line's name and description. Enables `orderBy=RELEVANCE`, which becomes the default order.
Search *externalRef0.CatalogSearchQuery `form:"search,omitempty" json:"search,omitempty"`
// Tags Only return items carrying every one of these tags, matched exactly and case-insensitively. Comma-separated.
Tags *externalRef0.CatalogTags `form:"tags,omitempty" json:"tags,omitempty"`
// McpSupport Only return skills with one of these MCP support levels. Comma-separated. Skills that don't state one are excluded when this is set.
McpSupport *[]externalRef0.CatalogSkillMcpSupport `form:"mcpSupport,omitempty" json:"mcpSupport,omitempty"`
// OrderBy Defaults to `RELEVANCE` when `search` is set and `UPDATED` otherwise. `RELEVANCE` without `search` is rejected with 400.
OrderBy *externalRef0.CatalogSkillOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// OrderDirection Sort direction. Defaults to `ASC` for `orderBy=NAME` and `DESC` otherwise.
OrderDirection *externalRef0.CatalogOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`
// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, 1–1000. Defaults to 1000 when omitted.
Limit *externalRef0.PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListCatalogSkillsParams defines parameters for ListCatalogSkills.
type ListCatalogSkillsResult ¶ added in v2.4.0
type ListCatalogSkillsResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListCatalogSkillsResponse
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *externalRef0.ErrorResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *externalRef0.ErrorResponse
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListCatalogSkillsResult200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListCatalogSkillsResult400Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListCatalogSkillsResult403Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *ListCatalogSkillsResult413Headers
// Headers422 the parsed response headers for an HTTP 422 response
Headers422 *ListCatalogSkillsResult422Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListCatalogSkillsResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListCatalogSkillsResultDefaultHeaders
}
func ParseListCatalogSkillsResult ¶ added in v2.4.0
func ParseListCatalogSkillsResult(rsp *http.Response) (*ListCatalogSkillsResult, error)
ParseListCatalogSkillsResult parses an HTTP response from a ListCatalogSkillsWithResponse call
func (ListCatalogSkillsResult) ContentType ¶ added in v2.4.0
func (r ListCatalogSkillsResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCatalogSkillsResult) GetApplicationproblemJSON400 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSON401 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSON403 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSON413 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSON422 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSON429 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListCatalogSkillsResult) GetApplicationproblemJSONDefault ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListCatalogSkillsResult) GetBody ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCatalogSkillsResult) GetJSON200 ¶ added in v2.4.0
func (r ListCatalogSkillsResult) GetJSON200() *externalRef0.ListCatalogSkillsResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCatalogSkillsResult) Status ¶ added in v2.4.0
func (r ListCatalogSkillsResult) Status() string
Status returns HTTPResponse.Status
func (ListCatalogSkillsResult) StatusCode ¶ added in v2.4.0
func (r ListCatalogSkillsResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCatalogSkillsResult200Headers ¶ added in v2.4.0
type ListCatalogSkillsResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResult200Headers the declared response headers of an HTTP 200 response for ListCatalogSkills
type ListCatalogSkillsResult400Headers ¶ added in v2.4.0
type ListCatalogSkillsResult400Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResult400Headers the declared response headers of an HTTP 400 response for ListCatalogSkills
type ListCatalogSkillsResult403Headers ¶ added in v2.4.0
type ListCatalogSkillsResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResult403Headers the declared response headers of an HTTP 403 response for ListCatalogSkills
type ListCatalogSkillsResult413Headers ¶ added in v2.4.0
type ListCatalogSkillsResult413Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResult413Headers the declared response headers of an HTTP 413 response for ListCatalogSkills
type ListCatalogSkillsResult422Headers ¶ added in v2.4.0
type ListCatalogSkillsResult422Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResult422Headers the declared response headers of an HTTP 422 response for ListCatalogSkills
type ListCatalogSkillsResult429Headers ¶ added in v2.4.0
type ListCatalogSkillsResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListCatalogSkillsResult429Headers the declared response headers of an HTTP 429 response for ListCatalogSkills
type ListCatalogSkillsResultDefaultHeaders ¶ added in v2.4.0
type ListCatalogSkillsResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCatalogSkillsResultDefaultHeaders the declared response headers of an HTTP default response for ListCatalogSkills
type ListCpuTypesParams ¶
type ListCpuTypesParams struct {
// Include Comma-separated optional expansions; see `CatalogInclude` for the supported values.
Include *externalRef0.CatalogIncludeParam `form:"include,omitempty" json:"include,omitempty"`
// Product Comma-separated availability product contexts. Supported values for CPUs: POD, SERVERLESS. Required with include=AVAILABILITY, and valid only with it (400 either way). There is no default: availability differs by product.
Product *externalRef0.CpuProductFilter `form:"product,omitempty" json:"product,omitempty"`
// VcpuCount Availability vCPU count. Valid only with include=AVAILABILITY. Must be a power of two.
VcpuCount *externalRef0.CpuVCPUCountFilter `form:"vcpuCount,omitempty" json:"vcpuCount,omitempty"`
}
ListCpuTypesParams defines parameters for ListCpuTypes.
type ListCpuTypesResult ¶
type ListCpuTypesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListCpuTypesResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListCpuTypesResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListCpuTypesResult403Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListCpuTypesResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListCpuTypesResultDefaultHeaders
}
func ParseListCpuTypesResult ¶
func ParseListCpuTypesResult(rsp *http.Response) (*ListCpuTypesResult, error)
ParseListCpuTypesResult parses an HTTP response from a ListCpuTypesWithResponse call
func (ListCpuTypesResult) ContentType ¶
func (r ListCpuTypesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListCpuTypesResult) GetApplicationproblemJSON401 ¶
func (r ListCpuTypesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListCpuTypesResult) GetApplicationproblemJSON403 ¶
func (r ListCpuTypesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListCpuTypesResult) GetApplicationproblemJSON429 ¶
func (r ListCpuTypesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListCpuTypesResult) GetApplicationproblemJSONDefault ¶
func (r ListCpuTypesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListCpuTypesResult) GetBody ¶
func (r ListCpuTypesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListCpuTypesResult) GetJSON200 ¶
func (r ListCpuTypesResult) GetJSON200() *externalRef0.ListCpuTypesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListCpuTypesResult) Status ¶
func (r ListCpuTypesResult) Status() string
Status returns HTTPResponse.Status
func (ListCpuTypesResult) StatusCode ¶
func (r ListCpuTypesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCpuTypesResult200Headers ¶
type ListCpuTypesResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCpuTypesResult200Headers the declared response headers of an HTTP 200 response for ListCpuTypes
type ListCpuTypesResult403Headers ¶
type ListCpuTypesResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCpuTypesResult403Headers the declared response headers of an HTTP 403 response for ListCpuTypes
type ListCpuTypesResult429Headers ¶
type ListCpuTypesResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListCpuTypesResult429Headers the declared response headers of an HTTP 429 response for ListCpuTypes
type ListCpuTypesResultDefaultHeaders ¶
type ListCpuTypesResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListCpuTypesResultDefaultHeaders the declared response headers of an HTTP default response for ListCpuTypes
type ListDataCentersParams ¶
type ListDataCentersParams struct {
// Include Comma-separated optional expansions. Supported value: GPU_AVAILABILITY, CPU_AVAILABILITY.
Include *[]externalRef0.DataCenterInclude `form:"include,omitempty" json:"include,omitempty"`
// Regions Comma-separated DataCenterRegion enum values. Values within this filter use OR semantics. Different filter families combine with AND.
Regions *[]externalRef0.DataCenterRegion `form:"regions,omitempty" json:"regions,omitempty"`
// NetworkVolumeTypes Comma-separated volume types. Supported values: STANDARD, HIGH_PERFORMANCE. Values within this filter use AND semantics; volumes=STANDARD,HIGH_PERFORMANCE requires both storage types. Different filter families combine with AND.
NetworkVolumeTypes *[]externalRef0.VolumeType `form:"networkVolumeTypes,omitempty" json:"networkVolumeTypes,omitempty"`
// Compliance Comma-separated Compliance enum values. Values within this filter use AND semantics; compliance=GDPR,SOC_2_TYPE_2 requires both certifications. Different filter families combine with AND.
Compliance *[]externalRef0.Compliance `form:"compliance,omitempty" json:"compliance,omitempty"`
// GlobalNetwork Filter by global networking support. true returns only data centers that support global networking; false only those that do not. Different filter families combine with AND.
GlobalNetwork *bool `form:"globalNetwork,omitempty" json:"globalNetwork,omitempty"`
}
ListDataCentersParams defines parameters for ListDataCenters.
type ListDataCentersResult ¶
type ListDataCentersResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListDataCentersResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListDataCentersResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListDataCentersResult403Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListDataCentersResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListDataCentersResultDefaultHeaders
}
func ParseListDataCentersResult ¶
func ParseListDataCentersResult(rsp *http.Response) (*ListDataCentersResult, error)
ParseListDataCentersResult parses an HTTP response from a ListDataCentersWithResponse call
func (ListDataCentersResult) ContentType ¶
func (r ListDataCentersResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListDataCentersResult) GetApplicationproblemJSON401 ¶
func (r ListDataCentersResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListDataCentersResult) GetApplicationproblemJSON403 ¶
func (r ListDataCentersResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListDataCentersResult) GetApplicationproblemJSON429 ¶
func (r ListDataCentersResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListDataCentersResult) GetApplicationproblemJSONDefault ¶
func (r ListDataCentersResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListDataCentersResult) GetBody ¶
func (r ListDataCentersResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListDataCentersResult) GetJSON200 ¶
func (r ListDataCentersResult) GetJSON200() *externalRef0.ListDataCentersResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListDataCentersResult) Status ¶
func (r ListDataCentersResult) Status() string
Status returns HTTPResponse.Status
func (ListDataCentersResult) StatusCode ¶
func (r ListDataCentersResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListDataCentersResult200Headers ¶
type ListDataCentersResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListDataCentersResult200Headers the declared response headers of an HTTP 200 response for ListDataCenters
type ListDataCentersResult403Headers ¶
type ListDataCentersResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListDataCentersResult403Headers the declared response headers of an HTTP 403 response for ListDataCenters
type ListDataCentersResult429Headers ¶
type ListDataCentersResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListDataCentersResult429Headers the declared response headers of an HTTP 429 response for ListDataCenters
type ListDataCentersResultDefaultHeaders ¶
type ListDataCentersResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListDataCentersResultDefaultHeaders the declared response headers of an HTTP default response for ListDataCenters
type ListGpuTypesParams ¶
type ListGpuTypesParams struct {
// Include Comma-separated optional expansions; see `CatalogInclude` for the supported values.
Include *externalRef0.CatalogIncludeParam `form:"include,omitempty" json:"include,omitempty"`
// Product Comma-separated availability product contexts. Supported values: POD, CLUSTER, SERVERLESS. Required with include=AVAILABILITY, and valid only with it (400 either way). There is no default: the same GPU type can be scarce for pods and plentiful for serverless, so the context has to be stated rather than assumed.
Product *externalRef0.GpuProductFilter `form:"product,omitempty" json:"product,omitempty"`
// Count GPU count for availability and lowest-price calculations. Valid only with include=AVAILABILITY. Defaults to 1.
Count *externalRef0.GpuCountFilter `form:"count,omitempty" json:"count,omitempty"`
// Cloud Cloud type for availability and lowest-price calculations. Valid only with include=AVAILABILITY. Supported values: SECURE, COMMUNITY. Default when omitted: SECURE.
Cloud *externalRef0.GpuCloudFilter `form:"cloud,omitempty" json:"cloud,omitempty"`
// CountryCodes Comma-separated ISO 3166-1 alpha-2 country codes, uppercase, to constrain availability to — e.g. FR or FR,DE. Values within this filter use OR semantics. Valid only with include=AVAILABILITY (400 otherwise); a malformed entry is a 422. Scopes availability, lowest-price calculations and the dataCenters array to those countries, so a listed data center outside them is omitted rather than returned with availability NONE. On the list endpoint a GPU type with no data center in those countries drops out entirely; the single-GPU endpoint still returns the requested type, with availability NONE and dataCenters omitted, so a 404 keeps meaning the GPU type does not exist. Read the NONE on availability rather than the absence of dataCenters, which is also absent when availability was not requested.
CountryCodes *externalRef0.CountryCodesFilter `form:"countryCodes,omitempty" json:"countryCodes,omitempty"`
// CudaVersions Comma-separated CUDA versions to scope availability and lowest-price calculations to, matched exactly. Format: major.minor, e.g. 12.8 — a bare major is rejected here because it identifies no version. Valid only with include=AVAILABILITY (400 otherwise) and mutually exclusive with minCudaVersion (400 if both are sent); a malformed entry is a 422. Also narrows the returned cudaVersions array; omit it to enumerate every version offered.
CudaVersions *externalRef0.CudaVersionsFilter `form:"cudaVersions,omitempty" json:"cudaVersions,omitempty"`
// MinCudaVersion Lowest acceptable CUDA version to scope availability and lowest-price calculations to, compared numerically. Format: integer major or major.minor, e.g. 12 or 12.1 — unlike the `gpu.minCudaVersion` body field on pod and endpoint create, a bare major is accepted here and means any release of that major, because this filter only widens a read. Valid only with include=AVAILABILITY (400 otherwise) and mutually exclusive with cudaVersions (400 if both are sent); a malformed value is a 422. Use this for an open-ended floor and cudaVersions for an exact set.
MinCudaVersion *externalRef0.MinCudaVersionFilter `form:"minCudaVersion,omitempty" json:"minCudaVersion,omitempty"`
// MinVcpuCountPerGpu Minimum host vCPUs per GPU for availability filtering, multiplied by `count` to match pod create's placement. Requires include=AVAILABILITY (400 otherwise).
MinVcpuCountPerGpu *externalRef0.MinVcpuCountPerGpuFilter `form:"minVcpuCountPerGpu,omitempty" json:"minVcpuCountPerGpu,omitempty"`
// MinRamPerGpu Minimum host system RAM (GB) per GPU for availability filtering, multiplied by `count` to match pod create's placement. This is host RAM, not the GPU VRAM in `memory`. Requires include=AVAILABILITY (400 otherwise).
MinRamPerGpu *externalRef0.MinRamPerGpuFilter `form:"minRamPerGpu,omitempty" json:"minRamPerGpu,omitempty"`
}
ListGpuTypesParams defines parameters for ListGpuTypes.
type ListGpuTypesResult ¶
type ListGpuTypesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListGpuTypesResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListGpuTypesResult200Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListGpuTypesResult403Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListGpuTypesResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListGpuTypesResultDefaultHeaders
}
func ParseListGpuTypesResult ¶
func ParseListGpuTypesResult(rsp *http.Response) (*ListGpuTypesResult, error)
ParseListGpuTypesResult parses an HTTP response from a ListGpuTypesWithResponse call
func (ListGpuTypesResult) ContentType ¶
func (r ListGpuTypesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListGpuTypesResult) GetApplicationproblemJSON401 ¶
func (r ListGpuTypesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListGpuTypesResult) GetApplicationproblemJSON403 ¶
func (r ListGpuTypesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListGpuTypesResult) GetApplicationproblemJSON429 ¶
func (r ListGpuTypesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListGpuTypesResult) GetApplicationproblemJSONDefault ¶
func (r ListGpuTypesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListGpuTypesResult) GetBody ¶
func (r ListGpuTypesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListGpuTypesResult) GetJSON200 ¶
func (r ListGpuTypesResult) GetJSON200() *externalRef0.ListGpuTypesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListGpuTypesResult) Status ¶
func (r ListGpuTypesResult) Status() string
Status returns HTTPResponse.Status
func (ListGpuTypesResult) StatusCode ¶
func (r ListGpuTypesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGpuTypesResult200Headers ¶
type ListGpuTypesResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListGpuTypesResult200Headers the declared response headers of an HTTP 200 response for ListGpuTypes
type ListGpuTypesResult403Headers ¶
type ListGpuTypesResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListGpuTypesResult403Headers the declared response headers of an HTTP 403 response for ListGpuTypes
type ListGpuTypesResult429Headers ¶
type ListGpuTypesResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListGpuTypesResult429Headers the declared response headers of an HTTP 429 response for ListGpuTypes
type ListGpuTypesResultDefaultHeaders ¶
type ListGpuTypesResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListGpuTypesResultDefaultHeaders the declared response headers of an HTTP default response for ListGpuTypes
type ListPublicTemplatesParams ¶
type ListPublicTemplatesParams struct {
// Source Which slice of the catalog to return: `official` for
// Runpod-curated templates (default), `verified` for
// Runpod-verified community templates, or `community` for all other
// publicly shared templates.
Source *ListPublicTemplatesParamsSource `form:"source,omitempty" json:"source,omitempty"`
// Search Search text, matched case-insensitively. Every word must match. A skill matches on its name, description and tags; a repo also on its GitHub owner and name; a template on its name and image, and a versioned template's tag also on its line's name and description. Enables `orderBy=RELEVANCE`, which becomes the default order.
Search *externalRef0.CatalogSearchQuery `form:"search,omitempty" json:"search,omitempty"`
// Type Only return standalone (`SINGLE`) or versioned (`VERSIONED`) templates. Omit for both.
Type *externalRef0.CatalogTemplateType `form:"type,omitempty" json:"type,omitempty"`
// Product Only return items that deploy to one of these products. Comma-separated.
Product *externalRef0.CatalogProducts `form:"product,omitempty" json:"product,omitempty"`
// MinReliability Only return items whose `health.reliability` is at least this value. Unscored items are excluded when this is set.
MinReliability *externalRef0.CatalogMinReliability `form:"minReliability,omitempty" json:"minReliability,omitempty"`
// Category Only return templates in this category.
Category *externalRef0.TemplateCategory `form:"category,omitempty" json:"category,omitempty"`
// OrderBy Defaults to `RELEVANCE` when `search` is set and `POPULAR` otherwise. `RELEVANCE` without `search` is rejected with 400.
OrderBy *externalRef0.CatalogOrderBy `form:"orderBy,omitempty" json:"orderBy,omitempty"`
// OrderDirection Sort direction. Defaults to `ASC` for `orderBy=NAME` and `DESC` otherwise.
OrderDirection *externalRef0.CatalogOrderDirection `form:"orderDirection,omitempty" json:"orderDirection,omitempty"`
// Cursor Opaque resume cursor — pass the previous response's `pagination.nextCursor` through verbatim; omit for the first page. A cursor is only valid for the operation and parameters that issued it; a malformed or foreign cursor is rejected with 422.
Cursor *externalRef0.PaginationCursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size, 1–1000. Defaults to 1000 when omitted.
Limit *externalRef0.PaginationLimit `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPublicTemplatesParams defines parameters for ListPublicTemplates.
type ListPublicTemplatesParamsSource ¶
type ListPublicTemplatesParamsSource string
ListPublicTemplatesParamsSource defines parameters for ListPublicTemplates.
const ( CatalogTemplateSourceCommunity ListPublicTemplatesParamsSource = "community" CatalogTemplateSourceOfficial ListPublicTemplatesParamsSource = "official" CatalogTemplateSourceVerified ListPublicTemplatesParamsSource = "verified" )
Defines values for ListPublicTemplatesParamsSource.
func (ListPublicTemplatesParamsSource) Valid ¶
func (e ListPublicTemplatesParamsSource) Valid() bool
Valid indicates whether the value is a known member of the ListPublicTemplatesParamsSource enum.
type ListPublicTemplatesResult ¶
type ListPublicTemplatesResult struct {
Body []byte
HTTPResponse *http.Response
// JSON200 the response for an HTTP 200 `application/json` response
JSON200 *externalRef0.ListCatalogTemplatesResponse
// ApplicationproblemJSON400 the response for an HTTP 400 `application/problem+json` response
ApplicationproblemJSON400 *externalRef0.ErrorResponse
// ApplicationproblemJSON401 the response for an HTTP 401 `application/problem+json` response
ApplicationproblemJSON401 *externalRef0.ErrorResponse
// ApplicationproblemJSON403 the response for an HTTP 403 `application/problem+json` response
ApplicationproblemJSON403 *externalRef0.ErrorResponse
// ApplicationproblemJSON413 the response for an HTTP 413 `application/problem+json` response
ApplicationproblemJSON413 *externalRef0.ErrorResponse
// ApplicationproblemJSON422 the response for an HTTP 422 `application/problem+json` response
ApplicationproblemJSON422 *externalRef0.ErrorResponse
// ApplicationproblemJSON429 the response for an HTTP 429 `application/problem+json` response
ApplicationproblemJSON429 *externalRef0.ErrorResponse
// ApplicationproblemJSONDefault the response for an HTTP default `application/problem+json` response
ApplicationproblemJSONDefault *externalRef0.ErrorResponse
// Headers200 the parsed response headers for an HTTP 200 response
Headers200 *ListPublicTemplatesResult200Headers
// Headers400 the parsed response headers for an HTTP 400 response
Headers400 *ListPublicTemplatesResult400Headers
// Headers403 the parsed response headers for an HTTP 403 response
Headers403 *ListPublicTemplatesResult403Headers
// Headers413 the parsed response headers for an HTTP 413 response
Headers413 *ListPublicTemplatesResult413Headers
// Headers422 the parsed response headers for an HTTP 422 response
Headers422 *ListPublicTemplatesResult422Headers
// Headers429 the parsed response headers for an HTTP 429 response
Headers429 *ListPublicTemplatesResult429Headers
// HeadersDefault the parsed response headers for an HTTP default response
HeadersDefault *ListPublicTemplatesResultDefaultHeaders
}
func ParseListPublicTemplatesResult ¶
func ParseListPublicTemplatesResult(rsp *http.Response) (*ListPublicTemplatesResult, error)
ParseListPublicTemplatesResult parses an HTTP response from a ListPublicTemplatesWithResponse call
func (ListPublicTemplatesResult) ContentType ¶
func (r ListPublicTemplatesResult) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPublicTemplatesResult) GetApplicationproblemJSON400 ¶ added in v2.4.0
func (r ListPublicTemplatesResult) GetApplicationproblemJSON400() *externalRef0.ErrorResponse
GetApplicationproblemJSON400 returns the response for an HTTP 400 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSON401 ¶
func (r ListPublicTemplatesResult) GetApplicationproblemJSON401() *externalRef0.ErrorResponse
GetApplicationproblemJSON401 returns the response for an HTTP 401 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSON403 ¶
func (r ListPublicTemplatesResult) GetApplicationproblemJSON403() *externalRef0.ErrorResponse
GetApplicationproblemJSON403 returns the response for an HTTP 403 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSON413 ¶ added in v2.4.0
func (r ListPublicTemplatesResult) GetApplicationproblemJSON413() *externalRef0.ErrorResponse
GetApplicationproblemJSON413 returns the response for an HTTP 413 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSON422 ¶ added in v2.4.0
func (r ListPublicTemplatesResult) GetApplicationproblemJSON422() *externalRef0.ErrorResponse
GetApplicationproblemJSON422 returns the response for an HTTP 422 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSON429 ¶
func (r ListPublicTemplatesResult) GetApplicationproblemJSON429() *externalRef0.ErrorResponse
GetApplicationproblemJSON429 returns the response for an HTTP 429 `application/problem+json` response
func (ListPublicTemplatesResult) GetApplicationproblemJSONDefault ¶
func (r ListPublicTemplatesResult) GetApplicationproblemJSONDefault() *externalRef0.ErrorResponse
GetApplicationproblemJSONDefault returns the response for an HTTP default `application/problem+json` response
func (ListPublicTemplatesResult) GetBody ¶
func (r ListPublicTemplatesResult) GetBody() []byte
GetBody returns the raw response body bytes
func (ListPublicTemplatesResult) GetJSON200 ¶
func (r ListPublicTemplatesResult) GetJSON200() *externalRef0.ListCatalogTemplatesResponse
GetJSON200 returns the response for an HTTP 200 `application/json` response
func (ListPublicTemplatesResult) Status ¶
func (r ListPublicTemplatesResult) Status() string
Status returns HTTPResponse.Status
func (ListPublicTemplatesResult) StatusCode ¶
func (r ListPublicTemplatesResult) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPublicTemplatesResult200Headers ¶
type ListPublicTemplatesResult200Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResult200Headers the declared response headers of an HTTP 200 response for ListPublicTemplates
type ListPublicTemplatesResult400Headers ¶ added in v2.4.0
type ListPublicTemplatesResult400Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResult400Headers the declared response headers of an HTTP 400 response for ListPublicTemplates
type ListPublicTemplatesResult403Headers ¶
type ListPublicTemplatesResult403Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResult403Headers the declared response headers of an HTTP 403 response for ListPublicTemplates
type ListPublicTemplatesResult413Headers ¶ added in v2.4.0
type ListPublicTemplatesResult413Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResult413Headers the declared response headers of an HTTP 413 response for ListPublicTemplates
type ListPublicTemplatesResult422Headers ¶ added in v2.4.0
type ListPublicTemplatesResult422Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResult422Headers the declared response headers of an HTTP 422 response for ListPublicTemplates
type ListPublicTemplatesResult429Headers ¶
type ListPublicTemplatesResult429Headers struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
RetryAfter *int
}
ListPublicTemplatesResult429Headers the declared response headers of an HTTP 429 response for ListPublicTemplates
type ListPublicTemplatesResultDefaultHeaders ¶
type ListPublicTemplatesResultDefaultHeaders struct {
RateLimit *externalRef0.RateLimitHeader
RateLimitPolicy *externalRef0.RateLimitPolicyHeader
}
ListPublicTemplatesResultDefaultHeaders the declared response headers of an HTTP default response for ListPublicTemplates