registries

package
v2.31.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2025 License: MIT Imports: 12 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 (*Client) EcrDeleteRepository

func (a *Client) EcrDeleteRepository(params *EcrDeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteRepositoryOK, error)
EcrDeleteRepository deletes e c r repository

Delete ECR repository.

**Access policy**: restricted

func (*Client) EcrDeleteTags

func (a *Client) EcrDeleteTags(params *EcrDeleteTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteTagsNoContent, error)
EcrDeleteTags deletes tags

Delete tags for a given ECR repository

**Access policy**: restricted

func (*Client) RegistryConfigure

func (a *Client) RegistryConfigure(params *RegistryConfigureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryConfigureNoContent, error)
RegistryConfigure configures a registry

Configures a registry.

**Access policy**: restricted

func (*Client) RegistryCreate

func (a *Client) RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryCreateOK, error)
RegistryCreate creates a new registry

Create a new registry.

**Access policy**: restricted

func (*Client) RegistryDelete

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

Remove a registry

**Access policy**: restricted

func (*Client) RegistryInspect

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

Retrieve details about a registry.

**Access policy**: restricted

func (*Client) RegistryList

func (a *Client) RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*RegistryUpdateOK, error)
RegistryUpdate updates a registry

Update a registry

**Access policy**: restricted

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption may be used to customize the behavior of Client methods.

type ClientService

type ClientService interface {
	RegistryConfigure(params *RegistryConfigureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryConfigureNoContent, error)

	RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryCreateOK, error)

	RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryDeleteNoContent, error)

	RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryInspectOK, error)

	RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryListOK, error)

	RegistryUpdate(params *RegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryUpdateOK, error)

	EcrDeleteRepository(params *EcrDeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteRepositoryOK, error)

	EcrDeleteTags(params *EcrDeleteTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteTagsNoContent, 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 registries API client.

func NewClientWithBasicAuth

func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService

New creates a new registries API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.

func NewClientWithBearerToken

func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService

New creates a new registries API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.

type EcrDeleteRepositoryBadRequest

type EcrDeleteRepositoryBadRequest struct {
}

EcrDeleteRepositoryBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewEcrDeleteRepositoryBadRequest

func NewEcrDeleteRepositoryBadRequest() *EcrDeleteRepositoryBadRequest

NewEcrDeleteRepositoryBadRequest creates a EcrDeleteRepositoryBadRequest with default headers values

func (*EcrDeleteRepositoryBadRequest) Code

Code gets the status code for the ecr delete repository bad request response

func (*EcrDeleteRepositoryBadRequest) Error

func (*EcrDeleteRepositoryBadRequest) IsClientError

func (o *EcrDeleteRepositoryBadRequest) IsClientError() bool

IsClientError returns true when this ecr delete repository bad request response has a 4xx status code

func (*EcrDeleteRepositoryBadRequest) IsCode

func (o *EcrDeleteRepositoryBadRequest) IsCode(code int) bool

IsCode returns true when this ecr delete repository bad request response a status code equal to that given

func (*EcrDeleteRepositoryBadRequest) IsRedirect

func (o *EcrDeleteRepositoryBadRequest) IsRedirect() bool

IsRedirect returns true when this ecr delete repository bad request response has a 3xx status code

func (*EcrDeleteRepositoryBadRequest) IsServerError

func (o *EcrDeleteRepositoryBadRequest) IsServerError() bool

IsServerError returns true when this ecr delete repository bad request response has a 5xx status code

func (*EcrDeleteRepositoryBadRequest) IsSuccess

func (o *EcrDeleteRepositoryBadRequest) IsSuccess() bool

IsSuccess returns true when this ecr delete repository bad request response has a 2xx status code

func (*EcrDeleteRepositoryBadRequest) String

type EcrDeleteRepositoryForbidden

type EcrDeleteRepositoryForbidden struct {
}

EcrDeleteRepositoryForbidden describes a response with status code 403, with default header values.

Permission denied to access registry

func NewEcrDeleteRepositoryForbidden

func NewEcrDeleteRepositoryForbidden() *EcrDeleteRepositoryForbidden

NewEcrDeleteRepositoryForbidden creates a EcrDeleteRepositoryForbidden with default headers values

func (*EcrDeleteRepositoryForbidden) Code

Code gets the status code for the ecr delete repository forbidden response

func (*EcrDeleteRepositoryForbidden) Error

func (*EcrDeleteRepositoryForbidden) IsClientError

func (o *EcrDeleteRepositoryForbidden) IsClientError() bool

IsClientError returns true when this ecr delete repository forbidden response has a 4xx status code

func (*EcrDeleteRepositoryForbidden) IsCode

func (o *EcrDeleteRepositoryForbidden) IsCode(code int) bool

IsCode returns true when this ecr delete repository forbidden response a status code equal to that given

func (*EcrDeleteRepositoryForbidden) IsRedirect

func (o *EcrDeleteRepositoryForbidden) IsRedirect() bool

IsRedirect returns true when this ecr delete repository forbidden response has a 3xx status code

func (*EcrDeleteRepositoryForbidden) IsServerError

func (o *EcrDeleteRepositoryForbidden) IsServerError() bool

IsServerError returns true when this ecr delete repository forbidden response has a 5xx status code

func (*EcrDeleteRepositoryForbidden) IsSuccess

func (o *EcrDeleteRepositoryForbidden) IsSuccess() bool

IsSuccess returns true when this ecr delete repository forbidden response has a 2xx status code

func (*EcrDeleteRepositoryForbidden) String

type EcrDeleteRepositoryInternalServerError

type EcrDeleteRepositoryInternalServerError struct {
}

EcrDeleteRepositoryInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEcrDeleteRepositoryInternalServerError

func NewEcrDeleteRepositoryInternalServerError() *EcrDeleteRepositoryInternalServerError

NewEcrDeleteRepositoryInternalServerError creates a EcrDeleteRepositoryInternalServerError with default headers values

func (*EcrDeleteRepositoryInternalServerError) Code

Code gets the status code for the ecr delete repository internal server error response

func (*EcrDeleteRepositoryInternalServerError) Error

func (*EcrDeleteRepositoryInternalServerError) IsClientError

func (o *EcrDeleteRepositoryInternalServerError) IsClientError() bool

IsClientError returns true when this ecr delete repository internal server error response has a 4xx status code

func (*EcrDeleteRepositoryInternalServerError) IsCode

IsCode returns true when this ecr delete repository internal server error response a status code equal to that given

func (*EcrDeleteRepositoryInternalServerError) IsRedirect

IsRedirect returns true when this ecr delete repository internal server error response has a 3xx status code

func (*EcrDeleteRepositoryInternalServerError) IsServerError

func (o *EcrDeleteRepositoryInternalServerError) IsServerError() bool

IsServerError returns true when this ecr delete repository internal server error response has a 5xx status code

func (*EcrDeleteRepositoryInternalServerError) IsSuccess

IsSuccess returns true when this ecr delete repository internal server error response has a 2xx status code

func (*EcrDeleteRepositoryInternalServerError) String

type EcrDeleteRepositoryNotFound

type EcrDeleteRepositoryNotFound struct {
}

EcrDeleteRepositoryNotFound describes a response with status code 404, with default header values.

Registry not found

func NewEcrDeleteRepositoryNotFound

func NewEcrDeleteRepositoryNotFound() *EcrDeleteRepositoryNotFound

NewEcrDeleteRepositoryNotFound creates a EcrDeleteRepositoryNotFound with default headers values

func (*EcrDeleteRepositoryNotFound) Code

func (o *EcrDeleteRepositoryNotFound) Code() int

Code gets the status code for the ecr delete repository not found response

func (*EcrDeleteRepositoryNotFound) Error

func (*EcrDeleteRepositoryNotFound) IsClientError

func (o *EcrDeleteRepositoryNotFound) IsClientError() bool

IsClientError returns true when this ecr delete repository not found response has a 4xx status code

func (*EcrDeleteRepositoryNotFound) IsCode

func (o *EcrDeleteRepositoryNotFound) IsCode(code int) bool

IsCode returns true when this ecr delete repository not found response a status code equal to that given

func (*EcrDeleteRepositoryNotFound) IsRedirect

func (o *EcrDeleteRepositoryNotFound) IsRedirect() bool

IsRedirect returns true when this ecr delete repository not found response has a 3xx status code

func (*EcrDeleteRepositoryNotFound) IsServerError

func (o *EcrDeleteRepositoryNotFound) IsServerError() bool

IsServerError returns true when this ecr delete repository not found response has a 5xx status code

func (*EcrDeleteRepositoryNotFound) IsSuccess

func (o *EcrDeleteRepositoryNotFound) IsSuccess() bool

IsSuccess returns true when this ecr delete repository not found response has a 2xx status code

func (*EcrDeleteRepositoryNotFound) String

func (o *EcrDeleteRepositoryNotFound) String() string

type EcrDeleteRepositoryOK

type EcrDeleteRepositoryOK struct {
}

EcrDeleteRepositoryOK describes a response with status code 200, with default header values.

Success

func NewEcrDeleteRepositoryOK

func NewEcrDeleteRepositoryOK() *EcrDeleteRepositoryOK

NewEcrDeleteRepositoryOK creates a EcrDeleteRepositoryOK with default headers values

func (*EcrDeleteRepositoryOK) Code

func (o *EcrDeleteRepositoryOK) Code() int

Code gets the status code for the ecr delete repository o k response

func (*EcrDeleteRepositoryOK) Error

func (o *EcrDeleteRepositoryOK) Error() string

func (*EcrDeleteRepositoryOK) IsClientError

func (o *EcrDeleteRepositoryOK) IsClientError() bool

IsClientError returns true when this ecr delete repository o k response has a 4xx status code

func (*EcrDeleteRepositoryOK) IsCode

func (o *EcrDeleteRepositoryOK) IsCode(code int) bool

IsCode returns true when this ecr delete repository o k response a status code equal to that given

func (*EcrDeleteRepositoryOK) IsRedirect

func (o *EcrDeleteRepositoryOK) IsRedirect() bool

IsRedirect returns true when this ecr delete repository o k response has a 3xx status code

func (*EcrDeleteRepositoryOK) IsServerError

func (o *EcrDeleteRepositoryOK) IsServerError() bool

IsServerError returns true when this ecr delete repository o k response has a 5xx status code

func (*EcrDeleteRepositoryOK) IsSuccess

func (o *EcrDeleteRepositoryOK) IsSuccess() bool

IsSuccess returns true when this ecr delete repository o k response has a 2xx status code

func (*EcrDeleteRepositoryOK) String

func (o *EcrDeleteRepositoryOK) String() string

type EcrDeleteRepositoryParams

type EcrDeleteRepositoryParams struct {

	/* ID.

	   Registry identifier
	*/
	ID int64

	/* RepositoryName.

	   Repository name
	*/
	RepositoryName string

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

EcrDeleteRepositoryParams contains all the parameters to send to the API endpoint

for the ecr delete repository operation.

Typically these are written to a http.Request.

func NewEcrDeleteRepositoryParams

func NewEcrDeleteRepositoryParams() *EcrDeleteRepositoryParams

NewEcrDeleteRepositoryParams creates a new EcrDeleteRepositoryParams object, with the default timeout for this client.

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

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

func NewEcrDeleteRepositoryParamsWithContext

func NewEcrDeleteRepositoryParamsWithContext(ctx context.Context) *EcrDeleteRepositoryParams

NewEcrDeleteRepositoryParamsWithContext creates a new EcrDeleteRepositoryParams object with the ability to set a context for a request.

func NewEcrDeleteRepositoryParamsWithHTTPClient

func NewEcrDeleteRepositoryParamsWithHTTPClient(client *http.Client) *EcrDeleteRepositoryParams

NewEcrDeleteRepositoryParamsWithHTTPClient creates a new EcrDeleteRepositoryParams object with the ability to set a custom HTTPClient for a request.

func NewEcrDeleteRepositoryParamsWithTimeout

func NewEcrDeleteRepositoryParamsWithTimeout(timeout time.Duration) *EcrDeleteRepositoryParams

NewEcrDeleteRepositoryParamsWithTimeout creates a new EcrDeleteRepositoryParams object with the ability to set a timeout on a request.

func (*EcrDeleteRepositoryParams) SetContext

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

SetContext adds the context to the ecr delete repository params

func (*EcrDeleteRepositoryParams) SetDefaults

func (o *EcrDeleteRepositoryParams) SetDefaults()

SetDefaults hydrates default values in the ecr delete repository params (not the query body).

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

func (*EcrDeleteRepositoryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ecr delete repository params

func (*EcrDeleteRepositoryParams) SetID

func (o *EcrDeleteRepositoryParams) SetID(id int64)

SetID adds the id to the ecr delete repository params

func (*EcrDeleteRepositoryParams) SetRepositoryName

func (o *EcrDeleteRepositoryParams) SetRepositoryName(repositoryName string)

SetRepositoryName adds the repositoryName to the ecr delete repository params

func (*EcrDeleteRepositoryParams) SetTimeout

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

SetTimeout adds the timeout to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WithContext

WithContext adds the context to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WithDefaults

WithDefaults hydrates default values in the ecr delete repository params (not the query body).

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

func (*EcrDeleteRepositoryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WithID

WithID adds the id to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WithRepositoryName

func (o *EcrDeleteRepositoryParams) WithRepositoryName(repositoryName string) *EcrDeleteRepositoryParams

WithRepositoryName adds the repositoryName to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WithTimeout

WithTimeout adds the timeout to the ecr delete repository params

func (*EcrDeleteRepositoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type EcrDeleteRepositoryReader

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

EcrDeleteRepositoryReader is a Reader for the EcrDeleteRepository structure.

func (*EcrDeleteRepositoryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type EcrDeleteTagsBadRequest

type EcrDeleteTagsBadRequest struct {
}

EcrDeleteTagsBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewEcrDeleteTagsBadRequest

func NewEcrDeleteTagsBadRequest() *EcrDeleteTagsBadRequest

NewEcrDeleteTagsBadRequest creates a EcrDeleteTagsBadRequest with default headers values

func (*EcrDeleteTagsBadRequest) Code

func (o *EcrDeleteTagsBadRequest) Code() int

Code gets the status code for the ecr delete tags bad request response

func (*EcrDeleteTagsBadRequest) Error

func (o *EcrDeleteTagsBadRequest) Error() string

func (*EcrDeleteTagsBadRequest) IsClientError

func (o *EcrDeleteTagsBadRequest) IsClientError() bool

IsClientError returns true when this ecr delete tags bad request response has a 4xx status code

func (*EcrDeleteTagsBadRequest) IsCode

func (o *EcrDeleteTagsBadRequest) IsCode(code int) bool

IsCode returns true when this ecr delete tags bad request response a status code equal to that given

func (*EcrDeleteTagsBadRequest) IsRedirect

func (o *EcrDeleteTagsBadRequest) IsRedirect() bool

IsRedirect returns true when this ecr delete tags bad request response has a 3xx status code

func (*EcrDeleteTagsBadRequest) IsServerError

func (o *EcrDeleteTagsBadRequest) IsServerError() bool

IsServerError returns true when this ecr delete tags bad request response has a 5xx status code

func (*EcrDeleteTagsBadRequest) IsSuccess

func (o *EcrDeleteTagsBadRequest) IsSuccess() bool

IsSuccess returns true when this ecr delete tags bad request response has a 2xx status code

func (*EcrDeleteTagsBadRequest) String

func (o *EcrDeleteTagsBadRequest) String() string

type EcrDeleteTagsForbidden

type EcrDeleteTagsForbidden struct {
}

EcrDeleteTagsForbidden describes a response with status code 403, with default header values.

Permission denied to access registry

func NewEcrDeleteTagsForbidden

func NewEcrDeleteTagsForbidden() *EcrDeleteTagsForbidden

NewEcrDeleteTagsForbidden creates a EcrDeleteTagsForbidden with default headers values

func (*EcrDeleteTagsForbidden) Code

func (o *EcrDeleteTagsForbidden) Code() int

Code gets the status code for the ecr delete tags forbidden response

func (*EcrDeleteTagsForbidden) Error

func (o *EcrDeleteTagsForbidden) Error() string

func (*EcrDeleteTagsForbidden) IsClientError

func (o *EcrDeleteTagsForbidden) IsClientError() bool

IsClientError returns true when this ecr delete tags forbidden response has a 4xx status code

func (*EcrDeleteTagsForbidden) IsCode

func (o *EcrDeleteTagsForbidden) IsCode(code int) bool

IsCode returns true when this ecr delete tags forbidden response a status code equal to that given

func (*EcrDeleteTagsForbidden) IsRedirect

func (o *EcrDeleteTagsForbidden) IsRedirect() bool

IsRedirect returns true when this ecr delete tags forbidden response has a 3xx status code

func (*EcrDeleteTagsForbidden) IsServerError

func (o *EcrDeleteTagsForbidden) IsServerError() bool

IsServerError returns true when this ecr delete tags forbidden response has a 5xx status code

func (*EcrDeleteTagsForbidden) IsSuccess

func (o *EcrDeleteTagsForbidden) IsSuccess() bool

IsSuccess returns true when this ecr delete tags forbidden response has a 2xx status code

func (*EcrDeleteTagsForbidden) String

func (o *EcrDeleteTagsForbidden) String() string

type EcrDeleteTagsInternalServerError

type EcrDeleteTagsInternalServerError struct {
}

EcrDeleteTagsInternalServerError describes a response with status code 500, with default header values.

Server error

func NewEcrDeleteTagsInternalServerError

func NewEcrDeleteTagsInternalServerError() *EcrDeleteTagsInternalServerError

NewEcrDeleteTagsInternalServerError creates a EcrDeleteTagsInternalServerError with default headers values

func (*EcrDeleteTagsInternalServerError) Code

Code gets the status code for the ecr delete tags internal server error response

func (*EcrDeleteTagsInternalServerError) Error

func (*EcrDeleteTagsInternalServerError) IsClientError

func (o *EcrDeleteTagsInternalServerError) IsClientError() bool

IsClientError returns true when this ecr delete tags internal server error response has a 4xx status code

func (*EcrDeleteTagsInternalServerError) IsCode

func (o *EcrDeleteTagsInternalServerError) IsCode(code int) bool

IsCode returns true when this ecr delete tags internal server error response a status code equal to that given

func (*EcrDeleteTagsInternalServerError) IsRedirect

func (o *EcrDeleteTagsInternalServerError) IsRedirect() bool

IsRedirect returns true when this ecr delete tags internal server error response has a 3xx status code

func (*EcrDeleteTagsInternalServerError) IsServerError

func (o *EcrDeleteTagsInternalServerError) IsServerError() bool

IsServerError returns true when this ecr delete tags internal server error response has a 5xx status code

func (*EcrDeleteTagsInternalServerError) IsSuccess

func (o *EcrDeleteTagsInternalServerError) IsSuccess() bool

IsSuccess returns true when this ecr delete tags internal server error response has a 2xx status code

func (*EcrDeleteTagsInternalServerError) String

type EcrDeleteTagsNoContent

type EcrDeleteTagsNoContent struct {
}

EcrDeleteTagsNoContent describes a response with status code 204, with default header values.

Success

func NewEcrDeleteTagsNoContent

func NewEcrDeleteTagsNoContent() *EcrDeleteTagsNoContent

NewEcrDeleteTagsNoContent creates a EcrDeleteTagsNoContent with default headers values

func (*EcrDeleteTagsNoContent) Code

func (o *EcrDeleteTagsNoContent) Code() int

Code gets the status code for the ecr delete tags no content response

func (*EcrDeleteTagsNoContent) Error

func (o *EcrDeleteTagsNoContent) Error() string

func (*EcrDeleteTagsNoContent) IsClientError

func (o *EcrDeleteTagsNoContent) IsClientError() bool

IsClientError returns true when this ecr delete tags no content response has a 4xx status code

func (*EcrDeleteTagsNoContent) IsCode

func (o *EcrDeleteTagsNoContent) IsCode(code int) bool

IsCode returns true when this ecr delete tags no content response a status code equal to that given

func (*EcrDeleteTagsNoContent) IsRedirect

func (o *EcrDeleteTagsNoContent) IsRedirect() bool

IsRedirect returns true when this ecr delete tags no content response has a 3xx status code

func (*EcrDeleteTagsNoContent) IsServerError

func (o *EcrDeleteTagsNoContent) IsServerError() bool

IsServerError returns true when this ecr delete tags no content response has a 5xx status code

func (*EcrDeleteTagsNoContent) IsSuccess

func (o *EcrDeleteTagsNoContent) IsSuccess() bool

IsSuccess returns true when this ecr delete tags no content response has a 2xx status code

func (*EcrDeleteTagsNoContent) String

func (o *EcrDeleteTagsNoContent) String() string

type EcrDeleteTagsNotFound

type EcrDeleteTagsNotFound struct {
}

EcrDeleteTagsNotFound describes a response with status code 404, with default header values.

Registry not found

func NewEcrDeleteTagsNotFound

func NewEcrDeleteTagsNotFound() *EcrDeleteTagsNotFound

NewEcrDeleteTagsNotFound creates a EcrDeleteTagsNotFound with default headers values

func (*EcrDeleteTagsNotFound) Code

func (o *EcrDeleteTagsNotFound) Code() int

Code gets the status code for the ecr delete tags not found response

func (*EcrDeleteTagsNotFound) Error

func (o *EcrDeleteTagsNotFound) Error() string

func (*EcrDeleteTagsNotFound) IsClientError

func (o *EcrDeleteTagsNotFound) IsClientError() bool

IsClientError returns true when this ecr delete tags not found response has a 4xx status code

func (*EcrDeleteTagsNotFound) IsCode

func (o *EcrDeleteTagsNotFound) IsCode(code int) bool

IsCode returns true when this ecr delete tags not found response a status code equal to that given

func (*EcrDeleteTagsNotFound) IsRedirect

func (o *EcrDeleteTagsNotFound) IsRedirect() bool

IsRedirect returns true when this ecr delete tags not found response has a 3xx status code

func (*EcrDeleteTagsNotFound) IsServerError

func (o *EcrDeleteTagsNotFound) IsServerError() bool

IsServerError returns true when this ecr delete tags not found response has a 5xx status code

func (*EcrDeleteTagsNotFound) IsSuccess

func (o *EcrDeleteTagsNotFound) IsSuccess() bool

IsSuccess returns true when this ecr delete tags not found response has a 2xx status code

func (*EcrDeleteTagsNotFound) String

func (o *EcrDeleteTagsNotFound) String() string

type EcrDeleteTagsParams

type EcrDeleteTagsParams struct {

	/* Body.

	   Tag Array
	*/
	Body *models.RegistriesDeleteTagsPayload

	/* ID.

	   Registry identifier
	*/
	ID int64

	/* RepositoryName.

	   Repository name
	*/
	RepositoryName int64

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

EcrDeleteTagsParams contains all the parameters to send to the API endpoint

for the ecr delete tags operation.

Typically these are written to a http.Request.

func NewEcrDeleteTagsParams

func NewEcrDeleteTagsParams() *EcrDeleteTagsParams

NewEcrDeleteTagsParams creates a new EcrDeleteTagsParams object, with the default timeout for this client.

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

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

func NewEcrDeleteTagsParamsWithContext

func NewEcrDeleteTagsParamsWithContext(ctx context.Context) *EcrDeleteTagsParams

NewEcrDeleteTagsParamsWithContext creates a new EcrDeleteTagsParams object with the ability to set a context for a request.

func NewEcrDeleteTagsParamsWithHTTPClient

func NewEcrDeleteTagsParamsWithHTTPClient(client *http.Client) *EcrDeleteTagsParams

NewEcrDeleteTagsParamsWithHTTPClient creates a new EcrDeleteTagsParams object with the ability to set a custom HTTPClient for a request.

func NewEcrDeleteTagsParamsWithTimeout

func NewEcrDeleteTagsParamsWithTimeout(timeout time.Duration) *EcrDeleteTagsParams

NewEcrDeleteTagsParamsWithTimeout creates a new EcrDeleteTagsParams object with the ability to set a timeout on a request.

func (*EcrDeleteTagsParams) SetBody

SetBody adds the body to the ecr delete tags params

func (*EcrDeleteTagsParams) SetContext

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

SetContext adds the context to the ecr delete tags params

func (*EcrDeleteTagsParams) SetDefaults

func (o *EcrDeleteTagsParams) SetDefaults()

SetDefaults hydrates default values in the ecr delete tags params (not the query body).

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

func (*EcrDeleteTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the ecr delete tags params

func (*EcrDeleteTagsParams) SetID

func (o *EcrDeleteTagsParams) SetID(id int64)

SetID adds the id to the ecr delete tags params

func (*EcrDeleteTagsParams) SetRepositoryName

func (o *EcrDeleteTagsParams) SetRepositoryName(repositoryName int64)

SetRepositoryName adds the repositoryName to the ecr delete tags params

func (*EcrDeleteTagsParams) SetTimeout

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

SetTimeout adds the timeout to the ecr delete tags params

func (*EcrDeleteTagsParams) WithBody

WithBody adds the body to the ecr delete tags params

func (*EcrDeleteTagsParams) WithContext

WithContext adds the context to the ecr delete tags params

func (*EcrDeleteTagsParams) WithDefaults

func (o *EcrDeleteTagsParams) WithDefaults() *EcrDeleteTagsParams

WithDefaults hydrates default values in the ecr delete tags params (not the query body).

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

func (*EcrDeleteTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the ecr delete tags params

func (*EcrDeleteTagsParams) WithID

WithID adds the id to the ecr delete tags params

func (*EcrDeleteTagsParams) WithRepositoryName

func (o *EcrDeleteTagsParams) WithRepositoryName(repositoryName int64) *EcrDeleteTagsParams

WithRepositoryName adds the repositoryName to the ecr delete tags params

func (*EcrDeleteTagsParams) WithTimeout

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

WithTimeout adds the timeout to the ecr delete tags params

func (*EcrDeleteTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type EcrDeleteTagsReader

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

EcrDeleteTagsReader is a Reader for the EcrDeleteTags structure.

func (*EcrDeleteTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryConfigureBadRequest

type RegistryConfigureBadRequest struct {
}

RegistryConfigureBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRegistryConfigureBadRequest

func NewRegistryConfigureBadRequest() *RegistryConfigureBadRequest

NewRegistryConfigureBadRequest creates a RegistryConfigureBadRequest with default headers values

func (*RegistryConfigureBadRequest) Code

func (o *RegistryConfigureBadRequest) Code() int

Code gets the status code for the registry configure bad request response

func (*RegistryConfigureBadRequest) Error

func (*RegistryConfigureBadRequest) IsClientError

func (o *RegistryConfigureBadRequest) IsClientError() bool

IsClientError returns true when this registry configure bad request response has a 4xx status code

func (*RegistryConfigureBadRequest) IsCode

func (o *RegistryConfigureBadRequest) IsCode(code int) bool

IsCode returns true when this registry configure bad request response a status code equal to that given

func (*RegistryConfigureBadRequest) IsRedirect

func (o *RegistryConfigureBadRequest) IsRedirect() bool

IsRedirect returns true when this registry configure bad request response has a 3xx status code

func (*RegistryConfigureBadRequest) IsServerError

func (o *RegistryConfigureBadRequest) IsServerError() bool

IsServerError returns true when this registry configure bad request response has a 5xx status code

func (*RegistryConfigureBadRequest) IsSuccess

func (o *RegistryConfigureBadRequest) IsSuccess() bool

IsSuccess returns true when this registry configure bad request response has a 2xx status code

func (*RegistryConfigureBadRequest) String

func (o *RegistryConfigureBadRequest) String() string

type RegistryConfigureForbidden

type RegistryConfigureForbidden struct {
}

RegistryConfigureForbidden describes a response with status code 403, with default header values.

Permission denied

func NewRegistryConfigureForbidden

func NewRegistryConfigureForbidden() *RegistryConfigureForbidden

NewRegistryConfigureForbidden creates a RegistryConfigureForbidden with default headers values

func (*RegistryConfigureForbidden) Code

func (o *RegistryConfigureForbidden) Code() int

Code gets the status code for the registry configure forbidden response

func (*RegistryConfigureForbidden) Error

func (*RegistryConfigureForbidden) IsClientError

func (o *RegistryConfigureForbidden) IsClientError() bool

IsClientError returns true when this registry configure forbidden response has a 4xx status code

func (*RegistryConfigureForbidden) IsCode

func (o *RegistryConfigureForbidden) IsCode(code int) bool

IsCode returns true when this registry configure forbidden response a status code equal to that given

func (*RegistryConfigureForbidden) IsRedirect

func (o *RegistryConfigureForbidden) IsRedirect() bool

IsRedirect returns true when this registry configure forbidden response has a 3xx status code

func (*RegistryConfigureForbidden) IsServerError

func (o *RegistryConfigureForbidden) IsServerError() bool

IsServerError returns true when this registry configure forbidden response has a 5xx status code

func (*RegistryConfigureForbidden) IsSuccess

func (o *RegistryConfigureForbidden) IsSuccess() bool

IsSuccess returns true when this registry configure forbidden response has a 2xx status code

func (*RegistryConfigureForbidden) String

func (o *RegistryConfigureForbidden) String() string

type RegistryConfigureInternalServerError

type RegistryConfigureInternalServerError struct {
}

RegistryConfigureInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryConfigureInternalServerError

func NewRegistryConfigureInternalServerError() *RegistryConfigureInternalServerError

NewRegistryConfigureInternalServerError creates a RegistryConfigureInternalServerError with default headers values

func (*RegistryConfigureInternalServerError) Code

Code gets the status code for the registry configure internal server error response

func (*RegistryConfigureInternalServerError) Error

func (*RegistryConfigureInternalServerError) IsClientError

func (o *RegistryConfigureInternalServerError) IsClientError() bool

IsClientError returns true when this registry configure internal server error response has a 4xx status code

func (*RegistryConfigureInternalServerError) IsCode

IsCode returns true when this registry configure internal server error response a status code equal to that given

func (*RegistryConfigureInternalServerError) IsRedirect

IsRedirect returns true when this registry configure internal server error response has a 3xx status code

func (*RegistryConfigureInternalServerError) IsServerError

func (o *RegistryConfigureInternalServerError) IsServerError() bool

IsServerError returns true when this registry configure internal server error response has a 5xx status code

func (*RegistryConfigureInternalServerError) IsSuccess

IsSuccess returns true when this registry configure internal server error response has a 2xx status code

func (*RegistryConfigureInternalServerError) String

type RegistryConfigureNoContent

type RegistryConfigureNoContent struct {
}

RegistryConfigureNoContent describes a response with status code 204, with default header values.

Success

func NewRegistryConfigureNoContent

func NewRegistryConfigureNoContent() *RegistryConfigureNoContent

NewRegistryConfigureNoContent creates a RegistryConfigureNoContent with default headers values

func (*RegistryConfigureNoContent) Code

func (o *RegistryConfigureNoContent) Code() int

Code gets the status code for the registry configure no content response

func (*RegistryConfigureNoContent) Error

func (*RegistryConfigureNoContent) IsClientError

func (o *RegistryConfigureNoContent) IsClientError() bool

IsClientError returns true when this registry configure no content response has a 4xx status code

func (*RegistryConfigureNoContent) IsCode

func (o *RegistryConfigureNoContent) IsCode(code int) bool

IsCode returns true when this registry configure no content response a status code equal to that given

func (*RegistryConfigureNoContent) IsRedirect

func (o *RegistryConfigureNoContent) IsRedirect() bool

IsRedirect returns true when this registry configure no content response has a 3xx status code

func (*RegistryConfigureNoContent) IsServerError

func (o *RegistryConfigureNoContent) IsServerError() bool

IsServerError returns true when this registry configure no content response has a 5xx status code

func (*RegistryConfigureNoContent) IsSuccess

func (o *RegistryConfigureNoContent) IsSuccess() bool

IsSuccess returns true when this registry configure no content response has a 2xx status code

func (*RegistryConfigureNoContent) String

func (o *RegistryConfigureNoContent) String() string

type RegistryConfigureNotFound

type RegistryConfigureNotFound struct {
}

RegistryConfigureNotFound describes a response with status code 404, with default header values.

Registry not found

func NewRegistryConfigureNotFound

func NewRegistryConfigureNotFound() *RegistryConfigureNotFound

NewRegistryConfigureNotFound creates a RegistryConfigureNotFound with default headers values

func (*RegistryConfigureNotFound) Code

func (o *RegistryConfigureNotFound) Code() int

Code gets the status code for the registry configure not found response

func (*RegistryConfigureNotFound) Error

func (o *RegistryConfigureNotFound) Error() string

func (*RegistryConfigureNotFound) IsClientError

func (o *RegistryConfigureNotFound) IsClientError() bool

IsClientError returns true when this registry configure not found response has a 4xx status code

func (*RegistryConfigureNotFound) IsCode

func (o *RegistryConfigureNotFound) IsCode(code int) bool

IsCode returns true when this registry configure not found response a status code equal to that given

func (*RegistryConfigureNotFound) IsRedirect

func (o *RegistryConfigureNotFound) IsRedirect() bool

IsRedirect returns true when this registry configure not found response has a 3xx status code

func (*RegistryConfigureNotFound) IsServerError

func (o *RegistryConfigureNotFound) IsServerError() bool

IsServerError returns true when this registry configure not found response has a 5xx status code

func (*RegistryConfigureNotFound) IsSuccess

func (o *RegistryConfigureNotFound) IsSuccess() bool

IsSuccess returns true when this registry configure not found response has a 2xx status code

func (*RegistryConfigureNotFound) String

func (o *RegistryConfigureNotFound) String() string

type RegistryConfigureParams

type RegistryConfigureParams struct {

	/* Body.

	   Registry configuration
	*/
	Body *models.RegistriesRegistryConfigurePayload

	/* ID.

	   Registry identifier
	*/
	ID int64

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

RegistryConfigureParams contains all the parameters to send to the API endpoint

for the registry configure operation.

Typically these are written to a http.Request.

func NewRegistryConfigureParams

func NewRegistryConfigureParams() *RegistryConfigureParams

NewRegistryConfigureParams creates a new RegistryConfigureParams object, with the default timeout for this client.

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

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

func NewRegistryConfigureParamsWithContext

func NewRegistryConfigureParamsWithContext(ctx context.Context) *RegistryConfigureParams

NewRegistryConfigureParamsWithContext creates a new RegistryConfigureParams object with the ability to set a context for a request.

func NewRegistryConfigureParamsWithHTTPClient

func NewRegistryConfigureParamsWithHTTPClient(client *http.Client) *RegistryConfigureParams

NewRegistryConfigureParamsWithHTTPClient creates a new RegistryConfigureParams object with the ability to set a custom HTTPClient for a request.

func NewRegistryConfigureParamsWithTimeout

func NewRegistryConfigureParamsWithTimeout(timeout time.Duration) *RegistryConfigureParams

NewRegistryConfigureParamsWithTimeout creates a new RegistryConfigureParams object with the ability to set a timeout on a request.

func (*RegistryConfigureParams) SetBody

SetBody adds the body to the registry configure params

func (*RegistryConfigureParams) SetContext

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

SetContext adds the context to the registry configure params

func (*RegistryConfigureParams) SetDefaults

func (o *RegistryConfigureParams) SetDefaults()

SetDefaults hydrates default values in the registry configure params (not the query body).

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

func (*RegistryConfigureParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the registry configure params

func (*RegistryConfigureParams) SetID

func (o *RegistryConfigureParams) SetID(id int64)

SetID adds the id to the registry configure params

func (*RegistryConfigureParams) SetTimeout

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

SetTimeout adds the timeout to the registry configure params

func (*RegistryConfigureParams) WithBody

WithBody adds the body to the registry configure params

func (*RegistryConfigureParams) WithContext

WithContext adds the context to the registry configure params

func (*RegistryConfigureParams) WithDefaults

WithDefaults hydrates default values in the registry configure params (not the query body).

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

func (*RegistryConfigureParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the registry configure params

func (*RegistryConfigureParams) WithID

WithID adds the id to the registry configure params

func (*RegistryConfigureParams) WithTimeout

WithTimeout adds the timeout to the registry configure params

func (*RegistryConfigureParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RegistryConfigureReader

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

RegistryConfigureReader is a Reader for the RegistryConfigure structure.

func (*RegistryConfigureReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RegistryCreateBadRequest

type RegistryCreateBadRequest struct {
}

RegistryCreateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRegistryCreateBadRequest

func NewRegistryCreateBadRequest() *RegistryCreateBadRequest

NewRegistryCreateBadRequest creates a RegistryCreateBadRequest with default headers values

func (*RegistryCreateBadRequest) Code

func (o *RegistryCreateBadRequest) Code() int

Code gets the status code for the registry create bad request response

func (*RegistryCreateBadRequest) Error

func (o *RegistryCreateBadRequest) Error() string

func (*RegistryCreateBadRequest) IsClientError

func (o *RegistryCreateBadRequest) IsClientError() bool

IsClientError returns true when this registry create bad request response has a 4xx status code

func (*RegistryCreateBadRequest) IsCode

func (o *RegistryCreateBadRequest) IsCode(code int) bool

IsCode returns true when this registry create bad request response a status code equal to that given

func (*RegistryCreateBadRequest) IsRedirect

func (o *RegistryCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this registry create bad request response has a 3xx status code

func (*RegistryCreateBadRequest) IsServerError

func (o *RegistryCreateBadRequest) IsServerError() bool

IsServerError returns true when this registry create bad request response has a 5xx status code

func (*RegistryCreateBadRequest) IsSuccess

func (o *RegistryCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this registry create bad request response has a 2xx status code

func (*RegistryCreateBadRequest) String

func (o *RegistryCreateBadRequest) String() string

type RegistryCreateConflict

type RegistryCreateConflict struct {
}

RegistryCreateConflict describes a response with status code 409, with default header values.

Another registry with either the same name or same URL & credeintials already exists

func NewRegistryCreateConflict

func NewRegistryCreateConflict() *RegistryCreateConflict

NewRegistryCreateConflict creates a RegistryCreateConflict with default headers values

func (*RegistryCreateConflict) Code

func (o *RegistryCreateConflict) Code() int

Code gets the status code for the registry create conflict response

func (*RegistryCreateConflict) Error

func (o *RegistryCreateConflict) Error() string

func (*RegistryCreateConflict) IsClientError

func (o *RegistryCreateConflict) IsClientError() bool

IsClientError returns true when this registry create conflict response has a 4xx status code

func (*RegistryCreateConflict) IsCode

func (o *RegistryCreateConflict) IsCode(code int) bool

IsCode returns true when this registry create conflict response a status code equal to that given

func (*RegistryCreateConflict) IsRedirect

func (o *RegistryCreateConflict) IsRedirect() bool

IsRedirect returns true when this registry create conflict response has a 3xx status code

func (*RegistryCreateConflict) IsServerError

func (o *RegistryCreateConflict) IsServerError() bool

IsServerError returns true when this registry create conflict response has a 5xx status code

func (*RegistryCreateConflict) IsSuccess

func (o *RegistryCreateConflict) IsSuccess() bool

IsSuccess returns true when this registry create conflict response has a 2xx status code

func (*RegistryCreateConflict) String

func (o *RegistryCreateConflict) String() string

type RegistryCreateInternalServerError

type RegistryCreateInternalServerError struct {
}

RegistryCreateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryCreateInternalServerError

func NewRegistryCreateInternalServerError() *RegistryCreateInternalServerError

NewRegistryCreateInternalServerError creates a RegistryCreateInternalServerError with default headers values

func (*RegistryCreateInternalServerError) Code

Code gets the status code for the registry create internal server error response

func (*RegistryCreateInternalServerError) Error

func (*RegistryCreateInternalServerError) IsClientError

func (o *RegistryCreateInternalServerError) IsClientError() bool

IsClientError returns true when this registry create internal server error response has a 4xx status code

func (*RegistryCreateInternalServerError) IsCode

func (o *RegistryCreateInternalServerError) IsCode(code int) bool

IsCode returns true when this registry create internal server error response a status code equal to that given

func (*RegistryCreateInternalServerError) IsRedirect

func (o *RegistryCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this registry create internal server error response has a 3xx status code

func (*RegistryCreateInternalServerError) IsServerError

func (o *RegistryCreateInternalServerError) IsServerError() bool

IsServerError returns true when this registry create internal server error response has a 5xx status code

func (*RegistryCreateInternalServerError) IsSuccess

func (o *RegistryCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this registry create internal server error response has a 2xx status code

func (*RegistryCreateInternalServerError) String

type RegistryCreateOK

type RegistryCreateOK struct {
	Payload *models.PortainereeRegistry
}

RegistryCreateOK describes a response with status code 200, with default header values.

Success

func NewRegistryCreateOK

func NewRegistryCreateOK() *RegistryCreateOK

NewRegistryCreateOK creates a RegistryCreateOK with default headers values

func (*RegistryCreateOK) Code

func (o *RegistryCreateOK) Code() int

Code gets the status code for the registry create o k response

func (*RegistryCreateOK) Error

func (o *RegistryCreateOK) Error() string

func (*RegistryCreateOK) GetPayload

func (o *RegistryCreateOK) GetPayload() *models.PortainereeRegistry

func (*RegistryCreateOK) IsClientError

func (o *RegistryCreateOK) IsClientError() bool

IsClientError returns true when this registry create o k response has a 4xx status code

func (*RegistryCreateOK) IsCode

func (o *RegistryCreateOK) IsCode(code int) bool

IsCode returns true when this registry create o k response a status code equal to that given

func (*RegistryCreateOK) IsRedirect

func (o *RegistryCreateOK) IsRedirect() bool

IsRedirect returns true when this registry create o k response has a 3xx status code

func (*RegistryCreateOK) IsServerError

func (o *RegistryCreateOK) IsServerError() bool

IsServerError returns true when this registry create o k response has a 5xx status code

func (*RegistryCreateOK) IsSuccess

func (o *RegistryCreateOK) IsSuccess() bool

IsSuccess returns true when this registry create o k response has a 2xx status code

func (*RegistryCreateOK) String

func (o *RegistryCreateOK) String() string

type RegistryCreateParams

type RegistryCreateParams struct {

	/* Body.

	   Registry details
	*/
	Body *models.RegistriesRegistryCreatePayload

	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 timeout for this client.

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

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

func NewRegistryCreateParamsWithContext

func NewRegistryCreateParamsWithContext(ctx context.Context) *RegistryCreateParams

NewRegistryCreateParamsWithContext creates a new RegistryCreateParams object with 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 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 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) SetDefaults

func (o *RegistryCreateParams) SetDefaults()

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

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

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) WithDefaults

func (o *RegistryCreateParams) WithDefaults() *RegistryCreateParams

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

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

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 {
}

RegistryDeleteBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRegistryDeleteBadRequest

func NewRegistryDeleteBadRequest() *RegistryDeleteBadRequest

NewRegistryDeleteBadRequest creates a RegistryDeleteBadRequest with default headers values

func (*RegistryDeleteBadRequest) Code

func (o *RegistryDeleteBadRequest) Code() int

Code gets the status code for the registry delete bad request response

func (*RegistryDeleteBadRequest) Error

func (o *RegistryDeleteBadRequest) Error() string

func (*RegistryDeleteBadRequest) IsClientError

func (o *RegistryDeleteBadRequest) IsClientError() bool

IsClientError returns true when this registry delete bad request response has a 4xx status code

func (*RegistryDeleteBadRequest) IsCode

func (o *RegistryDeleteBadRequest) IsCode(code int) bool

IsCode returns true when this registry delete bad request response a status code equal to that given

func (*RegistryDeleteBadRequest) IsRedirect

func (o *RegistryDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this registry delete bad request response has a 3xx status code

func (*RegistryDeleteBadRequest) IsServerError

func (o *RegistryDeleteBadRequest) IsServerError() bool

IsServerError returns true when this registry delete bad request response has a 5xx status code

func (*RegistryDeleteBadRequest) IsSuccess

func (o *RegistryDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this registry delete bad request response has a 2xx status code

func (*RegistryDeleteBadRequest) String

func (o *RegistryDeleteBadRequest) String() string

type RegistryDeleteInternalServerError

type RegistryDeleteInternalServerError struct {
}

RegistryDeleteInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryDeleteInternalServerError

func NewRegistryDeleteInternalServerError() *RegistryDeleteInternalServerError

NewRegistryDeleteInternalServerError creates a RegistryDeleteInternalServerError with default headers values

func (*RegistryDeleteInternalServerError) Code

Code gets the status code for the registry delete internal server error response

func (*RegistryDeleteInternalServerError) Error

func (*RegistryDeleteInternalServerError) IsClientError

func (o *RegistryDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this registry delete internal server error response has a 4xx status code

func (*RegistryDeleteInternalServerError) IsCode

func (o *RegistryDeleteInternalServerError) IsCode(code int) bool

IsCode returns true when this registry delete internal server error response a status code equal to that given

func (*RegistryDeleteInternalServerError) IsRedirect

func (o *RegistryDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this registry delete internal server error response has a 3xx status code

func (*RegistryDeleteInternalServerError) IsServerError

func (o *RegistryDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this registry delete internal server error response has a 5xx status code

func (*RegistryDeleteInternalServerError) IsSuccess

func (o *RegistryDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this registry delete internal server error response has a 2xx status code

func (*RegistryDeleteInternalServerError) String

type RegistryDeleteNoContent

type RegistryDeleteNoContent struct {
}

RegistryDeleteNoContent describes a response with status code 204, with default header values.

Success

func NewRegistryDeleteNoContent

func NewRegistryDeleteNoContent() *RegistryDeleteNoContent

NewRegistryDeleteNoContent creates a RegistryDeleteNoContent with default headers values

func (*RegistryDeleteNoContent) Code

func (o *RegistryDeleteNoContent) Code() int

Code gets the status code for the registry delete no content response

func (*RegistryDeleteNoContent) Error

func (o *RegistryDeleteNoContent) Error() string

func (*RegistryDeleteNoContent) IsClientError

func (o *RegistryDeleteNoContent) IsClientError() bool

IsClientError returns true when this registry delete no content response has a 4xx status code

func (*RegistryDeleteNoContent) IsCode

func (o *RegistryDeleteNoContent) IsCode(code int) bool

IsCode returns true when this registry delete no content response a status code equal to that given

func (*RegistryDeleteNoContent) IsRedirect

func (o *RegistryDeleteNoContent) IsRedirect() bool

IsRedirect returns true when this registry delete no content response has a 3xx status code

func (*RegistryDeleteNoContent) IsServerError

func (o *RegistryDeleteNoContent) IsServerError() bool

IsServerError returns true when this registry delete no content response has a 5xx status code

func (*RegistryDeleteNoContent) IsSuccess

func (o *RegistryDeleteNoContent) IsSuccess() bool

IsSuccess returns true when this registry delete no content response has a 2xx status code

func (*RegistryDeleteNoContent) String

func (o *RegistryDeleteNoContent) String() string

type RegistryDeleteNotFound

type RegistryDeleteNotFound struct {
}

RegistryDeleteNotFound describes a response with status code 404, with default header values.

Registry not found

func NewRegistryDeleteNotFound

func NewRegistryDeleteNotFound() *RegistryDeleteNotFound

NewRegistryDeleteNotFound creates a RegistryDeleteNotFound with default headers values

func (*RegistryDeleteNotFound) Code

func (o *RegistryDeleteNotFound) Code() int

Code gets the status code for the registry delete not found response

func (*RegistryDeleteNotFound) Error

func (o *RegistryDeleteNotFound) Error() string

func (*RegistryDeleteNotFound) IsClientError

func (o *RegistryDeleteNotFound) IsClientError() bool

IsClientError returns true when this registry delete not found response has a 4xx status code

func (*RegistryDeleteNotFound) IsCode

func (o *RegistryDeleteNotFound) IsCode(code int) bool

IsCode returns true when this registry delete not found response a status code equal to that given

func (*RegistryDeleteNotFound) IsRedirect

func (o *RegistryDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this registry delete not found response has a 3xx status code

func (*RegistryDeleteNotFound) IsServerError

func (o *RegistryDeleteNotFound) IsServerError() bool

IsServerError returns true when this registry delete not found response has a 5xx status code

func (*RegistryDeleteNotFound) IsSuccess

func (o *RegistryDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this registry delete not found response has a 2xx status code

func (*RegistryDeleteNotFound) String

func (o *RegistryDeleteNotFound) String() 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 timeout for this client.

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

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

func NewRegistryDeleteParamsWithContext

func NewRegistryDeleteParamsWithContext(ctx context.Context) *RegistryDeleteParams

NewRegistryDeleteParamsWithContext creates a new RegistryDeleteParams object with 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 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 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) SetDefaults

func (o *RegistryDeleteParams) SetDefaults()

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

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

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) WithDefaults

func (o *RegistryDeleteParams) WithDefaults() *RegistryDeleteParams

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

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

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 {
}

RegistryInspectBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRegistryInspectBadRequest

func NewRegistryInspectBadRequest() *RegistryInspectBadRequest

NewRegistryInspectBadRequest creates a RegistryInspectBadRequest with default headers values

func (*RegistryInspectBadRequest) Code

func (o *RegistryInspectBadRequest) Code() int

Code gets the status code for the registry inspect bad request response

func (*RegistryInspectBadRequest) Error

func (o *RegistryInspectBadRequest) Error() string

func (*RegistryInspectBadRequest) IsClientError

func (o *RegistryInspectBadRequest) IsClientError() bool

IsClientError returns true when this registry inspect bad request response has a 4xx status code

func (*RegistryInspectBadRequest) IsCode

func (o *RegistryInspectBadRequest) IsCode(code int) bool

IsCode returns true when this registry inspect bad request response a status code equal to that given

func (*RegistryInspectBadRequest) IsRedirect

func (o *RegistryInspectBadRequest) IsRedirect() bool

IsRedirect returns true when this registry inspect bad request response has a 3xx status code

func (*RegistryInspectBadRequest) IsServerError

func (o *RegistryInspectBadRequest) IsServerError() bool

IsServerError returns true when this registry inspect bad request response has a 5xx status code

func (*RegistryInspectBadRequest) IsSuccess

func (o *RegistryInspectBadRequest) IsSuccess() bool

IsSuccess returns true when this registry inspect bad request response has a 2xx status code

func (*RegistryInspectBadRequest) String

func (o *RegistryInspectBadRequest) String() string

type RegistryInspectForbidden

type RegistryInspectForbidden struct {
}

RegistryInspectForbidden describes a response with status code 403, with default header values.

Permission denied to access registry

func NewRegistryInspectForbidden

func NewRegistryInspectForbidden() *RegistryInspectForbidden

NewRegistryInspectForbidden creates a RegistryInspectForbidden with default headers values

func (*RegistryInspectForbidden) Code

func (o *RegistryInspectForbidden) Code() int

Code gets the status code for the registry inspect forbidden response

func (*RegistryInspectForbidden) Error

func (o *RegistryInspectForbidden) Error() string

func (*RegistryInspectForbidden) IsClientError

func (o *RegistryInspectForbidden) IsClientError() bool

IsClientError returns true when this registry inspect forbidden response has a 4xx status code

func (*RegistryInspectForbidden) IsCode

func (o *RegistryInspectForbidden) IsCode(code int) bool

IsCode returns true when this registry inspect forbidden response a status code equal to that given

func (*RegistryInspectForbidden) IsRedirect

func (o *RegistryInspectForbidden) IsRedirect() bool

IsRedirect returns true when this registry inspect forbidden response has a 3xx status code

func (*RegistryInspectForbidden) IsServerError

func (o *RegistryInspectForbidden) IsServerError() bool

IsServerError returns true when this registry inspect forbidden response has a 5xx status code

func (*RegistryInspectForbidden) IsSuccess

func (o *RegistryInspectForbidden) IsSuccess() bool

IsSuccess returns true when this registry inspect forbidden response has a 2xx status code

func (*RegistryInspectForbidden) String

func (o *RegistryInspectForbidden) String() string

type RegistryInspectInternalServerError

type RegistryInspectInternalServerError struct {
}

RegistryInspectInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryInspectInternalServerError

func NewRegistryInspectInternalServerError() *RegistryInspectInternalServerError

NewRegistryInspectInternalServerError creates a RegistryInspectInternalServerError with default headers values

func (*RegistryInspectInternalServerError) Code

Code gets the status code for the registry inspect internal server error response

func (*RegistryInspectInternalServerError) Error

func (*RegistryInspectInternalServerError) IsClientError

func (o *RegistryInspectInternalServerError) IsClientError() bool

IsClientError returns true when this registry inspect internal server error response has a 4xx status code

func (*RegistryInspectInternalServerError) IsCode

IsCode returns true when this registry inspect internal server error response a status code equal to that given

func (*RegistryInspectInternalServerError) IsRedirect

func (o *RegistryInspectInternalServerError) IsRedirect() bool

IsRedirect returns true when this registry inspect internal server error response has a 3xx status code

func (*RegistryInspectInternalServerError) IsServerError

func (o *RegistryInspectInternalServerError) IsServerError() bool

IsServerError returns true when this registry inspect internal server error response has a 5xx status code

func (*RegistryInspectInternalServerError) IsSuccess

IsSuccess returns true when this registry inspect internal server error response has a 2xx status code

func (*RegistryInspectInternalServerError) String

type RegistryInspectNotFound

type RegistryInspectNotFound struct {
}

RegistryInspectNotFound describes a response with status code 404, with default header values.

Registry not found

func NewRegistryInspectNotFound

func NewRegistryInspectNotFound() *RegistryInspectNotFound

NewRegistryInspectNotFound creates a RegistryInspectNotFound with default headers values

func (*RegistryInspectNotFound) Code

func (o *RegistryInspectNotFound) Code() int

Code gets the status code for the registry inspect not found response

func (*RegistryInspectNotFound) Error

func (o *RegistryInspectNotFound) Error() string

func (*RegistryInspectNotFound) IsClientError

func (o *RegistryInspectNotFound) IsClientError() bool

IsClientError returns true when this registry inspect not found response has a 4xx status code

func (*RegistryInspectNotFound) IsCode

func (o *RegistryInspectNotFound) IsCode(code int) bool

IsCode returns true when this registry inspect not found response a status code equal to that given

func (*RegistryInspectNotFound) IsRedirect

func (o *RegistryInspectNotFound) IsRedirect() bool

IsRedirect returns true when this registry inspect not found response has a 3xx status code

func (*RegistryInspectNotFound) IsServerError

func (o *RegistryInspectNotFound) IsServerError() bool

IsServerError returns true when this registry inspect not found response has a 5xx status code

func (*RegistryInspectNotFound) IsSuccess

func (o *RegistryInspectNotFound) IsSuccess() bool

IsSuccess returns true when this registry inspect not found response has a 2xx status code

func (*RegistryInspectNotFound) String

func (o *RegistryInspectNotFound) String() string

type RegistryInspectOK

type RegistryInspectOK struct {
	Payload *models.PortainereeRegistry
}

RegistryInspectOK describes a response with status code 200, with default header values.

Success

func NewRegistryInspectOK

func NewRegistryInspectOK() *RegistryInspectOK

NewRegistryInspectOK creates a RegistryInspectOK with default headers values

func (*RegistryInspectOK) Code

func (o *RegistryInspectOK) Code() int

Code gets the status code for the registry inspect o k response

func (*RegistryInspectOK) Error

func (o *RegistryInspectOK) Error() string

func (*RegistryInspectOK) GetPayload

func (o *RegistryInspectOK) GetPayload() *models.PortainereeRegistry

func (*RegistryInspectOK) IsClientError

func (o *RegistryInspectOK) IsClientError() bool

IsClientError returns true when this registry inspect o k response has a 4xx status code

func (*RegistryInspectOK) IsCode

func (o *RegistryInspectOK) IsCode(code int) bool

IsCode returns true when this registry inspect o k response a status code equal to that given

func (*RegistryInspectOK) IsRedirect

func (o *RegistryInspectOK) IsRedirect() bool

IsRedirect returns true when this registry inspect o k response has a 3xx status code

func (*RegistryInspectOK) IsServerError

func (o *RegistryInspectOK) IsServerError() bool

IsServerError returns true when this registry inspect o k response has a 5xx status code

func (*RegistryInspectOK) IsSuccess

func (o *RegistryInspectOK) IsSuccess() bool

IsSuccess returns true when this registry inspect o k response has a 2xx status code

func (*RegistryInspectOK) String

func (o *RegistryInspectOK) String() 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 timeout for this client.

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

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

func NewRegistryInspectParamsWithContext

func NewRegistryInspectParamsWithContext(ctx context.Context) *RegistryInspectParams

NewRegistryInspectParamsWithContext creates a new RegistryInspectParams object with 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 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 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) SetDefaults

func (o *RegistryInspectParams) SetDefaults()

SetDefaults hydrates default values in the registry inspect params (not the query body).

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

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) WithDefaults

func (o *RegistryInspectParams) WithDefaults() *RegistryInspectParams

WithDefaults hydrates default values in the registry inspect params (not the query body).

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

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 {
}

RegistryListInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryListInternalServerError

func NewRegistryListInternalServerError() *RegistryListInternalServerError

NewRegistryListInternalServerError creates a RegistryListInternalServerError with default headers values

func (*RegistryListInternalServerError) Code

Code gets the status code for the registry list internal server error response

func (*RegistryListInternalServerError) Error

func (*RegistryListInternalServerError) IsClientError

func (o *RegistryListInternalServerError) IsClientError() bool

IsClientError returns true when this registry list internal server error response has a 4xx status code

func (*RegistryListInternalServerError) IsCode

func (o *RegistryListInternalServerError) IsCode(code int) bool

IsCode returns true when this registry list internal server error response a status code equal to that given

func (*RegistryListInternalServerError) IsRedirect

func (o *RegistryListInternalServerError) IsRedirect() bool

IsRedirect returns true when this registry list internal server error response has a 3xx status code

func (*RegistryListInternalServerError) IsServerError

func (o *RegistryListInternalServerError) IsServerError() bool

IsServerError returns true when this registry list internal server error response has a 5xx status code

func (*RegistryListInternalServerError) IsSuccess

func (o *RegistryListInternalServerError) IsSuccess() bool

IsSuccess returns true when this registry list internal server error response has a 2xx status code

func (*RegistryListInternalServerError) String

type RegistryListOK

type RegistryListOK struct {
	Payload []*models.PortainereeRegistry
}

RegistryListOK describes a response with status code 200, with default header values.

Success

func NewRegistryListOK

func NewRegistryListOK() *RegistryListOK

NewRegistryListOK creates a RegistryListOK with default headers values

func (*RegistryListOK) Code

func (o *RegistryListOK) Code() int

Code gets the status code for the registry list o k response

func (*RegistryListOK) Error

func (o *RegistryListOK) Error() string

func (*RegistryListOK) GetPayload

func (o *RegistryListOK) GetPayload() []*models.PortainereeRegistry

func (*RegistryListOK) IsClientError

func (o *RegistryListOK) IsClientError() bool

IsClientError returns true when this registry list o k response has a 4xx status code

func (*RegistryListOK) IsCode

func (o *RegistryListOK) IsCode(code int) bool

IsCode returns true when this registry list o k response a status code equal to that given

func (*RegistryListOK) IsRedirect

func (o *RegistryListOK) IsRedirect() bool

IsRedirect returns true when this registry list o k response has a 3xx status code

func (*RegistryListOK) IsServerError

func (o *RegistryListOK) IsServerError() bool

IsServerError returns true when this registry list o k response has a 5xx status code

func (*RegistryListOK) IsSuccess

func (o *RegistryListOK) IsSuccess() bool

IsSuccess returns true when this registry list o k response has a 2xx status code

func (*RegistryListOK) String

func (o *RegistryListOK) String() 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 timeout for this client.

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

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

func NewRegistryListParamsWithContext

func NewRegistryListParamsWithContext(ctx context.Context) *RegistryListParams

NewRegistryListParamsWithContext creates a new RegistryListParams object with 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 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 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) SetDefaults

func (o *RegistryListParams) SetDefaults()

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

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

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) WithDefaults

func (o *RegistryListParams) WithDefaults() *RegistryListParams

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

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

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 {
}

RegistryUpdateBadRequest describes a response with status code 400, with default header values.

Invalid request

func NewRegistryUpdateBadRequest

func NewRegistryUpdateBadRequest() *RegistryUpdateBadRequest

NewRegistryUpdateBadRequest creates a RegistryUpdateBadRequest with default headers values

func (*RegistryUpdateBadRequest) Code

func (o *RegistryUpdateBadRequest) Code() int

Code gets the status code for the registry update bad request response

func (*RegistryUpdateBadRequest) Error

func (o *RegistryUpdateBadRequest) Error() string

func (*RegistryUpdateBadRequest) IsClientError

func (o *RegistryUpdateBadRequest) IsClientError() bool

IsClientError returns true when this registry update bad request response has a 4xx status code

func (*RegistryUpdateBadRequest) IsCode

func (o *RegistryUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this registry update bad request response a status code equal to that given

func (*RegistryUpdateBadRequest) IsRedirect

func (o *RegistryUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this registry update bad request response has a 3xx status code

func (*RegistryUpdateBadRequest) IsServerError

func (o *RegistryUpdateBadRequest) IsServerError() bool

IsServerError returns true when this registry update bad request response has a 5xx status code

func (*RegistryUpdateBadRequest) IsSuccess

func (o *RegistryUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this registry update bad request response has a 2xx status code

func (*RegistryUpdateBadRequest) String

func (o *RegistryUpdateBadRequest) String() string

type RegistryUpdateConflict

type RegistryUpdateConflict struct {
}

RegistryUpdateConflict describes a response with status code 409, with default header values.

Another registry with either the same name or same URL & credentials already exists

func NewRegistryUpdateConflict

func NewRegistryUpdateConflict() *RegistryUpdateConflict

NewRegistryUpdateConflict creates a RegistryUpdateConflict with default headers values

func (*RegistryUpdateConflict) Code

func (o *RegistryUpdateConflict) Code() int

Code gets the status code for the registry update conflict response

func (*RegistryUpdateConflict) Error

func (o *RegistryUpdateConflict) Error() string

func (*RegistryUpdateConflict) IsClientError

func (o *RegistryUpdateConflict) IsClientError() bool

IsClientError returns true when this registry update conflict response has a 4xx status code

func (*RegistryUpdateConflict) IsCode

func (o *RegistryUpdateConflict) IsCode(code int) bool

IsCode returns true when this registry update conflict response a status code equal to that given

func (*RegistryUpdateConflict) IsRedirect

func (o *RegistryUpdateConflict) IsRedirect() bool

IsRedirect returns true when this registry update conflict response has a 3xx status code

func (*RegistryUpdateConflict) IsServerError

func (o *RegistryUpdateConflict) IsServerError() bool

IsServerError returns true when this registry update conflict response has a 5xx status code

func (*RegistryUpdateConflict) IsSuccess

func (o *RegistryUpdateConflict) IsSuccess() bool

IsSuccess returns true when this registry update conflict response has a 2xx status code

func (*RegistryUpdateConflict) String

func (o *RegistryUpdateConflict) String() string

type RegistryUpdateInternalServerError

type RegistryUpdateInternalServerError struct {
}

RegistryUpdateInternalServerError describes a response with status code 500, with default header values.

Server error

func NewRegistryUpdateInternalServerError

func NewRegistryUpdateInternalServerError() *RegistryUpdateInternalServerError

NewRegistryUpdateInternalServerError creates a RegistryUpdateInternalServerError with default headers values

func (*RegistryUpdateInternalServerError) Code

Code gets the status code for the registry update internal server error response

func (*RegistryUpdateInternalServerError) Error

func (*RegistryUpdateInternalServerError) IsClientError

func (o *RegistryUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this registry update internal server error response has a 4xx status code

func (*RegistryUpdateInternalServerError) IsCode

func (o *RegistryUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this registry update internal server error response a status code equal to that given

func (*RegistryUpdateInternalServerError) IsRedirect

func (o *RegistryUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this registry update internal server error response has a 3xx status code

func (*RegistryUpdateInternalServerError) IsServerError

func (o *RegistryUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this registry update internal server error response has a 5xx status code

func (*RegistryUpdateInternalServerError) IsSuccess

func (o *RegistryUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this registry update internal server error response has a 2xx status code

func (*RegistryUpdateInternalServerError) String

type RegistryUpdateNotFound

type RegistryUpdateNotFound struct {
}

RegistryUpdateNotFound describes a response with status code 404, with default header values.

Registry not found

func NewRegistryUpdateNotFound

func NewRegistryUpdateNotFound() *RegistryUpdateNotFound

NewRegistryUpdateNotFound creates a RegistryUpdateNotFound with default headers values

func (*RegistryUpdateNotFound) Code

func (o *RegistryUpdateNotFound) Code() int

Code gets the status code for the registry update not found response

func (*RegistryUpdateNotFound) Error

func (o *RegistryUpdateNotFound) Error() string

func (*RegistryUpdateNotFound) IsClientError

func (o *RegistryUpdateNotFound) IsClientError() bool

IsClientError returns true when this registry update not found response has a 4xx status code

func (*RegistryUpdateNotFound) IsCode

func (o *RegistryUpdateNotFound) IsCode(code int) bool

IsCode returns true when this registry update not found response a status code equal to that given

func (*RegistryUpdateNotFound) IsRedirect

func (o *RegistryUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this registry update not found response has a 3xx status code

func (*RegistryUpdateNotFound) IsServerError

func (o *RegistryUpdateNotFound) IsServerError() bool

IsServerError returns true when this registry update not found response has a 5xx status code

func (*RegistryUpdateNotFound) IsSuccess

func (o *RegistryUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this registry update not found response has a 2xx status code

func (*RegistryUpdateNotFound) String

func (o *RegistryUpdateNotFound) String() string

type RegistryUpdateOK

type RegistryUpdateOK struct {
	Payload *models.PortainereeRegistry
}

RegistryUpdateOK describes a response with status code 200, with default header values.

Success

func NewRegistryUpdateOK

func NewRegistryUpdateOK() *RegistryUpdateOK

NewRegistryUpdateOK creates a RegistryUpdateOK with default headers values

func (*RegistryUpdateOK) Code

func (o *RegistryUpdateOK) Code() int

Code gets the status code for the registry update o k response

func (*RegistryUpdateOK) Error

func (o *RegistryUpdateOK) Error() string

func (*RegistryUpdateOK) GetPayload

func (o *RegistryUpdateOK) GetPayload() *models.PortainereeRegistry

func (*RegistryUpdateOK) IsClientError

func (o *RegistryUpdateOK) IsClientError() bool

IsClientError returns true when this registry update o k response has a 4xx status code

func (*RegistryUpdateOK) IsCode

func (o *RegistryUpdateOK) IsCode(code int) bool

IsCode returns true when this registry update o k response a status code equal to that given

func (*RegistryUpdateOK) IsRedirect

func (o *RegistryUpdateOK) IsRedirect() bool

IsRedirect returns true when this registry update o k response has a 3xx status code

func (*RegistryUpdateOK) IsServerError

func (o *RegistryUpdateOK) IsServerError() bool

IsServerError returns true when this registry update o k response has a 5xx status code

func (*RegistryUpdateOK) IsSuccess

func (o *RegistryUpdateOK) IsSuccess() bool

IsSuccess returns true when this registry update o k response has a 2xx status code

func (*RegistryUpdateOK) String

func (o *RegistryUpdateOK) String() string

type RegistryUpdateParams

type RegistryUpdateParams struct {

	/* Body.

	   Registry details
	*/
	Body *models.RegistriesRegistryUpdatePayload

	/* 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 timeout for this client.

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

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

func NewRegistryUpdateParamsWithContext

func NewRegistryUpdateParamsWithContext(ctx context.Context) *RegistryUpdateParams

NewRegistryUpdateParamsWithContext creates a new RegistryUpdateParams object with 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 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 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) SetDefaults

func (o *RegistryUpdateParams) SetDefaults()

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

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

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) WithDefaults

func (o *RegistryUpdateParams) WithDefaults() *RegistryUpdateParams

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

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

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