base_image

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddBaseImageBadRequest

type AddBaseImageBadRequest struct {
	Payload *models.Error
}

AddBaseImageBadRequest handles this case with default header values.

Invalid input

func NewAddBaseImageBadRequest

func NewAddBaseImageBadRequest() *AddBaseImageBadRequest

NewAddBaseImageBadRequest creates a AddBaseImageBadRequest with default headers values

func (*AddBaseImageBadRequest) Error

func (o *AddBaseImageBadRequest) Error() string

type AddBaseImageCreated

type AddBaseImageCreated struct {
	Payload *models.BaseImage
}

AddBaseImageCreated handles this case with default header values.

created

func NewAddBaseImageCreated

func NewAddBaseImageCreated() *AddBaseImageCreated

NewAddBaseImageCreated creates a AddBaseImageCreated with default headers values

func (*AddBaseImageCreated) Error

func (o *AddBaseImageCreated) Error() string

type AddBaseImageDefault

type AddBaseImageDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

AddBaseImageDefault handles this case with default header values.

Generic error response

func NewAddBaseImageDefault

func NewAddBaseImageDefault(code int) *AddBaseImageDefault

NewAddBaseImageDefault creates a AddBaseImageDefault with default headers values

func (*AddBaseImageDefault) Code

func (o *AddBaseImageDefault) Code() int

Code gets the status code for the add base image default response

func (*AddBaseImageDefault) Error

func (o *AddBaseImageDefault) Error() string

type AddBaseImageParams

type AddBaseImageParams struct {

	/*Body
	  Base image object

	*/
	Body *models.BaseImage

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

AddBaseImageParams contains all the parameters to send to the API endpoint for the add base image operation typically these are written to a http.Request

func NewAddBaseImageParams

func NewAddBaseImageParams() *AddBaseImageParams

NewAddBaseImageParams creates a new AddBaseImageParams object with the default values initialized.

func NewAddBaseImageParamsWithContext

func NewAddBaseImageParamsWithContext(ctx context.Context) *AddBaseImageParams

NewAddBaseImageParamsWithContext creates a new AddBaseImageParams object with the default values initialized, and the ability to set a context for a request

func NewAddBaseImageParamsWithHTTPClient

func NewAddBaseImageParamsWithHTTPClient(client *http.Client) *AddBaseImageParams

NewAddBaseImageParamsWithHTTPClient creates a new AddBaseImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddBaseImageParamsWithTimeout

func NewAddBaseImageParamsWithTimeout(timeout time.Duration) *AddBaseImageParams

NewAddBaseImageParamsWithTimeout creates a new AddBaseImageParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddBaseImageParams) SetBody

func (o *AddBaseImageParams) SetBody(body *models.BaseImage)

SetBody adds the body to the add base image params

func (*AddBaseImageParams) SetContext

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

SetContext adds the context to the add base image params

func (*AddBaseImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the add base image params

func (*AddBaseImageParams) SetTimeout

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

SetTimeout adds the timeout to the add base image params

func (*AddBaseImageParams) WithBody

WithBody adds the body to the add base image params

func (*AddBaseImageParams) WithContext

WithContext adds the context to the add base image params

func (*AddBaseImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the add base image params

func (*AddBaseImageParams) WithTimeout

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

WithTimeout adds the timeout to the add base image params

func (*AddBaseImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AddBaseImageReader

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

AddBaseImageReader is a Reader for the AddBaseImage structure.

func (*AddBaseImageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type Client

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

Client for base image API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new base image API client.

func (*Client) AddBaseImage

func (a *Client) AddBaseImage(params *AddBaseImageParams, authInfo runtime.ClientAuthInfoWriter) (*AddBaseImageCreated, error)

AddBaseImage adds a new base image

func (*Client) DeleteBaseImageByName

func (a *Client) DeleteBaseImageByName(params *DeleteBaseImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteBaseImageByNameOK, error)

DeleteBaseImageByName deletes a base image

func (*Client) GetBaseImageByName

func (a *Client) GetBaseImageByName(params *GetBaseImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*GetBaseImageByNameOK, error)

GetBaseImageByName finds base image by name

Returns a single base image

func (*Client) GetBaseImages

func (a *Client) GetBaseImages(params *GetBaseImagesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBaseImagesOK, error)

GetBaseImages lists all existing base images

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateBaseImageByName

func (a *Client) UpdateBaseImageByName(params *UpdateBaseImageByNameParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateBaseImageByNameOK, error)

UpdateBaseImageByName updates a base image

type DeleteBaseImageByNameBadRequest

type DeleteBaseImageByNameBadRequest struct {
	Payload *models.Error
}

DeleteBaseImageByNameBadRequest handles this case with default header values.

Invalid ID supplied

func NewDeleteBaseImageByNameBadRequest

func NewDeleteBaseImageByNameBadRequest() *DeleteBaseImageByNameBadRequest

NewDeleteBaseImageByNameBadRequest creates a DeleteBaseImageByNameBadRequest with default headers values

func (*DeleteBaseImageByNameBadRequest) Error

type DeleteBaseImageByNameDefault

type DeleteBaseImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

DeleteBaseImageByNameDefault handles this case with default header values.

Generic error response

func NewDeleteBaseImageByNameDefault

func NewDeleteBaseImageByNameDefault(code int) *DeleteBaseImageByNameDefault

NewDeleteBaseImageByNameDefault creates a DeleteBaseImageByNameDefault with default headers values

func (*DeleteBaseImageByNameDefault) Code

Code gets the status code for the delete base image by name default response

func (*DeleteBaseImageByNameDefault) Error

type DeleteBaseImageByNameNotFound

type DeleteBaseImageByNameNotFound struct {
	Payload *models.Error
}

DeleteBaseImageByNameNotFound handles this case with default header values.

Base image not found

func NewDeleteBaseImageByNameNotFound

func NewDeleteBaseImageByNameNotFound() *DeleteBaseImageByNameNotFound

NewDeleteBaseImageByNameNotFound creates a DeleteBaseImageByNameNotFound with default headers values

func (*DeleteBaseImageByNameNotFound) Error

type DeleteBaseImageByNameOK

type DeleteBaseImageByNameOK struct {
	Payload *models.BaseImage
}

DeleteBaseImageByNameOK handles this case with default header values.

successful operation

func NewDeleteBaseImageByNameOK

func NewDeleteBaseImageByNameOK() *DeleteBaseImageByNameOK

NewDeleteBaseImageByNameOK creates a DeleteBaseImageByNameOK with default headers values

func (*DeleteBaseImageByNameOK) Error

func (o *DeleteBaseImageByNameOK) Error() string

type DeleteBaseImageByNameParams

type DeleteBaseImageByNameParams struct {

	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string

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

DeleteBaseImageByNameParams contains all the parameters to send to the API endpoint for the delete base image by name operation typically these are written to a http.Request

func NewDeleteBaseImageByNameParams

func NewDeleteBaseImageByNameParams() *DeleteBaseImageByNameParams

NewDeleteBaseImageByNameParams creates a new DeleteBaseImageByNameParams object with the default values initialized.

func NewDeleteBaseImageByNameParamsWithContext

func NewDeleteBaseImageByNameParamsWithContext(ctx context.Context) *DeleteBaseImageByNameParams

NewDeleteBaseImageByNameParamsWithContext creates a new DeleteBaseImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteBaseImageByNameParamsWithHTTPClient

func NewDeleteBaseImageByNameParamsWithHTTPClient(client *http.Client) *DeleteBaseImageByNameParams

NewDeleteBaseImageByNameParamsWithHTTPClient creates a new DeleteBaseImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteBaseImageByNameParamsWithTimeout

func NewDeleteBaseImageByNameParamsWithTimeout(timeout time.Duration) *DeleteBaseImageByNameParams

NewDeleteBaseImageByNameParamsWithTimeout creates a new DeleteBaseImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteBaseImageByNameParams) SetBaseImageName

func (o *DeleteBaseImageByNameParams) SetBaseImageName(baseImageName string)

SetBaseImageName adds the baseImageName to the delete base image by name params

func (*DeleteBaseImageByNameParams) SetContext

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

SetContext adds the context to the delete base image by name params

func (*DeleteBaseImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete base image by name params

func (*DeleteBaseImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete base image by name params

func (*DeleteBaseImageByNameParams) WithBaseImageName

func (o *DeleteBaseImageByNameParams) WithBaseImageName(baseImageName string) *DeleteBaseImageByNameParams

WithBaseImageName adds the baseImageName to the delete base image by name params

func (*DeleteBaseImageByNameParams) WithContext

WithContext adds the context to the delete base image by name params

func (*DeleteBaseImageByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete base image by name params

func (*DeleteBaseImageByNameParams) WithTimeout

WithTimeout adds the timeout to the delete base image by name params

func (*DeleteBaseImageByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteBaseImageByNameReader

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

DeleteBaseImageByNameReader is a Reader for the DeleteBaseImageByName structure.

func (*DeleteBaseImageByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBaseImageByNameBadRequest

type GetBaseImageByNameBadRequest struct {
	Payload *models.Error
}

GetBaseImageByNameBadRequest handles this case with default header values.

Invalid ID supplied

func NewGetBaseImageByNameBadRequest

func NewGetBaseImageByNameBadRequest() *GetBaseImageByNameBadRequest

NewGetBaseImageByNameBadRequest creates a GetBaseImageByNameBadRequest with default headers values

func (*GetBaseImageByNameBadRequest) Error

type GetBaseImageByNameDefault

type GetBaseImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetBaseImageByNameDefault handles this case with default header values.

Generic error response

func NewGetBaseImageByNameDefault

func NewGetBaseImageByNameDefault(code int) *GetBaseImageByNameDefault

NewGetBaseImageByNameDefault creates a GetBaseImageByNameDefault with default headers values

func (*GetBaseImageByNameDefault) Code

func (o *GetBaseImageByNameDefault) Code() int

Code gets the status code for the get base image by name default response

func (*GetBaseImageByNameDefault) Error

func (o *GetBaseImageByNameDefault) Error() string

type GetBaseImageByNameNotFound

type GetBaseImageByNameNotFound struct {
	Payload *models.Error
}

GetBaseImageByNameNotFound handles this case with default header values.

Base image not found

func NewGetBaseImageByNameNotFound

func NewGetBaseImageByNameNotFound() *GetBaseImageByNameNotFound

NewGetBaseImageByNameNotFound creates a GetBaseImageByNameNotFound with default headers values

func (*GetBaseImageByNameNotFound) Error

type GetBaseImageByNameOK

type GetBaseImageByNameOK struct {
	Payload *models.BaseImage
}

GetBaseImageByNameOK handles this case with default header values.

successful operation

func NewGetBaseImageByNameOK

func NewGetBaseImageByNameOK() *GetBaseImageByNameOK

NewGetBaseImageByNameOK creates a GetBaseImageByNameOK with default headers values

func (*GetBaseImageByNameOK) Error

func (o *GetBaseImageByNameOK) Error() string

type GetBaseImageByNameParams

type GetBaseImageByNameParams struct {

	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string

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

GetBaseImageByNameParams contains all the parameters to send to the API endpoint for the get base image by name operation typically these are written to a http.Request

func NewGetBaseImageByNameParams

func NewGetBaseImageByNameParams() *GetBaseImageByNameParams

NewGetBaseImageByNameParams creates a new GetBaseImageByNameParams object with the default values initialized.

func NewGetBaseImageByNameParamsWithContext

func NewGetBaseImageByNameParamsWithContext(ctx context.Context) *GetBaseImageByNameParams

NewGetBaseImageByNameParamsWithContext creates a new GetBaseImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewGetBaseImageByNameParamsWithHTTPClient

func NewGetBaseImageByNameParamsWithHTTPClient(client *http.Client) *GetBaseImageByNameParams

NewGetBaseImageByNameParamsWithHTTPClient creates a new GetBaseImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetBaseImageByNameParamsWithTimeout

func NewGetBaseImageByNameParamsWithTimeout(timeout time.Duration) *GetBaseImageByNameParams

NewGetBaseImageByNameParamsWithTimeout creates a new GetBaseImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetBaseImageByNameParams) SetBaseImageName

func (o *GetBaseImageByNameParams) SetBaseImageName(baseImageName string)

SetBaseImageName adds the baseImageName to the get base image by name params

func (*GetBaseImageByNameParams) SetContext

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

SetContext adds the context to the get base image by name params

func (*GetBaseImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get base image by name params

func (*GetBaseImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the get base image by name params

func (*GetBaseImageByNameParams) WithBaseImageName

func (o *GetBaseImageByNameParams) WithBaseImageName(baseImageName string) *GetBaseImageByNameParams

WithBaseImageName adds the baseImageName to the get base image by name params

func (*GetBaseImageByNameParams) WithContext

WithContext adds the context to the get base image by name params

func (*GetBaseImageByNameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get base image by name params

func (*GetBaseImageByNameParams) WithTimeout

WithTimeout adds the timeout to the get base image by name params

func (*GetBaseImageByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetBaseImageByNameReader

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

GetBaseImageByNameReader is a Reader for the GetBaseImageByName structure.

func (*GetBaseImageByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetBaseImagesDefault

type GetBaseImagesDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetBaseImagesDefault handles this case with default header values.

Generic error response

func NewGetBaseImagesDefault

func NewGetBaseImagesDefault(code int) *GetBaseImagesDefault

NewGetBaseImagesDefault creates a GetBaseImagesDefault with default headers values

func (*GetBaseImagesDefault) Code

func (o *GetBaseImagesDefault) Code() int

Code gets the status code for the get base images default response

func (*GetBaseImagesDefault) Error

func (o *GetBaseImagesDefault) Error() string

type GetBaseImagesOK

type GetBaseImagesOK struct {
	Payload models.GetBaseImagesOKBody
}

GetBaseImagesOK handles this case with default header values.

successful operation

func NewGetBaseImagesOK

func NewGetBaseImagesOK() *GetBaseImagesOK

NewGetBaseImagesOK creates a GetBaseImagesOK with default headers values

func (*GetBaseImagesOK) Error

func (o *GetBaseImagesOK) Error() string

type GetBaseImagesParams

type GetBaseImagesParams struct {

	/*Runtime
	  Base image runtime/language

	*/
	Runtime *string
	/*Tags
	  Filter on base image tags

	*/
	Tags []string

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

GetBaseImagesParams contains all the parameters to send to the API endpoint for the get base images operation typically these are written to a http.Request

func NewGetBaseImagesParams

func NewGetBaseImagesParams() *GetBaseImagesParams

NewGetBaseImagesParams creates a new GetBaseImagesParams object with the default values initialized.

func NewGetBaseImagesParamsWithContext

func NewGetBaseImagesParamsWithContext(ctx context.Context) *GetBaseImagesParams

NewGetBaseImagesParamsWithContext creates a new GetBaseImagesParams object with the default values initialized, and the ability to set a context for a request

func NewGetBaseImagesParamsWithHTTPClient

func NewGetBaseImagesParamsWithHTTPClient(client *http.Client) *GetBaseImagesParams

NewGetBaseImagesParamsWithHTTPClient creates a new GetBaseImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetBaseImagesParamsWithTimeout

func NewGetBaseImagesParamsWithTimeout(timeout time.Duration) *GetBaseImagesParams

NewGetBaseImagesParamsWithTimeout creates a new GetBaseImagesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetBaseImagesParams) SetContext

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

SetContext adds the context to the get base images params

func (*GetBaseImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get base images params

func (*GetBaseImagesParams) SetRuntime

func (o *GetBaseImagesParams) SetRuntime(runtime *string)

SetRuntime adds the runtime to the get base images params

func (*GetBaseImagesParams) SetTags

func (o *GetBaseImagesParams) SetTags(tags []string)

SetTags adds the tags to the get base images params

func (*GetBaseImagesParams) SetTimeout

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

SetTimeout adds the timeout to the get base images params

func (*GetBaseImagesParams) WithContext

WithContext adds the context to the get base images params

func (*GetBaseImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get base images params

func (*GetBaseImagesParams) WithRuntime

func (o *GetBaseImagesParams) WithRuntime(runtime *string) *GetBaseImagesParams

WithRuntime adds the runtime to the get base images params

func (*GetBaseImagesParams) WithTags

func (o *GetBaseImagesParams) WithTags(tags []string) *GetBaseImagesParams

WithTags adds the tags to the get base images params

func (*GetBaseImagesParams) WithTimeout

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

WithTimeout adds the timeout to the get base images params

func (*GetBaseImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetBaseImagesReader

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

GetBaseImagesReader is a Reader for the GetBaseImages structure.

func (*GetBaseImagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateBaseImageByNameBadRequest

type UpdateBaseImageByNameBadRequest struct {
	Payload *models.Error
}

UpdateBaseImageByNameBadRequest handles this case with default header values.

Invalid input

func NewUpdateBaseImageByNameBadRequest

func NewUpdateBaseImageByNameBadRequest() *UpdateBaseImageByNameBadRequest

NewUpdateBaseImageByNameBadRequest creates a UpdateBaseImageByNameBadRequest with default headers values

func (*UpdateBaseImageByNameBadRequest) Error

type UpdateBaseImageByNameDefault

type UpdateBaseImageByNameDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

UpdateBaseImageByNameDefault handles this case with default header values.

Generic error response

func NewUpdateBaseImageByNameDefault

func NewUpdateBaseImageByNameDefault(code int) *UpdateBaseImageByNameDefault

NewUpdateBaseImageByNameDefault creates a UpdateBaseImageByNameDefault with default headers values

func (*UpdateBaseImageByNameDefault) Code

Code gets the status code for the update base image by name default response

func (*UpdateBaseImageByNameDefault) Error

type UpdateBaseImageByNameNotFound

type UpdateBaseImageByNameNotFound struct {
	Payload *models.Error
}

UpdateBaseImageByNameNotFound handles this case with default header values.

Image not found

func NewUpdateBaseImageByNameNotFound

func NewUpdateBaseImageByNameNotFound() *UpdateBaseImageByNameNotFound

NewUpdateBaseImageByNameNotFound creates a UpdateBaseImageByNameNotFound with default headers values

func (*UpdateBaseImageByNameNotFound) Error

type UpdateBaseImageByNameOK

type UpdateBaseImageByNameOK struct {
	Payload *models.BaseImage
}

UpdateBaseImageByNameOK handles this case with default header values.

successful operation

func NewUpdateBaseImageByNameOK

func NewUpdateBaseImageByNameOK() *UpdateBaseImageByNameOK

NewUpdateBaseImageByNameOK creates a UpdateBaseImageByNameOK with default headers values

func (*UpdateBaseImageByNameOK) Error

func (o *UpdateBaseImageByNameOK) Error() string

type UpdateBaseImageByNameParams

type UpdateBaseImageByNameParams struct {

	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string
	/*Body*/
	Body *models.BaseImage

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

UpdateBaseImageByNameParams contains all the parameters to send to the API endpoint for the update base image by name operation typically these are written to a http.Request

func NewUpdateBaseImageByNameParams

func NewUpdateBaseImageByNameParams() *UpdateBaseImageByNameParams

NewUpdateBaseImageByNameParams creates a new UpdateBaseImageByNameParams object with the default values initialized.

func NewUpdateBaseImageByNameParamsWithContext

func NewUpdateBaseImageByNameParamsWithContext(ctx context.Context) *UpdateBaseImageByNameParams

NewUpdateBaseImageByNameParamsWithContext creates a new UpdateBaseImageByNameParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateBaseImageByNameParamsWithHTTPClient

func NewUpdateBaseImageByNameParamsWithHTTPClient(client *http.Client) *UpdateBaseImageByNameParams

NewUpdateBaseImageByNameParamsWithHTTPClient creates a new UpdateBaseImageByNameParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateBaseImageByNameParamsWithTimeout

func NewUpdateBaseImageByNameParamsWithTimeout(timeout time.Duration) *UpdateBaseImageByNameParams

NewUpdateBaseImageByNameParamsWithTimeout creates a new UpdateBaseImageByNameParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateBaseImageByNameParams) SetBaseImageName

func (o *UpdateBaseImageByNameParams) SetBaseImageName(baseImageName string)

SetBaseImageName adds the baseImageName to the update base image by name params

func (*UpdateBaseImageByNameParams) SetBody

func (o *UpdateBaseImageByNameParams) SetBody(body *models.BaseImage)

SetBody adds the body to the update base image by name params

func (*UpdateBaseImageByNameParams) SetContext

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

SetContext adds the context to the update base image by name params

func (*UpdateBaseImageByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update base image by name params

func (*UpdateBaseImageByNameParams) SetTimeout

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

SetTimeout adds the timeout to the update base image by name params

func (*UpdateBaseImageByNameParams) WithBaseImageName

func (o *UpdateBaseImageByNameParams) WithBaseImageName(baseImageName string) *UpdateBaseImageByNameParams

WithBaseImageName adds the baseImageName to the update base image by name params

func (*UpdateBaseImageByNameParams) WithBody

WithBody adds the body to the update base image by name params

func (*UpdateBaseImageByNameParams) WithContext

WithContext adds the context to the update base image by name params

func (*UpdateBaseImageByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update base image by name params

func (*UpdateBaseImageByNameParams) WithTimeout

WithTimeout adds the timeout to the update base image by name params

func (*UpdateBaseImageByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdateBaseImageByNameReader

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

UpdateBaseImageByNameReader is a Reader for the UpdateBaseImageByName structure.

func (*UpdateBaseImageByNameReader) ReadResponse

func (o *UpdateBaseImageByNameReader) 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