registry

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT 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 registry API

func (*Client) CreateRegistry

func (a *Client) CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRegistryCreated, error)

CreateRegistry creates a registry

Create a registry

func (*Client) DeleteRegistry

func (a *Client) DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRegistryOK, error)

DeleteRegistry deletes the specific registry

Delete the specific registry

func (*Client) GetRegistry

func (a *Client) GetRegistry(params *GetRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistryOK, error)

GetRegistry gets the specific registry

Get the specific registry

func (*Client) GetRegistryInfo

func (a *Client) GetRegistryInfo(params *GetRegistryInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistryInfoOK, error)

GetRegistryInfo gets the registry info

Get the registry info

func (*Client) ListRegistries

func (a *Client) ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistriesOK, error)

ListRegistries lists the registries

List the registries

func (*Client) ListRegistryProviderInfos

func (a *Client) ListRegistryProviderInfos(params *ListRegistryProviderInfosParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistryProviderInfosOK, error)

ListRegistryProviderInfos lists all registered registry provider information

List all registered registry provider information

func (*Client) ListRegistryProviderTypes

func (a *Client) ListRegistryProviderTypes(params *ListRegistryProviderTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistryProviderTypesOK, error)

ListRegistryProviderTypes lists registry adapters

List registry adapters

func (*Client) PingRegistry

func (a *Client) PingRegistry(params *PingRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PingRegistryOK, error)

PingRegistry checks status of a registry

Check status of a registry

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateRegistry

func (a *Client) UpdateRegistry(params *UpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRegistryOK, error)

UpdateRegistry updates the registry

Update the registry

type ClientService

type ClientService interface {
	CreateRegistry(params *CreateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRegistryCreated, error)

	DeleteRegistry(params *DeleteRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRegistryOK, error)

	GetRegistry(params *GetRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistryOK, error)

	GetRegistryInfo(params *GetRegistryInfoParams, authInfo runtime.ClientAuthInfoWriter) (*GetRegistryInfoOK, error)

	ListRegistries(params *ListRegistriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistriesOK, error)

	ListRegistryProviderInfos(params *ListRegistryProviderInfosParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistryProviderInfosOK, error)

	ListRegistryProviderTypes(params *ListRegistryProviderTypesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRegistryProviderTypesOK, error)

	PingRegistry(params *PingRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*PingRegistryOK, error)

	UpdateRegistry(params *UpdateRegistryParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRegistryOK, 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 registry API client.

type CreateRegistryBadRequest

type CreateRegistryBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreateRegistryBadRequest handles this case with default header values.

Bad request

func NewCreateRegistryBadRequest

func NewCreateRegistryBadRequest() *CreateRegistryBadRequest

NewCreateRegistryBadRequest creates a CreateRegistryBadRequest with default headers values

func (*CreateRegistryBadRequest) Error

func (o *CreateRegistryBadRequest) Error() string

func (*CreateRegistryBadRequest) GetPayload

func (o *CreateRegistryBadRequest) GetPayload() *model.Errors

type CreateRegistryConflict

type CreateRegistryConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreateRegistryConflict handles this case with default header values.

Conflict

func NewCreateRegistryConflict

func NewCreateRegistryConflict() *CreateRegistryConflict

NewCreateRegistryConflict creates a CreateRegistryConflict with default headers values

func (*CreateRegistryConflict) Error

func (o *CreateRegistryConflict) Error() string

func (*CreateRegistryConflict) GetPayload

func (o *CreateRegistryConflict) GetPayload() *model.Errors

type CreateRegistryCreated

type CreateRegistryCreated struct {
	/*The location of the resource
	 */
	Location string
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

CreateRegistryCreated handles this case with default header values.

Created

func NewCreateRegistryCreated

func NewCreateRegistryCreated() *CreateRegistryCreated

NewCreateRegistryCreated creates a CreateRegistryCreated with default headers values

func (*CreateRegistryCreated) Error

func (o *CreateRegistryCreated) Error() string

type CreateRegistryForbidden

type CreateRegistryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreateRegistryForbidden handles this case with default header values.

Forbidden

func NewCreateRegistryForbidden

func NewCreateRegistryForbidden() *CreateRegistryForbidden

NewCreateRegistryForbidden creates a CreateRegistryForbidden with default headers values

func (*CreateRegistryForbidden) Error

func (o *CreateRegistryForbidden) Error() string

func (*CreateRegistryForbidden) GetPayload

func (o *CreateRegistryForbidden) GetPayload() *model.Errors

type CreateRegistryInternalServerError

type CreateRegistryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreateRegistryInternalServerError handles this case with default header values.

Internal server error

func NewCreateRegistryInternalServerError

func NewCreateRegistryInternalServerError() *CreateRegistryInternalServerError

NewCreateRegistryInternalServerError creates a CreateRegistryInternalServerError with default headers values

func (*CreateRegistryInternalServerError) Error

func (*CreateRegistryInternalServerError) GetPayload

type CreateRegistryParams

type CreateRegistryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Registry
	  The registry

	*/
	Registry *model.Registry

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

CreateRegistryParams contains all the parameters to send to the API endpoint for the create registry operation typically these are written to a http.Request

func NewCreateRegistryParams

func NewCreateRegistryParams() *CreateRegistryParams

NewCreateRegistryParams creates a new CreateRegistryParams object with the default values initialized.

func NewCreateRegistryParamsWithContext

func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams

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

func NewCreateRegistryParamsWithHTTPClient

func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams

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

func NewCreateRegistryParamsWithTimeout

func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams

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

func (*CreateRegistryParams) SetContext

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

SetContext adds the context to the create registry params

func (*CreateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) SetRegistry

func (o *CreateRegistryParams) SetRegistry(registry *model.Registry)

SetRegistry adds the registry to the create registry params

func (*CreateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) SetXRequestID

func (o *CreateRegistryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the create registry params

func (*CreateRegistryParams) WithContext

WithContext adds the context to the create registry params

func (*CreateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create registry params

func (*CreateRegistryParams) WithRegistry

func (o *CreateRegistryParams) WithRegistry(registry *model.Registry) *CreateRegistryParams

WithRegistry adds the registry to the create registry params

func (*CreateRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the create registry params

func (*CreateRegistryParams) WithXRequestID

func (o *CreateRegistryParams) WithXRequestID(xRequestID *string) *CreateRegistryParams

WithXRequestID adds the xRequestID to the create registry params

func (*CreateRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateRegistryReader

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

CreateRegistryReader is a Reader for the CreateRegistry structure.

func (*CreateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreateRegistryUnauthorized

type CreateRegistryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

CreateRegistryUnauthorized handles this case with default header values.

Unauthorized

func NewCreateRegistryUnauthorized

func NewCreateRegistryUnauthorized() *CreateRegistryUnauthorized

NewCreateRegistryUnauthorized creates a CreateRegistryUnauthorized with default headers values

func (*CreateRegistryUnauthorized) Error

func (*CreateRegistryUnauthorized) GetPayload

func (o *CreateRegistryUnauthorized) GetPayload() *model.Errors

type DeleteRegistryForbidden

type DeleteRegistryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DeleteRegistryForbidden handles this case with default header values.

Forbidden

func NewDeleteRegistryForbidden

func NewDeleteRegistryForbidden() *DeleteRegistryForbidden

NewDeleteRegistryForbidden creates a DeleteRegistryForbidden with default headers values

func (*DeleteRegistryForbidden) Error

func (o *DeleteRegistryForbidden) Error() string

func (*DeleteRegistryForbidden) GetPayload

func (o *DeleteRegistryForbidden) GetPayload() *model.Errors

type DeleteRegistryInternalServerError

type DeleteRegistryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DeleteRegistryInternalServerError handles this case with default header values.

Internal server error

func NewDeleteRegistryInternalServerError

func NewDeleteRegistryInternalServerError() *DeleteRegistryInternalServerError

NewDeleteRegistryInternalServerError creates a DeleteRegistryInternalServerError with default headers values

func (*DeleteRegistryInternalServerError) Error

func (*DeleteRegistryInternalServerError) GetPayload

type DeleteRegistryNotFound

type DeleteRegistryNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DeleteRegistryNotFound handles this case with default header values.

Not found

func NewDeleteRegistryNotFound

func NewDeleteRegistryNotFound() *DeleteRegistryNotFound

NewDeleteRegistryNotFound creates a DeleteRegistryNotFound with default headers values

func (*DeleteRegistryNotFound) Error

func (o *DeleteRegistryNotFound) Error() string

func (*DeleteRegistryNotFound) GetPayload

func (o *DeleteRegistryNotFound) GetPayload() *model.Errors

type DeleteRegistryOK

type DeleteRegistryOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

DeleteRegistryOK handles this case with default header values.

Success

func NewDeleteRegistryOK

func NewDeleteRegistryOK() *DeleteRegistryOK

NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values

func (*DeleteRegistryOK) Error

func (o *DeleteRegistryOK) Error() string

type DeleteRegistryParams

type DeleteRegistryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ID
	  Registry ID

	*/
	ID int64

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

DeleteRegistryParams contains all the parameters to send to the API endpoint for the delete registry operation typically these are written to a http.Request

func NewDeleteRegistryParams

func NewDeleteRegistryParams() *DeleteRegistryParams

NewDeleteRegistryParams creates a new DeleteRegistryParams object with the default values initialized.

func NewDeleteRegistryParamsWithContext

func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams

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

func NewDeleteRegistryParamsWithHTTPClient

func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams

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

func NewDeleteRegistryParamsWithTimeout

func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams

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

func (*DeleteRegistryParams) SetContext

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

SetContext adds the context to the delete registry params

func (*DeleteRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) SetID

func (o *DeleteRegistryParams) SetID(id int64)

SetID adds the id to the delete registry params

func (*DeleteRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) SetXRequestID

func (o *DeleteRegistryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete registry params

func (*DeleteRegistryParams) WithContext

WithContext adds the context to the delete registry params

func (*DeleteRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete registry params

func (*DeleteRegistryParams) WithID

WithID adds the id to the delete registry params

func (*DeleteRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the delete registry params

func (*DeleteRegistryParams) WithXRequestID

func (o *DeleteRegistryParams) WithXRequestID(xRequestID *string) *DeleteRegistryParams

WithXRequestID adds the xRequestID to the delete registry params

func (*DeleteRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteRegistryPreconditionFailed

type DeleteRegistryPreconditionFailed struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DeleteRegistryPreconditionFailed handles this case with default header values.

Precondition failed

func NewDeleteRegistryPreconditionFailed

func NewDeleteRegistryPreconditionFailed() *DeleteRegistryPreconditionFailed

NewDeleteRegistryPreconditionFailed creates a DeleteRegistryPreconditionFailed with default headers values

func (*DeleteRegistryPreconditionFailed) Error

func (*DeleteRegistryPreconditionFailed) GetPayload

type DeleteRegistryReader

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

DeleteRegistryReader is a Reader for the DeleteRegistry structure.

func (*DeleteRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteRegistryUnauthorized

type DeleteRegistryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DeleteRegistryUnauthorized handles this case with default header values.

Unauthorized

func NewDeleteRegistryUnauthorized

func NewDeleteRegistryUnauthorized() *DeleteRegistryUnauthorized

NewDeleteRegistryUnauthorized creates a DeleteRegistryUnauthorized with default headers values

func (*DeleteRegistryUnauthorized) Error

func (*DeleteRegistryUnauthorized) GetPayload

func (o *DeleteRegistryUnauthorized) GetPayload() *model.Errors

type GetRegistryForbidden

type GetRegistryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryForbidden handles this case with default header values.

Forbidden

func NewGetRegistryForbidden

func NewGetRegistryForbidden() *GetRegistryForbidden

NewGetRegistryForbidden creates a GetRegistryForbidden with default headers values

func (*GetRegistryForbidden) Error

func (o *GetRegistryForbidden) Error() string

func (*GetRegistryForbidden) GetPayload

func (o *GetRegistryForbidden) GetPayload() *model.Errors

type GetRegistryInfoForbidden

type GetRegistryInfoForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryInfoForbidden handles this case with default header values.

Forbidden

func NewGetRegistryInfoForbidden

func NewGetRegistryInfoForbidden() *GetRegistryInfoForbidden

NewGetRegistryInfoForbidden creates a GetRegistryInfoForbidden with default headers values

func (*GetRegistryInfoForbidden) Error

func (o *GetRegistryInfoForbidden) Error() string

func (*GetRegistryInfoForbidden) GetPayload

func (o *GetRegistryInfoForbidden) GetPayload() *model.Errors

type GetRegistryInfoInternalServerError

type GetRegistryInfoInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryInfoInternalServerError handles this case with default header values.

Internal server error

func NewGetRegistryInfoInternalServerError

func NewGetRegistryInfoInternalServerError() *GetRegistryInfoInternalServerError

NewGetRegistryInfoInternalServerError creates a GetRegistryInfoInternalServerError with default headers values

func (*GetRegistryInfoInternalServerError) Error

func (*GetRegistryInfoInternalServerError) GetPayload

type GetRegistryInfoNotFound

type GetRegistryInfoNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryInfoNotFound handles this case with default header values.

Not found

func NewGetRegistryInfoNotFound

func NewGetRegistryInfoNotFound() *GetRegistryInfoNotFound

NewGetRegistryInfoNotFound creates a GetRegistryInfoNotFound with default headers values

func (*GetRegistryInfoNotFound) Error

func (o *GetRegistryInfoNotFound) Error() string

func (*GetRegistryInfoNotFound) GetPayload

func (o *GetRegistryInfoNotFound) GetPayload() *model.Errors

type GetRegistryInfoOK

type GetRegistryInfoOK struct {
	Payload *model.RegistryInfo
}

GetRegistryInfoOK handles this case with default header values.

Success

func NewGetRegistryInfoOK

func NewGetRegistryInfoOK() *GetRegistryInfoOK

NewGetRegistryInfoOK creates a GetRegistryInfoOK with default headers values

func (*GetRegistryInfoOK) Error

func (o *GetRegistryInfoOK) Error() string

func (*GetRegistryInfoOK) GetPayload

func (o *GetRegistryInfoOK) GetPayload() *model.RegistryInfo

type GetRegistryInfoParams

type GetRegistryInfoParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ID
	  Registry ID

	*/
	ID int64

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

GetRegistryInfoParams contains all the parameters to send to the API endpoint for the get registry info operation typically these are written to a http.Request

func NewGetRegistryInfoParams

func NewGetRegistryInfoParams() *GetRegistryInfoParams

NewGetRegistryInfoParams creates a new GetRegistryInfoParams object with the default values initialized.

func NewGetRegistryInfoParamsWithContext

func NewGetRegistryInfoParamsWithContext(ctx context.Context) *GetRegistryInfoParams

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

func NewGetRegistryInfoParamsWithHTTPClient

func NewGetRegistryInfoParamsWithHTTPClient(client *http.Client) *GetRegistryInfoParams

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

func NewGetRegistryInfoParamsWithTimeout

func NewGetRegistryInfoParamsWithTimeout(timeout time.Duration) *GetRegistryInfoParams

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

func (*GetRegistryInfoParams) SetContext

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

SetContext adds the context to the get registry info params

func (*GetRegistryInfoParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registry info params

func (*GetRegistryInfoParams) SetID

func (o *GetRegistryInfoParams) SetID(id int64)

SetID adds the id to the get registry info params

func (*GetRegistryInfoParams) SetTimeout

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

SetTimeout adds the timeout to the get registry info params

func (*GetRegistryInfoParams) SetXRequestID

func (o *GetRegistryInfoParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get registry info params

func (*GetRegistryInfoParams) WithContext

WithContext adds the context to the get registry info params

func (*GetRegistryInfoParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get registry info params

func (*GetRegistryInfoParams) WithID

WithID adds the id to the get registry info params

func (*GetRegistryInfoParams) WithTimeout

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

WithTimeout adds the timeout to the get registry info params

func (*GetRegistryInfoParams) WithXRequestID

func (o *GetRegistryInfoParams) WithXRequestID(xRequestID *string) *GetRegistryInfoParams

WithXRequestID adds the xRequestID to the get registry info params

func (*GetRegistryInfoParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRegistryInfoReader

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

GetRegistryInfoReader is a Reader for the GetRegistryInfo structure.

func (*GetRegistryInfoReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistryInfoUnauthorized

type GetRegistryInfoUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryInfoUnauthorized handles this case with default header values.

Unauthorized

func NewGetRegistryInfoUnauthorized

func NewGetRegistryInfoUnauthorized() *GetRegistryInfoUnauthorized

NewGetRegistryInfoUnauthorized creates a GetRegistryInfoUnauthorized with default headers values

func (*GetRegistryInfoUnauthorized) Error

func (*GetRegistryInfoUnauthorized) GetPayload

func (o *GetRegistryInfoUnauthorized) GetPayload() *model.Errors

type GetRegistryInternalServerError

type GetRegistryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryInternalServerError handles this case with default header values.

Internal server error

func NewGetRegistryInternalServerError

func NewGetRegistryInternalServerError() *GetRegistryInternalServerError

NewGetRegistryInternalServerError creates a GetRegistryInternalServerError with default headers values

func (*GetRegistryInternalServerError) Error

func (*GetRegistryInternalServerError) GetPayload

func (o *GetRegistryInternalServerError) GetPayload() *model.Errors

type GetRegistryNotFound

type GetRegistryNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryNotFound handles this case with default header values.

Not found

func NewGetRegistryNotFound

func NewGetRegistryNotFound() *GetRegistryNotFound

NewGetRegistryNotFound creates a GetRegistryNotFound with default headers values

func (*GetRegistryNotFound) Error

func (o *GetRegistryNotFound) Error() string

func (*GetRegistryNotFound) GetPayload

func (o *GetRegistryNotFound) GetPayload() *model.Errors

type GetRegistryOK

type GetRegistryOK struct {
	Payload *model.Registry
}

GetRegistryOK handles this case with default header values.

Success

func NewGetRegistryOK

func NewGetRegistryOK() *GetRegistryOK

NewGetRegistryOK creates a GetRegistryOK with default headers values

func (*GetRegistryOK) Error

func (o *GetRegistryOK) Error() string

func (*GetRegistryOK) GetPayload

func (o *GetRegistryOK) GetPayload() *model.Registry

type GetRegistryParams

type GetRegistryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ID
	  Registry ID

	*/
	ID int64

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

GetRegistryParams contains all the parameters to send to the API endpoint for the get registry operation typically these are written to a http.Request

func NewGetRegistryParams

func NewGetRegistryParams() *GetRegistryParams

NewGetRegistryParams creates a new GetRegistryParams object with the default values initialized.

func NewGetRegistryParamsWithContext

func NewGetRegistryParamsWithContext(ctx context.Context) *GetRegistryParams

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

func NewGetRegistryParamsWithHTTPClient

func NewGetRegistryParamsWithHTTPClient(client *http.Client) *GetRegistryParams

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

func NewGetRegistryParamsWithTimeout

func NewGetRegistryParamsWithTimeout(timeout time.Duration) *GetRegistryParams

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

func (*GetRegistryParams) SetContext

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

SetContext adds the context to the get registry params

func (*GetRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get registry params

func (*GetRegistryParams) SetID

func (o *GetRegistryParams) SetID(id int64)

SetID adds the id to the get registry params

func (*GetRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the get registry params

func (*GetRegistryParams) SetXRequestID

func (o *GetRegistryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get registry params

func (*GetRegistryParams) WithContext

func (o *GetRegistryParams) WithContext(ctx context.Context) *GetRegistryParams

WithContext adds the context to the get registry params

func (*GetRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get registry params

func (*GetRegistryParams) WithID

func (o *GetRegistryParams) WithID(id int64) *GetRegistryParams

WithID adds the id to the get registry params

func (*GetRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the get registry params

func (*GetRegistryParams) WithXRequestID

func (o *GetRegistryParams) WithXRequestID(xRequestID *string) *GetRegistryParams

WithXRequestID adds the xRequestID to the get registry params

func (*GetRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetRegistryReader

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

GetRegistryReader is a Reader for the GetRegistry structure.

func (*GetRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRegistryUnauthorized

type GetRegistryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetRegistryUnauthorized handles this case with default header values.

Unauthorized

func NewGetRegistryUnauthorized

func NewGetRegistryUnauthorized() *GetRegistryUnauthorized

NewGetRegistryUnauthorized creates a GetRegistryUnauthorized with default headers values

func (*GetRegistryUnauthorized) Error

func (o *GetRegistryUnauthorized) Error() string

func (*GetRegistryUnauthorized) GetPayload

func (o *GetRegistryUnauthorized) GetPayload() *model.Errors

type ListRegistriesForbidden

type ListRegistriesForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistriesForbidden handles this case with default header values.

Forbidden

func NewListRegistriesForbidden

func NewListRegistriesForbidden() *ListRegistriesForbidden

NewListRegistriesForbidden creates a ListRegistriesForbidden with default headers values

func (*ListRegistriesForbidden) Error

func (o *ListRegistriesForbidden) Error() string

func (*ListRegistriesForbidden) GetPayload

func (o *ListRegistriesForbidden) GetPayload() *model.Errors

type ListRegistriesInternalServerError

type ListRegistriesInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistriesInternalServerError handles this case with default header values.

Internal server error

func NewListRegistriesInternalServerError

func NewListRegistriesInternalServerError() *ListRegistriesInternalServerError

NewListRegistriesInternalServerError creates a ListRegistriesInternalServerError with default headers values

func (*ListRegistriesInternalServerError) Error

func (*ListRegistriesInternalServerError) GetPayload

type ListRegistriesOK

type ListRegistriesOK struct {
	/*Link refers to the previous page and next page
	 */
	Link string
	/*The total count of the resources
	 */
	XTotalCount int64

	Payload []*model.Registry
}

ListRegistriesOK handles this case with default header values.

Success

func NewListRegistriesOK

func NewListRegistriesOK() *ListRegistriesOK

NewListRegistriesOK creates a ListRegistriesOK with default headers values

func (*ListRegistriesOK) Error

func (o *ListRegistriesOK) Error() string

func (*ListRegistriesOK) GetPayload

func (o *ListRegistriesOK) GetPayload() []*model.Registry

type ListRegistriesParams

type ListRegistriesParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Name
	  Deprecated, use `q` instead.

	*/
	Name *string
	/*Page
	  The page number

	*/
	Page *int64
	/*PageSize
	  The size of per page

	*/
	PageSize *int64
	/*Q
	  Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]

	*/
	Q *string
	/*Sort
	  Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2"

	*/
	Sort *string

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

ListRegistriesParams contains all the parameters to send to the API endpoint for the list registries operation typically these are written to a http.Request

func NewListRegistriesParams

func NewListRegistriesParams() *ListRegistriesParams

NewListRegistriesParams creates a new ListRegistriesParams object with the default values initialized.

func NewListRegistriesParamsWithContext

func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams

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

func NewListRegistriesParamsWithHTTPClient

func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams

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

func NewListRegistriesParamsWithTimeout

func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams

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

func (*ListRegistriesParams) SetContext

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

SetContext adds the context to the list registries params

func (*ListRegistriesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list registries params

func (*ListRegistriesParams) SetName

func (o *ListRegistriesParams) SetName(name *string)

SetName adds the name to the list registries params

func (*ListRegistriesParams) SetPage

func (o *ListRegistriesParams) SetPage(page *int64)

SetPage adds the page to the list registries params

func (*ListRegistriesParams) SetPageSize

func (o *ListRegistriesParams) SetPageSize(pageSize *int64)

SetPageSize adds the pageSize to the list registries params

func (*ListRegistriesParams) SetQ

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

SetQ adds the q to the list registries params

func (*ListRegistriesParams) SetSort

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

SetSort adds the sort to the list registries params

func (*ListRegistriesParams) SetTimeout

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

SetTimeout adds the timeout to the list registries params

func (*ListRegistriesParams) SetXRequestID

func (o *ListRegistriesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list registries params

func (*ListRegistriesParams) WithContext

WithContext adds the context to the list registries params

func (*ListRegistriesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list registries params

func (*ListRegistriesParams) WithName

func (o *ListRegistriesParams) WithName(name *string) *ListRegistriesParams

WithName adds the name to the list registries params

func (*ListRegistriesParams) WithPage

func (o *ListRegistriesParams) WithPage(page *int64) *ListRegistriesParams

WithPage adds the page to the list registries params

func (*ListRegistriesParams) WithPageSize

func (o *ListRegistriesParams) WithPageSize(pageSize *int64) *ListRegistriesParams

WithPageSize adds the pageSize to the list registries params

func (*ListRegistriesParams) WithQ

WithQ adds the q to the list registries params

func (*ListRegistriesParams) WithSort

func (o *ListRegistriesParams) WithSort(sort *string) *ListRegistriesParams

WithSort adds the sort to the list registries params

func (*ListRegistriesParams) WithTimeout

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

WithTimeout adds the timeout to the list registries params

func (*ListRegistriesParams) WithXRequestID

func (o *ListRegistriesParams) WithXRequestID(xRequestID *string) *ListRegistriesParams

WithXRequestID adds the xRequestID to the list registries params

func (*ListRegistriesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListRegistriesReader

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

ListRegistriesReader is a Reader for the ListRegistries structure.

func (*ListRegistriesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRegistriesUnauthorized

type ListRegistriesUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistriesUnauthorized handles this case with default header values.

Unauthorized

func NewListRegistriesUnauthorized

func NewListRegistriesUnauthorized() *ListRegistriesUnauthorized

NewListRegistriesUnauthorized creates a ListRegistriesUnauthorized with default headers values

func (*ListRegistriesUnauthorized) Error

func (*ListRegistriesUnauthorized) GetPayload

func (o *ListRegistriesUnauthorized) GetPayload() *model.Errors

type ListRegistryProviderInfosForbidden

type ListRegistryProviderInfosForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderInfosForbidden handles this case with default header values.

Forbidden

func NewListRegistryProviderInfosForbidden

func NewListRegistryProviderInfosForbidden() *ListRegistryProviderInfosForbidden

NewListRegistryProviderInfosForbidden creates a ListRegistryProviderInfosForbidden with default headers values

func (*ListRegistryProviderInfosForbidden) Error

func (*ListRegistryProviderInfosForbidden) GetPayload

type ListRegistryProviderInfosInternalServerError

type ListRegistryProviderInfosInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderInfosInternalServerError handles this case with default header values.

Internal server error

func NewListRegistryProviderInfosInternalServerError

func NewListRegistryProviderInfosInternalServerError() *ListRegistryProviderInfosInternalServerError

NewListRegistryProviderInfosInternalServerError creates a ListRegistryProviderInfosInternalServerError with default headers values

func (*ListRegistryProviderInfosInternalServerError) Error

func (*ListRegistryProviderInfosInternalServerError) GetPayload

type ListRegistryProviderInfosOK

type ListRegistryProviderInfosOK struct {
	Payload map[string]model.RegistryProviderInfo
}

ListRegistryProviderInfosOK handles this case with default header values.

Success.

func NewListRegistryProviderInfosOK

func NewListRegistryProviderInfosOK() *ListRegistryProviderInfosOK

NewListRegistryProviderInfosOK creates a ListRegistryProviderInfosOK with default headers values

func (*ListRegistryProviderInfosOK) Error

func (*ListRegistryProviderInfosOK) GetPayload

type ListRegistryProviderInfosParams

type ListRegistryProviderInfosParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string

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

ListRegistryProviderInfosParams contains all the parameters to send to the API endpoint for the list registry provider infos operation typically these are written to a http.Request

func NewListRegistryProviderInfosParams

func NewListRegistryProviderInfosParams() *ListRegistryProviderInfosParams

NewListRegistryProviderInfosParams creates a new ListRegistryProviderInfosParams object with the default values initialized.

func NewListRegistryProviderInfosParamsWithContext

func NewListRegistryProviderInfosParamsWithContext(ctx context.Context) *ListRegistryProviderInfosParams

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

func NewListRegistryProviderInfosParamsWithHTTPClient

func NewListRegistryProviderInfosParamsWithHTTPClient(client *http.Client) *ListRegistryProviderInfosParams

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

func NewListRegistryProviderInfosParamsWithTimeout

func NewListRegistryProviderInfosParamsWithTimeout(timeout time.Duration) *ListRegistryProviderInfosParams

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

func (*ListRegistryProviderInfosParams) SetContext

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

SetContext adds the context to the list registry provider infos params

func (*ListRegistryProviderInfosParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list registry provider infos params

func (*ListRegistryProviderInfosParams) SetTimeout

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

SetTimeout adds the timeout to the list registry provider infos params

func (*ListRegistryProviderInfosParams) SetXRequestID

func (o *ListRegistryProviderInfosParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list registry provider infos params

func (*ListRegistryProviderInfosParams) WithContext

WithContext adds the context to the list registry provider infos params

func (*ListRegistryProviderInfosParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list registry provider infos params

func (*ListRegistryProviderInfosParams) WithTimeout

WithTimeout adds the timeout to the list registry provider infos params

func (*ListRegistryProviderInfosParams) WithXRequestID

WithXRequestID adds the xRequestID to the list registry provider infos params

func (*ListRegistryProviderInfosParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRegistryProviderInfosReader

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

ListRegistryProviderInfosReader is a Reader for the ListRegistryProviderInfos structure.

func (*ListRegistryProviderInfosReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRegistryProviderInfosUnauthorized

type ListRegistryProviderInfosUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderInfosUnauthorized handles this case with default header values.

Unauthorized

func NewListRegistryProviderInfosUnauthorized

func NewListRegistryProviderInfosUnauthorized() *ListRegistryProviderInfosUnauthorized

NewListRegistryProviderInfosUnauthorized creates a ListRegistryProviderInfosUnauthorized with default headers values

func (*ListRegistryProviderInfosUnauthorized) Error

func (*ListRegistryProviderInfosUnauthorized) GetPayload

type ListRegistryProviderTypesForbidden

type ListRegistryProviderTypesForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderTypesForbidden handles this case with default header values.

Forbidden

func NewListRegistryProviderTypesForbidden

func NewListRegistryProviderTypesForbidden() *ListRegistryProviderTypesForbidden

NewListRegistryProviderTypesForbidden creates a ListRegistryProviderTypesForbidden with default headers values

func (*ListRegistryProviderTypesForbidden) Error

func (*ListRegistryProviderTypesForbidden) GetPayload

type ListRegistryProviderTypesInternalServerError

type ListRegistryProviderTypesInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderTypesInternalServerError handles this case with default header values.

Internal server error

func NewListRegistryProviderTypesInternalServerError

func NewListRegistryProviderTypesInternalServerError() *ListRegistryProviderTypesInternalServerError

NewListRegistryProviderTypesInternalServerError creates a ListRegistryProviderTypesInternalServerError with default headers values

func (*ListRegistryProviderTypesInternalServerError) Error

func (*ListRegistryProviderTypesInternalServerError) GetPayload

type ListRegistryProviderTypesOK

type ListRegistryProviderTypesOK struct {
	Payload []string
}

ListRegistryProviderTypesOK handles this case with default header values.

Success.

func NewListRegistryProviderTypesOK

func NewListRegistryProviderTypesOK() *ListRegistryProviderTypesOK

NewListRegistryProviderTypesOK creates a ListRegistryProviderTypesOK with default headers values

func (*ListRegistryProviderTypesOK) Error

func (*ListRegistryProviderTypesOK) GetPayload

func (o *ListRegistryProviderTypesOK) GetPayload() []string

type ListRegistryProviderTypesParams

type ListRegistryProviderTypesParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string

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

ListRegistryProviderTypesParams contains all the parameters to send to the API endpoint for the list registry provider types operation typically these are written to a http.Request

func NewListRegistryProviderTypesParams

func NewListRegistryProviderTypesParams() *ListRegistryProviderTypesParams

NewListRegistryProviderTypesParams creates a new ListRegistryProviderTypesParams object with the default values initialized.

func NewListRegistryProviderTypesParamsWithContext

func NewListRegistryProviderTypesParamsWithContext(ctx context.Context) *ListRegistryProviderTypesParams

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

func NewListRegistryProviderTypesParamsWithHTTPClient

func NewListRegistryProviderTypesParamsWithHTTPClient(client *http.Client) *ListRegistryProviderTypesParams

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

func NewListRegistryProviderTypesParamsWithTimeout

func NewListRegistryProviderTypesParamsWithTimeout(timeout time.Duration) *ListRegistryProviderTypesParams

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

func (*ListRegistryProviderTypesParams) SetContext

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

SetContext adds the context to the list registry provider types params

func (*ListRegistryProviderTypesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list registry provider types params

func (*ListRegistryProviderTypesParams) SetTimeout

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

SetTimeout adds the timeout to the list registry provider types params

func (*ListRegistryProviderTypesParams) SetXRequestID

func (o *ListRegistryProviderTypesParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the list registry provider types params

func (*ListRegistryProviderTypesParams) WithContext

WithContext adds the context to the list registry provider types params

func (*ListRegistryProviderTypesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list registry provider types params

func (*ListRegistryProviderTypesParams) WithTimeout

WithTimeout adds the timeout to the list registry provider types params

func (*ListRegistryProviderTypesParams) WithXRequestID

WithXRequestID adds the xRequestID to the list registry provider types params

func (*ListRegistryProviderTypesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListRegistryProviderTypesReader

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

ListRegistryProviderTypesReader is a Reader for the ListRegistryProviderTypes structure.

func (*ListRegistryProviderTypesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRegistryProviderTypesUnauthorized

type ListRegistryProviderTypesUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ListRegistryProviderTypesUnauthorized handles this case with default header values.

Unauthorized

func NewListRegistryProviderTypesUnauthorized

func NewListRegistryProviderTypesUnauthorized() *ListRegistryProviderTypesUnauthorized

NewListRegistryProviderTypesUnauthorized creates a ListRegistryProviderTypesUnauthorized with default headers values

func (*ListRegistryProviderTypesUnauthorized) Error

func (*ListRegistryProviderTypesUnauthorized) GetPayload

type PingRegistryBadRequest

type PingRegistryBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

PingRegistryBadRequest handles this case with default header values.

Bad request

func NewPingRegistryBadRequest

func NewPingRegistryBadRequest() *PingRegistryBadRequest

NewPingRegistryBadRequest creates a PingRegistryBadRequest with default headers values

func (*PingRegistryBadRequest) Error

func (o *PingRegistryBadRequest) Error() string

func (*PingRegistryBadRequest) GetPayload

func (o *PingRegistryBadRequest) GetPayload() *model.Errors

type PingRegistryForbidden

type PingRegistryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

PingRegistryForbidden handles this case with default header values.

Forbidden

func NewPingRegistryForbidden

func NewPingRegistryForbidden() *PingRegistryForbidden

NewPingRegistryForbidden creates a PingRegistryForbidden with default headers values

func (*PingRegistryForbidden) Error

func (o *PingRegistryForbidden) Error() string

func (*PingRegistryForbidden) GetPayload

func (o *PingRegistryForbidden) GetPayload() *model.Errors

type PingRegistryInternalServerError

type PingRegistryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

PingRegistryInternalServerError handles this case with default header values.

Internal server error

func NewPingRegistryInternalServerError

func NewPingRegistryInternalServerError() *PingRegistryInternalServerError

NewPingRegistryInternalServerError creates a PingRegistryInternalServerError with default headers values

func (*PingRegistryInternalServerError) Error

func (*PingRegistryInternalServerError) GetPayload

func (o *PingRegistryInternalServerError) GetPayload() *model.Errors

type PingRegistryNotFound

type PingRegistryNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

PingRegistryNotFound handles this case with default header values.

Not found

func NewPingRegistryNotFound

func NewPingRegistryNotFound() *PingRegistryNotFound

NewPingRegistryNotFound creates a PingRegistryNotFound with default headers values

func (*PingRegistryNotFound) Error

func (o *PingRegistryNotFound) Error() string

func (*PingRegistryNotFound) GetPayload

func (o *PingRegistryNotFound) GetPayload() *model.Errors

type PingRegistryOK

type PingRegistryOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

PingRegistryOK handles this case with default header values.

Success

func NewPingRegistryOK

func NewPingRegistryOK() *PingRegistryOK

NewPingRegistryOK creates a PingRegistryOK with default headers values

func (*PingRegistryOK) Error

func (o *PingRegistryOK) Error() string

type PingRegistryParams

type PingRegistryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*Registry
	  The registry

	*/
	Registry *model.RegistryPing

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

PingRegistryParams contains all the parameters to send to the API endpoint for the ping registry operation typically these are written to a http.Request

func NewPingRegistryParams

func NewPingRegistryParams() *PingRegistryParams

NewPingRegistryParams creates a new PingRegistryParams object with the default values initialized.

func NewPingRegistryParamsWithContext

func NewPingRegistryParamsWithContext(ctx context.Context) *PingRegistryParams

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

func NewPingRegistryParamsWithHTTPClient

func NewPingRegistryParamsWithHTTPClient(client *http.Client) *PingRegistryParams

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

func NewPingRegistryParamsWithTimeout

func NewPingRegistryParamsWithTimeout(timeout time.Duration) *PingRegistryParams

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

func (*PingRegistryParams) SetContext

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

SetContext adds the context to the ping registry params

func (*PingRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ping registry params

func (*PingRegistryParams) SetRegistry

func (o *PingRegistryParams) SetRegistry(registry *model.RegistryPing)

SetRegistry adds the registry to the ping registry params

func (*PingRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the ping registry params

func (*PingRegistryParams) SetXRequestID

func (o *PingRegistryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the ping registry params

func (*PingRegistryParams) WithContext

WithContext adds the context to the ping registry params

func (*PingRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ping registry params

func (*PingRegistryParams) WithRegistry

func (o *PingRegistryParams) WithRegistry(registry *model.RegistryPing) *PingRegistryParams

WithRegistry adds the registry to the ping registry params

func (*PingRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the ping registry params

func (*PingRegistryParams) WithXRequestID

func (o *PingRegistryParams) WithXRequestID(xRequestID *string) *PingRegistryParams

WithXRequestID adds the xRequestID to the ping registry params

func (*PingRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PingRegistryReader

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

PingRegistryReader is a Reader for the PingRegistry structure.

func (*PingRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PingRegistryUnauthorized

type PingRegistryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

PingRegistryUnauthorized handles this case with default header values.

Unauthorized

func NewPingRegistryUnauthorized

func NewPingRegistryUnauthorized() *PingRegistryUnauthorized

NewPingRegistryUnauthorized creates a PingRegistryUnauthorized with default headers values

func (*PingRegistryUnauthorized) Error

func (o *PingRegistryUnauthorized) Error() string

func (*PingRegistryUnauthorized) GetPayload

func (o *PingRegistryUnauthorized) GetPayload() *model.Errors

type UpdateRegistryConflict

type UpdateRegistryConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdateRegistryConflict handles this case with default header values.

Conflict

func NewUpdateRegistryConflict

func NewUpdateRegistryConflict() *UpdateRegistryConflict

NewUpdateRegistryConflict creates a UpdateRegistryConflict with default headers values

func (*UpdateRegistryConflict) Error

func (o *UpdateRegistryConflict) Error() string

func (*UpdateRegistryConflict) GetPayload

func (o *UpdateRegistryConflict) GetPayload() *model.Errors

type UpdateRegistryForbidden

type UpdateRegistryForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdateRegistryForbidden handles this case with default header values.

Forbidden

func NewUpdateRegistryForbidden

func NewUpdateRegistryForbidden() *UpdateRegistryForbidden

NewUpdateRegistryForbidden creates a UpdateRegistryForbidden with default headers values

func (*UpdateRegistryForbidden) Error

func (o *UpdateRegistryForbidden) Error() string

func (*UpdateRegistryForbidden) GetPayload

func (o *UpdateRegistryForbidden) GetPayload() *model.Errors

type UpdateRegistryInternalServerError

type UpdateRegistryInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdateRegistryInternalServerError handles this case with default header values.

Internal server error

func NewUpdateRegistryInternalServerError

func NewUpdateRegistryInternalServerError() *UpdateRegistryInternalServerError

NewUpdateRegistryInternalServerError creates a UpdateRegistryInternalServerError with default headers values

func (*UpdateRegistryInternalServerError) Error

func (*UpdateRegistryInternalServerError) GetPayload

type UpdateRegistryNotFound

type UpdateRegistryNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdateRegistryNotFound handles this case with default header values.

Not found

func NewUpdateRegistryNotFound

func NewUpdateRegistryNotFound() *UpdateRegistryNotFound

NewUpdateRegistryNotFound creates a UpdateRegistryNotFound with default headers values

func (*UpdateRegistryNotFound) Error

func (o *UpdateRegistryNotFound) Error() string

func (*UpdateRegistryNotFound) GetPayload

func (o *UpdateRegistryNotFound) GetPayload() *model.Errors

type UpdateRegistryOK

type UpdateRegistryOK struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string
}

UpdateRegistryOK handles this case with default header values.

Success

func NewUpdateRegistryOK

func NewUpdateRegistryOK() *UpdateRegistryOK

NewUpdateRegistryOK creates a UpdateRegistryOK with default headers values

func (*UpdateRegistryOK) Error

func (o *UpdateRegistryOK) Error() string

type UpdateRegistryParams

type UpdateRegistryParams struct {

	/*XRequestID
	  An unique ID for the request

	*/
	XRequestID *string
	/*ID
	  The registry ID

	*/
	ID int64
	/*Registry
	  The registry

	*/
	Registry *model.RegistryUpdate

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

UpdateRegistryParams contains all the parameters to send to the API endpoint for the update registry operation typically these are written to a http.Request

func NewUpdateRegistryParams

func NewUpdateRegistryParams() *UpdateRegistryParams

NewUpdateRegistryParams creates a new UpdateRegistryParams object with the default values initialized.

func NewUpdateRegistryParamsWithContext

func NewUpdateRegistryParamsWithContext(ctx context.Context) *UpdateRegistryParams

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

func NewUpdateRegistryParamsWithHTTPClient

func NewUpdateRegistryParamsWithHTTPClient(client *http.Client) *UpdateRegistryParams

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

func NewUpdateRegistryParamsWithTimeout

func NewUpdateRegistryParamsWithTimeout(timeout time.Duration) *UpdateRegistryParams

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

func (*UpdateRegistryParams) SetContext

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

SetContext adds the context to the update registry params

func (*UpdateRegistryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update registry params

func (*UpdateRegistryParams) SetID

func (o *UpdateRegistryParams) SetID(id int64)

SetID adds the id to the update registry params

func (*UpdateRegistryParams) SetRegistry

func (o *UpdateRegistryParams) SetRegistry(registry *model.RegistryUpdate)

SetRegistry adds the registry to the update registry params

func (*UpdateRegistryParams) SetTimeout

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

SetTimeout adds the timeout to the update registry params

func (*UpdateRegistryParams) SetXRequestID

func (o *UpdateRegistryParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the update registry params

func (*UpdateRegistryParams) WithContext

WithContext adds the context to the update registry params

func (*UpdateRegistryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update registry params

func (*UpdateRegistryParams) WithID

WithID adds the id to the update registry params

func (*UpdateRegistryParams) WithRegistry

func (o *UpdateRegistryParams) WithRegistry(registry *model.RegistryUpdate) *UpdateRegistryParams

WithRegistry adds the registry to the update registry params

func (*UpdateRegistryParams) WithTimeout

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

WithTimeout adds the timeout to the update registry params

func (*UpdateRegistryParams) WithXRequestID

func (o *UpdateRegistryParams) WithXRequestID(xRequestID *string) *UpdateRegistryParams

WithXRequestID adds the xRequestID to the update registry params

func (*UpdateRegistryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateRegistryReader

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

UpdateRegistryReader is a Reader for the UpdateRegistry structure.

func (*UpdateRegistryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateRegistryUnauthorized

type UpdateRegistryUnauthorized struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

UpdateRegistryUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateRegistryUnauthorized

func NewUpdateRegistryUnauthorized() *UpdateRegistryUnauthorized

NewUpdateRegistryUnauthorized creates a UpdateRegistryUnauthorized with default headers values

func (*UpdateRegistryUnauthorized) Error

func (*UpdateRegistryUnauthorized) GetPayload

func (o *UpdateRegistryUnauthorized) GetPayload() *model.Errors

Jump to

Keyboard shortcuts

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