Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateElfImage(params *CreateElfImageParams, opts ...ClientOption) (*CreateElfImageOK, error)
- func (a *Client) DeleteElfImage(params *DeleteElfImageParams, opts ...ClientOption) (*DeleteElfImageOK, error)
- func (a *Client) GetElfImages(params *GetElfImagesParams, opts ...ClientOption) (*GetElfImagesOK, error)
- func (a *Client) GetElfImagesConnection(params *GetElfImagesConnectionParams, opts ...ClientOption) (*GetElfImagesConnectionOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateElfImage(params *UpdateElfImageParams, opts ...ClientOption) (*UpdateElfImageOK, error)
- type ClientOption
- type ClientService
- type CreateElfImageBadRequest
- type CreateElfImageOK
- type CreateElfImageParams
- func NewCreateElfImageParams() *CreateElfImageParams
- func NewCreateElfImageParamsWithContext(ctx context.Context) *CreateElfImageParams
- func NewCreateElfImageParamsWithHTTPClient(client *http.Client) *CreateElfImageParams
- func NewCreateElfImageParamsWithTimeout(timeout time.Duration) *CreateElfImageParams
- func (o *CreateElfImageParams) SetClusterID(clusterID string)
- func (o *CreateElfImageParams) SetContentLanguage(contentLanguage *string)
- func (o *CreateElfImageParams) SetContext(ctx context.Context)
- func (o *CreateElfImageParams) SetDefaults()
- func (o *CreateElfImageParams) SetDescription(description string)
- func (o *CreateElfImageParams) SetFile(file runtime.NamedReadCloser)
- func (o *CreateElfImageParams) SetHTTPClient(client *http.Client)
- func (o *CreateElfImageParams) SetName(name string)
- func (o *CreateElfImageParams) SetSize(size string)
- func (o *CreateElfImageParams) SetTimeout(timeout time.Duration)
- func (o *CreateElfImageParams) SetUploadTaskID(uploadTaskID string)
- func (o *CreateElfImageParams) WithClusterID(clusterID string) *CreateElfImageParams
- func (o *CreateElfImageParams) WithContentLanguage(contentLanguage *string) *CreateElfImageParams
- func (o *CreateElfImageParams) WithContext(ctx context.Context) *CreateElfImageParams
- func (o *CreateElfImageParams) WithDefaults() *CreateElfImageParams
- func (o *CreateElfImageParams) WithDescription(description string) *CreateElfImageParams
- func (o *CreateElfImageParams) WithFile(file runtime.NamedReadCloser) *CreateElfImageParams
- func (o *CreateElfImageParams) WithHTTPClient(client *http.Client) *CreateElfImageParams
- func (o *CreateElfImageParams) WithName(name string) *CreateElfImageParams
- func (o *CreateElfImageParams) WithSize(size string) *CreateElfImageParams
- func (o *CreateElfImageParams) WithTimeout(timeout time.Duration) *CreateElfImageParams
- func (o *CreateElfImageParams) WithUploadTaskID(uploadTaskID string) *CreateElfImageParams
- func (o *CreateElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateElfImageReader
- type DeleteElfImageBadRequest
- type DeleteElfImageOK
- type DeleteElfImageParams
- func NewDeleteElfImageParams() *DeleteElfImageParams
- func NewDeleteElfImageParamsWithContext(ctx context.Context) *DeleteElfImageParams
- func NewDeleteElfImageParamsWithHTTPClient(client *http.Client) *DeleteElfImageParams
- func NewDeleteElfImageParamsWithTimeout(timeout time.Duration) *DeleteElfImageParams
- func (o *DeleteElfImageParams) SetContentLanguage(contentLanguage *string)
- func (o *DeleteElfImageParams) SetContext(ctx context.Context)
- func (o *DeleteElfImageParams) SetDefaults()
- func (o *DeleteElfImageParams) SetHTTPClient(client *http.Client)
- func (o *DeleteElfImageParams) SetRequestBody(requestBody *models.ElfImageDeletionParams)
- func (o *DeleteElfImageParams) SetTimeout(timeout time.Duration)
- func (o *DeleteElfImageParams) WithContentLanguage(contentLanguage *string) *DeleteElfImageParams
- func (o *DeleteElfImageParams) WithContext(ctx context.Context) *DeleteElfImageParams
- func (o *DeleteElfImageParams) WithDefaults() *DeleteElfImageParams
- func (o *DeleteElfImageParams) WithHTTPClient(client *http.Client) *DeleteElfImageParams
- func (o *DeleteElfImageParams) WithRequestBody(requestBody *models.ElfImageDeletionParams) *DeleteElfImageParams
- func (o *DeleteElfImageParams) WithTimeout(timeout time.Duration) *DeleteElfImageParams
- func (o *DeleteElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteElfImageReader
- type GetElfImagesBadRequest
- type GetElfImagesConnectionBadRequest
- type GetElfImagesConnectionOK
- type GetElfImagesConnectionParams
- func NewGetElfImagesConnectionParams() *GetElfImagesConnectionParams
- func NewGetElfImagesConnectionParamsWithContext(ctx context.Context) *GetElfImagesConnectionParams
- func NewGetElfImagesConnectionParamsWithHTTPClient(client *http.Client) *GetElfImagesConnectionParams
- func NewGetElfImagesConnectionParamsWithTimeout(timeout time.Duration) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) SetContentLanguage(contentLanguage *string)
- func (o *GetElfImagesConnectionParams) SetContext(ctx context.Context)
- func (o *GetElfImagesConnectionParams) SetDefaults()
- func (o *GetElfImagesConnectionParams) SetHTTPClient(client *http.Client)
- func (o *GetElfImagesConnectionParams) SetRequestBody(requestBody *models.GetElfImagesConnectionRequestBody)
- func (o *GetElfImagesConnectionParams) SetTimeout(timeout time.Duration)
- func (o *GetElfImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WithContext(ctx context.Context) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WithDefaults() *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WithHTTPClient(client *http.Client) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WithRequestBody(requestBody *models.GetElfImagesConnectionRequestBody) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WithTimeout(timeout time.Duration) *GetElfImagesConnectionParams
- func (o *GetElfImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetElfImagesConnectionReader
- type GetElfImagesOK
- type GetElfImagesParams
- func (o *GetElfImagesParams) SetContentLanguage(contentLanguage *string)
- func (o *GetElfImagesParams) SetContext(ctx context.Context)
- func (o *GetElfImagesParams) SetDefaults()
- func (o *GetElfImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetElfImagesParams) SetRequestBody(requestBody *models.GetElfImagesRequestBody)
- func (o *GetElfImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetElfImagesParams) WithContentLanguage(contentLanguage *string) *GetElfImagesParams
- func (o *GetElfImagesParams) WithContext(ctx context.Context) *GetElfImagesParams
- func (o *GetElfImagesParams) WithDefaults() *GetElfImagesParams
- func (o *GetElfImagesParams) WithHTTPClient(client *http.Client) *GetElfImagesParams
- func (o *GetElfImagesParams) WithRequestBody(requestBody *models.GetElfImagesRequestBody) *GetElfImagesParams
- func (o *GetElfImagesParams) WithTimeout(timeout time.Duration) *GetElfImagesParams
- func (o *GetElfImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetElfImagesReader
- type UpdateElfImageBadRequest
- type UpdateElfImageOK
- type UpdateElfImageParams
- func NewUpdateElfImageParams() *UpdateElfImageParams
- func NewUpdateElfImageParamsWithContext(ctx context.Context) *UpdateElfImageParams
- func NewUpdateElfImageParamsWithHTTPClient(client *http.Client) *UpdateElfImageParams
- func NewUpdateElfImageParamsWithTimeout(timeout time.Duration) *UpdateElfImageParams
- func (o *UpdateElfImageParams) SetContentLanguage(contentLanguage *string)
- func (o *UpdateElfImageParams) SetContext(ctx context.Context)
- func (o *UpdateElfImageParams) SetDefaults()
- func (o *UpdateElfImageParams) SetHTTPClient(client *http.Client)
- func (o *UpdateElfImageParams) SetRequestBody(requestBody *models.ElfImageUpdationParams)
- func (o *UpdateElfImageParams) SetTimeout(timeout time.Duration)
- func (o *UpdateElfImageParams) WithContentLanguage(contentLanguage *string) *UpdateElfImageParams
- func (o *UpdateElfImageParams) WithContext(ctx context.Context) *UpdateElfImageParams
- func (o *UpdateElfImageParams) WithDefaults() *UpdateElfImageParams
- func (o *UpdateElfImageParams) WithHTTPClient(client *http.Client) *UpdateElfImageParams
- func (o *UpdateElfImageParams) WithRequestBody(requestBody *models.ElfImageUpdationParams) *UpdateElfImageParams
- func (o *UpdateElfImageParams) WithTimeout(timeout time.Duration) *UpdateElfImageParams
- func (o *UpdateElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateElfImageReader
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 elf image API
func (*Client) CreateElfImage ¶
func (a *Client) CreateElfImage(params *CreateElfImageParams, opts ...ClientOption) (*CreateElfImageOK, error)
CreateElfImage create elf image API
func (*Client) DeleteElfImage ¶
func (a *Client) DeleteElfImage(params *DeleteElfImageParams, opts ...ClientOption) (*DeleteElfImageOK, error)
DeleteElfImage delete elf image API
func (*Client) GetElfImages ¶
func (a *Client) GetElfImages(params *GetElfImagesParams, opts ...ClientOption) (*GetElfImagesOK, error)
GetElfImages get elf images API
func (*Client) GetElfImagesConnection ¶
func (a *Client) GetElfImagesConnection(params *GetElfImagesConnectionParams, opts ...ClientOption) (*GetElfImagesConnectionOK, error)
GetElfImagesConnection get elf images connection API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateElfImage ¶
func (a *Client) UpdateElfImage(params *UpdateElfImageParams, opts ...ClientOption) (*UpdateElfImageOK, error)
UpdateElfImage update elf image API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateElfImage(params *CreateElfImageParams, opts ...ClientOption) (*CreateElfImageOK, error) DeleteElfImage(params *DeleteElfImageParams, opts ...ClientOption) (*DeleteElfImageOK, error) GetElfImages(params *GetElfImagesParams, opts ...ClientOption) (*GetElfImagesOK, error) GetElfImagesConnection(params *GetElfImagesConnectionParams, opts ...ClientOption) (*GetElfImagesConnectionOK, error) UpdateElfImage(params *UpdateElfImageParams, opts ...ClientOption) (*UpdateElfImageOK, 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 elf image API client.
type CreateElfImageBadRequest ¶
type CreateElfImageBadRequest struct {
Payload string
}
CreateElfImageBadRequest describes a response with status code 400, with default header values.
CreateElfImageBadRequest create elf image bad request
func NewCreateElfImageBadRequest ¶
func NewCreateElfImageBadRequest() *CreateElfImageBadRequest
NewCreateElfImageBadRequest creates a CreateElfImageBadRequest with default headers values
func (*CreateElfImageBadRequest) Error ¶
func (o *CreateElfImageBadRequest) Error() string
func (*CreateElfImageBadRequest) GetPayload ¶
func (o *CreateElfImageBadRequest) GetPayload() string
type CreateElfImageOK ¶
type CreateElfImageOK struct {
Payload []*models.UploadTask
}
CreateElfImageOK describes a response with status code 200, with default header values.
Ok
func NewCreateElfImageOK ¶
func NewCreateElfImageOK() *CreateElfImageOK
NewCreateElfImageOK creates a CreateElfImageOK with default headers values
func (*CreateElfImageOK) Error ¶
func (o *CreateElfImageOK) Error() string
func (*CreateElfImageOK) GetPayload ¶
func (o *CreateElfImageOK) GetPayload() []*models.UploadTask
type CreateElfImageParams ¶
type CreateElfImageParams struct { // ClusterID. ClusterID string // ContentLanguage. // // Default: "en-US" ContentLanguage *string // Description. Description string // File. File runtime.NamedReadCloser // Name. Name string // Size. Size string // UploadTaskID. UploadTaskID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateElfImageParams contains all the parameters to send to the API endpoint
for the create elf image operation. Typically these are written to a http.Request.
func NewCreateElfImageParams ¶
func NewCreateElfImageParams() *CreateElfImageParams
NewCreateElfImageParams creates a new CreateElfImageParams 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 NewCreateElfImageParamsWithContext ¶
func NewCreateElfImageParamsWithContext(ctx context.Context) *CreateElfImageParams
NewCreateElfImageParamsWithContext creates a new CreateElfImageParams object with the ability to set a context for a request.
func NewCreateElfImageParamsWithHTTPClient ¶
func NewCreateElfImageParamsWithHTTPClient(client *http.Client) *CreateElfImageParams
NewCreateElfImageParamsWithHTTPClient creates a new CreateElfImageParams object with the ability to set a custom HTTPClient for a request.
func NewCreateElfImageParamsWithTimeout ¶
func NewCreateElfImageParamsWithTimeout(timeout time.Duration) *CreateElfImageParams
NewCreateElfImageParamsWithTimeout creates a new CreateElfImageParams object with the ability to set a timeout on a request.
func (*CreateElfImageParams) SetClusterID ¶
func (o *CreateElfImageParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the create elf image params
func (*CreateElfImageParams) SetContentLanguage ¶
func (o *CreateElfImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the create elf image params
func (*CreateElfImageParams) SetContext ¶
func (o *CreateElfImageParams) SetContext(ctx context.Context)
SetContext adds the context to the create elf image params
func (*CreateElfImageParams) SetDefaults ¶
func (o *CreateElfImageParams) SetDefaults()
SetDefaults hydrates default values in the create elf image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateElfImageParams) SetDescription ¶
func (o *CreateElfImageParams) SetDescription(description string)
SetDescription adds the description to the create elf image params
func (*CreateElfImageParams) SetFile ¶
func (o *CreateElfImageParams) SetFile(file runtime.NamedReadCloser)
SetFile adds the file to the create elf image params
func (*CreateElfImageParams) SetHTTPClient ¶
func (o *CreateElfImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create elf image params
func (*CreateElfImageParams) SetName ¶
func (o *CreateElfImageParams) SetName(name string)
SetName adds the name to the create elf image params
func (*CreateElfImageParams) SetSize ¶
func (o *CreateElfImageParams) SetSize(size string)
SetSize adds the size to the create elf image params
func (*CreateElfImageParams) SetTimeout ¶
func (o *CreateElfImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create elf image params
func (*CreateElfImageParams) SetUploadTaskID ¶
func (o *CreateElfImageParams) SetUploadTaskID(uploadTaskID string)
SetUploadTaskID adds the uploadTaskId to the create elf image params
func (*CreateElfImageParams) WithClusterID ¶
func (o *CreateElfImageParams) WithClusterID(clusterID string) *CreateElfImageParams
WithClusterID adds the clusterID to the create elf image params
func (*CreateElfImageParams) WithContentLanguage ¶
func (o *CreateElfImageParams) WithContentLanguage(contentLanguage *string) *CreateElfImageParams
WithContentLanguage adds the contentLanguage to the create elf image params
func (*CreateElfImageParams) WithContext ¶
func (o *CreateElfImageParams) WithContext(ctx context.Context) *CreateElfImageParams
WithContext adds the context to the create elf image params
func (*CreateElfImageParams) WithDefaults ¶
func (o *CreateElfImageParams) WithDefaults() *CreateElfImageParams
WithDefaults hydrates default values in the create elf image params (not the query body).
All values with no default are reset to their zero value.
func (*CreateElfImageParams) WithDescription ¶
func (o *CreateElfImageParams) WithDescription(description string) *CreateElfImageParams
WithDescription adds the description to the create elf image params
func (*CreateElfImageParams) WithFile ¶
func (o *CreateElfImageParams) WithFile(file runtime.NamedReadCloser) *CreateElfImageParams
WithFile adds the file to the create elf image params
func (*CreateElfImageParams) WithHTTPClient ¶
func (o *CreateElfImageParams) WithHTTPClient(client *http.Client) *CreateElfImageParams
WithHTTPClient adds the HTTPClient to the create elf image params
func (*CreateElfImageParams) WithName ¶
func (o *CreateElfImageParams) WithName(name string) *CreateElfImageParams
WithName adds the name to the create elf image params
func (*CreateElfImageParams) WithSize ¶
func (o *CreateElfImageParams) WithSize(size string) *CreateElfImageParams
WithSize adds the size to the create elf image params
func (*CreateElfImageParams) WithTimeout ¶
func (o *CreateElfImageParams) WithTimeout(timeout time.Duration) *CreateElfImageParams
WithTimeout adds the timeout to the create elf image params
func (*CreateElfImageParams) WithUploadTaskID ¶
func (o *CreateElfImageParams) WithUploadTaskID(uploadTaskID string) *CreateElfImageParams
WithUploadTaskID adds the uploadTaskID to the create elf image params
func (*CreateElfImageParams) WriteToRequest ¶
func (o *CreateElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateElfImageReader ¶
type CreateElfImageReader struct {
// contains filtered or unexported fields
}
CreateElfImageReader is a Reader for the CreateElfImage structure.
func (*CreateElfImageReader) ReadResponse ¶
func (o *CreateElfImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteElfImageBadRequest ¶
type DeleteElfImageBadRequest struct {
Payload string
}
DeleteElfImageBadRequest describes a response with status code 400, with default header values.
DeleteElfImageBadRequest delete elf image bad request
func NewDeleteElfImageBadRequest ¶
func NewDeleteElfImageBadRequest() *DeleteElfImageBadRequest
NewDeleteElfImageBadRequest creates a DeleteElfImageBadRequest with default headers values
func (*DeleteElfImageBadRequest) Error ¶
func (o *DeleteElfImageBadRequest) Error() string
func (*DeleteElfImageBadRequest) GetPayload ¶
func (o *DeleteElfImageBadRequest) GetPayload() string
type DeleteElfImageOK ¶
type DeleteElfImageOK struct {
Payload []*models.WithTaskDeleteElfImage
}
DeleteElfImageOK describes a response with status code 200, with default header values.
Ok
func NewDeleteElfImageOK ¶
func NewDeleteElfImageOK() *DeleteElfImageOK
NewDeleteElfImageOK creates a DeleteElfImageOK with default headers values
func (*DeleteElfImageOK) Error ¶
func (o *DeleteElfImageOK) Error() string
func (*DeleteElfImageOK) GetPayload ¶
func (o *DeleteElfImageOK) GetPayload() []*models.WithTaskDeleteElfImage
type DeleteElfImageParams ¶
type DeleteElfImageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ElfImageDeletionParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteElfImageParams contains all the parameters to send to the API endpoint
for the delete elf image operation. Typically these are written to a http.Request.
func NewDeleteElfImageParams ¶
func NewDeleteElfImageParams() *DeleteElfImageParams
NewDeleteElfImageParams creates a new DeleteElfImageParams 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 NewDeleteElfImageParamsWithContext ¶
func NewDeleteElfImageParamsWithContext(ctx context.Context) *DeleteElfImageParams
NewDeleteElfImageParamsWithContext creates a new DeleteElfImageParams object with the ability to set a context for a request.
func NewDeleteElfImageParamsWithHTTPClient ¶
func NewDeleteElfImageParamsWithHTTPClient(client *http.Client) *DeleteElfImageParams
NewDeleteElfImageParamsWithHTTPClient creates a new DeleteElfImageParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteElfImageParamsWithTimeout ¶
func NewDeleteElfImageParamsWithTimeout(timeout time.Duration) *DeleteElfImageParams
NewDeleteElfImageParamsWithTimeout creates a new DeleteElfImageParams object with the ability to set a timeout on a request.
func (*DeleteElfImageParams) SetContentLanguage ¶
func (o *DeleteElfImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the delete elf image params
func (*DeleteElfImageParams) SetContext ¶
func (o *DeleteElfImageParams) SetContext(ctx context.Context)
SetContext adds the context to the delete elf image params
func (*DeleteElfImageParams) SetDefaults ¶
func (o *DeleteElfImageParams) SetDefaults()
SetDefaults hydrates default values in the delete elf image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteElfImageParams) SetHTTPClient ¶
func (o *DeleteElfImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete elf image params
func (*DeleteElfImageParams) SetRequestBody ¶
func (o *DeleteElfImageParams) SetRequestBody(requestBody *models.ElfImageDeletionParams)
SetRequestBody adds the requestBody to the delete elf image params
func (*DeleteElfImageParams) SetTimeout ¶
func (o *DeleteElfImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete elf image params
func (*DeleteElfImageParams) WithContentLanguage ¶
func (o *DeleteElfImageParams) WithContentLanguage(contentLanguage *string) *DeleteElfImageParams
WithContentLanguage adds the contentLanguage to the delete elf image params
func (*DeleteElfImageParams) WithContext ¶
func (o *DeleteElfImageParams) WithContext(ctx context.Context) *DeleteElfImageParams
WithContext adds the context to the delete elf image params
func (*DeleteElfImageParams) WithDefaults ¶
func (o *DeleteElfImageParams) WithDefaults() *DeleteElfImageParams
WithDefaults hydrates default values in the delete elf image params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteElfImageParams) WithHTTPClient ¶
func (o *DeleteElfImageParams) WithHTTPClient(client *http.Client) *DeleteElfImageParams
WithHTTPClient adds the HTTPClient to the delete elf image params
func (*DeleteElfImageParams) WithRequestBody ¶
func (o *DeleteElfImageParams) WithRequestBody(requestBody *models.ElfImageDeletionParams) *DeleteElfImageParams
WithRequestBody adds the requestBody to the delete elf image params
func (*DeleteElfImageParams) WithTimeout ¶
func (o *DeleteElfImageParams) WithTimeout(timeout time.Duration) *DeleteElfImageParams
WithTimeout adds the timeout to the delete elf image params
func (*DeleteElfImageParams) WriteToRequest ¶
func (o *DeleteElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteElfImageReader ¶
type DeleteElfImageReader struct {
// contains filtered or unexported fields
}
DeleteElfImageReader is a Reader for the DeleteElfImage structure.
func (*DeleteElfImageReader) ReadResponse ¶
func (o *DeleteElfImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetElfImagesBadRequest ¶
type GetElfImagesBadRequest struct {
Payload string
}
GetElfImagesBadRequest describes a response with status code 400, with default header values.
GetElfImagesBadRequest get elf images bad request
func NewGetElfImagesBadRequest ¶
func NewGetElfImagesBadRequest() *GetElfImagesBadRequest
NewGetElfImagesBadRequest creates a GetElfImagesBadRequest with default headers values
func (*GetElfImagesBadRequest) Error ¶
func (o *GetElfImagesBadRequest) Error() string
func (*GetElfImagesBadRequest) GetPayload ¶
func (o *GetElfImagesBadRequest) GetPayload() string
type GetElfImagesConnectionBadRequest ¶
type GetElfImagesConnectionBadRequest struct {
Payload string
}
GetElfImagesConnectionBadRequest describes a response with status code 400, with default header values.
GetElfImagesConnectionBadRequest get elf images connection bad request
func NewGetElfImagesConnectionBadRequest ¶
func NewGetElfImagesConnectionBadRequest() *GetElfImagesConnectionBadRequest
NewGetElfImagesConnectionBadRequest creates a GetElfImagesConnectionBadRequest with default headers values
func (*GetElfImagesConnectionBadRequest) Error ¶
func (o *GetElfImagesConnectionBadRequest) Error() string
func (*GetElfImagesConnectionBadRequest) GetPayload ¶
func (o *GetElfImagesConnectionBadRequest) GetPayload() string
type GetElfImagesConnectionOK ¶
type GetElfImagesConnectionOK struct {
Payload *models.ElfImageConnection
}
GetElfImagesConnectionOK describes a response with status code 200, with default header values.
Ok
func NewGetElfImagesConnectionOK ¶
func NewGetElfImagesConnectionOK() *GetElfImagesConnectionOK
NewGetElfImagesConnectionOK creates a GetElfImagesConnectionOK with default headers values
func (*GetElfImagesConnectionOK) Error ¶
func (o *GetElfImagesConnectionOK) Error() string
func (*GetElfImagesConnectionOK) GetPayload ¶
func (o *GetElfImagesConnectionOK) GetPayload() *models.ElfImageConnection
type GetElfImagesConnectionParams ¶
type GetElfImagesConnectionParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetElfImagesConnectionRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetElfImagesConnectionParams contains all the parameters to send to the API endpoint
for the get elf images connection operation. Typically these are written to a http.Request.
func NewGetElfImagesConnectionParams ¶
func NewGetElfImagesConnectionParams() *GetElfImagesConnectionParams
NewGetElfImagesConnectionParams creates a new GetElfImagesConnectionParams 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 NewGetElfImagesConnectionParamsWithContext ¶
func NewGetElfImagesConnectionParamsWithContext(ctx context.Context) *GetElfImagesConnectionParams
NewGetElfImagesConnectionParamsWithContext creates a new GetElfImagesConnectionParams object with the ability to set a context for a request.
func NewGetElfImagesConnectionParamsWithHTTPClient ¶
func NewGetElfImagesConnectionParamsWithHTTPClient(client *http.Client) *GetElfImagesConnectionParams
NewGetElfImagesConnectionParamsWithHTTPClient creates a new GetElfImagesConnectionParams object with the ability to set a custom HTTPClient for a request.
func NewGetElfImagesConnectionParamsWithTimeout ¶
func NewGetElfImagesConnectionParamsWithTimeout(timeout time.Duration) *GetElfImagesConnectionParams
NewGetElfImagesConnectionParamsWithTimeout creates a new GetElfImagesConnectionParams object with the ability to set a timeout on a request.
func (*GetElfImagesConnectionParams) SetContentLanguage ¶
func (o *GetElfImagesConnectionParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get elf images connection params
func (*GetElfImagesConnectionParams) SetContext ¶
func (o *GetElfImagesConnectionParams) SetContext(ctx context.Context)
SetContext adds the context to the get elf images connection params
func (*GetElfImagesConnectionParams) SetDefaults ¶
func (o *GetElfImagesConnectionParams) SetDefaults()
SetDefaults hydrates default values in the get elf images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetElfImagesConnectionParams) SetHTTPClient ¶
func (o *GetElfImagesConnectionParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get elf images connection params
func (*GetElfImagesConnectionParams) SetRequestBody ¶
func (o *GetElfImagesConnectionParams) SetRequestBody(requestBody *models.GetElfImagesConnectionRequestBody)
SetRequestBody adds the requestBody to the get elf images connection params
func (*GetElfImagesConnectionParams) SetTimeout ¶
func (o *GetElfImagesConnectionParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get elf images connection params
func (*GetElfImagesConnectionParams) WithContentLanguage ¶
func (o *GetElfImagesConnectionParams) WithContentLanguage(contentLanguage *string) *GetElfImagesConnectionParams
WithContentLanguage adds the contentLanguage to the get elf images connection params
func (*GetElfImagesConnectionParams) WithContext ¶
func (o *GetElfImagesConnectionParams) WithContext(ctx context.Context) *GetElfImagesConnectionParams
WithContext adds the context to the get elf images connection params
func (*GetElfImagesConnectionParams) WithDefaults ¶
func (o *GetElfImagesConnectionParams) WithDefaults() *GetElfImagesConnectionParams
WithDefaults hydrates default values in the get elf images connection params (not the query body).
All values with no default are reset to their zero value.
func (*GetElfImagesConnectionParams) WithHTTPClient ¶
func (o *GetElfImagesConnectionParams) WithHTTPClient(client *http.Client) *GetElfImagesConnectionParams
WithHTTPClient adds the HTTPClient to the get elf images connection params
func (*GetElfImagesConnectionParams) WithRequestBody ¶
func (o *GetElfImagesConnectionParams) WithRequestBody(requestBody *models.GetElfImagesConnectionRequestBody) *GetElfImagesConnectionParams
WithRequestBody adds the requestBody to the get elf images connection params
func (*GetElfImagesConnectionParams) WithTimeout ¶
func (o *GetElfImagesConnectionParams) WithTimeout(timeout time.Duration) *GetElfImagesConnectionParams
WithTimeout adds the timeout to the get elf images connection params
func (*GetElfImagesConnectionParams) WriteToRequest ¶
func (o *GetElfImagesConnectionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetElfImagesConnectionReader ¶
type GetElfImagesConnectionReader struct {
// contains filtered or unexported fields
}
GetElfImagesConnectionReader is a Reader for the GetElfImagesConnection structure.
func (*GetElfImagesConnectionReader) ReadResponse ¶
func (o *GetElfImagesConnectionReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetElfImagesOK ¶
GetElfImagesOK describes a response with status code 200, with default header values.
Ok
func NewGetElfImagesOK ¶
func NewGetElfImagesOK() *GetElfImagesOK
NewGetElfImagesOK creates a GetElfImagesOK with default headers values
func (*GetElfImagesOK) Error ¶
func (o *GetElfImagesOK) Error() string
func (*GetElfImagesOK) GetPayload ¶
func (o *GetElfImagesOK) GetPayload() []*models.ElfImage
type GetElfImagesParams ¶
type GetElfImagesParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.GetElfImagesRequestBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetElfImagesParams contains all the parameters to send to the API endpoint
for the get elf images operation. Typically these are written to a http.Request.
func NewGetElfImagesParams ¶
func NewGetElfImagesParams() *GetElfImagesParams
NewGetElfImagesParams creates a new GetElfImagesParams 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 NewGetElfImagesParamsWithContext ¶
func NewGetElfImagesParamsWithContext(ctx context.Context) *GetElfImagesParams
NewGetElfImagesParamsWithContext creates a new GetElfImagesParams object with the ability to set a context for a request.
func NewGetElfImagesParamsWithHTTPClient ¶
func NewGetElfImagesParamsWithHTTPClient(client *http.Client) *GetElfImagesParams
NewGetElfImagesParamsWithHTTPClient creates a new GetElfImagesParams object with the ability to set a custom HTTPClient for a request.
func NewGetElfImagesParamsWithTimeout ¶
func NewGetElfImagesParamsWithTimeout(timeout time.Duration) *GetElfImagesParams
NewGetElfImagesParamsWithTimeout creates a new GetElfImagesParams object with the ability to set a timeout on a request.
func (*GetElfImagesParams) SetContentLanguage ¶
func (o *GetElfImagesParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the get elf images params
func (*GetElfImagesParams) SetContext ¶
func (o *GetElfImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get elf images params
func (*GetElfImagesParams) SetDefaults ¶
func (o *GetElfImagesParams) SetDefaults()
SetDefaults hydrates default values in the get elf images params (not the query body).
All values with no default are reset to their zero value.
func (*GetElfImagesParams) SetHTTPClient ¶
func (o *GetElfImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get elf images params
func (*GetElfImagesParams) SetRequestBody ¶
func (o *GetElfImagesParams) SetRequestBody(requestBody *models.GetElfImagesRequestBody)
SetRequestBody adds the requestBody to the get elf images params
func (*GetElfImagesParams) SetTimeout ¶
func (o *GetElfImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get elf images params
func (*GetElfImagesParams) WithContentLanguage ¶
func (o *GetElfImagesParams) WithContentLanguage(contentLanguage *string) *GetElfImagesParams
WithContentLanguage adds the contentLanguage to the get elf images params
func (*GetElfImagesParams) WithContext ¶
func (o *GetElfImagesParams) WithContext(ctx context.Context) *GetElfImagesParams
WithContext adds the context to the get elf images params
func (*GetElfImagesParams) WithDefaults ¶
func (o *GetElfImagesParams) WithDefaults() *GetElfImagesParams
WithDefaults hydrates default values in the get elf images params (not the query body).
All values with no default are reset to their zero value.
func (*GetElfImagesParams) WithHTTPClient ¶
func (o *GetElfImagesParams) WithHTTPClient(client *http.Client) *GetElfImagesParams
WithHTTPClient adds the HTTPClient to the get elf images params
func (*GetElfImagesParams) WithRequestBody ¶
func (o *GetElfImagesParams) WithRequestBody(requestBody *models.GetElfImagesRequestBody) *GetElfImagesParams
WithRequestBody adds the requestBody to the get elf images params
func (*GetElfImagesParams) WithTimeout ¶
func (o *GetElfImagesParams) WithTimeout(timeout time.Duration) *GetElfImagesParams
WithTimeout adds the timeout to the get elf images params
func (*GetElfImagesParams) WriteToRequest ¶
func (o *GetElfImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetElfImagesReader ¶
type GetElfImagesReader struct {
// contains filtered or unexported fields
}
GetElfImagesReader is a Reader for the GetElfImages structure.
func (*GetElfImagesReader) ReadResponse ¶
func (o *GetElfImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateElfImageBadRequest ¶
type UpdateElfImageBadRequest struct {
Payload string
}
UpdateElfImageBadRequest describes a response with status code 400, with default header values.
UpdateElfImageBadRequest update elf image bad request
func NewUpdateElfImageBadRequest ¶
func NewUpdateElfImageBadRequest() *UpdateElfImageBadRequest
NewUpdateElfImageBadRequest creates a UpdateElfImageBadRequest with default headers values
func (*UpdateElfImageBadRequest) Error ¶
func (o *UpdateElfImageBadRequest) Error() string
func (*UpdateElfImageBadRequest) GetPayload ¶
func (o *UpdateElfImageBadRequest) GetPayload() string
type UpdateElfImageOK ¶
type UpdateElfImageOK struct {
Payload []*models.WithTaskElfImage
}
UpdateElfImageOK describes a response with status code 200, with default header values.
Ok
func NewUpdateElfImageOK ¶
func NewUpdateElfImageOK() *UpdateElfImageOK
NewUpdateElfImageOK creates a UpdateElfImageOK with default headers values
func (*UpdateElfImageOK) Error ¶
func (o *UpdateElfImageOK) Error() string
func (*UpdateElfImageOK) GetPayload ¶
func (o *UpdateElfImageOK) GetPayload() []*models.WithTaskElfImage
type UpdateElfImageParams ¶
type UpdateElfImageParams struct { // ContentLanguage. // // Default: "en-US" ContentLanguage *string // RequestBody. RequestBody *models.ElfImageUpdationParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateElfImageParams contains all the parameters to send to the API endpoint
for the update elf image operation. Typically these are written to a http.Request.
func NewUpdateElfImageParams ¶
func NewUpdateElfImageParams() *UpdateElfImageParams
NewUpdateElfImageParams creates a new UpdateElfImageParams 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 NewUpdateElfImageParamsWithContext ¶
func NewUpdateElfImageParamsWithContext(ctx context.Context) *UpdateElfImageParams
NewUpdateElfImageParamsWithContext creates a new UpdateElfImageParams object with the ability to set a context for a request.
func NewUpdateElfImageParamsWithHTTPClient ¶
func NewUpdateElfImageParamsWithHTTPClient(client *http.Client) *UpdateElfImageParams
NewUpdateElfImageParamsWithHTTPClient creates a new UpdateElfImageParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateElfImageParamsWithTimeout ¶
func NewUpdateElfImageParamsWithTimeout(timeout time.Duration) *UpdateElfImageParams
NewUpdateElfImageParamsWithTimeout creates a new UpdateElfImageParams object with the ability to set a timeout on a request.
func (*UpdateElfImageParams) SetContentLanguage ¶
func (o *UpdateElfImageParams) SetContentLanguage(contentLanguage *string)
SetContentLanguage adds the contentLanguage to the update elf image params
func (*UpdateElfImageParams) SetContext ¶
func (o *UpdateElfImageParams) SetContext(ctx context.Context)
SetContext adds the context to the update elf image params
func (*UpdateElfImageParams) SetDefaults ¶
func (o *UpdateElfImageParams) SetDefaults()
SetDefaults hydrates default values in the update elf image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateElfImageParams) SetHTTPClient ¶
func (o *UpdateElfImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update elf image params
func (*UpdateElfImageParams) SetRequestBody ¶
func (o *UpdateElfImageParams) SetRequestBody(requestBody *models.ElfImageUpdationParams)
SetRequestBody adds the requestBody to the update elf image params
func (*UpdateElfImageParams) SetTimeout ¶
func (o *UpdateElfImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update elf image params
func (*UpdateElfImageParams) WithContentLanguage ¶
func (o *UpdateElfImageParams) WithContentLanguage(contentLanguage *string) *UpdateElfImageParams
WithContentLanguage adds the contentLanguage to the update elf image params
func (*UpdateElfImageParams) WithContext ¶
func (o *UpdateElfImageParams) WithContext(ctx context.Context) *UpdateElfImageParams
WithContext adds the context to the update elf image params
func (*UpdateElfImageParams) WithDefaults ¶
func (o *UpdateElfImageParams) WithDefaults() *UpdateElfImageParams
WithDefaults hydrates default values in the update elf image params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateElfImageParams) WithHTTPClient ¶
func (o *UpdateElfImageParams) WithHTTPClient(client *http.Client) *UpdateElfImageParams
WithHTTPClient adds the HTTPClient to the update elf image params
func (*UpdateElfImageParams) WithRequestBody ¶
func (o *UpdateElfImageParams) WithRequestBody(requestBody *models.ElfImageUpdationParams) *UpdateElfImageParams
WithRequestBody adds the requestBody to the update elf image params
func (*UpdateElfImageParams) WithTimeout ¶
func (o *UpdateElfImageParams) WithTimeout(timeout time.Duration) *UpdateElfImageParams
WithTimeout adds the timeout to the update elf image params
func (*UpdateElfImageParams) WriteToRequest ¶
func (o *UpdateElfImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateElfImageReader ¶
type UpdateElfImageReader struct {
// contains filtered or unexported fields
}
UpdateElfImageReader is a Reader for the UpdateElfImage structure.
func (*UpdateElfImageReader) ReadResponse ¶
func (o *UpdateElfImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- create_elf_image_parameters.go
- create_elf_image_responses.go
- delete_elf_image_parameters.go
- delete_elf_image_responses.go
- elf_image_client.go
- get_elf_images_connection_parameters.go
- get_elf_images_connection_responses.go
- get_elf_images_parameters.go
- get_elf_images_responses.go
- update_elf_image_parameters.go
- update_elf_image_responses.go