public_tags

package
v0.68.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
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

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 (*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 (*PublicListTagsInternalServerError) GetPayload

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 (*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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *PublicListTagsParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL