cloud_worker_controller

package
v0.0.0-...-7b3e9a7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 cloud worker controller API

func (*Client) ListCloudWorker

func (a *Client) ListCloudWorker(params *ListCloudWorkerParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudWorkerOK, error)

ListCloudWorker lists

func (*Client) ReadCloudWorker

func (a *Client) ReadCloudWorker(params *ReadCloudWorkerParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudWorkerOK, error)

ReadCloudWorker reads

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ListCloudWorker(params *ListCloudWorkerParams, authInfo runtime.ClientAuthInfoWriter) (*ListCloudWorkerOK, error)

	ReadCloudWorker(params *ReadCloudWorkerParams, authInfo runtime.ClientAuthInfoWriter) (*ReadCloudWorkerOK, 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 cloud worker controller API client.

type ListCloudWorkerBadRequest

type ListCloudWorkerBadRequest struct {
	Payload *models.APIResult
}

ListCloudWorkerBadRequest handles this case with default header values.

Bad Request

func NewListCloudWorkerBadRequest

func NewListCloudWorkerBadRequest() *ListCloudWorkerBadRequest

NewListCloudWorkerBadRequest creates a ListCloudWorkerBadRequest with default headers values

func (*ListCloudWorkerBadRequest) Error

func (o *ListCloudWorkerBadRequest) Error() string

func (*ListCloudWorkerBadRequest) GetPayload

func (o *ListCloudWorkerBadRequest) GetPayload() *models.APIResult

type ListCloudWorkerConflict

type ListCloudWorkerConflict struct {
	Payload *models.APIResult
}

ListCloudWorkerConflict handles this case with default header values.

Conflict

func NewListCloudWorkerConflict

func NewListCloudWorkerConflict() *ListCloudWorkerConflict

NewListCloudWorkerConflict creates a ListCloudWorkerConflict with default headers values

func (*ListCloudWorkerConflict) Error

func (o *ListCloudWorkerConflict) Error() string

func (*ListCloudWorkerConflict) GetPayload

func (o *ListCloudWorkerConflict) GetPayload() *models.APIResult

type ListCloudWorkerForbidden

type ListCloudWorkerForbidden struct {
	Payload *models.APIResult
}

ListCloudWorkerForbidden handles this case with default header values.

Forbidden

func NewListCloudWorkerForbidden

func NewListCloudWorkerForbidden() *ListCloudWorkerForbidden

NewListCloudWorkerForbidden creates a ListCloudWorkerForbidden with default headers values

func (*ListCloudWorkerForbidden) Error

func (o *ListCloudWorkerForbidden) Error() string

func (*ListCloudWorkerForbidden) GetPayload

func (o *ListCloudWorkerForbidden) GetPayload() *models.APIResult

type ListCloudWorkerInternalServerError

type ListCloudWorkerInternalServerError struct {
	Payload *models.APIResult
}

ListCloudWorkerInternalServerError handles this case with default header values.

Internal Server Error

func NewListCloudWorkerInternalServerError

func NewListCloudWorkerInternalServerError() *ListCloudWorkerInternalServerError

NewListCloudWorkerInternalServerError creates a ListCloudWorkerInternalServerError with default headers values

func (*ListCloudWorkerInternalServerError) Error

func (*ListCloudWorkerInternalServerError) GetPayload

type ListCloudWorkerNotFound

type ListCloudWorkerNotFound struct {
	Payload *models.APIResult
}

ListCloudWorkerNotFound handles this case with default header values.

Not Found

func NewListCloudWorkerNotFound

func NewListCloudWorkerNotFound() *ListCloudWorkerNotFound

NewListCloudWorkerNotFound creates a ListCloudWorkerNotFound with default headers values

func (*ListCloudWorkerNotFound) Error

func (o *ListCloudWorkerNotFound) Error() string

func (*ListCloudWorkerNotFound) GetPayload

func (o *ListCloudWorkerNotFound) GetPayload() *models.APIResult

type ListCloudWorkerOK

type ListCloudWorkerOK struct {
	Payload *models.APIResultListCloudWorker
}

ListCloudWorkerOK handles this case with default header values.

OK

func NewListCloudWorkerOK

func NewListCloudWorkerOK() *ListCloudWorkerOK

NewListCloudWorkerOK creates a ListCloudWorkerOK with default headers values

func (*ListCloudWorkerOK) Error

func (o *ListCloudWorkerOK) Error() string

func (*ListCloudWorkerOK) GetPayload

type ListCloudWorkerParams

type ListCloudWorkerParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*Fulltextsearch
	  If 'true', interpret 'q' parameter as full text search query, defaults to 'false'

	*/
	Fulltextsearch *bool
	/*Limit
	  A maximum number of returned objects in listing, if '-1' or '0' no limit is applied

	*/
	Limit *int32
	/*Orderby
	  Fields to order by

	*/
	Orderby *string
	/*Q
	  A search-spec of full text search query (see fulltextsearch parameter)

	*/
	Q *string
	/*Start
	  A start offset in object listing

	*/
	Start *int32

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

ListCloudWorkerParams contains all the parameters to send to the API endpoint for the list cloud worker operation typically these are written to a http.Request

func NewListCloudWorkerParams

func NewListCloudWorkerParams() *ListCloudWorkerParams

NewListCloudWorkerParams creates a new ListCloudWorkerParams object with the default values initialized.

func NewListCloudWorkerParamsWithContext

func NewListCloudWorkerParamsWithContext(ctx context.Context) *ListCloudWorkerParams

NewListCloudWorkerParamsWithContext creates a new ListCloudWorkerParams object with the default values initialized, and the ability to set a context for a request

func NewListCloudWorkerParamsWithHTTPClient

func NewListCloudWorkerParamsWithHTTPClient(client *http.Client) *ListCloudWorkerParams

NewListCloudWorkerParamsWithHTTPClient creates a new ListCloudWorkerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListCloudWorkerParamsWithTimeout

func NewListCloudWorkerParamsWithTimeout(timeout time.Duration) *ListCloudWorkerParams

NewListCloudWorkerParamsWithTimeout creates a new ListCloudWorkerParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListCloudWorkerParams) SetContext

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

SetContext adds the context to the list cloud worker params

func (*ListCloudWorkerParams) SetFields

func (o *ListCloudWorkerParams) SetFields(fields *string)

SetFields adds the fields to the list cloud worker params

func (*ListCloudWorkerParams) SetFulltextsearch

func (o *ListCloudWorkerParams) SetFulltextsearch(fulltextsearch *bool)

SetFulltextsearch adds the fulltextsearch to the list cloud worker params

func (*ListCloudWorkerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list cloud worker params

func (*ListCloudWorkerParams) SetLimit

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

SetLimit adds the limit to the list cloud worker params

func (*ListCloudWorkerParams) SetOrderby

func (o *ListCloudWorkerParams) SetOrderby(orderby *string)

SetOrderby adds the orderby to the list cloud worker params

func (*ListCloudWorkerParams) SetQ

func (o *ListCloudWorkerParams) SetQ(q *string)

SetQ adds the q to the list cloud worker params

func (*ListCloudWorkerParams) SetStart

func (o *ListCloudWorkerParams) SetStart(start *int32)

SetStart adds the start to the list cloud worker params

func (*ListCloudWorkerParams) SetTimeout

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

SetTimeout adds the timeout to the list cloud worker params

func (*ListCloudWorkerParams) WithContext

WithContext adds the context to the list cloud worker params

func (*ListCloudWorkerParams) WithFields

func (o *ListCloudWorkerParams) WithFields(fields *string) *ListCloudWorkerParams

WithFields adds the fields to the list cloud worker params

func (*ListCloudWorkerParams) WithFulltextsearch

func (o *ListCloudWorkerParams) WithFulltextsearch(fulltextsearch *bool) *ListCloudWorkerParams

WithFulltextsearch adds the fulltextsearch to the list cloud worker params

func (*ListCloudWorkerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list cloud worker params

func (*ListCloudWorkerParams) WithLimit

func (o *ListCloudWorkerParams) WithLimit(limit *int32) *ListCloudWorkerParams

WithLimit adds the limit to the list cloud worker params

func (*ListCloudWorkerParams) WithOrderby

func (o *ListCloudWorkerParams) WithOrderby(orderby *string) *ListCloudWorkerParams

WithOrderby adds the orderby to the list cloud worker params

func (*ListCloudWorkerParams) WithQ

WithQ adds the q to the list cloud worker params

func (*ListCloudWorkerParams) WithStart

func (o *ListCloudWorkerParams) WithStart(start *int32) *ListCloudWorkerParams

WithStart adds the start to the list cloud worker params

func (*ListCloudWorkerParams) WithTimeout

func (o *ListCloudWorkerParams) WithTimeout(timeout time.Duration) *ListCloudWorkerParams

WithTimeout adds the timeout to the list cloud worker params

func (*ListCloudWorkerParams) WriteToRequest

func (o *ListCloudWorkerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ListCloudWorkerReader

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

ListCloudWorkerReader is a Reader for the ListCloudWorker structure.

func (*ListCloudWorkerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListCloudWorkerUnauthorized

type ListCloudWorkerUnauthorized struct {
	Payload *models.APIResult
}

ListCloudWorkerUnauthorized handles this case with default header values.

Unauthorized

func NewListCloudWorkerUnauthorized

func NewListCloudWorkerUnauthorized() *ListCloudWorkerUnauthorized

NewListCloudWorkerUnauthorized creates a ListCloudWorkerUnauthorized with default headers values

func (*ListCloudWorkerUnauthorized) Error

func (*ListCloudWorkerUnauthorized) GetPayload

func (o *ListCloudWorkerUnauthorized) GetPayload() *models.APIResult

type ReadCloudWorkerBadRequest

type ReadCloudWorkerBadRequest struct {
	Payload *models.APIResult
}

ReadCloudWorkerBadRequest handles this case with default header values.

Bad Request

func NewReadCloudWorkerBadRequest

func NewReadCloudWorkerBadRequest() *ReadCloudWorkerBadRequest

NewReadCloudWorkerBadRequest creates a ReadCloudWorkerBadRequest with default headers values

func (*ReadCloudWorkerBadRequest) Error

func (o *ReadCloudWorkerBadRequest) Error() string

func (*ReadCloudWorkerBadRequest) GetPayload

func (o *ReadCloudWorkerBadRequest) GetPayload() *models.APIResult

type ReadCloudWorkerConflict

type ReadCloudWorkerConflict struct {
	Payload *models.APIResult
}

ReadCloudWorkerConflict handles this case with default header values.

Conflict

func NewReadCloudWorkerConflict

func NewReadCloudWorkerConflict() *ReadCloudWorkerConflict

NewReadCloudWorkerConflict creates a ReadCloudWorkerConflict with default headers values

func (*ReadCloudWorkerConflict) Error

func (o *ReadCloudWorkerConflict) Error() string

func (*ReadCloudWorkerConflict) GetPayload

func (o *ReadCloudWorkerConflict) GetPayload() *models.APIResult

type ReadCloudWorkerForbidden

type ReadCloudWorkerForbidden struct {
	Payload *models.APIResult
}

ReadCloudWorkerForbidden handles this case with default header values.

Forbidden

func NewReadCloudWorkerForbidden

func NewReadCloudWorkerForbidden() *ReadCloudWorkerForbidden

NewReadCloudWorkerForbidden creates a ReadCloudWorkerForbidden with default headers values

func (*ReadCloudWorkerForbidden) Error

func (o *ReadCloudWorkerForbidden) Error() string

func (*ReadCloudWorkerForbidden) GetPayload

func (o *ReadCloudWorkerForbidden) GetPayload() *models.APIResult

type ReadCloudWorkerInternalServerError

type ReadCloudWorkerInternalServerError struct {
	Payload *models.APIResult
}

ReadCloudWorkerInternalServerError handles this case with default header values.

Internal Server Error

func NewReadCloudWorkerInternalServerError

func NewReadCloudWorkerInternalServerError() *ReadCloudWorkerInternalServerError

NewReadCloudWorkerInternalServerError creates a ReadCloudWorkerInternalServerError with default headers values

func (*ReadCloudWorkerInternalServerError) Error

func (*ReadCloudWorkerInternalServerError) GetPayload

type ReadCloudWorkerNotFound

type ReadCloudWorkerNotFound struct {
	Payload *models.APIResult
}

ReadCloudWorkerNotFound handles this case with default header values.

Not Found

func NewReadCloudWorkerNotFound

func NewReadCloudWorkerNotFound() *ReadCloudWorkerNotFound

NewReadCloudWorkerNotFound creates a ReadCloudWorkerNotFound with default headers values

func (*ReadCloudWorkerNotFound) Error

func (o *ReadCloudWorkerNotFound) Error() string

func (*ReadCloudWorkerNotFound) GetPayload

func (o *ReadCloudWorkerNotFound) GetPayload() *models.APIResult

type ReadCloudWorkerOK

type ReadCloudWorkerOK struct {
	Payload *models.APIResultCloudWorker
}

ReadCloudWorkerOK handles this case with default header values.

OK

func NewReadCloudWorkerOK

func NewReadCloudWorkerOK() *ReadCloudWorkerOK

NewReadCloudWorkerOK creates a ReadCloudWorkerOK with default headers values

func (*ReadCloudWorkerOK) Error

func (o *ReadCloudWorkerOK) Error() string

func (*ReadCloudWorkerOK) GetPayload

type ReadCloudWorkerParams

type ReadCloudWorkerParams struct {

	/*Fields
	  Output fields

	*/
	Fields *string
	/*UUID
	  uuid

	*/
	UUID string

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

ReadCloudWorkerParams contains all the parameters to send to the API endpoint for the read cloud worker operation typically these are written to a http.Request

func NewReadCloudWorkerParams

func NewReadCloudWorkerParams() *ReadCloudWorkerParams

NewReadCloudWorkerParams creates a new ReadCloudWorkerParams object with the default values initialized.

func NewReadCloudWorkerParamsWithContext

func NewReadCloudWorkerParamsWithContext(ctx context.Context) *ReadCloudWorkerParams

NewReadCloudWorkerParamsWithContext creates a new ReadCloudWorkerParams object with the default values initialized, and the ability to set a context for a request

func NewReadCloudWorkerParamsWithHTTPClient

func NewReadCloudWorkerParamsWithHTTPClient(client *http.Client) *ReadCloudWorkerParams

NewReadCloudWorkerParamsWithHTTPClient creates a new ReadCloudWorkerParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewReadCloudWorkerParamsWithTimeout

func NewReadCloudWorkerParamsWithTimeout(timeout time.Duration) *ReadCloudWorkerParams

NewReadCloudWorkerParamsWithTimeout creates a new ReadCloudWorkerParams object with the default values initialized, and the ability to set a timeout on a request

func (*ReadCloudWorkerParams) SetContext

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

SetContext adds the context to the read cloud worker params

func (*ReadCloudWorkerParams) SetFields

func (o *ReadCloudWorkerParams) SetFields(fields *string)

SetFields adds the fields to the read cloud worker params

func (*ReadCloudWorkerParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the read cloud worker params

func (*ReadCloudWorkerParams) SetTimeout

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

SetTimeout adds the timeout to the read cloud worker params

func (*ReadCloudWorkerParams) SetUUID

func (o *ReadCloudWorkerParams) SetUUID(uuid string)

SetUUID adds the uuid to the read cloud worker params

func (*ReadCloudWorkerParams) WithContext

WithContext adds the context to the read cloud worker params

func (*ReadCloudWorkerParams) WithFields

func (o *ReadCloudWorkerParams) WithFields(fields *string) *ReadCloudWorkerParams

WithFields adds the fields to the read cloud worker params

func (*ReadCloudWorkerParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the read cloud worker params

func (*ReadCloudWorkerParams) WithTimeout

func (o *ReadCloudWorkerParams) WithTimeout(timeout time.Duration) *ReadCloudWorkerParams

WithTimeout adds the timeout to the read cloud worker params

func (*ReadCloudWorkerParams) WithUUID

WithUUID adds the uuid to the read cloud worker params

func (*ReadCloudWorkerParams) WriteToRequest

func (o *ReadCloudWorkerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ReadCloudWorkerReader

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

ReadCloudWorkerReader is a Reader for the ReadCloudWorker structure.

func (*ReadCloudWorkerReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ReadCloudWorkerUnauthorized

type ReadCloudWorkerUnauthorized struct {
	Payload *models.APIResult
}

ReadCloudWorkerUnauthorized handles this case with default header values.

Unauthorized

func NewReadCloudWorkerUnauthorized

func NewReadCloudWorkerUnauthorized() *ReadCloudWorkerUnauthorized

NewReadCloudWorkerUnauthorized creates a ReadCloudWorkerUnauthorized with default headers values

func (*ReadCloudWorkerUnauthorized) Error

func (*ReadCloudWorkerUnauthorized) GetPayload

func (o *ReadCloudWorkerUnauthorized) GetPayload() *models.APIResult

Jump to

Keyboard shortcuts

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