Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateContainer(params *CreateContainerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateContainerOK, *CreateContainerCreated, error)
- func (a *Client) GetContainer(params *GetContainerParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetContainerOK, error)
- func (a *Client) ListContainerImages(params *ListContainerImagesParams, opts ...ClientOption) (*ListContainerImagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateContainerBadRequest
- type CreateContainerCreated
- type CreateContainerForbidden
- type CreateContainerInternalServerError
- type CreateContainerOK
- type CreateContainerParams
- func NewCreateContainerParams() *CreateContainerParams
- func NewCreateContainerParamsWithContext(ctx context.Context) *CreateContainerParams
- func NewCreateContainerParamsWithHTTPClient(client *http.Client) *CreateContainerParams
- func NewCreateContainerParamsWithTimeout(timeout time.Duration) *CreateContainerParams
- func (o *CreateContainerParams) SetContainer(container *models.Container)
- func (o *CreateContainerParams) SetContext(ctx context.Context)
- func (o *CreateContainerParams) SetDefaults()
- func (o *CreateContainerParams) SetHTTPClient(client *http.Client)
- func (o *CreateContainerParams) SetTimeout(timeout time.Duration)
- func (o *CreateContainerParams) WithContainer(container *models.Container) *CreateContainerParams
- func (o *CreateContainerParams) WithContext(ctx context.Context) *CreateContainerParams
- func (o *CreateContainerParams) WithDefaults() *CreateContainerParams
- func (o *CreateContainerParams) WithHTTPClient(client *http.Client) *CreateContainerParams
- func (o *CreateContainerParams) WithTimeout(timeout time.Duration) *CreateContainerParams
- func (o *CreateContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateContainerReader
- type CreateContainerUnauthorized
- type GetContainerForbidden
- type GetContainerInternalServerError
- type GetContainerNotFound
- type GetContainerOK
- type GetContainerParams
- func (o *GetContainerParams) SetContext(ctx context.Context)
- func (o *GetContainerParams) SetDefaults()
- func (o *GetContainerParams) SetHTTPClient(client *http.Client)
- func (o *GetContainerParams) SetRef(ref string)
- func (o *GetContainerParams) SetTimeout(timeout time.Duration)
- func (o *GetContainerParams) WithContext(ctx context.Context) *GetContainerParams
- func (o *GetContainerParams) WithDefaults() *GetContainerParams
- func (o *GetContainerParams) WithHTTPClient(client *http.Client) *GetContainerParams
- func (o *GetContainerParams) WithRef(ref string) *GetContainerParams
- func (o *GetContainerParams) WithTimeout(timeout time.Duration) *GetContainerParams
- func (o *GetContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetContainerReader
- type GetContainerUnauthorized
- type ListContainerImagesForbidden
- type ListContainerImagesInternalServerError
- type ListContainerImagesNotFound
- type ListContainerImagesOK
- type ListContainerImagesParams
- func NewListContainerImagesParams() *ListContainerImagesParams
- func NewListContainerImagesParamsWithContext(ctx context.Context) *ListContainerImagesParams
- func NewListContainerImagesParamsWithHTTPClient(client *http.Client) *ListContainerImagesParams
- func NewListContainerImagesParamsWithTimeout(timeout time.Duration) *ListContainerImagesParams
- func (o *ListContainerImagesParams) SetContext(ctx context.Context)
- func (o *ListContainerImagesParams) SetDefaults()
- func (o *ListContainerImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListContainerImagesParams) SetRef(ref string)
- func (o *ListContainerImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListContainerImagesParams) WithContext(ctx context.Context) *ListContainerImagesParams
- func (o *ListContainerImagesParams) WithDefaults() *ListContainerImagesParams
- func (o *ListContainerImagesParams) WithHTTPClient(client *http.Client) *ListContainerImagesParams
- func (o *ListContainerImagesParams) WithRef(ref string) *ListContainerImagesParams
- func (o *ListContainerImagesParams) WithTimeout(timeout time.Duration) *ListContainerImagesParams
- func (o *ListContainerImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListContainerImagesReader
- type ListContainerImagesUnauthorized
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 container API
func (*Client) CreateContainer ¶
func (a *Client) CreateContainer(params *CreateContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateContainerOK, *CreateContainerCreated, error)
CreateContainer creates container
Create a new container within a collection
func (*Client) GetContainer ¶
func (a *Client) GetContainer(params *GetContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetContainerOK, error)
GetContainer gets container
Get detail about a container in the library
func (*Client) ListContainerImages ¶
func (a *Client) ListContainerImages(params *ListContainerImagesParams, opts ...ClientOption) (*ListContainerImagesOK, error)
ListContainerImages lists images that belong to the specified container
List images that belong to the specified container
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 is the option for Client methods
type ClientService ¶
type ClientService interface {
CreateContainer(params *CreateContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateContainerOK, *CreateContainerCreated, error)
GetContainer(params *GetContainerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetContainerOK, error)
ListContainerImages(params *ListContainerImagesParams, opts ...ClientOption) (*ListContainerImagesOK, 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 container API client.
type CreateContainerBadRequest ¶
type CreateContainerBadRequest struct {
Payload *models.Json400error
}
CreateContainerBadRequest describes a response with status code 400, with default header values.
Container provided was not valid
func NewCreateContainerBadRequest ¶
func NewCreateContainerBadRequest() *CreateContainerBadRequest
NewCreateContainerBadRequest creates a CreateContainerBadRequest with default headers values
func (*CreateContainerBadRequest) Error ¶
func (o *CreateContainerBadRequest) Error() string
func (*CreateContainerBadRequest) GetPayload ¶
func (o *CreateContainerBadRequest) GetPayload() *models.Json400error
type CreateContainerCreated ¶
type CreateContainerCreated struct {
Payload *models.ContainerResponse
}
CreateContainerCreated describes a response with status code 201, with default header values.
Return new container
func NewCreateContainerCreated ¶
func NewCreateContainerCreated() *CreateContainerCreated
NewCreateContainerCreated creates a CreateContainerCreated with default headers values
func (*CreateContainerCreated) Error ¶
func (o *CreateContainerCreated) Error() string
func (*CreateContainerCreated) GetPayload ¶
func (o *CreateContainerCreated) GetPayload() *models.ContainerResponse
type CreateContainerForbidden ¶
type CreateContainerForbidden struct {
Payload *models.Json403error
}
CreateContainerForbidden describes a response with status code 403, with default header values.
Not authorized to create this container
func NewCreateContainerForbidden ¶
func NewCreateContainerForbidden() *CreateContainerForbidden
NewCreateContainerForbidden creates a CreateContainerForbidden with default headers values
func (*CreateContainerForbidden) Error ¶
func (o *CreateContainerForbidden) Error() string
func (*CreateContainerForbidden) GetPayload ¶
func (o *CreateContainerForbidden) GetPayload() *models.Json403error
type CreateContainerInternalServerError ¶
type CreateContainerInternalServerError struct {
Payload *models.Json500error
}
CreateContainerInternalServerError describes a response with status code 500, with default header values.
Server internal error
func NewCreateContainerInternalServerError ¶
func NewCreateContainerInternalServerError() *CreateContainerInternalServerError
NewCreateContainerInternalServerError creates a CreateContainerInternalServerError with default headers values
func (*CreateContainerInternalServerError) Error ¶
func (o *CreateContainerInternalServerError) Error() string
func (*CreateContainerInternalServerError) GetPayload ¶
func (o *CreateContainerInternalServerError) GetPayload() *models.Json500error
type CreateContainerOK ¶
type CreateContainerOK struct {
Payload *models.ContainerResponse
}
CreateContainerOK describes a response with status code 200, with default header values.
Return new container
func NewCreateContainerOK ¶
func NewCreateContainerOK() *CreateContainerOK
NewCreateContainerOK creates a CreateContainerOK with default headers values
func (*CreateContainerOK) Error ¶
func (o *CreateContainerOK) Error() string
func (*CreateContainerOK) GetPayload ¶
func (o *CreateContainerOK) GetPayload() *models.ContainerResponse
type CreateContainerParams ¶
type CreateContainerParams struct {
/* Container.
Container to be created
*/
Container *models.Container
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateContainerParams contains all the parameters to send to the API endpoint
for the create container operation. Typically these are written to a http.Request.
func NewCreateContainerParams ¶
func NewCreateContainerParams() *CreateContainerParams
NewCreateContainerParams creates a new CreateContainerParams 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 NewCreateContainerParamsWithContext ¶
func NewCreateContainerParamsWithContext(ctx context.Context) *CreateContainerParams
NewCreateContainerParamsWithContext creates a new CreateContainerParams object with the ability to set a context for a request.
func NewCreateContainerParamsWithHTTPClient ¶
func NewCreateContainerParamsWithHTTPClient(client *http.Client) *CreateContainerParams
NewCreateContainerParamsWithHTTPClient creates a new CreateContainerParams object with the ability to set a custom HTTPClient for a request.
func NewCreateContainerParamsWithTimeout ¶
func NewCreateContainerParamsWithTimeout(timeout time.Duration) *CreateContainerParams
NewCreateContainerParamsWithTimeout creates a new CreateContainerParams object with the ability to set a timeout on a request.
func (*CreateContainerParams) SetContainer ¶
func (o *CreateContainerParams) SetContainer(container *models.Container)
SetContainer adds the container to the create container params
func (*CreateContainerParams) SetContext ¶
func (o *CreateContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the create container params
func (*CreateContainerParams) SetDefaults ¶
func (o *CreateContainerParams) SetDefaults()
SetDefaults hydrates default values in the create container params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContainerParams) SetHTTPClient ¶
func (o *CreateContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create container params
func (*CreateContainerParams) SetTimeout ¶
func (o *CreateContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create container params
func (*CreateContainerParams) WithContainer ¶
func (o *CreateContainerParams) WithContainer(container *models.Container) *CreateContainerParams
WithContainer adds the container to the create container params
func (*CreateContainerParams) WithContext ¶
func (o *CreateContainerParams) WithContext(ctx context.Context) *CreateContainerParams
WithContext adds the context to the create container params
func (*CreateContainerParams) WithDefaults ¶
func (o *CreateContainerParams) WithDefaults() *CreateContainerParams
WithDefaults hydrates default values in the create container params (not the query body).
All values with no default are reset to their zero value.
func (*CreateContainerParams) WithHTTPClient ¶
func (o *CreateContainerParams) WithHTTPClient(client *http.Client) *CreateContainerParams
WithHTTPClient adds the HTTPClient to the create container params
func (*CreateContainerParams) WithTimeout ¶
func (o *CreateContainerParams) WithTimeout(timeout time.Duration) *CreateContainerParams
WithTimeout adds the timeout to the create container params
func (*CreateContainerParams) WriteToRequest ¶
func (o *CreateContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateContainerReader ¶
type CreateContainerReader struct {
// contains filtered or unexported fields
}
CreateContainerReader is a Reader for the CreateContainer structure.
func (*CreateContainerReader) ReadResponse ¶
func (o *CreateContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateContainerUnauthorized ¶
type CreateContainerUnauthorized struct {
}
CreateContainerUnauthorized describes a response with status code 401, with default header values.
Not authorized to create this container
func NewCreateContainerUnauthorized ¶
func NewCreateContainerUnauthorized() *CreateContainerUnauthorized
NewCreateContainerUnauthorized creates a CreateContainerUnauthorized with default headers values
func (*CreateContainerUnauthorized) Error ¶
func (o *CreateContainerUnauthorized) Error() string
func (*CreateContainerUnauthorized) GetPayload ¶
func (o *CreateContainerUnauthorized) GetPayload() *models.Json401error
type GetContainerForbidden ¶
type GetContainerForbidden struct {
Payload *models.Json403error
}
GetContainerForbidden describes a response with status code 403, with default header values.
Not authorized to access this container
func NewGetContainerForbidden ¶
func NewGetContainerForbidden() *GetContainerForbidden
NewGetContainerForbidden creates a GetContainerForbidden with default headers values
func (*GetContainerForbidden) Error ¶
func (o *GetContainerForbidden) Error() string
func (*GetContainerForbidden) GetPayload ¶
func (o *GetContainerForbidden) GetPayload() *models.Json403error
type GetContainerInternalServerError ¶
type GetContainerInternalServerError struct {
Payload *models.Json500error
}
GetContainerInternalServerError describes a response with status code 500, with default header values.
Server internal error
func NewGetContainerInternalServerError ¶
func NewGetContainerInternalServerError() *GetContainerInternalServerError
NewGetContainerInternalServerError creates a GetContainerInternalServerError with default headers values
func (*GetContainerInternalServerError) Error ¶
func (o *GetContainerInternalServerError) Error() string
func (*GetContainerInternalServerError) GetPayload ¶
func (o *GetContainerInternalServerError) GetPayload() *models.Json500error
type GetContainerNotFound ¶
type GetContainerNotFound struct {
Payload *models.Json404error
}
GetContainerNotFound describes a response with status code 404, with default header values.
Requested container was not found
func NewGetContainerNotFound ¶
func NewGetContainerNotFound() *GetContainerNotFound
NewGetContainerNotFound creates a GetContainerNotFound with default headers values
func (*GetContainerNotFound) Error ¶
func (o *GetContainerNotFound) Error() string
func (*GetContainerNotFound) GetPayload ¶
func (o *GetContainerNotFound) GetPayload() *models.Json404error
type GetContainerOK ¶
type GetContainerOK struct {
Payload *models.ContainerResponse
}
GetContainerOK describes a response with status code 200, with default header values.
Success
func NewGetContainerOK ¶
func NewGetContainerOK() *GetContainerOK
NewGetContainerOK creates a GetContainerOK with default headers values
func (*GetContainerOK) Error ¶
func (o *GetContainerOK) Error() string
func (*GetContainerOK) GetPayload ¶
func (o *GetContainerOK) GetPayload() *models.ContainerResponse
type GetContainerParams ¶
type GetContainerParams struct {
/* Ref.
reference to a container
*/
Ref string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetContainerParams contains all the parameters to send to the API endpoint
for the get container operation. Typically these are written to a http.Request.
func NewGetContainerParams ¶
func NewGetContainerParams() *GetContainerParams
NewGetContainerParams creates a new GetContainerParams 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 NewGetContainerParamsWithContext ¶
func NewGetContainerParamsWithContext(ctx context.Context) *GetContainerParams
NewGetContainerParamsWithContext creates a new GetContainerParams object with the ability to set a context for a request.
func NewGetContainerParamsWithHTTPClient ¶
func NewGetContainerParamsWithHTTPClient(client *http.Client) *GetContainerParams
NewGetContainerParamsWithHTTPClient creates a new GetContainerParams object with the ability to set a custom HTTPClient for a request.
func NewGetContainerParamsWithTimeout ¶
func NewGetContainerParamsWithTimeout(timeout time.Duration) *GetContainerParams
NewGetContainerParamsWithTimeout creates a new GetContainerParams object with the ability to set a timeout on a request.
func (*GetContainerParams) SetContext ¶
func (o *GetContainerParams) SetContext(ctx context.Context)
SetContext adds the context to the get container params
func (*GetContainerParams) SetDefaults ¶
func (o *GetContainerParams) SetDefaults()
SetDefaults hydrates default values in the get container params (not the query body).
All values with no default are reset to their zero value.
func (*GetContainerParams) SetHTTPClient ¶
func (o *GetContainerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get container params
func (*GetContainerParams) SetRef ¶
func (o *GetContainerParams) SetRef(ref string)
SetRef adds the ref to the get container params
func (*GetContainerParams) SetTimeout ¶
func (o *GetContainerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get container params
func (*GetContainerParams) WithContext ¶
func (o *GetContainerParams) WithContext(ctx context.Context) *GetContainerParams
WithContext adds the context to the get container params
func (*GetContainerParams) WithDefaults ¶
func (o *GetContainerParams) WithDefaults() *GetContainerParams
WithDefaults hydrates default values in the get container params (not the query body).
All values with no default are reset to their zero value.
func (*GetContainerParams) WithHTTPClient ¶
func (o *GetContainerParams) WithHTTPClient(client *http.Client) *GetContainerParams
WithHTTPClient adds the HTTPClient to the get container params
func (*GetContainerParams) WithRef ¶
func (o *GetContainerParams) WithRef(ref string) *GetContainerParams
WithRef adds the ref to the get container params
func (*GetContainerParams) WithTimeout ¶
func (o *GetContainerParams) WithTimeout(timeout time.Duration) *GetContainerParams
WithTimeout adds the timeout to the get container params
func (*GetContainerParams) WriteToRequest ¶
func (o *GetContainerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetContainerReader ¶
type GetContainerReader struct {
// contains filtered or unexported fields
}
GetContainerReader is a Reader for the GetContainer structure.
func (*GetContainerReader) ReadResponse ¶
func (o *GetContainerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetContainerUnauthorized ¶
type GetContainerUnauthorized struct {
}
GetContainerUnauthorized describes a response with status code 401, with default header values.
Not authorized to access this container
func NewGetContainerUnauthorized ¶
func NewGetContainerUnauthorized() *GetContainerUnauthorized
NewGetContainerUnauthorized creates a GetContainerUnauthorized with default headers values
func (*GetContainerUnauthorized) Error ¶
func (o *GetContainerUnauthorized) Error() string
func (*GetContainerUnauthorized) GetPayload ¶
func (o *GetContainerUnauthorized) GetPayload() *models.Json401error
type ListContainerImagesForbidden ¶
type ListContainerImagesForbidden struct {
Payload *models.Json403error
}
ListContainerImagesForbidden describes a response with status code 403, with default header values.
Not authorized to access this container
func NewListContainerImagesForbidden ¶
func NewListContainerImagesForbidden() *ListContainerImagesForbidden
NewListContainerImagesForbidden creates a ListContainerImagesForbidden with default headers values
func (*ListContainerImagesForbidden) Error ¶
func (o *ListContainerImagesForbidden) Error() string
func (*ListContainerImagesForbidden) GetPayload ¶
func (o *ListContainerImagesForbidden) GetPayload() *models.Json403error
type ListContainerImagesInternalServerError ¶
type ListContainerImagesInternalServerError struct {
Payload *models.Json500error
}
ListContainerImagesInternalServerError describes a response with status code 500, with default header values.
Server internal error
func NewListContainerImagesInternalServerError ¶
func NewListContainerImagesInternalServerError() *ListContainerImagesInternalServerError
NewListContainerImagesInternalServerError creates a ListContainerImagesInternalServerError with default headers values
func (*ListContainerImagesInternalServerError) Error ¶
func (o *ListContainerImagesInternalServerError) Error() string
func (*ListContainerImagesInternalServerError) GetPayload ¶
func (o *ListContainerImagesInternalServerError) GetPayload() *models.Json500error
type ListContainerImagesNotFound ¶
type ListContainerImagesNotFound struct {
Payload *models.Json404error
}
ListContainerImagesNotFound describes a response with status code 404, with default header values.
Requested container was not found
func NewListContainerImagesNotFound ¶
func NewListContainerImagesNotFound() *ListContainerImagesNotFound
NewListContainerImagesNotFound creates a ListContainerImagesNotFound with default headers values
func (*ListContainerImagesNotFound) Error ¶
func (o *ListContainerImagesNotFound) Error() string
func (*ListContainerImagesNotFound) GetPayload ¶
func (o *ListContainerImagesNotFound) GetPayload() *models.Json404error
type ListContainerImagesOK ¶
type ListContainerImagesOK struct {
Payload *models.ImageListResponse
}
ListContainerImagesOK describes a response with status code 200, with default header values.
Success
func NewListContainerImagesOK ¶
func NewListContainerImagesOK() *ListContainerImagesOK
NewListContainerImagesOK creates a ListContainerImagesOK with default headers values
func (*ListContainerImagesOK) Error ¶
func (o *ListContainerImagesOK) Error() string
func (*ListContainerImagesOK) GetPayload ¶
func (o *ListContainerImagesOK) GetPayload() *models.ImageListResponse
type ListContainerImagesParams ¶
type ListContainerImagesParams struct {
/* Ref.
reference to a container
*/
Ref string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListContainerImagesParams contains all the parameters to send to the API endpoint
for the list container images operation. Typically these are written to a http.Request.
func NewListContainerImagesParams ¶
func NewListContainerImagesParams() *ListContainerImagesParams
NewListContainerImagesParams creates a new ListContainerImagesParams 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 NewListContainerImagesParamsWithContext ¶
func NewListContainerImagesParamsWithContext(ctx context.Context) *ListContainerImagesParams
NewListContainerImagesParamsWithContext creates a new ListContainerImagesParams object with the ability to set a context for a request.
func NewListContainerImagesParamsWithHTTPClient ¶
func NewListContainerImagesParamsWithHTTPClient(client *http.Client) *ListContainerImagesParams
NewListContainerImagesParamsWithHTTPClient creates a new ListContainerImagesParams object with the ability to set a custom HTTPClient for a request.
func NewListContainerImagesParamsWithTimeout ¶
func NewListContainerImagesParamsWithTimeout(timeout time.Duration) *ListContainerImagesParams
NewListContainerImagesParamsWithTimeout creates a new ListContainerImagesParams object with the ability to set a timeout on a request.
func (*ListContainerImagesParams) SetContext ¶
func (o *ListContainerImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the list container images params
func (*ListContainerImagesParams) SetDefaults ¶
func (o *ListContainerImagesParams) SetDefaults()
SetDefaults hydrates default values in the list container images params (not the query body).
All values with no default are reset to their zero value.
func (*ListContainerImagesParams) SetHTTPClient ¶
func (o *ListContainerImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list container images params
func (*ListContainerImagesParams) SetRef ¶
func (o *ListContainerImagesParams) SetRef(ref string)
SetRef adds the ref to the list container images params
func (*ListContainerImagesParams) SetTimeout ¶
func (o *ListContainerImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list container images params
func (*ListContainerImagesParams) WithContext ¶
func (o *ListContainerImagesParams) WithContext(ctx context.Context) *ListContainerImagesParams
WithContext adds the context to the list container images params
func (*ListContainerImagesParams) WithDefaults ¶
func (o *ListContainerImagesParams) WithDefaults() *ListContainerImagesParams
WithDefaults hydrates default values in the list container images params (not the query body).
All values with no default are reset to their zero value.
func (*ListContainerImagesParams) WithHTTPClient ¶
func (o *ListContainerImagesParams) WithHTTPClient(client *http.Client) *ListContainerImagesParams
WithHTTPClient adds the HTTPClient to the list container images params
func (*ListContainerImagesParams) WithRef ¶
func (o *ListContainerImagesParams) WithRef(ref string) *ListContainerImagesParams
WithRef adds the ref to the list container images params
func (*ListContainerImagesParams) WithTimeout ¶
func (o *ListContainerImagesParams) WithTimeout(timeout time.Duration) *ListContainerImagesParams
WithTimeout adds the timeout to the list container images params
func (*ListContainerImagesParams) WriteToRequest ¶
func (o *ListContainerImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListContainerImagesReader ¶
type ListContainerImagesReader struct {
// contains filtered or unexported fields
}
ListContainerImagesReader is a Reader for the ListContainerImages structure.
func (*ListContainerImagesReader) ReadResponse ¶
func (o *ListContainerImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListContainerImagesUnauthorized ¶
type ListContainerImagesUnauthorized struct {
}
ListContainerImagesUnauthorized describes a response with status code 401, with default header values.
Not authorized to access this container
func NewListContainerImagesUnauthorized ¶
func NewListContainerImagesUnauthorized() *ListContainerImagesUnauthorized
NewListContainerImagesUnauthorized creates a ListContainerImagesUnauthorized with default headers values
func (*ListContainerImagesUnauthorized) Error ¶
func (o *ListContainerImagesUnauthorized) Error() string
func (*ListContainerImagesUnauthorized) GetPayload ¶
func (o *ListContainerImagesUnauthorized) GetPayload() *models.Json401error