elf_image

package
v0.0.0-...-67cd95e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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

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

WithName adds the name to the create elf image params

func (*CreateElfImageParams) WithSize

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

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 (*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

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

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

WithContext adds the context to the get elf images connection params

func (*GetElfImagesConnectionParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get elf images connection params

func (*GetElfImagesConnectionParams) WithRequestBody

WithRequestBody adds the requestBody to the get elf images connection params

func (*GetElfImagesConnectionParams) WithTimeout

WithTimeout adds the timeout to the get elf images connection params

func (*GetElfImagesConnectionParams) WriteToRequest

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

type GetElfImagesOK struct {
	Payload []*models.ElfImage
}
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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL