Documentation ¶
Index ¶
- Constants
- type AdminCreateTagBadRequest
- type AdminCreateTagConflict
- type AdminCreateTagCreated
- type AdminCreateTagInternalServerError
- type AdminCreateTagParams
- func NewAdminCreateTagParams() *AdminCreateTagParams
- func NewAdminCreateTagParamsWithContext(ctx context.Context) *AdminCreateTagParams
- func NewAdminCreateTagParamsWithHTTPClient(client *http.Client) *AdminCreateTagParams
- func NewAdminCreateTagParamsWithTimeout(timeout time.Duration) *AdminCreateTagParams
- func (o *AdminCreateTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateTagParams) SetBody(body *inventoryclientmodels.ApimodelsCreateTagReq)
- func (o *AdminCreateTagParams) SetContext(ctx context.Context)
- func (o *AdminCreateTagParams) SetFlightId(flightId string)
- func (o *AdminCreateTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateTagParams) SetNamespace(namespace string)
- func (o *AdminCreateTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateTagParams) WithBody(body *inventoryclientmodels.ApimodelsCreateTagReq) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithContext(ctx context.Context) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithHTTPClient(client *http.Client) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithNamespace(namespace string) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithTimeout(timeout time.Duration) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateTagReader
- type AdminDeleteTagInternalServerError
- type AdminDeleteTagNoContent
- type AdminDeleteTagNotFound
- type AdminDeleteTagParams
- func NewAdminDeleteTagParams() *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithContext(ctx context.Context) *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithHTTPClient(client *http.Client) *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithTimeout(timeout time.Duration) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteTagParams) SetContext(ctx context.Context)
- func (o *AdminDeleteTagParams) SetFlightId(flightId string)
- func (o *AdminDeleteTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteTagParams) SetNamespace(namespace string)
- func (o *AdminDeleteTagParams) SetTagName(tagName string)
- func (o *AdminDeleteTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteTagParams) WithContext(ctx context.Context) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithHTTPClient(client *http.Client) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithNamespace(namespace string) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithTagName(tagName string) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithTimeout(timeout time.Duration) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteTagReader
- type AdminListTagsBadRequest
- type AdminListTagsInternalServerError
- type AdminListTagsOK
- type AdminListTagsParams
- func (o *AdminListTagsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminListTagsParams) SetContext(ctx context.Context)
- func (o *AdminListTagsParams) SetFlightId(flightId string)
- func (o *AdminListTagsParams) SetHTTPClient(client *http.Client)
- func (o *AdminListTagsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminListTagsParams) SetLimit(limit *int64)
- func (o *AdminListTagsParams) SetNamespace(namespace string)
- func (o *AdminListTagsParams) SetOffset(offset *int64)
- func (o *AdminListTagsParams) SetOwner(owner *string)
- func (o *AdminListTagsParams) SetSortBy(sortBy *string)
- func (o *AdminListTagsParams) SetTimeout(timeout time.Duration)
- func (o *AdminListTagsParams) WithContext(ctx context.Context) *AdminListTagsParams
- func (o *AdminListTagsParams) WithHTTPClient(client *http.Client) *AdminListTagsParams
- func (o *AdminListTagsParams) WithLimit(limit *int64) *AdminListTagsParams
- func (o *AdminListTagsParams) WithNamespace(namespace string) *AdminListTagsParams
- func (o *AdminListTagsParams) WithOffset(offset *int64) *AdminListTagsParams
- func (o *AdminListTagsParams) WithOwner(owner *string) *AdminListTagsParams
- func (o *AdminListTagsParams) WithSortBy(sortBy *string) *AdminListTagsParams
- func (o *AdminListTagsParams) WithTimeout(timeout time.Duration) *AdminListTagsParams
- func (o *AdminListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminListTagsReader
- type Client
- func (a *Client) AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagConflict, ...)deprecated
- func (a *Client) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error)
- func (a *Client) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagNotFound, ...)deprecated
- func (a *Client) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error)
- func (a *Client) AdminListTags(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, *AdminListTagsBadRequest, *AdminListTagsInternalServerError, ...)deprecated
- func (a *Client) AdminListTagsShort(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
Constants ¶
const ( AdminListTagsCreatedAtConstant = "createdAt" AdminListTagsCreatedAtAscConstant = "createdAt:asc" AdminListTagsCreatedAtDescConstant = "createdAt:desc" AdminListTagsNameConstant = "name" AdminListTagsNameAscConstant = "name:asc" AdminListTagsNameDescConstant = "name:desc" )
Get the enum in AdminListTagsParams
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminCreateTagBadRequest ¶
type AdminCreateTagBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateTagBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateTagBadRequest ¶
func NewAdminCreateTagBadRequest() *AdminCreateTagBadRequest
NewAdminCreateTagBadRequest creates a AdminCreateTagBadRequest with default headers values
func (*AdminCreateTagBadRequest) Error ¶
func (o *AdminCreateTagBadRequest) Error() string
func (*AdminCreateTagBadRequest) GetPayload ¶
func (o *AdminCreateTagBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateTagBadRequest) ToJSONString ¶
func (o *AdminCreateTagBadRequest) ToJSONString() string
type AdminCreateTagConflict ¶
type AdminCreateTagConflict struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateTagConflict handles this case with default header values.
Conflict
func NewAdminCreateTagConflict ¶
func NewAdminCreateTagConflict() *AdminCreateTagConflict
NewAdminCreateTagConflict creates a AdminCreateTagConflict with default headers values
func (*AdminCreateTagConflict) Error ¶
func (o *AdminCreateTagConflict) Error() string
func (*AdminCreateTagConflict) GetPayload ¶
func (o *AdminCreateTagConflict) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateTagConflict) ToJSONString ¶
func (o *AdminCreateTagConflict) ToJSONString() string
type AdminCreateTagCreated ¶
type AdminCreateTagCreated struct {
Payload *inventoryclientmodels.ApimodelsCreateTagResp
}
AdminCreateTagCreated handles this case with default header values.
Created
func NewAdminCreateTagCreated ¶
func NewAdminCreateTagCreated() *AdminCreateTagCreated
NewAdminCreateTagCreated creates a AdminCreateTagCreated with default headers values
func (*AdminCreateTagCreated) Error ¶
func (o *AdminCreateTagCreated) Error() string
func (*AdminCreateTagCreated) GetPayload ¶
func (o *AdminCreateTagCreated) GetPayload() *inventoryclientmodels.ApimodelsCreateTagResp
func (*AdminCreateTagCreated) ToJSONString ¶
func (o *AdminCreateTagCreated) ToJSONString() string
type AdminCreateTagInternalServerError ¶
type AdminCreateTagInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminCreateTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateTagInternalServerError ¶
func NewAdminCreateTagInternalServerError() *AdminCreateTagInternalServerError
NewAdminCreateTagInternalServerError creates a AdminCreateTagInternalServerError with default headers values
func (*AdminCreateTagInternalServerError) Error ¶
func (o *AdminCreateTagInternalServerError) Error() string
func (*AdminCreateTagInternalServerError) GetPayload ¶
func (o *AdminCreateTagInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminCreateTagInternalServerError) ToJSONString ¶
func (o *AdminCreateTagInternalServerError) ToJSONString() string
type AdminCreateTagParams ¶
type AdminCreateTagParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *inventoryclientmodels.ApimodelsCreateTagReq /*Namespace Namespace */ Namespace 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 }
AdminCreateTagParams contains all the parameters to send to the API endpoint for the admin create tag operation typically these are written to a http.Request
func NewAdminCreateTagParams ¶
func NewAdminCreateTagParams() *AdminCreateTagParams
NewAdminCreateTagParams creates a new AdminCreateTagParams object with the default values initialized.
func NewAdminCreateTagParamsWithContext ¶
func NewAdminCreateTagParamsWithContext(ctx context.Context) *AdminCreateTagParams
NewAdminCreateTagParamsWithContext creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateTagParamsWithHTTPClient ¶
func NewAdminCreateTagParamsWithHTTPClient(client *http.Client) *AdminCreateTagParams
NewAdminCreateTagParamsWithHTTPClient creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateTagParamsWithTimeout ¶
func NewAdminCreateTagParamsWithTimeout(timeout time.Duration) *AdminCreateTagParams
NewAdminCreateTagParamsWithTimeout creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateTagParams) SetAuthInfoWriter ¶
func (o *AdminCreateTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create tag params
func (*AdminCreateTagParams) SetBody ¶
func (o *AdminCreateTagParams) SetBody(body *inventoryclientmodels.ApimodelsCreateTagReq)
SetBody adds the body to the admin create tag params
func (*AdminCreateTagParams) SetContext ¶
func (o *AdminCreateTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create tag params
func (*AdminCreateTagParams) SetFlightId ¶ added in v0.63.0
func (o *AdminCreateTagParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminCreateTagParams) SetHTTPClient ¶
func (o *AdminCreateTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create tag params
func (*AdminCreateTagParams) SetHTTPClientTransport ¶
func (o *AdminCreateTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create tag params
func (*AdminCreateTagParams) SetNamespace ¶
func (o *AdminCreateTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create tag params
func (*AdminCreateTagParams) SetTimeout ¶
func (o *AdminCreateTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create tag params
func (*AdminCreateTagParams) WithBody ¶
func (o *AdminCreateTagParams) WithBody(body *inventoryclientmodels.ApimodelsCreateTagReq) *AdminCreateTagParams
WithBody adds the body to the admin create tag params
func (*AdminCreateTagParams) WithContext ¶
func (o *AdminCreateTagParams) WithContext(ctx context.Context) *AdminCreateTagParams
WithContext adds the context to the admin create tag params
func (*AdminCreateTagParams) WithHTTPClient ¶
func (o *AdminCreateTagParams) WithHTTPClient(client *http.Client) *AdminCreateTagParams
WithHTTPClient adds the HTTPClient to the admin create tag params
func (*AdminCreateTagParams) WithNamespace ¶
func (o *AdminCreateTagParams) WithNamespace(namespace string) *AdminCreateTagParams
WithNamespace adds the namespace to the admin create tag params
func (*AdminCreateTagParams) WithTimeout ¶
func (o *AdminCreateTagParams) WithTimeout(timeout time.Duration) *AdminCreateTagParams
WithTimeout adds the timeout to the admin create tag params
func (*AdminCreateTagParams) WriteToRequest ¶
func (o *AdminCreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateTagReader ¶
type AdminCreateTagReader struct {
// contains filtered or unexported fields
}
AdminCreateTagReader is a Reader for the AdminCreateTag structure.
func (*AdminCreateTagReader) ReadResponse ¶
func (o *AdminCreateTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteTagInternalServerError ¶
type AdminDeleteTagInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminDeleteTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteTagInternalServerError ¶
func NewAdminDeleteTagInternalServerError() *AdminDeleteTagInternalServerError
NewAdminDeleteTagInternalServerError creates a AdminDeleteTagInternalServerError with default headers values
func (*AdminDeleteTagInternalServerError) Error ¶
func (o *AdminDeleteTagInternalServerError) Error() string
func (*AdminDeleteTagInternalServerError) GetPayload ¶
func (o *AdminDeleteTagInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminDeleteTagInternalServerError) ToJSONString ¶
func (o *AdminDeleteTagInternalServerError) ToJSONString() string
type AdminDeleteTagNoContent ¶
type AdminDeleteTagNoContent struct { }
AdminDeleteTagNoContent handles this case with default header values.
No Content
func NewAdminDeleteTagNoContent ¶
func NewAdminDeleteTagNoContent() *AdminDeleteTagNoContent
NewAdminDeleteTagNoContent creates a AdminDeleteTagNoContent with default headers values
func (*AdminDeleteTagNoContent) Error ¶
func (o *AdminDeleteTagNoContent) Error() string
type AdminDeleteTagNotFound ¶
type AdminDeleteTagNotFound struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminDeleteTagNotFound handles this case with default header values.
Not Found
func NewAdminDeleteTagNotFound ¶
func NewAdminDeleteTagNotFound() *AdminDeleteTagNotFound
NewAdminDeleteTagNotFound creates a AdminDeleteTagNotFound with default headers values
func (*AdminDeleteTagNotFound) Error ¶
func (o *AdminDeleteTagNotFound) Error() string
func (*AdminDeleteTagNotFound) GetPayload ¶
func (o *AdminDeleteTagNotFound) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminDeleteTagNotFound) ToJSONString ¶
func (o *AdminDeleteTagNotFound) ToJSONString() string
type AdminDeleteTagParams ¶
type AdminDeleteTagParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*TagName TagName */ TagName 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 }
AdminDeleteTagParams contains all the parameters to send to the API endpoint for the admin delete tag operation typically these are written to a http.Request
func NewAdminDeleteTagParams ¶
func NewAdminDeleteTagParams() *AdminDeleteTagParams
NewAdminDeleteTagParams creates a new AdminDeleteTagParams object with the default values initialized.
func NewAdminDeleteTagParamsWithContext ¶
func NewAdminDeleteTagParamsWithContext(ctx context.Context) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithContext creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteTagParamsWithHTTPClient ¶
func NewAdminDeleteTagParamsWithHTTPClient(client *http.Client) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithHTTPClient creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteTagParamsWithTimeout ¶
func NewAdminDeleteTagParamsWithTimeout(timeout time.Duration) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithTimeout creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteTagParams) SetAuthInfoWriter ¶
func (o *AdminDeleteTagParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete tag params
func (*AdminDeleteTagParams) SetContext ¶
func (o *AdminDeleteTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete tag params
func (*AdminDeleteTagParams) SetFlightId ¶ added in v0.63.0
func (o *AdminDeleteTagParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminDeleteTagParams) SetHTTPClient ¶
func (o *AdminDeleteTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete tag params
func (*AdminDeleteTagParams) SetHTTPClientTransport ¶
func (o *AdminDeleteTagParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete tag params
func (*AdminDeleteTagParams) SetNamespace ¶
func (o *AdminDeleteTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete tag params
func (*AdminDeleteTagParams) SetTagName ¶
func (o *AdminDeleteTagParams) SetTagName(tagName string)
SetTagName adds the tagName to the admin delete tag params
func (*AdminDeleteTagParams) SetTimeout ¶
func (o *AdminDeleteTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete tag params
func (*AdminDeleteTagParams) WithContext ¶
func (o *AdminDeleteTagParams) WithContext(ctx context.Context) *AdminDeleteTagParams
WithContext adds the context to the admin delete tag params
func (*AdminDeleteTagParams) WithHTTPClient ¶
func (o *AdminDeleteTagParams) WithHTTPClient(client *http.Client) *AdminDeleteTagParams
WithHTTPClient adds the HTTPClient to the admin delete tag params
func (*AdminDeleteTagParams) WithNamespace ¶
func (o *AdminDeleteTagParams) WithNamespace(namespace string) *AdminDeleteTagParams
WithNamespace adds the namespace to the admin delete tag params
func (*AdminDeleteTagParams) WithTagName ¶
func (o *AdminDeleteTagParams) WithTagName(tagName string) *AdminDeleteTagParams
WithTagName adds the tagName to the admin delete tag params
func (*AdminDeleteTagParams) WithTimeout ¶
func (o *AdminDeleteTagParams) WithTimeout(timeout time.Duration) *AdminDeleteTagParams
WithTimeout adds the timeout to the admin delete tag params
func (*AdminDeleteTagParams) WriteToRequest ¶
func (o *AdminDeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteTagReader ¶
type AdminDeleteTagReader struct {
// contains filtered or unexported fields
}
AdminDeleteTagReader is a Reader for the AdminDeleteTag structure.
func (*AdminDeleteTagReader) ReadResponse ¶
func (o *AdminDeleteTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminListTagsBadRequest ¶
type AdminListTagsBadRequest struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListTagsBadRequest handles this case with default header values.
Bad Request
func NewAdminListTagsBadRequest ¶
func NewAdminListTagsBadRequest() *AdminListTagsBadRequest
NewAdminListTagsBadRequest creates a AdminListTagsBadRequest with default headers values
func (*AdminListTagsBadRequest) Error ¶
func (o *AdminListTagsBadRequest) Error() string
func (*AdminListTagsBadRequest) GetPayload ¶
func (o *AdminListTagsBadRequest) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListTagsBadRequest) ToJSONString ¶
func (o *AdminListTagsBadRequest) ToJSONString() string
type AdminListTagsInternalServerError ¶
type AdminListTagsInternalServerError struct {
Payload *inventoryclientmodels.ApimodelsErrorResponse
}
AdminListTagsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminListTagsInternalServerError ¶
func NewAdminListTagsInternalServerError() *AdminListTagsInternalServerError
NewAdminListTagsInternalServerError creates a AdminListTagsInternalServerError with default headers values
func (*AdminListTagsInternalServerError) Error ¶
func (o *AdminListTagsInternalServerError) Error() string
func (*AdminListTagsInternalServerError) GetPayload ¶
func (o *AdminListTagsInternalServerError) GetPayload() *inventoryclientmodels.ApimodelsErrorResponse
func (*AdminListTagsInternalServerError) ToJSONString ¶
func (o *AdminListTagsInternalServerError) ToJSONString() string
type AdminListTagsOK ¶
type AdminListTagsOK struct {
Payload *inventoryclientmodels.ApimodelsListTagsResp
}
AdminListTagsOK handles this case with default header values.
OK
func NewAdminListTagsOK ¶
func NewAdminListTagsOK() *AdminListTagsOK
NewAdminListTagsOK creates a AdminListTagsOK with default headers values
func (*AdminListTagsOK) Error ¶
func (o *AdminListTagsOK) Error() string
func (*AdminListTagsOK) GetPayload ¶
func (o *AdminListTagsOK) GetPayload() *inventoryclientmodels.ApimodelsListTagsResp
func (*AdminListTagsOK) ToJSONString ¶
func (o *AdminListTagsOK) ToJSONString() string
type AdminListTagsParams ¶
type AdminListTagsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string /*Limit default 25 */ Limit *int64 /*Offset*/ Offset *int64 /*Owner supported parameter SERVER or CLIENT */ Owner *string /*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 }
AdminListTagsParams contains all the parameters to send to the API endpoint for the admin list tags operation typically these are written to a http.Request
func NewAdminListTagsParams ¶
func NewAdminListTagsParams() *AdminListTagsParams
NewAdminListTagsParams creates a new AdminListTagsParams object with the default values initialized.
func NewAdminListTagsParamsWithContext ¶
func NewAdminListTagsParamsWithContext(ctx context.Context) *AdminListTagsParams
NewAdminListTagsParamsWithContext creates a new AdminListTagsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminListTagsParamsWithHTTPClient ¶
func NewAdminListTagsParamsWithHTTPClient(client *http.Client) *AdminListTagsParams
NewAdminListTagsParamsWithHTTPClient creates a new AdminListTagsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminListTagsParamsWithTimeout ¶
func NewAdminListTagsParamsWithTimeout(timeout time.Duration) *AdminListTagsParams
NewAdminListTagsParamsWithTimeout creates a new AdminListTagsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminListTagsParams) SetAuthInfoWriter ¶
func (o *AdminListTagsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin list tags params
func (*AdminListTagsParams) SetContext ¶
func (o *AdminListTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin list tags params
func (*AdminListTagsParams) SetFlightId ¶ added in v0.63.0
func (o *AdminListTagsParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminListTagsParams) SetHTTPClient ¶
func (o *AdminListTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin list tags params
func (*AdminListTagsParams) SetHTTPClientTransport ¶
func (o *AdminListTagsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin list tags params
func (*AdminListTagsParams) SetLimit ¶
func (o *AdminListTagsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin list tags params
func (*AdminListTagsParams) SetNamespace ¶
func (o *AdminListTagsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin list tags params
func (*AdminListTagsParams) SetOffset ¶
func (o *AdminListTagsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin list tags params
func (*AdminListTagsParams) SetOwner ¶
func (o *AdminListTagsParams) SetOwner(owner *string)
SetOwner adds the owner to the admin list tags params
func (*AdminListTagsParams) SetSortBy ¶
func (o *AdminListTagsParams) SetSortBy(sortBy *string)
SetSortBy adds the sortBy to the admin list tags params
func (*AdminListTagsParams) SetTimeout ¶
func (o *AdminListTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin list tags params
func (*AdminListTagsParams) WithContext ¶
func (o *AdminListTagsParams) WithContext(ctx context.Context) *AdminListTagsParams
WithContext adds the context to the admin list tags params
func (*AdminListTagsParams) WithHTTPClient ¶
func (o *AdminListTagsParams) WithHTTPClient(client *http.Client) *AdminListTagsParams
WithHTTPClient adds the HTTPClient to the admin list tags params
func (*AdminListTagsParams) WithLimit ¶
func (o *AdminListTagsParams) WithLimit(limit *int64) *AdminListTagsParams
WithLimit adds the limit to the admin list tags params
func (*AdminListTagsParams) WithNamespace ¶
func (o *AdminListTagsParams) WithNamespace(namespace string) *AdminListTagsParams
WithNamespace adds the namespace to the admin list tags params
func (*AdminListTagsParams) WithOffset ¶
func (o *AdminListTagsParams) WithOffset(offset *int64) *AdminListTagsParams
WithOffset adds the offset to the admin list tags params
func (*AdminListTagsParams) WithOwner ¶
func (o *AdminListTagsParams) WithOwner(owner *string) *AdminListTagsParams
WithOwner adds the owner to the admin list tags params
func (*AdminListTagsParams) WithSortBy ¶
func (o *AdminListTagsParams) WithSortBy(sortBy *string) *AdminListTagsParams
WithSortBy adds the sortBy to the admin list tags params
func (*AdminListTagsParams) WithTimeout ¶
func (o *AdminListTagsParams) WithTimeout(timeout time.Duration) *AdminListTagsParams
WithTimeout adds the timeout to the admin list tags params
func (*AdminListTagsParams) WriteToRequest ¶
func (o *AdminListTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminListTagsReader ¶
type AdminListTagsReader struct {
// contains filtered or unexported fields
}
AdminListTagsReader is a Reader for the AdminListTags structure.
func (*AdminListTagsReader) ReadResponse ¶
func (o *AdminListTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin tags API
func (*Client) AdminCreateTag
deprecated
func (a *Client) AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagConflict, *AdminCreateTagInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateTagShort instead.
AdminCreateTag to create a tag ¶
This endpoint will create a new tag. The tag name must be unique per namespace. It is safe to call this endpoint even if the tag already exists.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [CREATE]
func (*Client) AdminCreateTagShort ¶
func (a *Client) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error)
AdminCreateTagShort to create a tag
This endpoint will create a new tag. The tag name must be unique per namespace. It is safe to call this endpoint even if the tag already exists.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [CREATE]
func (*Client) AdminDeleteTag
deprecated
func (a *Client) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagNotFound, *AdminDeleteTagInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteTagShort instead.
AdminDeleteTag to delete a tag ¶
This endpoint will delete a tag by tagName in a specified namespace. If the tagName doesn't exist in a namespace, it'll return not found.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [DELETE]
func (*Client) AdminDeleteTagShort ¶
func (a *Client) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error)
AdminDeleteTagShort to delete a tag
This endpoint will delete a tag by tagName in a specified namespace. If the tagName doesn't exist in a namespace, it'll return not found.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [DELETE]
func (*Client) AdminListTags
deprecated
func (a *Client) AdminListTags(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, *AdminListTagsBadRequest, *AdminListTagsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminListTagsShort instead.
AdminListTags to list tags ¶
This endpoint will list all tags in a namespace. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [READ]
func (*Client) AdminListTagsShort ¶
func (a *Client) AdminListTagsShort(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, error)
AdminListTagsShort to list tags
This endpoint will list all tags in a namespace. The response body will be in the form of standard pagination.
Permission: ADMIN:NAMESPACE:{namespace}:INVENTORY:TAG [READ]
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminListTags(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, *AdminListTagsBadRequest, *AdminListTagsInternalServerError, error) AdminListTagsShort(params *AdminListTagsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminListTagsOK, error) AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagConflict, *AdminCreateTagInternalServerError, error) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagNotFound, *AdminDeleteTagInternalServerError, error) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, 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 admin tags API client.