v1imagecatalogs

package
v2.3.0-dev.26+incompat... Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: Apache-2.0, BSD-2-Clause Imports: 10 Imported by: 2

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 v1imagecatalogs API

func New

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

New creates a new v1imagecatalogs API client.

func (*Client) DeletePublicImageCatalogByName

func (a *Client) DeletePublicImageCatalogByName(params *DeletePublicImageCatalogByNameParams) error

DeletePublicImageCatalogByName deletes public owned or private image catalog by id

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) GetImagesByProvider

func (a *Client) GetImagesByProvider(params *GetImagesByProviderParams) (*GetImagesByProviderOK, error)

GetImagesByProvider determines available images for the cloudbreak version by the given provider and default image catalog url

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) GetPublicImageCatalogsByID

func (a *Client) GetPublicImageCatalogsByID(params *GetPublicImageCatalogsByIDParams) (*GetPublicImageCatalogsByIDOK, error)

GetPublicImageCatalogsByID gets custom image catalog by name

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) GetPublicImagesByProviderAndCustomImageCatalog

func (a *Client) GetPublicImagesByProviderAndCustomImageCatalog(params *GetPublicImagesByProviderAndCustomImageCatalogParams) (*GetPublicImagesByProviderAndCustomImageCatalogOK, error)

GetPublicImagesByProviderAndCustomImageCatalog determines available images for the cloudbreak version by the given provider and given image catalog url

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) GetPublicsImageCatalogs

func (a *Client) GetPublicsImageCatalogs(params *GetPublicsImageCatalogsParams) (*GetPublicsImageCatalogsOK, error)

GetPublicsImageCatalogs lists available custom image catalogs as public resources

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) PostPrivateImageCatalog

func (a *Client) PostPrivateImageCatalog(params *PostPrivateImageCatalogParams) (*PostPrivateImageCatalogOK, error)

PostPrivateImageCatalog creates image catalog as private resources

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) PostPublicImageCatalog

func (a *Client) PostPublicImageCatalog(params *PostPublicImageCatalogParams) (*PostPublicImageCatalogOK, error)

PostPublicImageCatalog creates image catalog as public resources

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) PutPublicImageCatalog

func (a *Client) PutPublicImageCatalog(params *PutPublicImageCatalogParams) (*PutPublicImageCatalogOK, error)

PutPublicImageCatalog updates public owned or private image catalog by id

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) PutSetDefaultImageCatalogByName

func (a *Client) PutSetDefaultImageCatalogByName(params *PutSetDefaultImageCatalogByNameParams) (*PutSetDefaultImageCatalogByNameOK, error)

PutSetDefaultImageCatalogByName updates public owned or private image catalog by id

Provides an interface to determine available Virtual Machine images for the given version of Cloudbreak.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type DeletePublicImageCatalogByNameDefault

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

DeletePublicImageCatalogByNameDefault handles this case with default header values.

successful operation

func NewDeletePublicImageCatalogByNameDefault

func NewDeletePublicImageCatalogByNameDefault(code int) *DeletePublicImageCatalogByNameDefault

NewDeletePublicImageCatalogByNameDefault creates a DeletePublicImageCatalogByNameDefault with default headers values

func (*DeletePublicImageCatalogByNameDefault) Code

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

func (*DeletePublicImageCatalogByNameDefault) Error

type DeletePublicImageCatalogByNameParams

type DeletePublicImageCatalogByNameParams struct {

	/*Name*/
	Name string

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

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

func NewDeletePublicImageCatalogByNameParams

func NewDeletePublicImageCatalogByNameParams() *DeletePublicImageCatalogByNameParams

NewDeletePublicImageCatalogByNameParams creates a new DeletePublicImageCatalogByNameParams object with the default values initialized.

func NewDeletePublicImageCatalogByNameParamsWithContext

func NewDeletePublicImageCatalogByNameParamsWithContext(ctx context.Context) *DeletePublicImageCatalogByNameParams

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

func NewDeletePublicImageCatalogByNameParamsWithHTTPClient

func NewDeletePublicImageCatalogByNameParamsWithHTTPClient(client *http.Client) *DeletePublicImageCatalogByNameParams

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

func NewDeletePublicImageCatalogByNameParamsWithTimeout

func NewDeletePublicImageCatalogByNameParamsWithTimeout(timeout time.Duration) *DeletePublicImageCatalogByNameParams

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

func (*DeletePublicImageCatalogByNameParams) SetContext

SetContext adds the context to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) SetName

SetName adds the name to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) SetTimeout

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

SetTimeout adds the timeout to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) WithContext

WithContext adds the context to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) WithName

WithName adds the name to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) WithTimeout

WithTimeout adds the timeout to the delete public image catalog by name params

func (*DeletePublicImageCatalogByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeletePublicImageCatalogByNameReader

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

DeletePublicImageCatalogByNameReader is a Reader for the DeletePublicImageCatalogByName structure.

func (*DeletePublicImageCatalogByNameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetImagesByProviderOK

type GetImagesByProviderOK struct {
	Payload *models_cloudbreak.ImagesResponse
}

GetImagesByProviderOK handles this case with default header values.

successful operation

func NewGetImagesByProviderOK

func NewGetImagesByProviderOK() *GetImagesByProviderOK

NewGetImagesByProviderOK creates a GetImagesByProviderOK with default headers values

func (*GetImagesByProviderOK) Error

func (o *GetImagesByProviderOK) Error() string

type GetImagesByProviderParams

type GetImagesByProviderParams struct {

	/*Platform*/
	Platform string

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

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

func NewGetImagesByProviderParams

func NewGetImagesByProviderParams() *GetImagesByProviderParams

NewGetImagesByProviderParams creates a new GetImagesByProviderParams object with the default values initialized.

func NewGetImagesByProviderParamsWithContext

func NewGetImagesByProviderParamsWithContext(ctx context.Context) *GetImagesByProviderParams

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

func NewGetImagesByProviderParamsWithHTTPClient

func NewGetImagesByProviderParamsWithHTTPClient(client *http.Client) *GetImagesByProviderParams

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

func NewGetImagesByProviderParamsWithTimeout

func NewGetImagesByProviderParamsWithTimeout(timeout time.Duration) *GetImagesByProviderParams

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

func (*GetImagesByProviderParams) SetContext

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

SetContext adds the context to the get images by provider params

func (*GetImagesByProviderParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get images by provider params

func (*GetImagesByProviderParams) SetPlatform

func (o *GetImagesByProviderParams) SetPlatform(platform string)

SetPlatform adds the platform to the get images by provider params

func (*GetImagesByProviderParams) SetTimeout

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

SetTimeout adds the timeout to the get images by provider params

func (*GetImagesByProviderParams) WithContext

WithContext adds the context to the get images by provider params

func (*GetImagesByProviderParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get images by provider params

func (*GetImagesByProviderParams) WithPlatform

func (o *GetImagesByProviderParams) WithPlatform(platform string) *GetImagesByProviderParams

WithPlatform adds the platform to the get images by provider params

func (*GetImagesByProviderParams) WithTimeout

WithTimeout adds the timeout to the get images by provider params

func (*GetImagesByProviderParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetImagesByProviderReader

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

GetImagesByProviderReader is a Reader for the GetImagesByProvider structure.

func (*GetImagesByProviderReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicImageCatalogsByIDOK

type GetPublicImageCatalogsByIDOK struct {
	Payload *models_cloudbreak.ImageCatalogResponse
}

GetPublicImageCatalogsByIDOK handles this case with default header values.

successful operation

func NewGetPublicImageCatalogsByIDOK

func NewGetPublicImageCatalogsByIDOK() *GetPublicImageCatalogsByIDOK

NewGetPublicImageCatalogsByIDOK creates a GetPublicImageCatalogsByIDOK with default headers values

func (*GetPublicImageCatalogsByIDOK) Error

type GetPublicImageCatalogsByIDParams

type GetPublicImageCatalogsByIDParams struct {

	/*Name*/
	Name string

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

GetPublicImageCatalogsByIDParams contains all the parameters to send to the API endpoint for the get public image catalogs by Id operation typically these are written to a http.Request

func NewGetPublicImageCatalogsByIDParams

func NewGetPublicImageCatalogsByIDParams() *GetPublicImageCatalogsByIDParams

NewGetPublicImageCatalogsByIDParams creates a new GetPublicImageCatalogsByIDParams object with the default values initialized.

func NewGetPublicImageCatalogsByIDParamsWithContext

func NewGetPublicImageCatalogsByIDParamsWithContext(ctx context.Context) *GetPublicImageCatalogsByIDParams

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

func NewGetPublicImageCatalogsByIDParamsWithHTTPClient

func NewGetPublicImageCatalogsByIDParamsWithHTTPClient(client *http.Client) *GetPublicImageCatalogsByIDParams

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

func NewGetPublicImageCatalogsByIDParamsWithTimeout

func NewGetPublicImageCatalogsByIDParamsWithTimeout(timeout time.Duration) *GetPublicImageCatalogsByIDParams

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

func (*GetPublicImageCatalogsByIDParams) SetContext

SetContext adds the context to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) SetName

func (o *GetPublicImageCatalogsByIDParams) SetName(name string)

SetName adds the name to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) SetTimeout

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

SetTimeout adds the timeout to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) WithContext

WithContext adds the context to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) WithName

WithName adds the name to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) WithTimeout

WithTimeout adds the timeout to the get public image catalogs by Id params

func (*GetPublicImageCatalogsByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicImageCatalogsByIDReader

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

GetPublicImageCatalogsByIDReader is a Reader for the GetPublicImageCatalogsByID structure.

func (*GetPublicImageCatalogsByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicImagesByProviderAndCustomImageCatalogOK

type GetPublicImagesByProviderAndCustomImageCatalogOK struct {
	Payload *models_cloudbreak.ImagesResponse
}

GetPublicImagesByProviderAndCustomImageCatalogOK handles this case with default header values.

successful operation

func NewGetPublicImagesByProviderAndCustomImageCatalogOK

func NewGetPublicImagesByProviderAndCustomImageCatalogOK() *GetPublicImagesByProviderAndCustomImageCatalogOK

NewGetPublicImagesByProviderAndCustomImageCatalogOK creates a GetPublicImagesByProviderAndCustomImageCatalogOK with default headers values

func (*GetPublicImagesByProviderAndCustomImageCatalogOK) Error

type GetPublicImagesByProviderAndCustomImageCatalogParams

type GetPublicImagesByProviderAndCustomImageCatalogParams struct {

	/*Name*/
	Name string
	/*Platform*/
	Platform string

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

GetPublicImagesByProviderAndCustomImageCatalogParams contains all the parameters to send to the API endpoint for the get public images by provider and custom image catalog operation typically these are written to a http.Request

func NewGetPublicImagesByProviderAndCustomImageCatalogParams

func NewGetPublicImagesByProviderAndCustomImageCatalogParams() *GetPublicImagesByProviderAndCustomImageCatalogParams

NewGetPublicImagesByProviderAndCustomImageCatalogParams creates a new GetPublicImagesByProviderAndCustomImageCatalogParams object with the default values initialized.

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithContext

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithContext(ctx context.Context) *GetPublicImagesByProviderAndCustomImageCatalogParams

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

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithHTTPClient

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithHTTPClient(client *http.Client) *GetPublicImagesByProviderAndCustomImageCatalogParams

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

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithTimeout

func NewGetPublicImagesByProviderAndCustomImageCatalogParamsWithTimeout(timeout time.Duration) *GetPublicImagesByProviderAndCustomImageCatalogParams

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

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) SetContext

SetContext adds the context to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) SetHTTPClient

SetHTTPClient adds the HTTPClient to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) SetName

SetName adds the name to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) SetPlatform

SetPlatform adds the platform to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) SetTimeout

SetTimeout adds the timeout to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WithContext

WithContext adds the context to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WithName

WithName adds the name to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WithPlatform

WithPlatform adds the platform to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WithTimeout

WithTimeout adds the timeout to the get public images by provider and custom image catalog params

func (*GetPublicImagesByProviderAndCustomImageCatalogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicImagesByProviderAndCustomImageCatalogReader

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

GetPublicImagesByProviderAndCustomImageCatalogReader is a Reader for the GetPublicImagesByProviderAndCustomImageCatalog structure.

func (*GetPublicImagesByProviderAndCustomImageCatalogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPublicsImageCatalogsOK

type GetPublicsImageCatalogsOK struct {
	Payload []*models_cloudbreak.ImageCatalogResponse
}

GetPublicsImageCatalogsOK handles this case with default header values.

successful operation

func NewGetPublicsImageCatalogsOK

func NewGetPublicsImageCatalogsOK() *GetPublicsImageCatalogsOK

NewGetPublicsImageCatalogsOK creates a GetPublicsImageCatalogsOK with default headers values

func (*GetPublicsImageCatalogsOK) Error

func (o *GetPublicsImageCatalogsOK) Error() string

type GetPublicsImageCatalogsParams

type GetPublicsImageCatalogsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetPublicsImageCatalogsParams contains all the parameters to send to the API endpoint for the get publics image catalogs operation typically these are written to a http.Request

func NewGetPublicsImageCatalogsParams

func NewGetPublicsImageCatalogsParams() *GetPublicsImageCatalogsParams

NewGetPublicsImageCatalogsParams creates a new GetPublicsImageCatalogsParams object with the default values initialized.

func NewGetPublicsImageCatalogsParamsWithContext

func NewGetPublicsImageCatalogsParamsWithContext(ctx context.Context) *GetPublicsImageCatalogsParams

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

func NewGetPublicsImageCatalogsParamsWithHTTPClient

func NewGetPublicsImageCatalogsParamsWithHTTPClient(client *http.Client) *GetPublicsImageCatalogsParams

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

func NewGetPublicsImageCatalogsParamsWithTimeout

func NewGetPublicsImageCatalogsParamsWithTimeout(timeout time.Duration) *GetPublicsImageCatalogsParams

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

func (*GetPublicsImageCatalogsParams) SetContext

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

SetContext adds the context to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) SetTimeout

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

SetTimeout adds the timeout to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) WithContext

WithContext adds the context to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) WithTimeout

WithTimeout adds the timeout to the get publics image catalogs params

func (*GetPublicsImageCatalogsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPublicsImageCatalogsReader

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

GetPublicsImageCatalogsReader is a Reader for the GetPublicsImageCatalogs structure.

func (*GetPublicsImageCatalogsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPrivateImageCatalogOK

type PostPrivateImageCatalogOK struct {
	Payload *models_cloudbreak.ImageCatalogResponse
}

PostPrivateImageCatalogOK handles this case with default header values.

successful operation

func NewPostPrivateImageCatalogOK

func NewPostPrivateImageCatalogOK() *PostPrivateImageCatalogOK

NewPostPrivateImageCatalogOK creates a PostPrivateImageCatalogOK with default headers values

func (*PostPrivateImageCatalogOK) Error

func (o *PostPrivateImageCatalogOK) Error() string

type PostPrivateImageCatalogParams

type PostPrivateImageCatalogParams struct {

	/*Body*/
	Body *models_cloudbreak.ImageCatalogRequest

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

PostPrivateImageCatalogParams contains all the parameters to send to the API endpoint for the post private image catalog operation typically these are written to a http.Request

func NewPostPrivateImageCatalogParams

func NewPostPrivateImageCatalogParams() *PostPrivateImageCatalogParams

NewPostPrivateImageCatalogParams creates a new PostPrivateImageCatalogParams object with the default values initialized.

func NewPostPrivateImageCatalogParamsWithContext

func NewPostPrivateImageCatalogParamsWithContext(ctx context.Context) *PostPrivateImageCatalogParams

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

func NewPostPrivateImageCatalogParamsWithHTTPClient

func NewPostPrivateImageCatalogParamsWithHTTPClient(client *http.Client) *PostPrivateImageCatalogParams

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

func NewPostPrivateImageCatalogParamsWithTimeout

func NewPostPrivateImageCatalogParamsWithTimeout(timeout time.Duration) *PostPrivateImageCatalogParams

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

func (*PostPrivateImageCatalogParams) SetBody

SetBody adds the body to the post private image catalog params

func (*PostPrivateImageCatalogParams) SetContext

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

SetContext adds the context to the post private image catalog params

func (*PostPrivateImageCatalogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post private image catalog params

func (*PostPrivateImageCatalogParams) SetTimeout

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

SetTimeout adds the timeout to the post private image catalog params

func (*PostPrivateImageCatalogParams) WithBody

WithBody adds the body to the post private image catalog params

func (*PostPrivateImageCatalogParams) WithContext

WithContext adds the context to the post private image catalog params

func (*PostPrivateImageCatalogParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post private image catalog params

func (*PostPrivateImageCatalogParams) WithTimeout

WithTimeout adds the timeout to the post private image catalog params

func (*PostPrivateImageCatalogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPrivateImageCatalogReader

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

PostPrivateImageCatalogReader is a Reader for the PostPrivateImageCatalog structure.

func (*PostPrivateImageCatalogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostPublicImageCatalogOK

type PostPublicImageCatalogOK struct {
	Payload *models_cloudbreak.ImageCatalogResponse
}

PostPublicImageCatalogOK handles this case with default header values.

successful operation

func NewPostPublicImageCatalogOK

func NewPostPublicImageCatalogOK() *PostPublicImageCatalogOK

NewPostPublicImageCatalogOK creates a PostPublicImageCatalogOK with default headers values

func (*PostPublicImageCatalogOK) Error

func (o *PostPublicImageCatalogOK) Error() string

type PostPublicImageCatalogParams

type PostPublicImageCatalogParams struct {

	/*Body*/
	Body *models_cloudbreak.ImageCatalogRequest

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

PostPublicImageCatalogParams contains all the parameters to send to the API endpoint for the post public image catalog operation typically these are written to a http.Request

func NewPostPublicImageCatalogParams

func NewPostPublicImageCatalogParams() *PostPublicImageCatalogParams

NewPostPublicImageCatalogParams creates a new PostPublicImageCatalogParams object with the default values initialized.

func NewPostPublicImageCatalogParamsWithContext

func NewPostPublicImageCatalogParamsWithContext(ctx context.Context) *PostPublicImageCatalogParams

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

func NewPostPublicImageCatalogParamsWithHTTPClient

func NewPostPublicImageCatalogParamsWithHTTPClient(client *http.Client) *PostPublicImageCatalogParams

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

func NewPostPublicImageCatalogParamsWithTimeout

func NewPostPublicImageCatalogParamsWithTimeout(timeout time.Duration) *PostPublicImageCatalogParams

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

func (*PostPublicImageCatalogParams) SetBody

SetBody adds the body to the post public image catalog params

func (*PostPublicImageCatalogParams) SetContext

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

SetContext adds the context to the post public image catalog params

func (*PostPublicImageCatalogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post public image catalog params

func (*PostPublicImageCatalogParams) SetTimeout

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

SetTimeout adds the timeout to the post public image catalog params

func (*PostPublicImageCatalogParams) WithBody

WithBody adds the body to the post public image catalog params

func (*PostPublicImageCatalogParams) WithContext

WithContext adds the context to the post public image catalog params

func (*PostPublicImageCatalogParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post public image catalog params

func (*PostPublicImageCatalogParams) WithTimeout

WithTimeout adds the timeout to the post public image catalog params

func (*PostPublicImageCatalogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostPublicImageCatalogReader

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

PostPublicImageCatalogReader is a Reader for the PostPublicImageCatalog structure.

func (*PostPublicImageCatalogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutPublicImageCatalogOK

type PutPublicImageCatalogOK struct {
	Payload *models_cloudbreak.ImageCatalogResponse
}

PutPublicImageCatalogOK handles this case with default header values.

successful operation

func NewPutPublicImageCatalogOK

func NewPutPublicImageCatalogOK() *PutPublicImageCatalogOK

NewPutPublicImageCatalogOK creates a PutPublicImageCatalogOK with default headers values

func (*PutPublicImageCatalogOK) Error

func (o *PutPublicImageCatalogOK) Error() string

type PutPublicImageCatalogParams

type PutPublicImageCatalogParams struct {

	/*Body*/
	Body *models_cloudbreak.UpdateImageCatalogRequest

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

PutPublicImageCatalogParams contains all the parameters to send to the API endpoint for the put public image catalog operation typically these are written to a http.Request

func NewPutPublicImageCatalogParams

func NewPutPublicImageCatalogParams() *PutPublicImageCatalogParams

NewPutPublicImageCatalogParams creates a new PutPublicImageCatalogParams object with the default values initialized.

func NewPutPublicImageCatalogParamsWithContext

func NewPutPublicImageCatalogParamsWithContext(ctx context.Context) *PutPublicImageCatalogParams

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

func NewPutPublicImageCatalogParamsWithHTTPClient

func NewPutPublicImageCatalogParamsWithHTTPClient(client *http.Client) *PutPublicImageCatalogParams

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

func NewPutPublicImageCatalogParamsWithTimeout

func NewPutPublicImageCatalogParamsWithTimeout(timeout time.Duration) *PutPublicImageCatalogParams

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

func (*PutPublicImageCatalogParams) SetBody

SetBody adds the body to the put public image catalog params

func (*PutPublicImageCatalogParams) SetContext

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

SetContext adds the context to the put public image catalog params

func (*PutPublicImageCatalogParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put public image catalog params

func (*PutPublicImageCatalogParams) SetTimeout

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

SetTimeout adds the timeout to the put public image catalog params

func (*PutPublicImageCatalogParams) WithBody

WithBody adds the body to the put public image catalog params

func (*PutPublicImageCatalogParams) WithContext

WithContext adds the context to the put public image catalog params

func (*PutPublicImageCatalogParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put public image catalog params

func (*PutPublicImageCatalogParams) WithTimeout

WithTimeout adds the timeout to the put public image catalog params

func (*PutPublicImageCatalogParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutPublicImageCatalogReader

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

PutPublicImageCatalogReader is a Reader for the PutPublicImageCatalog structure.

func (*PutPublicImageCatalogReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PutSetDefaultImageCatalogByNameOK

type PutSetDefaultImageCatalogByNameOK struct {
	Payload *models_cloudbreak.ImageCatalogResponse
}

PutSetDefaultImageCatalogByNameOK handles this case with default header values.

successful operation

func NewPutSetDefaultImageCatalogByNameOK

func NewPutSetDefaultImageCatalogByNameOK() *PutSetDefaultImageCatalogByNameOK

NewPutSetDefaultImageCatalogByNameOK creates a PutSetDefaultImageCatalogByNameOK with default headers values

func (*PutSetDefaultImageCatalogByNameOK) Error

type PutSetDefaultImageCatalogByNameParams

type PutSetDefaultImageCatalogByNameParams struct {

	/*Name*/
	Name string

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

PutSetDefaultImageCatalogByNameParams contains all the parameters to send to the API endpoint for the put set default image catalog by name operation typically these are written to a http.Request

func NewPutSetDefaultImageCatalogByNameParams

func NewPutSetDefaultImageCatalogByNameParams() *PutSetDefaultImageCatalogByNameParams

NewPutSetDefaultImageCatalogByNameParams creates a new PutSetDefaultImageCatalogByNameParams object with the default values initialized.

func NewPutSetDefaultImageCatalogByNameParamsWithContext

func NewPutSetDefaultImageCatalogByNameParamsWithContext(ctx context.Context) *PutSetDefaultImageCatalogByNameParams

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

func NewPutSetDefaultImageCatalogByNameParamsWithHTTPClient

func NewPutSetDefaultImageCatalogByNameParamsWithHTTPClient(client *http.Client) *PutSetDefaultImageCatalogByNameParams

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

func NewPutSetDefaultImageCatalogByNameParamsWithTimeout

func NewPutSetDefaultImageCatalogByNameParamsWithTimeout(timeout time.Duration) *PutSetDefaultImageCatalogByNameParams

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

func (*PutSetDefaultImageCatalogByNameParams) SetContext

SetContext adds the context to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) SetName

SetName adds the name to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) SetTimeout

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

SetTimeout adds the timeout to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) WithContext

WithContext adds the context to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) WithName

WithName adds the name to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) WithTimeout

WithTimeout adds the timeout to the put set default image catalog by name params

func (*PutSetDefaultImageCatalogByNameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PutSetDefaultImageCatalogByNameReader

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

PutSetDefaultImageCatalogByNameReader is a Reader for the PutSetDefaultImageCatalogByName structure.

func (*PutSetDefaultImageCatalogByNameReader) ReadResponse

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