fabric_images

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2022 License: Apache-2.0 Imports: 11 Imported by: 1

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 fabric images API

func (*Client) GetFabricImage

func (a *Client) GetFabricImage(params *GetFabricImageParams, opts ...ClientOption) (*GetFabricImageOK, error)

GetFabricImage gets fabric image

Get fabric image with a given id

func (*Client) GetFabricImages

func (a *Client) GetFabricImages(params *GetFabricImagesParams, opts ...ClientOption) (*GetFabricImagesOK, error)

GetFabricImages gets fabric images

Get all fabric images

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	GetFabricImage(params *GetFabricImageParams, opts ...ClientOption) (*GetFabricImageOK, error)

	GetFabricImages(params *GetFabricImagesParams, opts ...ClientOption) (*GetFabricImagesOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new fabric images API client.

type GetFabricImageForbidden

type GetFabricImageForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricImageForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricImageForbidden

func NewGetFabricImageForbidden() *GetFabricImageForbidden

NewGetFabricImageForbidden creates a GetFabricImageForbidden with default headers values

func (*GetFabricImageForbidden) Error

func (o *GetFabricImageForbidden) Error() string

func (*GetFabricImageForbidden) GetPayload added in v0.2.20

func (*GetFabricImageForbidden) IsClientError added in v0.5.0

func (o *GetFabricImageForbidden) IsClientError() bool

IsClientError returns true when this get fabric image forbidden response has a 4xx status code

func (*GetFabricImageForbidden) IsCode added in v0.5.0

func (o *GetFabricImageForbidden) IsCode(code int) bool

IsCode returns true when this get fabric image forbidden response a status code equal to that given

func (*GetFabricImageForbidden) IsRedirect added in v0.5.0

func (o *GetFabricImageForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric image forbidden response has a 3xx status code

func (*GetFabricImageForbidden) IsServerError added in v0.5.0

func (o *GetFabricImageForbidden) IsServerError() bool

IsServerError returns true when this get fabric image forbidden response has a 5xx status code

func (*GetFabricImageForbidden) IsSuccess added in v0.5.0

func (o *GetFabricImageForbidden) IsSuccess() bool

IsSuccess returns true when this get fabric image forbidden response has a 2xx status code

func (*GetFabricImageForbidden) String added in v0.5.0

func (o *GetFabricImageForbidden) String() string

type GetFabricImageNotFound

type GetFabricImageNotFound struct {
	Payload *models.Error
}

GetFabricImageNotFound describes a response with status code 404, with default header values.

Not Found

func NewGetFabricImageNotFound

func NewGetFabricImageNotFound() *GetFabricImageNotFound

NewGetFabricImageNotFound creates a GetFabricImageNotFound with default headers values

func (*GetFabricImageNotFound) Error

func (o *GetFabricImageNotFound) Error() string

func (*GetFabricImageNotFound) GetPayload added in v0.2.9

func (o *GetFabricImageNotFound) GetPayload() *models.Error

func (*GetFabricImageNotFound) IsClientError added in v0.5.0

func (o *GetFabricImageNotFound) IsClientError() bool

IsClientError returns true when this get fabric image not found response has a 4xx status code

func (*GetFabricImageNotFound) IsCode added in v0.5.0

func (o *GetFabricImageNotFound) IsCode(code int) bool

IsCode returns true when this get fabric image not found response a status code equal to that given

func (*GetFabricImageNotFound) IsRedirect added in v0.5.0

func (o *GetFabricImageNotFound) IsRedirect() bool

IsRedirect returns true when this get fabric image not found response has a 3xx status code

func (*GetFabricImageNotFound) IsServerError added in v0.5.0

func (o *GetFabricImageNotFound) IsServerError() bool

IsServerError returns true when this get fabric image not found response has a 5xx status code

func (*GetFabricImageNotFound) IsSuccess added in v0.5.0

func (o *GetFabricImageNotFound) IsSuccess() bool

IsSuccess returns true when this get fabric image not found response has a 2xx status code

func (*GetFabricImageNotFound) String added in v0.5.0

func (o *GetFabricImageNotFound) String() string

type GetFabricImageOK

type GetFabricImageOK struct {
	Payload *models.FabricImage
}

GetFabricImageOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricImageOK

func NewGetFabricImageOK() *GetFabricImageOK

NewGetFabricImageOK creates a GetFabricImageOK with default headers values

func (*GetFabricImageOK) Error

func (o *GetFabricImageOK) Error() string

func (*GetFabricImageOK) GetPayload

func (o *GetFabricImageOK) GetPayload() *models.FabricImage

func (*GetFabricImageOK) IsClientError added in v0.5.0

func (o *GetFabricImageOK) IsClientError() bool

IsClientError returns true when this get fabric image o k response has a 4xx status code

func (*GetFabricImageOK) IsCode added in v0.5.0

func (o *GetFabricImageOK) IsCode(code int) bool

IsCode returns true when this get fabric image o k response a status code equal to that given

func (*GetFabricImageOK) IsRedirect added in v0.5.0

func (o *GetFabricImageOK) IsRedirect() bool

IsRedirect returns true when this get fabric image o k response has a 3xx status code

func (*GetFabricImageOK) IsServerError added in v0.5.0

func (o *GetFabricImageOK) IsServerError() bool

IsServerError returns true when this get fabric image o k response has a 5xx status code

func (*GetFabricImageOK) IsSuccess added in v0.5.0

func (o *GetFabricImageOK) IsSuccess() bool

IsSuccess returns true when this get fabric image o k response has a 2xx status code

func (*GetFabricImageOK) String added in v0.5.0

func (o *GetFabricImageOK) String() string

type GetFabricImageParams

type GetFabricImageParams struct {

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

	/* ID.

	   The ID of the image.
	*/
	ID string

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

GetFabricImageParams contains all the parameters to send to the API endpoint

for the get fabric image operation.

Typically these are written to a http.Request.

func NewGetFabricImageParams

func NewGetFabricImageParams() *GetFabricImageParams

NewGetFabricImageParams creates a new GetFabricImageParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFabricImageParamsWithContext

func NewGetFabricImageParamsWithContext(ctx context.Context) *GetFabricImageParams

NewGetFabricImageParamsWithContext creates a new GetFabricImageParams object with the ability to set a context for a request.

func NewGetFabricImageParamsWithHTTPClient

func NewGetFabricImageParamsWithHTTPClient(client *http.Client) *GetFabricImageParams

NewGetFabricImageParamsWithHTTPClient creates a new GetFabricImageParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricImageParamsWithTimeout

func NewGetFabricImageParamsWithTimeout(timeout time.Duration) *GetFabricImageParams

NewGetFabricImageParamsWithTimeout creates a new GetFabricImageParams object with the ability to set a timeout on a request.

func (*GetFabricImageParams) SetAPIVersion

func (o *GetFabricImageParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get fabric image params

func (*GetFabricImageParams) SetContext

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

SetContext adds the context to the get fabric image params

func (*GetFabricImageParams) SetDefaults added in v0.2.20

func (o *GetFabricImageParams) SetDefaults()

SetDefaults hydrates default values in the get fabric image params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricImageParams) SetDollarSelect added in v0.2.20

func (o *GetFabricImageParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric image params

func (*GetFabricImageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric image params

func (*GetFabricImageParams) SetID

func (o *GetFabricImageParams) SetID(id string)

SetID adds the id to the get fabric image params

func (*GetFabricImageParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric image params

func (*GetFabricImageParams) WithAPIVersion

func (o *GetFabricImageParams) WithAPIVersion(aPIVersion *string) *GetFabricImageParams

WithAPIVersion adds the aPIVersion to the get fabric image params

func (*GetFabricImageParams) WithContext

WithContext adds the context to the get fabric image params

func (*GetFabricImageParams) WithDefaults added in v0.2.20

func (o *GetFabricImageParams) WithDefaults() *GetFabricImageParams

WithDefaults hydrates default values in the get fabric image params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricImageParams) WithDollarSelect added in v0.2.20

func (o *GetFabricImageParams) WithDollarSelect(dollarSelect *string) *GetFabricImageParams

WithDollarSelect adds the dollarSelect to the get fabric image params

func (*GetFabricImageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric image params

func (*GetFabricImageParams) WithID

WithID adds the id to the get fabric image params

func (*GetFabricImageParams) WithTimeout

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

WithTimeout adds the timeout to the get fabric image params

func (*GetFabricImageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFabricImageReader

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

GetFabricImageReader is a Reader for the GetFabricImage structure.

func (*GetFabricImageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetFabricImagesForbidden

type GetFabricImagesForbidden struct {
	Payload *models.ServiceErrorResponse
}

GetFabricImagesForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricImagesForbidden

func NewGetFabricImagesForbidden() *GetFabricImagesForbidden

NewGetFabricImagesForbidden creates a GetFabricImagesForbidden with default headers values

func (*GetFabricImagesForbidden) Error

func (o *GetFabricImagesForbidden) Error() string

func (*GetFabricImagesForbidden) GetPayload added in v0.2.20

func (*GetFabricImagesForbidden) IsClientError added in v0.5.0

func (o *GetFabricImagesForbidden) IsClientError() bool

IsClientError returns true when this get fabric images forbidden response has a 4xx status code

func (*GetFabricImagesForbidden) IsCode added in v0.5.0

func (o *GetFabricImagesForbidden) IsCode(code int) bool

IsCode returns true when this get fabric images forbidden response a status code equal to that given

func (*GetFabricImagesForbidden) IsRedirect added in v0.5.0

func (o *GetFabricImagesForbidden) IsRedirect() bool

IsRedirect returns true when this get fabric images forbidden response has a 3xx status code

func (*GetFabricImagesForbidden) IsServerError added in v0.5.0

func (o *GetFabricImagesForbidden) IsServerError() bool

IsServerError returns true when this get fabric images forbidden response has a 5xx status code

func (*GetFabricImagesForbidden) IsSuccess added in v0.5.0

func (o *GetFabricImagesForbidden) IsSuccess() bool

IsSuccess returns true when this get fabric images forbidden response has a 2xx status code

func (*GetFabricImagesForbidden) String added in v0.5.0

func (o *GetFabricImagesForbidden) String() string

type GetFabricImagesOK

type GetFabricImagesOK struct {
	Payload *models.FabricImageResult
}

GetFabricImagesOK describes a response with status code 200, with default header values.

successful operation

func NewGetFabricImagesOK

func NewGetFabricImagesOK() *GetFabricImagesOK

NewGetFabricImagesOK creates a GetFabricImagesOK with default headers values

func (*GetFabricImagesOK) Error

func (o *GetFabricImagesOK) Error() string

func (*GetFabricImagesOK) GetPayload

func (o *GetFabricImagesOK) GetPayload() *models.FabricImageResult

func (*GetFabricImagesOK) IsClientError added in v0.5.0

func (o *GetFabricImagesOK) IsClientError() bool

IsClientError returns true when this get fabric images o k response has a 4xx status code

func (*GetFabricImagesOK) IsCode added in v0.5.0

func (o *GetFabricImagesOK) IsCode(code int) bool

IsCode returns true when this get fabric images o k response a status code equal to that given

func (*GetFabricImagesOK) IsRedirect added in v0.5.0

func (o *GetFabricImagesOK) IsRedirect() bool

IsRedirect returns true when this get fabric images o k response has a 3xx status code

func (*GetFabricImagesOK) IsServerError added in v0.5.0

func (o *GetFabricImagesOK) IsServerError() bool

IsServerError returns true when this get fabric images o k response has a 5xx status code

func (*GetFabricImagesOK) IsSuccess added in v0.5.0

func (o *GetFabricImagesOK) IsSuccess() bool

IsSuccess returns true when this get fabric images o k response has a 2xx status code

func (*GetFabricImagesOK) String added in v0.5.0

func (o *GetFabricImagesOK) String() string

type GetFabricImagesParams

type GetFabricImagesParams struct {

	/* DollarCount.

	   Flag which when specified, regardless of the assigned value, shows the total number of records. If the collection has a filter it shows the number of records matching the filter.
	*/
	DollarCount *bool

	/* DollarFilter.

	   Filter the results by a specified predicate expression. Operators: eq, ne, and, or.
	*/
	DollarFilter *string

	/* DollarSelect.

	   Select a subset of properties to include in the response.
	*/
	DollarSelect *string

	/* DollarSkip.

	   Number of records you want to skip.
	*/
	DollarSkip *int64

	/* DollarTop.

	   Number of records you want to get.
	*/
	DollarTop *int64

	/* APIVersion.

	   The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
	*/
	APIVersion *string

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

GetFabricImagesParams contains all the parameters to send to the API endpoint

for the get fabric images operation.

Typically these are written to a http.Request.

func NewGetFabricImagesParams

func NewGetFabricImagesParams() *GetFabricImagesParams

NewGetFabricImagesParams creates a new GetFabricImagesParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetFabricImagesParamsWithContext

func NewGetFabricImagesParamsWithContext(ctx context.Context) *GetFabricImagesParams

NewGetFabricImagesParamsWithContext creates a new GetFabricImagesParams object with the ability to set a context for a request.

func NewGetFabricImagesParamsWithHTTPClient

func NewGetFabricImagesParamsWithHTTPClient(client *http.Client) *GetFabricImagesParams

NewGetFabricImagesParamsWithHTTPClient creates a new GetFabricImagesParams object with the ability to set a custom HTTPClient for a request.

func NewGetFabricImagesParamsWithTimeout

func NewGetFabricImagesParamsWithTimeout(timeout time.Duration) *GetFabricImagesParams

NewGetFabricImagesParamsWithTimeout creates a new GetFabricImagesParams object with the ability to set a timeout on a request.

func (*GetFabricImagesParams) SetAPIVersion

func (o *GetFabricImagesParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get fabric images params

func (*GetFabricImagesParams) SetContext

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

SetContext adds the context to the get fabric images params

func (*GetFabricImagesParams) SetDefaults added in v0.2.20

func (o *GetFabricImagesParams) SetDefaults()

SetDefaults hydrates default values in the get fabric images params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricImagesParams) SetDollarCount added in v0.2.20

func (o *GetFabricImagesParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount to the get fabric images params

func (*GetFabricImagesParams) SetDollarFilter

func (o *GetFabricImagesParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the get fabric images params

func (*GetFabricImagesParams) SetDollarSelect added in v0.2.20

func (o *GetFabricImagesParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric images params

func (*GetFabricImagesParams) SetDollarSkip added in v0.2.20

func (o *GetFabricImagesParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get fabric images params

func (*GetFabricImagesParams) SetDollarTop added in v0.2.20

func (o *GetFabricImagesParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop to the get fabric images params

func (*GetFabricImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get fabric images params

func (*GetFabricImagesParams) SetTimeout

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

SetTimeout adds the timeout to the get fabric images params

func (*GetFabricImagesParams) WithAPIVersion

func (o *GetFabricImagesParams) WithAPIVersion(aPIVersion *string) *GetFabricImagesParams

WithAPIVersion adds the aPIVersion to the get fabric images params

func (*GetFabricImagesParams) WithContext

WithContext adds the context to the get fabric images params

func (*GetFabricImagesParams) WithDefaults added in v0.2.20

func (o *GetFabricImagesParams) WithDefaults() *GetFabricImagesParams

WithDefaults hydrates default values in the get fabric images params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricImagesParams) WithDollarCount added in v0.2.20

func (o *GetFabricImagesParams) WithDollarCount(dollarCount *bool) *GetFabricImagesParams

WithDollarCount adds the dollarCount to the get fabric images params

func (*GetFabricImagesParams) WithDollarFilter

func (o *GetFabricImagesParams) WithDollarFilter(dollarFilter *string) *GetFabricImagesParams

WithDollarFilter adds the dollarFilter to the get fabric images params

func (*GetFabricImagesParams) WithDollarSelect added in v0.2.20

func (o *GetFabricImagesParams) WithDollarSelect(dollarSelect *string) *GetFabricImagesParams

WithDollarSelect adds the dollarSelect to the get fabric images params

func (*GetFabricImagesParams) WithDollarSkip added in v0.2.20

func (o *GetFabricImagesParams) WithDollarSkip(dollarSkip *int64) *GetFabricImagesParams

WithDollarSkip adds the dollarSkip to the get fabric images params

func (*GetFabricImagesParams) WithDollarTop added in v0.2.20

func (o *GetFabricImagesParams) WithDollarTop(dollarTop *int64) *GetFabricImagesParams

WithDollarTop adds the dollarTop to the get fabric images params

func (*GetFabricImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get fabric images params

func (*GetFabricImagesParams) WithTimeout

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

WithTimeout adds the timeout to the get fabric images params

func (*GetFabricImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetFabricImagesReader

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

GetFabricImagesReader is a Reader for the GetFabricImages structure.

func (*GetFabricImagesReader) ReadResponse

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