Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateImage(params *CreateImageParams, opts ...ClientOption) (*CreateImageOK, error)
- func (a *Client) DeleteImage(params *DeleteImageParams, opts ...ClientOption) (*DeleteImageOK, error)
- func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error)
- func (a *Client) ListImages(params *ListImagesParams, opts ...ClientOption) (*ListImagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateImageBody
- type CreateImageOK
- func (o *CreateImageOK) Error() string
- func (o *CreateImageOK) GetPayload() *CreateImageOKBody
- func (o *CreateImageOK) IsClientError() bool
- func (o *CreateImageOK) IsCode(code int) bool
- func (o *CreateImageOK) IsRedirect() bool
- func (o *CreateImageOK) IsServerError() bool
- func (o *CreateImageOK) IsSuccess() bool
- func (o *CreateImageOK) String() string
- type CreateImageOKBody
- type CreateImageParams
- func (o *CreateImageParams) SetBody(body CreateImageBody)
- func (o *CreateImageParams) SetContext(ctx context.Context)
- func (o *CreateImageParams) SetDefaults()
- func (o *CreateImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateImageParams) WithBody(body CreateImageBody) *CreateImageParams
- func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
- func (o *CreateImageParams) WithDefaults() *CreateImageParams
- func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
- func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
- func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateImageReader
- type DeleteImageOK
- type DeleteImageParams
- func (o *DeleteImageParams) SetContext(ctx context.Context)
- func (o *DeleteImageParams) SetDefaults()
- func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteImageParams) SetID(id string)
- func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
- func (o *DeleteImageParams) WithDefaults() *DeleteImageParams
- func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
- func (o *DeleteImageParams) WithID(id string) *DeleteImageParams
- func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
- func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteImageReader
- type GetImageOK
- func (o *GetImageOK) Error() string
- func (o *GetImageOK) GetPayload() *GetImageOKBody
- func (o *GetImageOK) IsClientError() bool
- func (o *GetImageOK) IsCode(code int) bool
- func (o *GetImageOK) IsRedirect() bool
- func (o *GetImageOK) IsServerError() bool
- func (o *GetImageOK) IsSuccess() bool
- func (o *GetImageOK) String() string
- type GetImageOKBody
- type GetImageParams
- func (o *GetImageParams) SetContext(ctx context.Context)
- func (o *GetImageParams) SetDefaults()
- func (o *GetImageParams) SetHTTPClient(client *http.Client)
- func (o *GetImageParams) SetID(id string)
- func (o *GetImageParams) SetTimeout(timeout time.Duration)
- func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams
- func (o *GetImageParams) WithDefaults() *GetImageParams
- func (o *GetImageParams) WithHTTPClient(client *http.Client) *GetImageParams
- func (o *GetImageParams) WithID(id string) *GetImageParams
- func (o *GetImageParams) WithTimeout(timeout time.Duration) *GetImageParams
- func (o *GetImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageReader
- type ListImagesOK
- func (o *ListImagesOK) Error() string
- func (o *ListImagesOK) GetPayload() *ListImagesOKBody
- func (o *ListImagesOK) IsClientError() bool
- func (o *ListImagesOK) IsCode(code int) bool
- func (o *ListImagesOK) IsRedirect() bool
- func (o *ListImagesOK) IsServerError() bool
- func (o *ListImagesOK) IsSuccess() bool
- func (o *ListImagesOK) String() string
- type ListImagesOKBody
- type ListImagesParams
- func (o *ListImagesParams) SetContext(ctx context.Context)
- func (o *ListImagesParams) SetDefaults()
- func (o *ListImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
- func (o *ListImagesParams) WithDefaults() *ListImagesParams
- func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
- func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
- func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListImagesReader
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 operations API
func (*Client) CreateImage ¶
func (a *Client) CreateImage(params *CreateImageParams, opts ...ClientOption) (*CreateImageOK, error)
CreateImage create image API
func (*Client) DeleteImage ¶
func (a *Client) DeleteImage(params *DeleteImageParams, opts ...ClientOption) (*DeleteImageOK, error)
DeleteImage delete image API
func (*Client) GetImage ¶
func (a *Client) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error)
GetImage yours g e t endpoint
func (*Client) ListImages ¶
func (a *Client) ListImages(params *ListImagesParams, opts ...ClientOption) (*ListImagesOK, error)
ListImages yours g e t endpoint
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 { CreateImage(params *CreateImageParams, opts ...ClientOption) (*CreateImageOK, error) DeleteImage(params *DeleteImageParams, opts ...ClientOption) (*DeleteImageOK, error) GetImage(params *GetImageParams, opts ...ClientOption) (*GetImageOK, error) ListImages(params *ListImagesParams, opts ...ClientOption) (*ListImagesOK, 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 operations API client.
type CreateImageBody ¶
type CreateImageBody struct { // prompt Prompt string `json:"prompt,omitempty"` }
CreateImageBody create image body swagger:model CreateImageBody
func (*CreateImageBody) ContextValidate ¶
ContextValidate validates this create image body based on context it is used
func (*CreateImageBody) MarshalBinary ¶
func (o *CreateImageBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateImageBody) UnmarshalBinary ¶
func (o *CreateImageBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateImageOK ¶
type CreateImageOK struct {
Payload *CreateImageOKBody
}
CreateImageOK describes a response with status code 200, with default header values.
OK
func NewCreateImageOK ¶
func NewCreateImageOK() *CreateImageOK
NewCreateImageOK creates a CreateImageOK with default headers values
func (*CreateImageOK) Error ¶
func (o *CreateImageOK) Error() string
func (*CreateImageOK) GetPayload ¶
func (o *CreateImageOK) GetPayload() *CreateImageOKBody
func (*CreateImageOK) IsClientError ¶
func (o *CreateImageOK) IsClientError() bool
IsClientError returns true when this create image o k response has a 4xx status code
func (*CreateImageOK) IsCode ¶
func (o *CreateImageOK) IsCode(code int) bool
IsCode returns true when this create image o k response a status code equal to that given
func (*CreateImageOK) IsRedirect ¶
func (o *CreateImageOK) IsRedirect() bool
IsRedirect returns true when this create image o k response has a 3xx status code
func (*CreateImageOK) IsServerError ¶
func (o *CreateImageOK) IsServerError() bool
IsServerError returns true when this create image o k response has a 5xx status code
func (*CreateImageOK) IsSuccess ¶
func (o *CreateImageOK) IsSuccess() bool
IsSuccess returns true when this create image o k response has a 2xx status code
func (*CreateImageOK) String ¶
func (o *CreateImageOK) String() string
type CreateImageOKBody ¶
CreateImageOKBody create image o k body swagger:model CreateImageOKBody
func (*CreateImageOKBody) ContextValidate ¶
ContextValidate validate this create image o k body based on the context it is used
func (*CreateImageOKBody) MarshalBinary ¶
func (o *CreateImageOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateImageOKBody) UnmarshalBinary ¶
func (o *CreateImageOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateImageParams ¶
type CreateImageParams struct { // Body. Body CreateImageBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateImageParams contains all the parameters to send to the API endpoint
for the create image operation. Typically these are written to a http.Request.
func NewCreateImageParams ¶
func NewCreateImageParams() *CreateImageParams
NewCreateImageParams creates a new CreateImageParams 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 NewCreateImageParamsWithContext ¶
func NewCreateImageParamsWithContext(ctx context.Context) *CreateImageParams
NewCreateImageParamsWithContext creates a new CreateImageParams object with the ability to set a context for a request.
func NewCreateImageParamsWithHTTPClient ¶
func NewCreateImageParamsWithHTTPClient(client *http.Client) *CreateImageParams
NewCreateImageParamsWithHTTPClient creates a new CreateImageParams object with the ability to set a custom HTTPClient for a request.
func NewCreateImageParamsWithTimeout ¶
func NewCreateImageParamsWithTimeout(timeout time.Duration) *CreateImageParams
NewCreateImageParamsWithTimeout creates a new CreateImageParams object with the ability to set a timeout on a request.
func (*CreateImageParams) SetBody ¶
func (o *CreateImageParams) SetBody(body CreateImageBody)
SetBody adds the body to the create image params
func (*CreateImageParams) SetContext ¶
func (o *CreateImageParams) SetContext(ctx context.Context)
SetContext adds the context to the create image params
func (*CreateImageParams) SetDefaults ¶
func (o *CreateImageParams) SetDefaults()
SetDefaults hydrates default values in the create image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateImageParams) SetHTTPClient ¶
func (o *CreateImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create image params
func (*CreateImageParams) SetTimeout ¶
func (o *CreateImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create image params
func (*CreateImageParams) WithBody ¶
func (o *CreateImageParams) WithBody(body CreateImageBody) *CreateImageParams
WithBody adds the body to the create image params
func (*CreateImageParams) WithContext ¶
func (o *CreateImageParams) WithContext(ctx context.Context) *CreateImageParams
WithContext adds the context to the create image params
func (*CreateImageParams) WithDefaults ¶
func (o *CreateImageParams) WithDefaults() *CreateImageParams
WithDefaults hydrates default values in the create image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateImageParams) WithHTTPClient ¶
func (o *CreateImageParams) WithHTTPClient(client *http.Client) *CreateImageParams
WithHTTPClient adds the HTTPClient to the create image params
func (*CreateImageParams) WithTimeout ¶
func (o *CreateImageParams) WithTimeout(timeout time.Duration) *CreateImageParams
WithTimeout adds the timeout to the create image params
func (*CreateImageParams) WriteToRequest ¶
func (o *CreateImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateImageReader ¶
type CreateImageReader struct {
// contains filtered or unexported fields
}
CreateImageReader is a Reader for the CreateImage structure.
func (*CreateImageReader) ReadResponse ¶
func (o *CreateImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteImageOK ¶
type DeleteImageOK struct { }
DeleteImageOK describes a response with status code 200, with default header values.
OK
func NewDeleteImageOK ¶
func NewDeleteImageOK() *DeleteImageOK
NewDeleteImageOK creates a DeleteImageOK with default headers values
func (*DeleteImageOK) Error ¶
func (o *DeleteImageOK) Error() string
func (*DeleteImageOK) IsClientError ¶
func (o *DeleteImageOK) IsClientError() bool
IsClientError returns true when this delete image o k response has a 4xx status code
func (*DeleteImageOK) IsCode ¶
func (o *DeleteImageOK) IsCode(code int) bool
IsCode returns true when this delete image o k response a status code equal to that given
func (*DeleteImageOK) IsRedirect ¶
func (o *DeleteImageOK) IsRedirect() bool
IsRedirect returns true when this delete image o k response has a 3xx status code
func (*DeleteImageOK) IsServerError ¶
func (o *DeleteImageOK) IsServerError() bool
IsServerError returns true when this delete image o k response has a 5xx status code
func (*DeleteImageOK) IsSuccess ¶
func (o *DeleteImageOK) IsSuccess() bool
IsSuccess returns true when this delete image o k response has a 2xx status code
func (*DeleteImageOK) String ¶
func (o *DeleteImageOK) String() string
type DeleteImageParams ¶
type DeleteImageParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteImageParams contains all the parameters to send to the API endpoint
for the delete image operation. Typically these are written to a http.Request.
func NewDeleteImageParams ¶
func NewDeleteImageParams() *DeleteImageParams
NewDeleteImageParams creates a new DeleteImageParams 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 NewDeleteImageParamsWithContext ¶
func NewDeleteImageParamsWithContext(ctx context.Context) *DeleteImageParams
NewDeleteImageParamsWithContext creates a new DeleteImageParams object with the ability to set a context for a request.
func NewDeleteImageParamsWithHTTPClient ¶
func NewDeleteImageParamsWithHTTPClient(client *http.Client) *DeleteImageParams
NewDeleteImageParamsWithHTTPClient creates a new DeleteImageParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteImageParamsWithTimeout ¶
func NewDeleteImageParamsWithTimeout(timeout time.Duration) *DeleteImageParams
NewDeleteImageParamsWithTimeout creates a new DeleteImageParams object with the ability to set a timeout on a request.
func (*DeleteImageParams) SetContext ¶
func (o *DeleteImageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete image params
func (*DeleteImageParams) SetDefaults ¶
func (o *DeleteImageParams) SetDefaults()
SetDefaults hydrates default values in the delete image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteImageParams) SetHTTPClient ¶
func (o *DeleteImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete image params
func (*DeleteImageParams) SetID ¶
func (o *DeleteImageParams) SetID(id string)
SetID adds the id to the delete image params
func (*DeleteImageParams) SetTimeout ¶
func (o *DeleteImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete image params
func (*DeleteImageParams) WithContext ¶
func (o *DeleteImageParams) WithContext(ctx context.Context) *DeleteImageParams
WithContext adds the context to the delete image params
func (*DeleteImageParams) WithDefaults ¶
func (o *DeleteImageParams) WithDefaults() *DeleteImageParams
WithDefaults hydrates default values in the delete image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteImageParams) WithHTTPClient ¶
func (o *DeleteImageParams) WithHTTPClient(client *http.Client) *DeleteImageParams
WithHTTPClient adds the HTTPClient to the delete image params
func (*DeleteImageParams) WithID ¶
func (o *DeleteImageParams) WithID(id string) *DeleteImageParams
WithID adds the id to the delete image params
func (*DeleteImageParams) WithTimeout ¶
func (o *DeleteImageParams) WithTimeout(timeout time.Duration) *DeleteImageParams
WithTimeout adds the timeout to the delete image params
func (*DeleteImageParams) WriteToRequest ¶
func (o *DeleteImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteImageReader ¶
type DeleteImageReader struct {
// contains filtered or unexported fields
}
DeleteImageReader is a Reader for the DeleteImage structure.
func (*DeleteImageReader) ReadResponse ¶
func (o *DeleteImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetImageOK ¶
type GetImageOK struct {
Payload *GetImageOKBody
}
GetImageOK describes a response with status code 200, with default header values.
OK
func NewGetImageOK ¶
func NewGetImageOK() *GetImageOK
NewGetImageOK creates a GetImageOK with default headers values
func (*GetImageOK) Error ¶
func (o *GetImageOK) Error() string
func (*GetImageOK) GetPayload ¶
func (o *GetImageOK) GetPayload() *GetImageOKBody
func (*GetImageOK) IsClientError ¶
func (o *GetImageOK) IsClientError() bool
IsClientError returns true when this get image o k response has a 4xx status code
func (*GetImageOK) IsCode ¶
func (o *GetImageOK) IsCode(code int) bool
IsCode returns true when this get image o k response a status code equal to that given
func (*GetImageOK) IsRedirect ¶
func (o *GetImageOK) IsRedirect() bool
IsRedirect returns true when this get image o k response has a 3xx status code
func (*GetImageOK) IsServerError ¶
func (o *GetImageOK) IsServerError() bool
IsServerError returns true when this get image o k response has a 5xx status code
func (*GetImageOK) IsSuccess ¶
func (o *GetImageOK) IsSuccess() bool
IsSuccess returns true when this get image o k response has a 2xx status code
func (*GetImageOK) String ¶
func (o *GetImageOK) String() string
type GetImageOKBody ¶
GetImageOKBody get image o k body swagger:model GetImageOKBody
func (*GetImageOKBody) ContextValidate ¶
ContextValidate validate this get image o k body based on the context it is used
func (*GetImageOKBody) MarshalBinary ¶
func (o *GetImageOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetImageOKBody) UnmarshalBinary ¶
func (o *GetImageOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetImageParams ¶
type GetImageParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetImageParams contains all the parameters to send to the API endpoint
for the get image operation. Typically these are written to a http.Request.
func NewGetImageParams ¶
func NewGetImageParams() *GetImageParams
NewGetImageParams creates a new GetImageParams 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 NewGetImageParamsWithContext ¶
func NewGetImageParamsWithContext(ctx context.Context) *GetImageParams
NewGetImageParamsWithContext creates a new GetImageParams object with the ability to set a context for a request.
func NewGetImageParamsWithHTTPClient ¶
func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams
NewGetImageParamsWithHTTPClient creates a new GetImageParams object with the ability to set a custom HTTPClient for a request.
func NewGetImageParamsWithTimeout ¶
func NewGetImageParamsWithTimeout(timeout time.Duration) *GetImageParams
NewGetImageParamsWithTimeout creates a new GetImageParams object with the ability to set a timeout on a request.
func (*GetImageParams) SetContext ¶
func (o *GetImageParams) SetContext(ctx context.Context)
SetContext adds the context to the get image params
func (*GetImageParams) SetDefaults ¶
func (o *GetImageParams) SetDefaults()
SetDefaults hydrates default values in the get image params (not the query body).
All values with no default are reset to their zero value.
func (*GetImageParams) SetHTTPClient ¶
func (o *GetImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get image params
func (*GetImageParams) SetID ¶
func (o *GetImageParams) SetID(id string)
SetID adds the id to the get image params
func (*GetImageParams) SetTimeout ¶
func (o *GetImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get image params
func (*GetImageParams) WithContext ¶
func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams
WithContext adds the context to the get image params
func (*GetImageParams) WithDefaults ¶
func (o *GetImageParams) WithDefaults() *GetImageParams
WithDefaults hydrates default values in the get image params (not the query body).
All values with no default are reset to their zero value.
func (*GetImageParams) WithHTTPClient ¶
func (o *GetImageParams) WithHTTPClient(client *http.Client) *GetImageParams
WithHTTPClient adds the HTTPClient to the get image params
func (*GetImageParams) WithID ¶
func (o *GetImageParams) WithID(id string) *GetImageParams
WithID adds the id to the get image params
func (*GetImageParams) WithTimeout ¶
func (o *GetImageParams) WithTimeout(timeout time.Duration) *GetImageParams
WithTimeout adds the timeout to the get image params
func (*GetImageParams) WriteToRequest ¶
func (o *GetImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetImageReader ¶
type GetImageReader struct {
// contains filtered or unexported fields
}
GetImageReader is a Reader for the GetImage structure.
func (*GetImageReader) ReadResponse ¶
func (o *GetImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListImagesOK ¶
type ListImagesOK struct {
Payload *ListImagesOKBody
}
ListImagesOK describes a response with status code 200, with default header values.
OK
func NewListImagesOK ¶
func NewListImagesOK() *ListImagesOK
NewListImagesOK creates a ListImagesOK with default headers values
func (*ListImagesOK) Error ¶
func (o *ListImagesOK) Error() string
func (*ListImagesOK) GetPayload ¶
func (o *ListImagesOK) GetPayload() *ListImagesOKBody
func (*ListImagesOK) IsClientError ¶
func (o *ListImagesOK) IsClientError() bool
IsClientError returns true when this list images o k response has a 4xx status code
func (*ListImagesOK) IsCode ¶
func (o *ListImagesOK) IsCode(code int) bool
IsCode returns true when this list images o k response a status code equal to that given
func (*ListImagesOK) IsRedirect ¶
func (o *ListImagesOK) IsRedirect() bool
IsRedirect returns true when this list images o k response has a 3xx status code
func (*ListImagesOK) IsServerError ¶
func (o *ListImagesOK) IsServerError() bool
IsServerError returns true when this list images o k response has a 5xx status code
func (*ListImagesOK) IsSuccess ¶
func (o *ListImagesOK) IsSuccess() bool
IsSuccess returns true when this list images o k response has a 2xx status code
func (*ListImagesOK) String ¶
func (o *ListImagesOK) String() string
type ListImagesOKBody ¶
ListImagesOKBody list images o k body swagger:model ListImagesOKBody
func (*ListImagesOKBody) ContextValidate ¶
ContextValidate validate this list images o k body based on the context it is used
func (*ListImagesOKBody) MarshalBinary ¶
func (o *ListImagesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ListImagesOKBody) UnmarshalBinary ¶
func (o *ListImagesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ListImagesParams ¶
type ListImagesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListImagesParams contains all the parameters to send to the API endpoint
for the list images operation. Typically these are written to a http.Request.
func NewListImagesParams ¶
func NewListImagesParams() *ListImagesParams
NewListImagesParams creates a new ListImagesParams 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 NewListImagesParamsWithContext ¶
func NewListImagesParamsWithContext(ctx context.Context) *ListImagesParams
NewListImagesParamsWithContext creates a new ListImagesParams object with the ability to set a context for a request.
func NewListImagesParamsWithHTTPClient ¶
func NewListImagesParamsWithHTTPClient(client *http.Client) *ListImagesParams
NewListImagesParamsWithHTTPClient creates a new ListImagesParams object with the ability to set a custom HTTPClient for a request.
func NewListImagesParamsWithTimeout ¶
func NewListImagesParamsWithTimeout(timeout time.Duration) *ListImagesParams
NewListImagesParamsWithTimeout creates a new ListImagesParams object with the ability to set a timeout on a request.
func (*ListImagesParams) SetContext ¶
func (o *ListImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the list images params
func (*ListImagesParams) SetDefaults ¶
func (o *ListImagesParams) SetDefaults()
SetDefaults hydrates default values in the list images params (not the query body).
All values with no default are reset to their zero value.
func (*ListImagesParams) SetHTTPClient ¶
func (o *ListImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list images params
func (*ListImagesParams) SetTimeout ¶
func (o *ListImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list images params
func (*ListImagesParams) WithContext ¶
func (o *ListImagesParams) WithContext(ctx context.Context) *ListImagesParams
WithContext adds the context to the list images params
func (*ListImagesParams) WithDefaults ¶
func (o *ListImagesParams) WithDefaults() *ListImagesParams
WithDefaults hydrates default values in the list images params (not the query body).
All values with no default are reset to their zero value.
func (*ListImagesParams) WithHTTPClient ¶
func (o *ListImagesParams) WithHTTPClient(client *http.Client) *ListImagesParams
WithHTTPClient adds the HTTPClient to the list images params
func (*ListImagesParams) WithTimeout ¶
func (o *ListImagesParams) WithTimeout(timeout time.Duration) *ListImagesParams
WithTimeout adds the timeout to the list images params
func (*ListImagesParams) WriteToRequest ¶
func (o *ListImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListImagesReader ¶
type ListImagesReader struct {
// contains filtered or unexported fields
}
ListImagesReader is a Reader for the ListImages structure.
func (*ListImagesReader) ReadResponse ¶
func (o *ListImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.