Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) PublicListTags(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, *PublicListTagsBadRequest, ...)deprecated
- func (a *Client) PublicListTagsShort(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicListTagsBadRequest
- type PublicListTagsInternalServerError
- type PublicListTagsOK
- type PublicListTagsParams
- func NewPublicListTagsParams() *PublicListTagsParams
- func NewPublicListTagsParamsWithContext(ctx context.Context) *PublicListTagsParams
- func NewPublicListTagsParamsWithHTTPClient(client *http.Client) *PublicListTagsParams
- func NewPublicListTagsParamsWithTimeout(timeout time.Duration) *PublicListTagsParams
- func (o *PublicListTagsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListTagsParams) SetContext(ctx context.Context)
- func (o *PublicListTagsParams) SetHTTPClient(client *http.Client)
- func (o *PublicListTagsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListTagsParams) SetLimit(limit *int64)
- func (o *PublicListTagsParams) SetNamespace(namespace string)
- func (o *PublicListTagsParams) SetOffset(offset *int64)
- func (o *PublicListTagsParams) SetSortBy(sortBy *string)
- func (o *PublicListTagsParams) SetTimeout(timeout time.Duration)
- func (o *PublicListTagsParams) WithContext(ctx context.Context) *PublicListTagsParams
- func (o *PublicListTagsParams) WithHTTPClient(client *http.Client) *PublicListTagsParams
- func (o *PublicListTagsParams) WithLimit(limit *int64) *PublicListTagsParams
- func (o *PublicListTagsParams) WithNamespace(namespace string) *PublicListTagsParams
- func (o *PublicListTagsParams) WithOffset(offset *int64) *PublicListTagsParams
- func (o *PublicListTagsParams) WithSortBy(sortBy *string) *PublicListTagsParams
- func (o *PublicListTagsParams) WithTimeout(timeout time.Duration) *PublicListTagsParams
- func (o *PublicListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListTagsReader
Constants ¶
const ( PublicListTagsCreatedAtConstant = "createdAt" PublicListTagsCreatedAtAscConstant = "createdAt:asc" PublicListTagsCreatedAtDescConstant = "createdAt:desc" PublicListTagsNameConstant = "name" PublicListTagsNameAscConstant = "name:asc" PublicListTagsNameDescConstant = "name:desc" )
Get the enum in PublicListTagsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public tags API
func (*Client) PublicListTags
deprecated
func (a *Client) PublicListTags(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, *PublicListTagsBadRequest, *PublicListTagsInternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListTagsShort instead.
PublicListTags to list tags ¶
This endpoint will list all tags in a namespace. The response body will be in the form of standard pagination.
func (*Client) PublicListTagsShort ¶
func (a *Client) PublicListTagsShort(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, error)
PublicListTagsShort to list tags
This endpoint will list all tags in a namespace. The response body will be in the form of standard pagination.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PublicListTags(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, *PublicListTagsBadRequest, *PublicListTagsInternalServerError, error) PublicListTagsShort(params *PublicListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new public tags API client.
type PublicListTagsBadRequest ¶
type PublicListTagsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
PublicListTagsBadRequest handles this case with default header values.
Bad Request
func NewPublicListTagsBadRequest ¶
func NewPublicListTagsBadRequest() *PublicListTagsBadRequest
NewPublicListTagsBadRequest creates a PublicListTagsBadRequest with default headers values
func (*PublicListTagsBadRequest) Error ¶
func (o *PublicListTagsBadRequest) Error() string
func (*PublicListTagsBadRequest) GetPayload ¶
func (o *PublicListTagsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*PublicListTagsBadRequest) ToJSONString ¶
func (o *PublicListTagsBadRequest) ToJSONString() string
type PublicListTagsInternalServerError ¶
type PublicListTagsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
PublicListTagsInternalServerError handles this case with default header values.
Internal Server Error
func NewPublicListTagsInternalServerError ¶
func NewPublicListTagsInternalServerError() *PublicListTagsInternalServerError
NewPublicListTagsInternalServerError creates a PublicListTagsInternalServerError with default headers values
func (*PublicListTagsInternalServerError) Error ¶
func (o *PublicListTagsInternalServerError) Error() string
func (*PublicListTagsInternalServerError) GetPayload ¶
func (o *PublicListTagsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*PublicListTagsInternalServerError) ToJSONString ¶
func (o *PublicListTagsInternalServerError) ToJSONString() string
type PublicListTagsOK ¶
type PublicListTagsOK struct {
Payload *inventoryclientmodels.ApimodelsListTagsResp
}
PublicListTagsOK handles this case with default header values.
OK
func NewPublicListTagsOK ¶
func NewPublicListTagsOK() *PublicListTagsOK
NewPublicListTagsOK creates a PublicListTagsOK with default headers values
func (*PublicListTagsOK) Error ¶
func (o *PublicListTagsOK) Error() string
func (*PublicListTagsOK) GetPayload ¶
func (o *PublicListTagsOK) GetPayload() *inventoryclientmodels.ApimodelsListTagsResp
func (*PublicListTagsOK) ToJSONString ¶
func (o *PublicListTagsOK) ToJSONString() string
type PublicListTagsParams ¶
type PublicListTagsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Limit default 25 */ Limit *int64 /*Offset*/ Offset *int64 /*SortBy Only support one level of sortBy; default createdAt */ SortBy *string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PublicListTagsParams contains all the parameters to send to the API endpoint for the public list tags operation typically these are written to a http.Request
func NewPublicListTagsParams ¶
func NewPublicListTagsParams() *PublicListTagsParams
NewPublicListTagsParams creates a new PublicListTagsParams object with the default values initialized.
func NewPublicListTagsParamsWithContext ¶
func NewPublicListTagsParamsWithContext(ctx context.Context) *PublicListTagsParams
NewPublicListTagsParamsWithContext creates a new PublicListTagsParams object with the default values initialized, and the ability to set a context for a request
func NewPublicListTagsParamsWithHTTPClient ¶
func NewPublicListTagsParamsWithHTTPClient(client *http.Client) *PublicListTagsParams
NewPublicListTagsParamsWithHTTPClient creates a new PublicListTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListTagsParamsWithTimeout ¶
func NewPublicListTagsParamsWithTimeout(timeout time.Duration) *PublicListTagsParams
NewPublicListTagsParamsWithTimeout creates a new PublicListTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListTagsParams) SetAuthInfoWriter ¶
func (o *PublicListTagsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list tags params
func (*PublicListTagsParams) SetContext ¶
func (o *PublicListTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the public list tags params
func (*PublicListTagsParams) SetHTTPClient ¶
func (o *PublicListTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list tags params
func (*PublicListTagsParams) SetHTTPClientTransport ¶
func (o *PublicListTagsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list tags params
func (*PublicListTagsParams) SetLimit ¶
func (o *PublicListTagsParams) SetLimit(limit *int64)
SetLimit adds the limit to the public list tags params
func (*PublicListTagsParams) SetNamespace ¶
func (o *PublicListTagsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list tags params
func (*PublicListTagsParams) SetOffset ¶
func (o *PublicListTagsParams) SetOffset(offset *int64)
SetOffset adds the offset to the public list tags params
func (*PublicListTagsParams) SetSortBy ¶
func (o *PublicListTagsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the public list tags params
func (*PublicListTagsParams) SetTimeout ¶
func (o *PublicListTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list tags params
func (*PublicListTagsParams) WithContext ¶
func (o *PublicListTagsParams) WithContext(ctx context.Context) *PublicListTagsParams
WithContext adds the context to the public list tags params
func (*PublicListTagsParams) WithHTTPClient ¶
func (o *PublicListTagsParams) WithHTTPClient(client *http.Client) *PublicListTagsParams
WithHTTPClient adds the HTTPClient to the public list tags params
func (*PublicListTagsParams) WithLimit ¶
func (o *PublicListTagsParams) WithLimit(limit *int64) *PublicListTagsParams
WithLimit adds the limit to the public list tags params
func (*PublicListTagsParams) WithNamespace ¶
func (o *PublicListTagsParams) WithNamespace(namespace string) *PublicListTagsParams
WithNamespace adds the namespace to the public list tags params
func (*PublicListTagsParams) WithOffset ¶
func (o *PublicListTagsParams) WithOffset(offset *int64) *PublicListTagsParams
WithOffset adds the offset to the public list tags params
func (*PublicListTagsParams) WithSortBy ¶
func (o *PublicListTagsParams) WithSortBy(sortBy *string) *PublicListTagsParams
WithSortBy adds the sortBy to the public list tags params
func (*PublicListTagsParams) WithTimeout ¶
func (o *PublicListTagsParams) WithTimeout(timeout time.Duration) *PublicListTagsParams
WithTimeout adds the timeout to the public list tags params
func (*PublicListTagsParams) WriteToRequest ¶
func (o *PublicListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListTagsReader ¶
type PublicListTagsReader struct {
// contains filtered or unexported fields
}
PublicListTagsReader is a Reader for the PublicListTags structure.
func (*PublicListTagsReader) ReadResponse ¶
func (o *PublicListTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.