project_searches_v1

package
v0.0.0-...-13a6dad Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for project searches v1 API

func (*Client) CreateProjectSearch

CreateProjectSearch creates project search

func (*Client) DeleteProjectSearch

DeleteProjectSearch deletes project search

func (*Client) GetProjectSearch

GetProjectSearch gets project search

func (*Client) ListProjectSearchNames

ListProjectSearchNames lists project search names

func (*Client) ListProjectSearches

ListProjectSearches lists project searches

func (*Client) PatchProjectSearch

PatchProjectSearch patches project search

func (*Client) PromoteProjectSearch

PromoteProjectSearch promotes project search

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateProjectSearch

UpdateProjectSearch updates project search

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreateProjectSearch(params *CreateProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateProjectSearchOK, *CreateProjectSearchNoContent, error)

	DeleteProjectSearch(params *DeleteProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteProjectSearchOK, *DeleteProjectSearchNoContent, error)

	GetProjectSearch(params *GetProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjectSearchOK, *GetProjectSearchNoContent, error)

	ListProjectSearchNames(params *ListProjectSearchNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSearchNamesOK, *ListProjectSearchNamesNoContent, error)

	ListProjectSearches(params *ListProjectSearchesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListProjectSearchesOK, *ListProjectSearchesNoContent, error)

	PatchProjectSearch(params *PatchProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchProjectSearchOK, *PatchProjectSearchNoContent, error)

	PromoteProjectSearch(params *PromoteProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PromoteProjectSearchOK, *PromoteProjectSearchNoContent, error)

	UpdateProjectSearch(params *UpdateProjectSearchParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateProjectSearchOK, *UpdateProjectSearchNoContent, 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 project searches v1 API client.

type CreateProjectSearchDefault

type CreateProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
CreateProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewCreateProjectSearchDefault

func NewCreateProjectSearchDefault(code int) *CreateProjectSearchDefault

NewCreateProjectSearchDefault creates a CreateProjectSearchDefault with default headers values

func (*CreateProjectSearchDefault) Code

func (o *CreateProjectSearchDefault) Code() int

Code gets the status code for the create project search default response

func (*CreateProjectSearchDefault) Error

func (*CreateProjectSearchDefault) GetPayload

type CreateProjectSearchForbidden

type CreateProjectSearchForbidden struct {
	Payload interface{}
}
CreateProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewCreateProjectSearchForbidden

func NewCreateProjectSearchForbidden() *CreateProjectSearchForbidden

NewCreateProjectSearchForbidden creates a CreateProjectSearchForbidden with default headers values

func (*CreateProjectSearchForbidden) Error

func (*CreateProjectSearchForbidden) GetPayload

func (o *CreateProjectSearchForbidden) GetPayload() interface{}

type CreateProjectSearchNoContent

type CreateProjectSearchNoContent struct {
	Payload interface{}
}
CreateProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewCreateProjectSearchNoContent

func NewCreateProjectSearchNoContent() *CreateProjectSearchNoContent

NewCreateProjectSearchNoContent creates a CreateProjectSearchNoContent with default headers values

func (*CreateProjectSearchNoContent) Error

func (*CreateProjectSearchNoContent) GetPayload

func (o *CreateProjectSearchNoContent) GetPayload() interface{}

type CreateProjectSearchNotFound

type CreateProjectSearchNotFound struct {
	Payload interface{}
}
CreateProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewCreateProjectSearchNotFound

func NewCreateProjectSearchNotFound() *CreateProjectSearchNotFound

NewCreateProjectSearchNotFound creates a CreateProjectSearchNotFound with default headers values

func (*CreateProjectSearchNotFound) Error

func (*CreateProjectSearchNotFound) GetPayload

func (o *CreateProjectSearchNotFound) GetPayload() interface{}

type CreateProjectSearchOK

type CreateProjectSearchOK struct {
	Payload *service_model.V1Search
}
CreateProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewCreateProjectSearchOK

func NewCreateProjectSearchOK() *CreateProjectSearchOK

NewCreateProjectSearchOK creates a CreateProjectSearchOK with default headers values

func (*CreateProjectSearchOK) Error

func (o *CreateProjectSearchOK) Error() string

func (*CreateProjectSearchOK) GetPayload

func (o *CreateProjectSearchOK) GetPayload() *service_model.V1Search

type CreateProjectSearchParams

type CreateProjectSearchParams struct {

	/* Body.

	   Search body
	*/
	Body *service_model.V1Search

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Project.

	   Project under namesapce
	*/
	Project string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateProjectSearchParams contains all the parameters to send to the API endpoint

for the create project search operation.

Typically these are written to a http.Request.

func NewCreateProjectSearchParams

func NewCreateProjectSearchParams() *CreateProjectSearchParams

NewCreateProjectSearchParams creates a new CreateProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreateProjectSearchParamsWithContext

func NewCreateProjectSearchParamsWithContext(ctx context.Context) *CreateProjectSearchParams

NewCreateProjectSearchParamsWithContext creates a new CreateProjectSearchParams object with the ability to set a context for a request.

func NewCreateProjectSearchParamsWithHTTPClient

func NewCreateProjectSearchParamsWithHTTPClient(client *http.Client) *CreateProjectSearchParams

NewCreateProjectSearchParamsWithHTTPClient creates a new CreateProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewCreateProjectSearchParamsWithTimeout

func NewCreateProjectSearchParamsWithTimeout(timeout time.Duration) *CreateProjectSearchParams

NewCreateProjectSearchParamsWithTimeout creates a new CreateProjectSearchParams object with the ability to set a timeout on a request.

func (*CreateProjectSearchParams) SetBody

SetBody adds the body to the create project search params

func (*CreateProjectSearchParams) SetContext

func (o *CreateProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the create project search params

func (*CreateProjectSearchParams) SetDefaults

func (o *CreateProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the create project search params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectSearchParams) SetHTTPClient

func (o *CreateProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create project search params

func (*CreateProjectSearchParams) SetOwner

func (o *CreateProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the create project search params

func (*CreateProjectSearchParams) SetProject

func (o *CreateProjectSearchParams) SetProject(project string)

SetProject adds the project to the create project search params

func (*CreateProjectSearchParams) SetTimeout

func (o *CreateProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create project search params

func (*CreateProjectSearchParams) WithBody

WithBody adds the body to the create project search params

func (*CreateProjectSearchParams) WithContext

WithContext adds the context to the create project search params

func (*CreateProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the create project search params (not the query body).

All values with no default are reset to their zero value.

func (*CreateProjectSearchParams) WithHTTPClient

func (o *CreateProjectSearchParams) WithHTTPClient(client *http.Client) *CreateProjectSearchParams

WithHTTPClient adds the HTTPClient to the create project search params

func (*CreateProjectSearchParams) WithOwner

WithOwner adds the owner to the create project search params

func (*CreateProjectSearchParams) WithProject

WithProject adds the project to the create project search params

func (*CreateProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the create project search params

func (*CreateProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CreateProjectSearchReader

type CreateProjectSearchReader struct {
	// contains filtered or unexported fields
}

CreateProjectSearchReader is a Reader for the CreateProjectSearch structure.

func (*CreateProjectSearchReader) ReadResponse

func (o *CreateProjectSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteProjectSearchDefault

type DeleteProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
DeleteProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewDeleteProjectSearchDefault

func NewDeleteProjectSearchDefault(code int) *DeleteProjectSearchDefault

NewDeleteProjectSearchDefault creates a DeleteProjectSearchDefault with default headers values

func (*DeleteProjectSearchDefault) Code

func (o *DeleteProjectSearchDefault) Code() int

Code gets the status code for the delete project search default response

func (*DeleteProjectSearchDefault) Error

func (*DeleteProjectSearchDefault) GetPayload

type DeleteProjectSearchForbidden

type DeleteProjectSearchForbidden struct {
	Payload interface{}
}
DeleteProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewDeleteProjectSearchForbidden

func NewDeleteProjectSearchForbidden() *DeleteProjectSearchForbidden

NewDeleteProjectSearchForbidden creates a DeleteProjectSearchForbidden with default headers values

func (*DeleteProjectSearchForbidden) Error

func (*DeleteProjectSearchForbidden) GetPayload

func (o *DeleteProjectSearchForbidden) GetPayload() interface{}

type DeleteProjectSearchNoContent

type DeleteProjectSearchNoContent struct {
	Payload interface{}
}
DeleteProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewDeleteProjectSearchNoContent

func NewDeleteProjectSearchNoContent() *DeleteProjectSearchNoContent

NewDeleteProjectSearchNoContent creates a DeleteProjectSearchNoContent with default headers values

func (*DeleteProjectSearchNoContent) Error

func (*DeleteProjectSearchNoContent) GetPayload

func (o *DeleteProjectSearchNoContent) GetPayload() interface{}

type DeleteProjectSearchNotFound

type DeleteProjectSearchNotFound struct {
	Payload interface{}
}
DeleteProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewDeleteProjectSearchNotFound

func NewDeleteProjectSearchNotFound() *DeleteProjectSearchNotFound

NewDeleteProjectSearchNotFound creates a DeleteProjectSearchNotFound with default headers values

func (*DeleteProjectSearchNotFound) Error

func (*DeleteProjectSearchNotFound) GetPayload

func (o *DeleteProjectSearchNotFound) GetPayload() interface{}

type DeleteProjectSearchOK

type DeleteProjectSearchOK struct {
}
DeleteProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewDeleteProjectSearchOK

func NewDeleteProjectSearchOK() *DeleteProjectSearchOK

NewDeleteProjectSearchOK creates a DeleteProjectSearchOK with default headers values

func (*DeleteProjectSearchOK) Error

func (o *DeleteProjectSearchOK) Error() string

type DeleteProjectSearchParams

type DeleteProjectSearchParams struct {

	/* Entity.

	   Entity: project name, hub name, registry name, ...
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the sub-entity
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteProjectSearchParams contains all the parameters to send to the API endpoint

for the delete project search operation.

Typically these are written to a http.Request.

func NewDeleteProjectSearchParams

func NewDeleteProjectSearchParams() *DeleteProjectSearchParams

NewDeleteProjectSearchParams creates a new DeleteProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeleteProjectSearchParamsWithContext

func NewDeleteProjectSearchParamsWithContext(ctx context.Context) *DeleteProjectSearchParams

NewDeleteProjectSearchParamsWithContext creates a new DeleteProjectSearchParams object with the ability to set a context for a request.

func NewDeleteProjectSearchParamsWithHTTPClient

func NewDeleteProjectSearchParamsWithHTTPClient(client *http.Client) *DeleteProjectSearchParams

NewDeleteProjectSearchParamsWithHTTPClient creates a new DeleteProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteProjectSearchParamsWithTimeout

func NewDeleteProjectSearchParamsWithTimeout(timeout time.Duration) *DeleteProjectSearchParams

NewDeleteProjectSearchParamsWithTimeout creates a new DeleteProjectSearchParams object with the ability to set a timeout on a request.

func (*DeleteProjectSearchParams) SetContext

func (o *DeleteProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the delete project search params

func (*DeleteProjectSearchParams) SetDefaults

func (o *DeleteProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the delete project search params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectSearchParams) SetEntity

func (o *DeleteProjectSearchParams) SetEntity(entity string)

SetEntity adds the entity to the delete project search params

func (*DeleteProjectSearchParams) SetHTTPClient

func (o *DeleteProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete project search params

func (*DeleteProjectSearchParams) SetOwner

func (o *DeleteProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the delete project search params

func (*DeleteProjectSearchParams) SetTimeout

func (o *DeleteProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete project search params

func (*DeleteProjectSearchParams) SetUUID

func (o *DeleteProjectSearchParams) SetUUID(uuid string)

SetUUID adds the uuid to the delete project search params

func (*DeleteProjectSearchParams) WithContext

WithContext adds the context to the delete project search params

func (*DeleteProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the delete project search params (not the query body).

All values with no default are reset to their zero value.

func (*DeleteProjectSearchParams) WithEntity

WithEntity adds the entity to the delete project search params

func (*DeleteProjectSearchParams) WithHTTPClient

func (o *DeleteProjectSearchParams) WithHTTPClient(client *http.Client) *DeleteProjectSearchParams

WithHTTPClient adds the HTTPClient to the delete project search params

func (*DeleteProjectSearchParams) WithOwner

WithOwner adds the owner to the delete project search params

func (*DeleteProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the delete project search params

func (*DeleteProjectSearchParams) WithUUID

WithUUID adds the uuid to the delete project search params

func (*DeleteProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteProjectSearchReader

type DeleteProjectSearchReader struct {
	// contains filtered or unexported fields
}

DeleteProjectSearchReader is a Reader for the DeleteProjectSearch structure.

func (*DeleteProjectSearchReader) ReadResponse

func (o *DeleteProjectSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetProjectSearchDefault

type GetProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
GetProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewGetProjectSearchDefault

func NewGetProjectSearchDefault(code int) *GetProjectSearchDefault

NewGetProjectSearchDefault creates a GetProjectSearchDefault with default headers values

func (*GetProjectSearchDefault) Code

func (o *GetProjectSearchDefault) Code() int

Code gets the status code for the get project search default response

func (*GetProjectSearchDefault) Error

func (o *GetProjectSearchDefault) Error() string

func (*GetProjectSearchDefault) GetPayload

type GetProjectSearchForbidden

type GetProjectSearchForbidden struct {
	Payload interface{}
}
GetProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewGetProjectSearchForbidden

func NewGetProjectSearchForbidden() *GetProjectSearchForbidden

NewGetProjectSearchForbidden creates a GetProjectSearchForbidden with default headers values

func (*GetProjectSearchForbidden) Error

func (o *GetProjectSearchForbidden) Error() string

func (*GetProjectSearchForbidden) GetPayload

func (o *GetProjectSearchForbidden) GetPayload() interface{}

type GetProjectSearchNoContent

type GetProjectSearchNoContent struct {
	Payload interface{}
}
GetProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewGetProjectSearchNoContent

func NewGetProjectSearchNoContent() *GetProjectSearchNoContent

NewGetProjectSearchNoContent creates a GetProjectSearchNoContent with default headers values

func (*GetProjectSearchNoContent) Error

func (o *GetProjectSearchNoContent) Error() string

func (*GetProjectSearchNoContent) GetPayload

func (o *GetProjectSearchNoContent) GetPayload() interface{}

type GetProjectSearchNotFound

type GetProjectSearchNotFound struct {
	Payload interface{}
}
GetProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewGetProjectSearchNotFound

func NewGetProjectSearchNotFound() *GetProjectSearchNotFound

NewGetProjectSearchNotFound creates a GetProjectSearchNotFound with default headers values

func (*GetProjectSearchNotFound) Error

func (o *GetProjectSearchNotFound) Error() string

func (*GetProjectSearchNotFound) GetPayload

func (o *GetProjectSearchNotFound) GetPayload() interface{}

type GetProjectSearchOK

type GetProjectSearchOK struct {
	Payload *service_model.V1Search
}
GetProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewGetProjectSearchOK

func NewGetProjectSearchOK() *GetProjectSearchOK

NewGetProjectSearchOK creates a GetProjectSearchOK with default headers values

func (*GetProjectSearchOK) Error

func (o *GetProjectSearchOK) Error() string

func (*GetProjectSearchOK) GetPayload

func (o *GetProjectSearchOK) GetPayload() *service_model.V1Search

type GetProjectSearchParams

type GetProjectSearchParams struct {

	/* Entity.

	   Entity: project name, hub name, registry name, ...
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the sub-entity
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetProjectSearchParams contains all the parameters to send to the API endpoint

for the get project search operation.

Typically these are written to a http.Request.

func NewGetProjectSearchParams

func NewGetProjectSearchParams() *GetProjectSearchParams

NewGetProjectSearchParams creates a new GetProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetProjectSearchParamsWithContext

func NewGetProjectSearchParamsWithContext(ctx context.Context) *GetProjectSearchParams

NewGetProjectSearchParamsWithContext creates a new GetProjectSearchParams object with the ability to set a context for a request.

func NewGetProjectSearchParamsWithHTTPClient

func NewGetProjectSearchParamsWithHTTPClient(client *http.Client) *GetProjectSearchParams

NewGetProjectSearchParamsWithHTTPClient creates a new GetProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewGetProjectSearchParamsWithTimeout

func NewGetProjectSearchParamsWithTimeout(timeout time.Duration) *GetProjectSearchParams

NewGetProjectSearchParamsWithTimeout creates a new GetProjectSearchParams object with the ability to set a timeout on a request.

func (*GetProjectSearchParams) SetContext

func (o *GetProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the get project search params

func (*GetProjectSearchParams) SetDefaults

func (o *GetProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the get project search params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectSearchParams) SetEntity

func (o *GetProjectSearchParams) SetEntity(entity string)

SetEntity adds the entity to the get project search params

func (*GetProjectSearchParams) SetHTTPClient

func (o *GetProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get project search params

func (*GetProjectSearchParams) SetOwner

func (o *GetProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the get project search params

func (*GetProjectSearchParams) SetTimeout

func (o *GetProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get project search params

func (*GetProjectSearchParams) SetUUID

func (o *GetProjectSearchParams) SetUUID(uuid string)

SetUUID adds the uuid to the get project search params

func (*GetProjectSearchParams) WithContext

WithContext adds the context to the get project search params

func (*GetProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the get project search params (not the query body).

All values with no default are reset to their zero value.

func (*GetProjectSearchParams) WithEntity

func (o *GetProjectSearchParams) WithEntity(entity string) *GetProjectSearchParams

WithEntity adds the entity to the get project search params

func (*GetProjectSearchParams) WithHTTPClient

func (o *GetProjectSearchParams) WithHTTPClient(client *http.Client) *GetProjectSearchParams

WithHTTPClient adds the HTTPClient to the get project search params

func (*GetProjectSearchParams) WithOwner

WithOwner adds the owner to the get project search params

func (*GetProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the get project search params

func (*GetProjectSearchParams) WithUUID

WithUUID adds the uuid to the get project search params

func (*GetProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetProjectSearchReader

type GetProjectSearchReader struct {
	// contains filtered or unexported fields
}

GetProjectSearchReader is a Reader for the GetProjectSearch structure.

func (*GetProjectSearchReader) ReadResponse

func (o *GetProjectSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProjectSearchNamesDefault

type ListProjectSearchNamesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListProjectSearchNamesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListProjectSearchNamesDefault

func NewListProjectSearchNamesDefault(code int) *ListProjectSearchNamesDefault

NewListProjectSearchNamesDefault creates a ListProjectSearchNamesDefault with default headers values

func (*ListProjectSearchNamesDefault) Code

Code gets the status code for the list project search names default response

func (*ListProjectSearchNamesDefault) Error

func (*ListProjectSearchNamesDefault) GetPayload

type ListProjectSearchNamesForbidden

type ListProjectSearchNamesForbidden struct {
	Payload interface{}
}
ListProjectSearchNamesForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListProjectSearchNamesForbidden

func NewListProjectSearchNamesForbidden() *ListProjectSearchNamesForbidden

NewListProjectSearchNamesForbidden creates a ListProjectSearchNamesForbidden with default headers values

func (*ListProjectSearchNamesForbidden) Error

func (*ListProjectSearchNamesForbidden) GetPayload

func (o *ListProjectSearchNamesForbidden) GetPayload() interface{}

type ListProjectSearchNamesNoContent

type ListProjectSearchNamesNoContent struct {
	Payload interface{}
}
ListProjectSearchNamesNoContent describes a response with status code 204, with default header values.

No content.

func NewListProjectSearchNamesNoContent

func NewListProjectSearchNamesNoContent() *ListProjectSearchNamesNoContent

NewListProjectSearchNamesNoContent creates a ListProjectSearchNamesNoContent with default headers values

func (*ListProjectSearchNamesNoContent) Error

func (*ListProjectSearchNamesNoContent) GetPayload

func (o *ListProjectSearchNamesNoContent) GetPayload() interface{}

type ListProjectSearchNamesNotFound

type ListProjectSearchNamesNotFound struct {
	Payload interface{}
}
ListProjectSearchNamesNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListProjectSearchNamesNotFound

func NewListProjectSearchNamesNotFound() *ListProjectSearchNamesNotFound

NewListProjectSearchNamesNotFound creates a ListProjectSearchNamesNotFound with default headers values

func (*ListProjectSearchNamesNotFound) Error

func (*ListProjectSearchNamesNotFound) GetPayload

func (o *ListProjectSearchNamesNotFound) GetPayload() interface{}

type ListProjectSearchNamesOK

type ListProjectSearchNamesOK struct {
	Payload *service_model.V1ListSearchesResponse
}
ListProjectSearchNamesOK describes a response with status code 200, with default header values.

A successful response.

func NewListProjectSearchNamesOK

func NewListProjectSearchNamesOK() *ListProjectSearchNamesOK

NewListProjectSearchNamesOK creates a ListProjectSearchNamesOK with default headers values

func (*ListProjectSearchNamesOK) Error

func (o *ListProjectSearchNamesOK) Error() string

func (*ListProjectSearchNamesOK) GetPayload

type ListProjectSearchNamesParams

type ListProjectSearchNamesParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* Name.

	   Entity managing the resource
	*/
	Name string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectSearchNamesParams contains all the parameters to send to the API endpoint

for the list project search names operation.

Typically these are written to a http.Request.

func NewListProjectSearchNamesParams

func NewListProjectSearchNamesParams() *ListProjectSearchNamesParams

NewListProjectSearchNamesParams creates a new ListProjectSearchNamesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectSearchNamesParamsWithContext

func NewListProjectSearchNamesParamsWithContext(ctx context.Context) *ListProjectSearchNamesParams

NewListProjectSearchNamesParamsWithContext creates a new ListProjectSearchNamesParams object with the ability to set a context for a request.

func NewListProjectSearchNamesParamsWithHTTPClient

func NewListProjectSearchNamesParamsWithHTTPClient(client *http.Client) *ListProjectSearchNamesParams

NewListProjectSearchNamesParamsWithHTTPClient creates a new ListProjectSearchNamesParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectSearchNamesParamsWithTimeout

func NewListProjectSearchNamesParamsWithTimeout(timeout time.Duration) *ListProjectSearchNamesParams

NewListProjectSearchNamesParamsWithTimeout creates a new ListProjectSearchNamesParams object with the ability to set a timeout on a request.

func (*ListProjectSearchNamesParams) SetContext

func (o *ListProjectSearchNamesParams) SetContext(ctx context.Context)

SetContext adds the context to the list project search names params

func (*ListProjectSearchNamesParams) SetDefaults

func (o *ListProjectSearchNamesParams) SetDefaults()

SetDefaults hydrates default values in the list project search names params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSearchNamesParams) SetHTTPClient

func (o *ListProjectSearchNamesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project search names params

func (*ListProjectSearchNamesParams) SetLimit

func (o *ListProjectSearchNamesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list project search names params

func (*ListProjectSearchNamesParams) SetMode

func (o *ListProjectSearchNamesParams) SetMode(mode *string)

SetMode adds the mode to the list project search names params

func (*ListProjectSearchNamesParams) SetName

func (o *ListProjectSearchNamesParams) SetName(name string)

SetName adds the name to the list project search names params

func (*ListProjectSearchNamesParams) SetNoPage

func (o *ListProjectSearchNamesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list project search names params

func (*ListProjectSearchNamesParams) SetOffset

func (o *ListProjectSearchNamesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list project search names params

func (*ListProjectSearchNamesParams) SetOwner

func (o *ListProjectSearchNamesParams) SetOwner(owner string)

SetOwner adds the owner to the list project search names params

func (*ListProjectSearchNamesParams) SetQuery

func (o *ListProjectSearchNamesParams) SetQuery(query *string)

SetQuery adds the query to the list project search names params

func (*ListProjectSearchNamesParams) SetSort

func (o *ListProjectSearchNamesParams) SetSort(sort *string)

SetSort adds the sort to the list project search names params

func (*ListProjectSearchNamesParams) SetTimeout

func (o *ListProjectSearchNamesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project search names params

func (*ListProjectSearchNamesParams) WithContext

WithContext adds the context to the list project search names params

func (*ListProjectSearchNamesParams) WithDefaults

WithDefaults hydrates default values in the list project search names params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSearchNamesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list project search names params

func (*ListProjectSearchNamesParams) WithLimit

WithLimit adds the limit to the list project search names params

func (*ListProjectSearchNamesParams) WithMode

WithMode adds the mode to the list project search names params

func (*ListProjectSearchNamesParams) WithName

WithName adds the name to the list project search names params

func (*ListProjectSearchNamesParams) WithNoPage

WithNoPage adds the noPage to the list project search names params

func (*ListProjectSearchNamesParams) WithOffset

WithOffset adds the offset to the list project search names params

func (*ListProjectSearchNamesParams) WithOwner

WithOwner adds the owner to the list project search names params

func (*ListProjectSearchNamesParams) WithQuery

WithQuery adds the query to the list project search names params

func (*ListProjectSearchNamesParams) WithSort

WithSort adds the sort to the list project search names params

func (*ListProjectSearchNamesParams) WithTimeout

WithTimeout adds the timeout to the list project search names params

func (*ListProjectSearchNamesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectSearchNamesReader

type ListProjectSearchNamesReader struct {
	// contains filtered or unexported fields
}

ListProjectSearchNamesReader is a Reader for the ListProjectSearchNames structure.

func (*ListProjectSearchNamesReader) ReadResponse

func (o *ListProjectSearchNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListProjectSearchesDefault

type ListProjectSearchesDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
ListProjectSearchesDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewListProjectSearchesDefault

func NewListProjectSearchesDefault(code int) *ListProjectSearchesDefault

NewListProjectSearchesDefault creates a ListProjectSearchesDefault with default headers values

func (*ListProjectSearchesDefault) Code

func (o *ListProjectSearchesDefault) Code() int

Code gets the status code for the list project searches default response

func (*ListProjectSearchesDefault) Error

func (*ListProjectSearchesDefault) GetPayload

type ListProjectSearchesForbidden

type ListProjectSearchesForbidden struct {
	Payload interface{}
}
ListProjectSearchesForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewListProjectSearchesForbidden

func NewListProjectSearchesForbidden() *ListProjectSearchesForbidden

NewListProjectSearchesForbidden creates a ListProjectSearchesForbidden with default headers values

func (*ListProjectSearchesForbidden) Error

func (*ListProjectSearchesForbidden) GetPayload

func (o *ListProjectSearchesForbidden) GetPayload() interface{}

type ListProjectSearchesNoContent

type ListProjectSearchesNoContent struct {
	Payload interface{}
}
ListProjectSearchesNoContent describes a response with status code 204, with default header values.

No content.

func NewListProjectSearchesNoContent

func NewListProjectSearchesNoContent() *ListProjectSearchesNoContent

NewListProjectSearchesNoContent creates a ListProjectSearchesNoContent with default headers values

func (*ListProjectSearchesNoContent) Error

func (*ListProjectSearchesNoContent) GetPayload

func (o *ListProjectSearchesNoContent) GetPayload() interface{}

type ListProjectSearchesNotFound

type ListProjectSearchesNotFound struct {
	Payload interface{}
}
ListProjectSearchesNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewListProjectSearchesNotFound

func NewListProjectSearchesNotFound() *ListProjectSearchesNotFound

NewListProjectSearchesNotFound creates a ListProjectSearchesNotFound with default headers values

func (*ListProjectSearchesNotFound) Error

func (*ListProjectSearchesNotFound) GetPayload

func (o *ListProjectSearchesNotFound) GetPayload() interface{}

type ListProjectSearchesOK

type ListProjectSearchesOK struct {
	Payload *service_model.V1ListSearchesResponse
}
ListProjectSearchesOK describes a response with status code 200, with default header values.

A successful response.

func NewListProjectSearchesOK

func NewListProjectSearchesOK() *ListProjectSearchesOK

NewListProjectSearchesOK creates a ListProjectSearchesOK with default headers values

func (*ListProjectSearchesOK) Error

func (o *ListProjectSearchesOK) Error() string

func (*ListProjectSearchesOK) GetPayload

type ListProjectSearchesParams

type ListProjectSearchesParams struct {

	/* Limit.

	   Limit size.

	   Format: int32
	*/
	Limit *int32

	/* Mode.

	   Mode of the search.
	*/
	Mode *string

	/* Name.

	   Entity managing the resource
	*/
	Name string

	/* NoPage.

	   No pagination.
	*/
	NoPage *bool

	/* Offset.

	   Pagination offset.

	   Format: int32
	*/
	Offset *int32

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Query.

	   Query filter the search.
	*/
	Query *string

	/* Sort.

	   Sort to order the search.
	*/
	Sort *string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListProjectSearchesParams contains all the parameters to send to the API endpoint

for the list project searches operation.

Typically these are written to a http.Request.

func NewListProjectSearchesParams

func NewListProjectSearchesParams() *ListProjectSearchesParams

NewListProjectSearchesParams creates a new ListProjectSearchesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewListProjectSearchesParamsWithContext

func NewListProjectSearchesParamsWithContext(ctx context.Context) *ListProjectSearchesParams

NewListProjectSearchesParamsWithContext creates a new ListProjectSearchesParams object with the ability to set a context for a request.

func NewListProjectSearchesParamsWithHTTPClient

func NewListProjectSearchesParamsWithHTTPClient(client *http.Client) *ListProjectSearchesParams

NewListProjectSearchesParamsWithHTTPClient creates a new ListProjectSearchesParams object with the ability to set a custom HTTPClient for a request.

func NewListProjectSearchesParamsWithTimeout

func NewListProjectSearchesParamsWithTimeout(timeout time.Duration) *ListProjectSearchesParams

NewListProjectSearchesParamsWithTimeout creates a new ListProjectSearchesParams object with the ability to set a timeout on a request.

func (*ListProjectSearchesParams) SetContext

func (o *ListProjectSearchesParams) SetContext(ctx context.Context)

SetContext adds the context to the list project searches params

func (*ListProjectSearchesParams) SetDefaults

func (o *ListProjectSearchesParams) SetDefaults()

SetDefaults hydrates default values in the list project searches params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSearchesParams) SetHTTPClient

func (o *ListProjectSearchesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list project searches params

func (*ListProjectSearchesParams) SetLimit

func (o *ListProjectSearchesParams) SetLimit(limit *int32)

SetLimit adds the limit to the list project searches params

func (*ListProjectSearchesParams) SetMode

func (o *ListProjectSearchesParams) SetMode(mode *string)

SetMode adds the mode to the list project searches params

func (*ListProjectSearchesParams) SetName

func (o *ListProjectSearchesParams) SetName(name string)

SetName adds the name to the list project searches params

func (*ListProjectSearchesParams) SetNoPage

func (o *ListProjectSearchesParams) SetNoPage(noPage *bool)

SetNoPage adds the noPage to the list project searches params

func (*ListProjectSearchesParams) SetOffset

func (o *ListProjectSearchesParams) SetOffset(offset *int32)

SetOffset adds the offset to the list project searches params

func (*ListProjectSearchesParams) SetOwner

func (o *ListProjectSearchesParams) SetOwner(owner string)

SetOwner adds the owner to the list project searches params

func (*ListProjectSearchesParams) SetQuery

func (o *ListProjectSearchesParams) SetQuery(query *string)

SetQuery adds the query to the list project searches params

func (*ListProjectSearchesParams) SetSort

func (o *ListProjectSearchesParams) SetSort(sort *string)

SetSort adds the sort to the list project searches params

func (*ListProjectSearchesParams) SetTimeout

func (o *ListProjectSearchesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list project searches params

func (*ListProjectSearchesParams) WithContext

WithContext adds the context to the list project searches params

func (*ListProjectSearchesParams) WithDefaults

WithDefaults hydrates default values in the list project searches params (not the query body).

All values with no default are reset to their zero value.

func (*ListProjectSearchesParams) WithHTTPClient

func (o *ListProjectSearchesParams) WithHTTPClient(client *http.Client) *ListProjectSearchesParams

WithHTTPClient adds the HTTPClient to the list project searches params

func (*ListProjectSearchesParams) WithLimit

WithLimit adds the limit to the list project searches params

func (*ListProjectSearchesParams) WithMode

WithMode adds the mode to the list project searches params

func (*ListProjectSearchesParams) WithName

WithName adds the name to the list project searches params

func (*ListProjectSearchesParams) WithNoPage

WithNoPage adds the noPage to the list project searches params

func (*ListProjectSearchesParams) WithOffset

WithOffset adds the offset to the list project searches params

func (*ListProjectSearchesParams) WithOwner

WithOwner adds the owner to the list project searches params

func (*ListProjectSearchesParams) WithQuery

WithQuery adds the query to the list project searches params

func (*ListProjectSearchesParams) WithSort

WithSort adds the sort to the list project searches params

func (*ListProjectSearchesParams) WithTimeout

WithTimeout adds the timeout to the list project searches params

func (*ListProjectSearchesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListProjectSearchesReader

type ListProjectSearchesReader struct {
	// contains filtered or unexported fields
}

ListProjectSearchesReader is a Reader for the ListProjectSearches structure.

func (*ListProjectSearchesReader) ReadResponse

func (o *ListProjectSearchesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PatchProjectSearchDefault

type PatchProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PatchProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPatchProjectSearchDefault

func NewPatchProjectSearchDefault(code int) *PatchProjectSearchDefault

NewPatchProjectSearchDefault creates a PatchProjectSearchDefault with default headers values

func (*PatchProjectSearchDefault) Code

func (o *PatchProjectSearchDefault) Code() int

Code gets the status code for the patch project search default response

func (*PatchProjectSearchDefault) Error

func (o *PatchProjectSearchDefault) Error() string

func (*PatchProjectSearchDefault) GetPayload

type PatchProjectSearchForbidden

type PatchProjectSearchForbidden struct {
	Payload interface{}
}
PatchProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPatchProjectSearchForbidden

func NewPatchProjectSearchForbidden() *PatchProjectSearchForbidden

NewPatchProjectSearchForbidden creates a PatchProjectSearchForbidden with default headers values

func (*PatchProjectSearchForbidden) Error

func (*PatchProjectSearchForbidden) GetPayload

func (o *PatchProjectSearchForbidden) GetPayload() interface{}

type PatchProjectSearchNoContent

type PatchProjectSearchNoContent struct {
	Payload interface{}
}
PatchProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewPatchProjectSearchNoContent

func NewPatchProjectSearchNoContent() *PatchProjectSearchNoContent

NewPatchProjectSearchNoContent creates a PatchProjectSearchNoContent with default headers values

func (*PatchProjectSearchNoContent) Error

func (*PatchProjectSearchNoContent) GetPayload

func (o *PatchProjectSearchNoContent) GetPayload() interface{}

type PatchProjectSearchNotFound

type PatchProjectSearchNotFound struct {
	Payload interface{}
}
PatchProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPatchProjectSearchNotFound

func NewPatchProjectSearchNotFound() *PatchProjectSearchNotFound

NewPatchProjectSearchNotFound creates a PatchProjectSearchNotFound with default headers values

func (*PatchProjectSearchNotFound) Error

func (*PatchProjectSearchNotFound) GetPayload

func (o *PatchProjectSearchNotFound) GetPayload() interface{}

type PatchProjectSearchOK

type PatchProjectSearchOK struct {
	Payload *service_model.V1Search
}
PatchProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewPatchProjectSearchOK

func NewPatchProjectSearchOK() *PatchProjectSearchOK

NewPatchProjectSearchOK creates a PatchProjectSearchOK with default headers values

func (*PatchProjectSearchOK) Error

func (o *PatchProjectSearchOK) Error() string

func (*PatchProjectSearchOK) GetPayload

func (o *PatchProjectSearchOK) GetPayload() *service_model.V1Search

type PatchProjectSearchParams

type PatchProjectSearchParams struct {

	/* Body.

	   Search body
	*/
	Body *service_model.V1Search

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Project.

	   Project under namesapce
	*/
	Project string

	/* SearchUUID.

	   UUID
	*/
	SearchUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PatchProjectSearchParams contains all the parameters to send to the API endpoint

for the patch project search operation.

Typically these are written to a http.Request.

func NewPatchProjectSearchParams

func NewPatchProjectSearchParams() *PatchProjectSearchParams

NewPatchProjectSearchParams creates a new PatchProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPatchProjectSearchParamsWithContext

func NewPatchProjectSearchParamsWithContext(ctx context.Context) *PatchProjectSearchParams

NewPatchProjectSearchParamsWithContext creates a new PatchProjectSearchParams object with the ability to set a context for a request.

func NewPatchProjectSearchParamsWithHTTPClient

func NewPatchProjectSearchParamsWithHTTPClient(client *http.Client) *PatchProjectSearchParams

NewPatchProjectSearchParamsWithHTTPClient creates a new PatchProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewPatchProjectSearchParamsWithTimeout

func NewPatchProjectSearchParamsWithTimeout(timeout time.Duration) *PatchProjectSearchParams

NewPatchProjectSearchParamsWithTimeout creates a new PatchProjectSearchParams object with the ability to set a timeout on a request.

func (*PatchProjectSearchParams) SetBody

SetBody adds the body to the patch project search params

func (*PatchProjectSearchParams) SetContext

func (o *PatchProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the patch project search params

func (*PatchProjectSearchParams) SetDefaults

func (o *PatchProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the patch project search params (not the query body).

All values with no default are reset to their zero value.

func (*PatchProjectSearchParams) SetHTTPClient

func (o *PatchProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the patch project search params

func (*PatchProjectSearchParams) SetOwner

func (o *PatchProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the patch project search params

func (*PatchProjectSearchParams) SetProject

func (o *PatchProjectSearchParams) SetProject(project string)

SetProject adds the project to the patch project search params

func (*PatchProjectSearchParams) SetSearchUUID

func (o *PatchProjectSearchParams) SetSearchUUID(searchUUID string)

SetSearchUUID adds the searchUuid to the patch project search params

func (*PatchProjectSearchParams) SetTimeout

func (o *PatchProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the patch project search params

func (*PatchProjectSearchParams) WithBody

WithBody adds the body to the patch project search params

func (*PatchProjectSearchParams) WithContext

WithContext adds the context to the patch project search params

func (*PatchProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the patch project search params (not the query body).

All values with no default are reset to their zero value.

func (*PatchProjectSearchParams) WithHTTPClient

func (o *PatchProjectSearchParams) WithHTTPClient(client *http.Client) *PatchProjectSearchParams

WithHTTPClient adds the HTTPClient to the patch project search params

func (*PatchProjectSearchParams) WithOwner

WithOwner adds the owner to the patch project search params

func (*PatchProjectSearchParams) WithProject

func (o *PatchProjectSearchParams) WithProject(project string) *PatchProjectSearchParams

WithProject adds the project to the patch project search params

func (*PatchProjectSearchParams) WithSearchUUID

func (o *PatchProjectSearchParams) WithSearchUUID(searchUUID string) *PatchProjectSearchParams

WithSearchUUID adds the searchUUID to the patch project search params

func (*PatchProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the patch project search params

func (*PatchProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PatchProjectSearchReader

type PatchProjectSearchReader struct {
	// contains filtered or unexported fields
}

PatchProjectSearchReader is a Reader for the PatchProjectSearch structure.

func (*PatchProjectSearchReader) ReadResponse

func (o *PatchProjectSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PromoteProjectSearchDefault

type PromoteProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
PromoteProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewPromoteProjectSearchDefault

func NewPromoteProjectSearchDefault(code int) *PromoteProjectSearchDefault

NewPromoteProjectSearchDefault creates a PromoteProjectSearchDefault with default headers values

func (*PromoteProjectSearchDefault) Code

func (o *PromoteProjectSearchDefault) Code() int

Code gets the status code for the promote project search default response

func (*PromoteProjectSearchDefault) Error

func (*PromoteProjectSearchDefault) GetPayload

type PromoteProjectSearchForbidden

type PromoteProjectSearchForbidden struct {
	Payload interface{}
}
PromoteProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewPromoteProjectSearchForbidden

func NewPromoteProjectSearchForbidden() *PromoteProjectSearchForbidden

NewPromoteProjectSearchForbidden creates a PromoteProjectSearchForbidden with default headers values

func (*PromoteProjectSearchForbidden) Error

func (*PromoteProjectSearchForbidden) GetPayload

func (o *PromoteProjectSearchForbidden) GetPayload() interface{}

type PromoteProjectSearchNoContent

type PromoteProjectSearchNoContent struct {
	Payload interface{}
}
PromoteProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewPromoteProjectSearchNoContent

func NewPromoteProjectSearchNoContent() *PromoteProjectSearchNoContent

NewPromoteProjectSearchNoContent creates a PromoteProjectSearchNoContent with default headers values

func (*PromoteProjectSearchNoContent) Error

func (*PromoteProjectSearchNoContent) GetPayload

func (o *PromoteProjectSearchNoContent) GetPayload() interface{}

type PromoteProjectSearchNotFound

type PromoteProjectSearchNotFound struct {
	Payload interface{}
}
PromoteProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewPromoteProjectSearchNotFound

func NewPromoteProjectSearchNotFound() *PromoteProjectSearchNotFound

NewPromoteProjectSearchNotFound creates a PromoteProjectSearchNotFound with default headers values

func (*PromoteProjectSearchNotFound) Error

func (*PromoteProjectSearchNotFound) GetPayload

func (o *PromoteProjectSearchNotFound) GetPayload() interface{}

type PromoteProjectSearchOK

type PromoteProjectSearchOK struct {
}
PromoteProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewPromoteProjectSearchOK

func NewPromoteProjectSearchOK() *PromoteProjectSearchOK

NewPromoteProjectSearchOK creates a PromoteProjectSearchOK with default headers values

func (*PromoteProjectSearchOK) Error

func (o *PromoteProjectSearchOK) Error() string

type PromoteProjectSearchParams

type PromoteProjectSearchParams struct {

	/* Entity.

	   Entity: project name, hub name, registry name, ...
	*/
	Entity string

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* UUID.

	   Uuid identifier of the sub-entity
	*/
	UUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

PromoteProjectSearchParams contains all the parameters to send to the API endpoint

for the promote project search operation.

Typically these are written to a http.Request.

func NewPromoteProjectSearchParams

func NewPromoteProjectSearchParams() *PromoteProjectSearchParams

NewPromoteProjectSearchParams creates a new PromoteProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewPromoteProjectSearchParamsWithContext

func NewPromoteProjectSearchParamsWithContext(ctx context.Context) *PromoteProjectSearchParams

NewPromoteProjectSearchParamsWithContext creates a new PromoteProjectSearchParams object with the ability to set a context for a request.

func NewPromoteProjectSearchParamsWithHTTPClient

func NewPromoteProjectSearchParamsWithHTTPClient(client *http.Client) *PromoteProjectSearchParams

NewPromoteProjectSearchParamsWithHTTPClient creates a new PromoteProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewPromoteProjectSearchParamsWithTimeout

func NewPromoteProjectSearchParamsWithTimeout(timeout time.Duration) *PromoteProjectSearchParams

NewPromoteProjectSearchParamsWithTimeout creates a new PromoteProjectSearchParams object with the ability to set a timeout on a request.

func (*PromoteProjectSearchParams) SetContext

func (o *PromoteProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the promote project search params

func (*PromoteProjectSearchParams) SetDefaults

func (o *PromoteProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the promote project search params (not the query body).

All values with no default are reset to their zero value.

func (*PromoteProjectSearchParams) SetEntity

func (o *PromoteProjectSearchParams) SetEntity(entity string)

SetEntity adds the entity to the promote project search params

func (*PromoteProjectSearchParams) SetHTTPClient

func (o *PromoteProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the promote project search params

func (*PromoteProjectSearchParams) SetOwner

func (o *PromoteProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the promote project search params

func (*PromoteProjectSearchParams) SetTimeout

func (o *PromoteProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the promote project search params

func (*PromoteProjectSearchParams) SetUUID

func (o *PromoteProjectSearchParams) SetUUID(uuid string)

SetUUID adds the uuid to the promote project search params

func (*PromoteProjectSearchParams) WithContext

WithContext adds the context to the promote project search params

func (*PromoteProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the promote project search params (not the query body).

All values with no default are reset to their zero value.

func (*PromoteProjectSearchParams) WithEntity

WithEntity adds the entity to the promote project search params

func (*PromoteProjectSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the promote project search params

func (*PromoteProjectSearchParams) WithOwner

WithOwner adds the owner to the promote project search params

func (*PromoteProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the promote project search params

func (*PromoteProjectSearchParams) WithUUID

WithUUID adds the uuid to the promote project search params

func (*PromoteProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PromoteProjectSearchReader

type PromoteProjectSearchReader struct {
	// contains filtered or unexported fields
}

PromoteProjectSearchReader is a Reader for the PromoteProjectSearch structure.

func (*PromoteProjectSearchReader) ReadResponse

func (o *PromoteProjectSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateProjectSearchDefault

type UpdateProjectSearchDefault struct {
	Payload *service_model.RuntimeError
	// contains filtered or unexported fields
}
UpdateProjectSearchDefault describes a response with status code -1, with default header values.

An unexpected error response.

func NewUpdateProjectSearchDefault

func NewUpdateProjectSearchDefault(code int) *UpdateProjectSearchDefault

NewUpdateProjectSearchDefault creates a UpdateProjectSearchDefault with default headers values

func (*UpdateProjectSearchDefault) Code

func (o *UpdateProjectSearchDefault) Code() int

Code gets the status code for the update project search default response

func (*UpdateProjectSearchDefault) Error

func (*UpdateProjectSearchDefault) GetPayload

type UpdateProjectSearchForbidden

type UpdateProjectSearchForbidden struct {
	Payload interface{}
}
UpdateProjectSearchForbidden describes a response with status code 403, with default header values.

You don't have permission to access the resource.

func NewUpdateProjectSearchForbidden

func NewUpdateProjectSearchForbidden() *UpdateProjectSearchForbidden

NewUpdateProjectSearchForbidden creates a UpdateProjectSearchForbidden with default headers values

func (*UpdateProjectSearchForbidden) Error

func (*UpdateProjectSearchForbidden) GetPayload

func (o *UpdateProjectSearchForbidden) GetPayload() interface{}

type UpdateProjectSearchNoContent

type UpdateProjectSearchNoContent struct {
	Payload interface{}
}
UpdateProjectSearchNoContent describes a response with status code 204, with default header values.

No content.

func NewUpdateProjectSearchNoContent

func NewUpdateProjectSearchNoContent() *UpdateProjectSearchNoContent

NewUpdateProjectSearchNoContent creates a UpdateProjectSearchNoContent with default headers values

func (*UpdateProjectSearchNoContent) Error

func (*UpdateProjectSearchNoContent) GetPayload

func (o *UpdateProjectSearchNoContent) GetPayload() interface{}

type UpdateProjectSearchNotFound

type UpdateProjectSearchNotFound struct {
	Payload interface{}
}
UpdateProjectSearchNotFound describes a response with status code 404, with default header values.

Resource does not exist.

func NewUpdateProjectSearchNotFound

func NewUpdateProjectSearchNotFound() *UpdateProjectSearchNotFound

NewUpdateProjectSearchNotFound creates a UpdateProjectSearchNotFound with default headers values

func (*UpdateProjectSearchNotFound) Error

func (*UpdateProjectSearchNotFound) GetPayload

func (o *UpdateProjectSearchNotFound) GetPayload() interface{}

type UpdateProjectSearchOK

type UpdateProjectSearchOK struct {
	Payload *service_model.V1Search
}
UpdateProjectSearchOK describes a response with status code 200, with default header values.

A successful response.

func NewUpdateProjectSearchOK

func NewUpdateProjectSearchOK() *UpdateProjectSearchOK

NewUpdateProjectSearchOK creates a UpdateProjectSearchOK with default headers values

func (*UpdateProjectSearchOK) Error

func (o *UpdateProjectSearchOK) Error() string

func (*UpdateProjectSearchOK) GetPayload

func (o *UpdateProjectSearchOK) GetPayload() *service_model.V1Search

type UpdateProjectSearchParams

type UpdateProjectSearchParams struct {

	/* Body.

	   Search body
	*/
	Body *service_model.V1Search

	/* Owner.

	   Owner of the namespace
	*/
	Owner string

	/* Project.

	   Project under namesapce
	*/
	Project string

	/* SearchUUID.

	   UUID
	*/
	SearchUUID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateProjectSearchParams contains all the parameters to send to the API endpoint

for the update project search operation.

Typically these are written to a http.Request.

func NewUpdateProjectSearchParams

func NewUpdateProjectSearchParams() *UpdateProjectSearchParams

NewUpdateProjectSearchParams creates a new UpdateProjectSearchParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdateProjectSearchParamsWithContext

func NewUpdateProjectSearchParamsWithContext(ctx context.Context) *UpdateProjectSearchParams

NewUpdateProjectSearchParamsWithContext creates a new UpdateProjectSearchParams object with the ability to set a context for a request.

func NewUpdateProjectSearchParamsWithHTTPClient

func NewUpdateProjectSearchParamsWithHTTPClient(client *http.Client) *UpdateProjectSearchParams

NewUpdateProjectSearchParamsWithHTTPClient creates a new UpdateProjectSearchParams object with the ability to set a custom HTTPClient for a request.

func NewUpdateProjectSearchParamsWithTimeout

func NewUpdateProjectSearchParamsWithTimeout(timeout time.Duration) *UpdateProjectSearchParams

NewUpdateProjectSearchParamsWithTimeout creates a new UpdateProjectSearchParams object with the ability to set a timeout on a request.

func (*UpdateProjectSearchParams) SetBody

SetBody adds the body to the update project search params

func (*UpdateProjectSearchParams) SetContext

func (o *UpdateProjectSearchParams) SetContext(ctx context.Context)

SetContext adds the context to the update project search params

func (*UpdateProjectSearchParams) SetDefaults

func (o *UpdateProjectSearchParams) SetDefaults()

SetDefaults hydrates default values in the update project search params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectSearchParams) SetHTTPClient

func (o *UpdateProjectSearchParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update project search params

func (*UpdateProjectSearchParams) SetOwner

func (o *UpdateProjectSearchParams) SetOwner(owner string)

SetOwner adds the owner to the update project search params

func (*UpdateProjectSearchParams) SetProject

func (o *UpdateProjectSearchParams) SetProject(project string)

SetProject adds the project to the update project search params

func (*UpdateProjectSearchParams) SetSearchUUID

func (o *UpdateProjectSearchParams) SetSearchUUID(searchUUID string)

SetSearchUUID adds the searchUuid to the update project search params

func (*UpdateProjectSearchParams) SetTimeout

func (o *UpdateProjectSearchParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update project search params

func (*UpdateProjectSearchParams) WithBody

WithBody adds the body to the update project search params

func (*UpdateProjectSearchParams) WithContext

WithContext adds the context to the update project search params

func (*UpdateProjectSearchParams) WithDefaults

WithDefaults hydrates default values in the update project search params (not the query body).

All values with no default are reset to their zero value.

func (*UpdateProjectSearchParams) WithHTTPClient

func (o *UpdateProjectSearchParams) WithHTTPClient(client *http.Client) *UpdateProjectSearchParams

WithHTTPClient adds the HTTPClient to the update project search params

func (*UpdateProjectSearchParams) WithOwner

WithOwner adds the owner to the update project search params

func (*UpdateProjectSearchParams) WithProject

WithProject adds the project to the update project search params

func (*UpdateProjectSearchParams) WithSearchUUID

func (o *UpdateProjectSearchParams) WithSearchUUID(searchUUID string) *UpdateProjectSearchParams

WithSearchUUID adds the searchUUID to the update project search params

func (*UpdateProjectSearchParams) WithTimeout

WithTimeout adds the timeout to the update project search params

func (*UpdateProjectSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateProjectSearchReader

type UpdateProjectSearchReader struct {
	// contains filtered or unexported fields
}

UpdateProjectSearchReader is a Reader for the UpdateProjectSearch structure.

func (*UpdateProjectSearchReader) ReadResponse

func (o *UpdateProjectSearchReader) 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