base_image

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 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 *v1.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 AddBaseImageConflict added in v0.1.13

type AddBaseImageConflict struct {
	Payload *v1.Error
}

AddBaseImageConflict handles this case with default header values.

Already Exists

func NewAddBaseImageConflict added in v0.1.13

func NewAddBaseImageConflict() *AddBaseImageConflict

NewAddBaseImageConflict creates a AddBaseImageConflict with default headers values

func (*AddBaseImageConflict) Error added in v0.1.13

func (o *AddBaseImageConflict) Error() string

type AddBaseImageCreated

type AddBaseImageCreated struct {
	Payload *v1.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 *v1.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 AddBaseImageForbidden added in v0.1.18

type AddBaseImageForbidden struct {
	Payload *v1.Error
}

AddBaseImageForbidden handles this case with default header values.

access to this resource is forbidden

func NewAddBaseImageForbidden added in v0.1.18

func NewAddBaseImageForbidden() *AddBaseImageForbidden

NewAddBaseImageForbidden creates a AddBaseImageForbidden with default headers values

func (*AddBaseImageForbidden) Error added in v0.1.18

func (o *AddBaseImageForbidden) Error() string

type AddBaseImageParams

type AddBaseImageParams struct {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*Body
	  Base image object

	*/
	Body *v1.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 *v1.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) SetXDispatchOrg added in v0.1.16

func (o *AddBaseImageParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg to the add base image params

func (*AddBaseImageParams) WithBody

func (o *AddBaseImageParams) WithBody(body *v1.BaseImage) *AddBaseImageParams

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) WithXDispatchOrg added in v0.1.16

func (o *AddBaseImageParams) WithXDispatchOrg(xDispatchOrg string) *AddBaseImageParams

WithXDispatchOrg adds the xDispatchOrg 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 AddBaseImageUnauthorized added in v0.1.18

type AddBaseImageUnauthorized struct {
	Payload *v1.Error
}

AddBaseImageUnauthorized handles this case with default header values.

Unauthorized Request

func NewAddBaseImageUnauthorized added in v0.1.18

func NewAddBaseImageUnauthorized() *AddBaseImageUnauthorized

NewAddBaseImageUnauthorized creates a AddBaseImageUnauthorized with default headers values

func (*AddBaseImageUnauthorized) Error added in v0.1.18

func (o *AddBaseImageUnauthorized) Error() string

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 *v1.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 *v1.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 DeleteBaseImageByNameForbidden added in v0.1.18

type DeleteBaseImageByNameForbidden struct {
	Payload *v1.Error
}

DeleteBaseImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewDeleteBaseImageByNameForbidden added in v0.1.18

func NewDeleteBaseImageByNameForbidden() *DeleteBaseImageByNameForbidden

NewDeleteBaseImageByNameForbidden creates a DeleteBaseImageByNameForbidden with default headers values

func (*DeleteBaseImageByNameForbidden) Error added in v0.1.18

type DeleteBaseImageByNameNotFound

type DeleteBaseImageByNameNotFound struct {
	Payload *v1.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 *v1.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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string
	/*Tags
	  Filter based on tags

	*/
	Tags []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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *DeleteBaseImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

WithTags adds the tags 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) WithXDispatchOrg added in v0.1.16

func (o *DeleteBaseImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *DeleteBaseImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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 DeleteBaseImageByNameUnauthorized added in v0.1.18

type DeleteBaseImageByNameUnauthorized struct {
	Payload *v1.Error
}

DeleteBaseImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewDeleteBaseImageByNameUnauthorized added in v0.1.18

func NewDeleteBaseImageByNameUnauthorized() *DeleteBaseImageByNameUnauthorized

NewDeleteBaseImageByNameUnauthorized creates a DeleteBaseImageByNameUnauthorized with default headers values

func (*DeleteBaseImageByNameUnauthorized) Error added in v0.1.18

type GetBaseImageByNameBadRequest

type GetBaseImageByNameBadRequest struct {
	Payload *v1.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 *v1.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 GetBaseImageByNameForbidden added in v0.1.18

type GetBaseImageByNameForbidden struct {
	Payload *v1.Error
}

GetBaseImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetBaseImageByNameForbidden added in v0.1.18

func NewGetBaseImageByNameForbidden() *GetBaseImageByNameForbidden

NewGetBaseImageByNameForbidden creates a GetBaseImageByNameForbidden with default headers values

func (*GetBaseImageByNameForbidden) Error added in v0.1.18

type GetBaseImageByNameNotFound

type GetBaseImageByNameNotFound struct {
	Payload *v1.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 *v1.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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string
	/*Tags
	  Filter based on tags

	*/
	Tags []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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *GetBaseImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

WithTags adds the tags 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) WithXDispatchOrg added in v0.1.16

func (o *GetBaseImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *GetBaseImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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 GetBaseImageByNameUnauthorized added in v0.1.18

type GetBaseImageByNameUnauthorized struct {
	Payload *v1.Error
}

GetBaseImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetBaseImageByNameUnauthorized added in v0.1.18

func NewGetBaseImageByNameUnauthorized() *GetBaseImageByNameUnauthorized

NewGetBaseImageByNameUnauthorized creates a GetBaseImageByNameUnauthorized with default headers values

func (*GetBaseImageByNameUnauthorized) Error added in v0.1.18

type GetBaseImagesDefault

type GetBaseImagesDefault struct {
	Payload *v1.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 GetBaseImagesForbidden added in v0.1.18

type GetBaseImagesForbidden struct {
	Payload *v1.Error
}

GetBaseImagesForbidden handles this case with default header values.

access to this resource is forbidden

func NewGetBaseImagesForbidden added in v0.1.18

func NewGetBaseImagesForbidden() *GetBaseImagesForbidden

NewGetBaseImagesForbidden creates a GetBaseImagesForbidden with default headers values

func (*GetBaseImagesForbidden) Error added in v0.1.18

func (o *GetBaseImagesForbidden) Error() string

type GetBaseImagesOK

type GetBaseImagesOK struct {
	Payload []*v1.BaseImage
}

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 {

	/*XDispatchOrg*/
	XDispatchOrg 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) 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) SetXDispatchOrg added in v0.1.16

func (o *GetBaseImagesParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) 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) WithXDispatchOrg added in v0.1.16

func (o *GetBaseImagesParams) WithXDispatchOrg(xDispatchOrg string) *GetBaseImagesParams

WithXDispatchOrg adds the xDispatchOrg 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 GetBaseImagesUnauthorized added in v0.1.18

type GetBaseImagesUnauthorized struct {
	Payload *v1.Error
}

GetBaseImagesUnauthorized handles this case with default header values.

Unauthorized Request

func NewGetBaseImagesUnauthorized added in v0.1.18

func NewGetBaseImagesUnauthorized() *GetBaseImagesUnauthorized

NewGetBaseImagesUnauthorized creates a GetBaseImagesUnauthorized with default headers values

func (*GetBaseImagesUnauthorized) Error added in v0.1.18

func (o *GetBaseImagesUnauthorized) Error() string

type UpdateBaseImageByNameBadRequest

type UpdateBaseImageByNameBadRequest struct {
	Payload *v1.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 *v1.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 UpdateBaseImageByNameForbidden added in v0.1.18

type UpdateBaseImageByNameForbidden struct {
	Payload *v1.Error
}

UpdateBaseImageByNameForbidden handles this case with default header values.

access to this resource is forbidden

func NewUpdateBaseImageByNameForbidden added in v0.1.18

func NewUpdateBaseImageByNameForbidden() *UpdateBaseImageByNameForbidden

NewUpdateBaseImageByNameForbidden creates a UpdateBaseImageByNameForbidden with default headers values

func (*UpdateBaseImageByNameForbidden) Error added in v0.1.18

type UpdateBaseImageByNameNotFound

type UpdateBaseImageByNameNotFound struct {
	Payload *v1.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 *v1.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 {

	/*XDispatchOrg*/
	XDispatchOrg string
	/*BaseImageName
	  Name of base image to return

	*/
	BaseImageName string
	/*Body*/
	Body *v1.BaseImage
	/*Tags
	  Filter based on tags

	*/
	Tags []string

	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 *v1.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) SetTags added in v0.1.13

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

SetTags adds the tags 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) SetXDispatchOrg added in v0.1.16

func (o *UpdateBaseImageByNameParams) SetXDispatchOrg(xDispatchOrg string)

SetXDispatchOrg adds the xDispatchOrg 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) WithTags added in v0.1.13

WithTags adds the tags 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) WithXDispatchOrg added in v0.1.16

func (o *UpdateBaseImageByNameParams) WithXDispatchOrg(xDispatchOrg string) *UpdateBaseImageByNameParams

WithXDispatchOrg adds the xDispatchOrg 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.

type UpdateBaseImageByNameUnauthorized added in v0.1.18

type UpdateBaseImageByNameUnauthorized struct {
	Payload *v1.Error
}

UpdateBaseImageByNameUnauthorized handles this case with default header values.

Unauthorized Request

func NewUpdateBaseImageByNameUnauthorized added in v0.1.18

func NewUpdateBaseImageByNameUnauthorized() *UpdateBaseImageByNameUnauthorized

NewUpdateBaseImageByNameUnauthorized creates a UpdateBaseImageByNameUnauthorized with default headers values

func (*UpdateBaseImageByNameUnauthorized) Error added in v0.1.18

Jump to

Keyboard shortcuts

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