registries

package
v0.0.0-...-147c068 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 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 registries API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new registries API client.

func (*Client) RegistryAccessUpdate

func (a *Client) RegistryAccessUpdate(params *RegistryAccessUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryAccessUpdateOK, error)

RegistryAccessUpdate manages accesses to a registry

Manage user and team accesses to a registry. **Access policy**: administrator

func (*Client) RegistryCreate

func (a *Client) RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryCreateOK, error)

RegistryCreate creates a new registry

Create a new registry. **Access policy**: administrator

func (*Client) RegistryDelete

func (a *Client) RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryDeleteNoContent, error)

RegistryDelete removes a registry

Remove a registry. **Access policy**: administrator

func (*Client) RegistryInspect

func (a *Client) RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryInspectOK, error)

RegistryInspect inspects a registry

Retrieve details about a registry. **Access policy**: administrator

func (*Client) RegistryList

func (a *Client) RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryListOK, error)

RegistryList lists registries

List all registries based on the current user authorizations. Will return all registries if using an administrator account otherwise it will only return authorized registries. **Access policy**: restricted

func (*Client) RegistryUpdate

func (a *Client) RegistryUpdate(params *RegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryUpdateOK, error)

RegistryUpdate updates a registry

Update a registry. **Access policy**: administrator

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type RegistryAccessUpdateBadRequest

type RegistryAccessUpdateBadRequest struct {
	Payload *models.GenericError
}

RegistryAccessUpdateBadRequest handles this case with default header values.

Invalid request

func NewRegistryAccessUpdateBadRequest

func NewRegistryAccessUpdateBadRequest() *RegistryAccessUpdateBadRequest

NewRegistryAccessUpdateBadRequest creates a RegistryAccessUpdateBadRequest with default headers values

func (*RegistryAccessUpdateBadRequest) Error

type RegistryAccessUpdateInternalServerError

type RegistryAccessUpdateInternalServerError struct {
	Payload *models.GenericError
}

RegistryAccessUpdateInternalServerError handles this case with default header values.

Server error

func NewRegistryAccessUpdateInternalServerError

func NewRegistryAccessUpdateInternalServerError() *RegistryAccessUpdateInternalServerError

NewRegistryAccessUpdateInternalServerError creates a RegistryAccessUpdateInternalServerError with default headers values

func (*RegistryAccessUpdateInternalServerError) Error

type RegistryAccessUpdateNotFound

type RegistryAccessUpdateNotFound struct {
	Payload *models.GenericError
}

RegistryAccessUpdateNotFound handles this case with default header values.

Registry not found

func NewRegistryAccessUpdateNotFound

func NewRegistryAccessUpdateNotFound() *RegistryAccessUpdateNotFound

NewRegistryAccessUpdateNotFound creates a RegistryAccessUpdateNotFound with default headers values

func (*RegistryAccessUpdateNotFound) Error

type RegistryAccessUpdateOK

type RegistryAccessUpdateOK struct {
	Payload *models.Registry
}

RegistryAccessUpdateOK handles this case with default header values.

Success

func NewRegistryAccessUpdateOK

func NewRegistryAccessUpdateOK() *RegistryAccessUpdateOK

NewRegistryAccessUpdateOK creates a RegistryAccessUpdateOK with default headers values

func (*RegistryAccessUpdateOK) Error

func (o *RegistryAccessUpdateOK) Error() string

type RegistryAccessUpdateParams

type RegistryAccessUpdateParams struct {

	/*Body
	  Authorizations details

	*/
	Body *models.RegistryAccessUpdateRequest
	/*ID
	  Registry identifier

	*/
	ID int64

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

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

func NewRegistryAccessUpdateParams

func NewRegistryAccessUpdateParams() *RegistryAccessUpdateParams

NewRegistryAccessUpdateParams creates a new RegistryAccessUpdateParams object with the default values initialized.

func NewRegistryAccessUpdateParamsWithContext

func NewRegistryAccessUpdateParamsWithContext(ctx context.Context) *RegistryAccessUpdateParams

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

func NewRegistryAccessUpdateParamsWithHTTPClient

func NewRegistryAccessUpdateParamsWithHTTPClient(client *http.Client) *RegistryAccessUpdateParams

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

func NewRegistryAccessUpdateParamsWithTimeout

func NewRegistryAccessUpdateParamsWithTimeout(timeout time.Duration) *RegistryAccessUpdateParams

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

func (*RegistryAccessUpdateParams) SetBody

SetBody adds the body to the registry access update params

func (*RegistryAccessUpdateParams) SetContext

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

SetContext adds the context to the registry access update params

func (*RegistryAccessUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry access update params

func (*RegistryAccessUpdateParams) SetID

func (o *RegistryAccessUpdateParams) SetID(id int64)

SetID adds the id to the registry access update params

func (*RegistryAccessUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the registry access update params

func (*RegistryAccessUpdateParams) WithBody

WithBody adds the body to the registry access update params

func (*RegistryAccessUpdateParams) WithContext

WithContext adds the context to the registry access update params

func (*RegistryAccessUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the registry access update params

func (*RegistryAccessUpdateParams) WithID

WithID adds the id to the registry access update params

func (*RegistryAccessUpdateParams) WithTimeout

WithTimeout adds the timeout to the registry access update params

func (*RegistryAccessUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RegistryAccessUpdateReader

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

RegistryAccessUpdateReader is a Reader for the RegistryAccessUpdate structure.

func (*RegistryAccessUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryCreateBadRequest

type RegistryCreateBadRequest struct {
	Payload *models.GenericError
}

RegistryCreateBadRequest handles this case with default header values.

Invalid request

func NewRegistryCreateBadRequest

func NewRegistryCreateBadRequest() *RegistryCreateBadRequest

NewRegistryCreateBadRequest creates a RegistryCreateBadRequest with default headers values

func (*RegistryCreateBadRequest) Error

func (o *RegistryCreateBadRequest) Error() string

type RegistryCreateConflict

type RegistryCreateConflict struct {
	Payload *models.GenericError
}

RegistryCreateConflict handles this case with default header values.

Registry already exists

func NewRegistryCreateConflict

func NewRegistryCreateConflict() *RegistryCreateConflict

NewRegistryCreateConflict creates a RegistryCreateConflict with default headers values

func (*RegistryCreateConflict) Error

func (o *RegistryCreateConflict) Error() string

type RegistryCreateInternalServerError

type RegistryCreateInternalServerError struct {
	Payload *models.GenericError
}

RegistryCreateInternalServerError handles this case with default header values.

Server error

func NewRegistryCreateInternalServerError

func NewRegistryCreateInternalServerError() *RegistryCreateInternalServerError

NewRegistryCreateInternalServerError creates a RegistryCreateInternalServerError with default headers values

func (*RegistryCreateInternalServerError) Error

type RegistryCreateOK

type RegistryCreateOK struct {
	Payload *models.Registry
}

RegistryCreateOK handles this case with default header values.

Success

func NewRegistryCreateOK

func NewRegistryCreateOK() *RegistryCreateOK

NewRegistryCreateOK creates a RegistryCreateOK with default headers values

func (*RegistryCreateOK) Error

func (o *RegistryCreateOK) Error() string

type RegistryCreateParams

type RegistryCreateParams struct {

	/*Body
	  Registry details

	*/
	Body *models.RegistryCreateRequest

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

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

func NewRegistryCreateParams

func NewRegistryCreateParams() *RegistryCreateParams

NewRegistryCreateParams creates a new RegistryCreateParams object with the default values initialized.

func NewRegistryCreateParamsWithContext

func NewRegistryCreateParamsWithContext(ctx context.Context) *RegistryCreateParams

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

func NewRegistryCreateParamsWithHTTPClient

func NewRegistryCreateParamsWithHTTPClient(client *http.Client) *RegistryCreateParams

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

func NewRegistryCreateParamsWithTimeout

func NewRegistryCreateParamsWithTimeout(timeout time.Duration) *RegistryCreateParams

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

func (*RegistryCreateParams) SetBody

SetBody adds the body to the registry create params

func (*RegistryCreateParams) SetContext

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

SetContext adds the context to the registry create params

func (*RegistryCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry create params

func (*RegistryCreateParams) SetTimeout

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

SetTimeout adds the timeout to the registry create params

func (*RegistryCreateParams) WithBody

WithBody adds the body to the registry create params

func (*RegistryCreateParams) WithContext

WithContext adds the context to the registry create params

func (*RegistryCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry create params

func (*RegistryCreateParams) WithTimeout

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

WithTimeout adds the timeout to the registry create params

func (*RegistryCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegistryCreateReader

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

RegistryCreateReader is a Reader for the RegistryCreate structure.

func (*RegistryCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryDeleteBadRequest

type RegistryDeleteBadRequest struct {
	Payload *models.GenericError
}

RegistryDeleteBadRequest handles this case with default header values.

Invalid request

func NewRegistryDeleteBadRequest

func NewRegistryDeleteBadRequest() *RegistryDeleteBadRequest

NewRegistryDeleteBadRequest creates a RegistryDeleteBadRequest with default headers values

func (*RegistryDeleteBadRequest) Error

func (o *RegistryDeleteBadRequest) Error() string

type RegistryDeleteInternalServerError

type RegistryDeleteInternalServerError struct {
	Payload *models.GenericError
}

RegistryDeleteInternalServerError handles this case with default header values.

Server error

func NewRegistryDeleteInternalServerError

func NewRegistryDeleteInternalServerError() *RegistryDeleteInternalServerError

NewRegistryDeleteInternalServerError creates a RegistryDeleteInternalServerError with default headers values

func (*RegistryDeleteInternalServerError) Error

type RegistryDeleteNoContent

type RegistryDeleteNoContent struct {
}

RegistryDeleteNoContent handles this case with default header values.

Success

func NewRegistryDeleteNoContent

func NewRegistryDeleteNoContent() *RegistryDeleteNoContent

NewRegistryDeleteNoContent creates a RegistryDeleteNoContent with default headers values

func (*RegistryDeleteNoContent) Error

func (o *RegistryDeleteNoContent) Error() string

type RegistryDeleteNotFound

type RegistryDeleteNotFound struct {
	Payload *models.GenericError
}

RegistryDeleteNotFound handles this case with default header values.

Registry not found

func NewRegistryDeleteNotFound

func NewRegistryDeleteNotFound() *RegistryDeleteNotFound

NewRegistryDeleteNotFound creates a RegistryDeleteNotFound with default headers values

func (*RegistryDeleteNotFound) Error

func (o *RegistryDeleteNotFound) Error() string

type RegistryDeleteParams

type RegistryDeleteParams struct {

	/*ID
	  Registry identifier

	*/
	ID int64

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

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

func NewRegistryDeleteParams

func NewRegistryDeleteParams() *RegistryDeleteParams

NewRegistryDeleteParams creates a new RegistryDeleteParams object with the default values initialized.

func NewRegistryDeleteParamsWithContext

func NewRegistryDeleteParamsWithContext(ctx context.Context) *RegistryDeleteParams

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

func NewRegistryDeleteParamsWithHTTPClient

func NewRegistryDeleteParamsWithHTTPClient(client *http.Client) *RegistryDeleteParams

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

func NewRegistryDeleteParamsWithTimeout

func NewRegistryDeleteParamsWithTimeout(timeout time.Duration) *RegistryDeleteParams

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

func (*RegistryDeleteParams) SetContext

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

SetContext adds the context to the registry delete params

func (*RegistryDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry delete params

func (*RegistryDeleteParams) SetID

func (o *RegistryDeleteParams) SetID(id int64)

SetID adds the id to the registry delete params

func (*RegistryDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the registry delete params

func (*RegistryDeleteParams) WithContext

WithContext adds the context to the registry delete params

func (*RegistryDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry delete params

func (*RegistryDeleteParams) WithID

WithID adds the id to the registry delete params

func (*RegistryDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the registry delete params

func (*RegistryDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegistryDeleteReader

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

RegistryDeleteReader is a Reader for the RegistryDelete structure.

func (*RegistryDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryInspectBadRequest

type RegistryInspectBadRequest struct {
	Payload *models.GenericError
}

RegistryInspectBadRequest handles this case with default header values.

Invalid request

func NewRegistryInspectBadRequest

func NewRegistryInspectBadRequest() *RegistryInspectBadRequest

NewRegistryInspectBadRequest creates a RegistryInspectBadRequest with default headers values

func (*RegistryInspectBadRequest) Error

func (o *RegistryInspectBadRequest) Error() string

type RegistryInspectInternalServerError

type RegistryInspectInternalServerError struct {
	Payload *models.GenericError
}

RegistryInspectInternalServerError handles this case with default header values.

Server error

func NewRegistryInspectInternalServerError

func NewRegistryInspectInternalServerError() *RegistryInspectInternalServerError

NewRegistryInspectInternalServerError creates a RegistryInspectInternalServerError with default headers values

func (*RegistryInspectInternalServerError) Error

type RegistryInspectNotFound

type RegistryInspectNotFound struct {
	Payload *models.GenericError
}

RegistryInspectNotFound handles this case with default header values.

Registry not found

func NewRegistryInspectNotFound

func NewRegistryInspectNotFound() *RegistryInspectNotFound

NewRegistryInspectNotFound creates a RegistryInspectNotFound with default headers values

func (*RegistryInspectNotFound) Error

func (o *RegistryInspectNotFound) Error() string

type RegistryInspectOK

type RegistryInspectOK struct {
	Payload *models.Registry
}

RegistryInspectOK handles this case with default header values.

Success

func NewRegistryInspectOK

func NewRegistryInspectOK() *RegistryInspectOK

NewRegistryInspectOK creates a RegistryInspectOK with default headers values

func (*RegistryInspectOK) Error

func (o *RegistryInspectOK) Error() string

type RegistryInspectParams

type RegistryInspectParams struct {

	/*ID
	  Registry identifier

	*/
	ID int64

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

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

func NewRegistryInspectParams

func NewRegistryInspectParams() *RegistryInspectParams

NewRegistryInspectParams creates a new RegistryInspectParams object with the default values initialized.

func NewRegistryInspectParamsWithContext

func NewRegistryInspectParamsWithContext(ctx context.Context) *RegistryInspectParams

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

func NewRegistryInspectParamsWithHTTPClient

func NewRegistryInspectParamsWithHTTPClient(client *http.Client) *RegistryInspectParams

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

func NewRegistryInspectParamsWithTimeout

func NewRegistryInspectParamsWithTimeout(timeout time.Duration) *RegistryInspectParams

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

func (*RegistryInspectParams) SetContext

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

SetContext adds the context to the registry inspect params

func (*RegistryInspectParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry inspect params

func (*RegistryInspectParams) SetID

func (o *RegistryInspectParams) SetID(id int64)

SetID adds the id to the registry inspect params

func (*RegistryInspectParams) SetTimeout

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

SetTimeout adds the timeout to the registry inspect params

func (*RegistryInspectParams) WithContext

WithContext adds the context to the registry inspect params

func (*RegistryInspectParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry inspect params

func (*RegistryInspectParams) WithID

WithID adds the id to the registry inspect params

func (*RegistryInspectParams) WithTimeout

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

WithTimeout adds the timeout to the registry inspect params

func (*RegistryInspectParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegistryInspectReader

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

RegistryInspectReader is a Reader for the RegistryInspect structure.

func (*RegistryInspectReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryListInternalServerError

type RegistryListInternalServerError struct {
	Payload *models.GenericError
}

RegistryListInternalServerError handles this case with default header values.

Server error

func NewRegistryListInternalServerError

func NewRegistryListInternalServerError() *RegistryListInternalServerError

NewRegistryListInternalServerError creates a RegistryListInternalServerError with default headers values

func (*RegistryListInternalServerError) Error

type RegistryListOK

type RegistryListOK struct {
	Payload models.RegistryListResponse
}

RegistryListOK handles this case with default header values.

Success

func NewRegistryListOK

func NewRegistryListOK() *RegistryListOK

NewRegistryListOK creates a RegistryListOK with default headers values

func (*RegistryListOK) Error

func (o *RegistryListOK) Error() string

type RegistryListParams

type RegistryListParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewRegistryListParams

func NewRegistryListParams() *RegistryListParams

NewRegistryListParams creates a new RegistryListParams object with the default values initialized.

func NewRegistryListParamsWithContext

func NewRegistryListParamsWithContext(ctx context.Context) *RegistryListParams

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

func NewRegistryListParamsWithHTTPClient

func NewRegistryListParamsWithHTTPClient(client *http.Client) *RegistryListParams

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

func NewRegistryListParamsWithTimeout

func NewRegistryListParamsWithTimeout(timeout time.Duration) *RegistryListParams

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

func (*RegistryListParams) SetContext

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

SetContext adds the context to the registry list params

func (*RegistryListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry list params

func (*RegistryListParams) SetTimeout

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

SetTimeout adds the timeout to the registry list params

func (*RegistryListParams) WithContext

WithContext adds the context to the registry list params

func (*RegistryListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry list params

func (*RegistryListParams) WithTimeout

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

WithTimeout adds the timeout to the registry list params

func (*RegistryListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegistryListReader

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

RegistryListReader is a Reader for the RegistryList structure.

func (*RegistryListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryUpdateBadRequest

type RegistryUpdateBadRequest struct {
	Payload *models.GenericError
}

RegistryUpdateBadRequest handles this case with default header values.

Invalid request

func NewRegistryUpdateBadRequest

func NewRegistryUpdateBadRequest() *RegistryUpdateBadRequest

NewRegistryUpdateBadRequest creates a RegistryUpdateBadRequest with default headers values

func (*RegistryUpdateBadRequest) Error

func (o *RegistryUpdateBadRequest) Error() string

type RegistryUpdateConflict

type RegistryUpdateConflict struct {
	Payload *models.GenericError
}

RegistryUpdateConflict handles this case with default header values.

Registry already exists

func NewRegistryUpdateConflict

func NewRegistryUpdateConflict() *RegistryUpdateConflict

NewRegistryUpdateConflict creates a RegistryUpdateConflict with default headers values

func (*RegistryUpdateConflict) Error

func (o *RegistryUpdateConflict) Error() string

type RegistryUpdateInternalServerError

type RegistryUpdateInternalServerError struct {
	Payload *models.GenericError
}

RegistryUpdateInternalServerError handles this case with default header values.

Server error

func NewRegistryUpdateInternalServerError

func NewRegistryUpdateInternalServerError() *RegistryUpdateInternalServerError

NewRegistryUpdateInternalServerError creates a RegistryUpdateInternalServerError with default headers values

func (*RegistryUpdateInternalServerError) Error

type RegistryUpdateNotFound

type RegistryUpdateNotFound struct {
	Payload *models.GenericError
}

RegistryUpdateNotFound handles this case with default header values.

Registry not found

func NewRegistryUpdateNotFound

func NewRegistryUpdateNotFound() *RegistryUpdateNotFound

NewRegistryUpdateNotFound creates a RegistryUpdateNotFound with default headers values

func (*RegistryUpdateNotFound) Error

func (o *RegistryUpdateNotFound) Error() string

type RegistryUpdateOK

type RegistryUpdateOK struct {
	Payload *models.Registry
}

RegistryUpdateOK handles this case with default header values.

Success

func NewRegistryUpdateOK

func NewRegistryUpdateOK() *RegistryUpdateOK

NewRegistryUpdateOK creates a RegistryUpdateOK with default headers values

func (*RegistryUpdateOK) Error

func (o *RegistryUpdateOK) Error() string

type RegistryUpdateParams

type RegistryUpdateParams struct {

	/*Body
	  Registry details

	*/
	Body *models.RegistryUpdateRequest
	/*ID
	  Registry identifier

	*/
	ID int64

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

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

func NewRegistryUpdateParams

func NewRegistryUpdateParams() *RegistryUpdateParams

NewRegistryUpdateParams creates a new RegistryUpdateParams object with the default values initialized.

func NewRegistryUpdateParamsWithContext

func NewRegistryUpdateParamsWithContext(ctx context.Context) *RegistryUpdateParams

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

func NewRegistryUpdateParamsWithHTTPClient

func NewRegistryUpdateParamsWithHTTPClient(client *http.Client) *RegistryUpdateParams

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

func NewRegistryUpdateParamsWithTimeout

func NewRegistryUpdateParamsWithTimeout(timeout time.Duration) *RegistryUpdateParams

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

func (*RegistryUpdateParams) SetBody

SetBody adds the body to the registry update params

func (*RegistryUpdateParams) SetContext

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

SetContext adds the context to the registry update params

func (*RegistryUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry update params

func (*RegistryUpdateParams) SetID

func (o *RegistryUpdateParams) SetID(id int64)

SetID adds the id to the registry update params

func (*RegistryUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the registry update params

func (*RegistryUpdateParams) WithBody

WithBody adds the body to the registry update params

func (*RegistryUpdateParams) WithContext

WithContext adds the context to the registry update params

func (*RegistryUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry update params

func (*RegistryUpdateParams) WithID

WithID adds the id to the registry update params

func (*RegistryUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the registry update params

func (*RegistryUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RegistryUpdateReader

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

RegistryUpdateReader is a Reader for the RegistryUpdate structure.

func (*RegistryUpdateReader) ReadResponse

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