Documentation ¶
Index ¶
- type Client
- type GetFabricImageForbidden
- type GetFabricImageNotFound
- type GetFabricImageOK
- type GetFabricImageParams
- func NewGetFabricImageParams() *GetFabricImageParams
- func NewGetFabricImageParamsWithContext(ctx context.Context) *GetFabricImageParams
- func NewGetFabricImageParamsWithHTTPClient(client *http.Client) *GetFabricImageParams
- func NewGetFabricImageParamsWithTimeout(timeout time.Duration) *GetFabricImageParams
- func (o *GetFabricImageParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricImageParams) SetContext(ctx context.Context)
- func (o *GetFabricImageParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricImageParams) SetID(id string)
- func (o *GetFabricImageParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricImageParams) WithAPIVersion(aPIVersion *string) *GetFabricImageParams
- func (o *GetFabricImageParams) WithContext(ctx context.Context) *GetFabricImageParams
- func (o *GetFabricImageParams) WithHTTPClient(client *http.Client) *GetFabricImageParams
- func (o *GetFabricImageParams) WithID(id string) *GetFabricImageParams
- func (o *GetFabricImageParams) WithTimeout(timeout time.Duration) *GetFabricImageParams
- func (o *GetFabricImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricImageReader
- type GetFabricImagesForbidden
- type GetFabricImagesOK
- type GetFabricImagesParams
- func NewGetFabricImagesParams() *GetFabricImagesParams
- func NewGetFabricImagesParamsWithContext(ctx context.Context) *GetFabricImagesParams
- func NewGetFabricImagesParamsWithHTTPClient(client *http.Client) *GetFabricImagesParams
- func NewGetFabricImagesParamsWithTimeout(timeout time.Duration) *GetFabricImagesParams
- func (o *GetFabricImagesParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricImagesParams) SetContext(ctx context.Context)
- func (o *GetFabricImagesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricImagesParams) WithAPIVersion(aPIVersion *string) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithContext(ctx context.Context) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarFilter(dollarFilter *string) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithHTTPClient(client *http.Client) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithTimeout(timeout time.Duration) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricImagesReader
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new fabric images API client.
func (*Client) GetFabricImage ¶
func (a *Client) GetFabricImage(params *GetFabricImageParams) (*GetFabricImageOK, error)
GetFabricImage gets fabric image
Get fabric image with a given id
func (*Client) GetFabricImages ¶
func (a *Client) GetFabricImages(params *GetFabricImagesParams) (*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 GetFabricImageForbidden ¶
type GetFabricImageForbidden struct { }
GetFabricImageForbidden handles this case 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
type GetFabricImageNotFound ¶
type GetFabricImageNotFound struct { }
GetFabricImageNotFound handles this case 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
type GetFabricImageOK ¶
type GetFabricImageOK struct {
Payload *models.FabricImage
}
GetFabricImageOK handles this case 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
type GetFabricImageParams ¶
type GetFabricImageParams struct { /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetFabricImageParamsWithContext ¶
func NewGetFabricImageParamsWithContext(ctx context.Context) *GetFabricImageParams
NewGetFabricImageParamsWithContext creates a new GetFabricImageParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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 ¶
func (o *GetFabricImageParams) WithContext(ctx context.Context) *GetFabricImageParams
WithContext adds the context 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 ¶
func (o *GetFabricImageParams) WithID(id string) *GetFabricImageParams
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 { }
GetFabricImagesForbidden handles this case 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
type GetFabricImagesOK ¶
type GetFabricImagesOK struct {
Payload *models.FabricImageResult
}
GetFabricImagesOK handles this case 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
type GetFabricImagesParams ¶
type GetFabricImagesParams struct { /*DollarFilter Add a filter to return limited results */ DollarFilter *string /*APIVersion The version of the API in yyyy-MM-dd format (UTC). For versioning information please 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 values initialized.
func NewGetFabricImagesParamsWithContext ¶
func NewGetFabricImagesParamsWithContext(ctx context.Context) *GetFabricImagesParams
NewGetFabricImagesParamsWithContext creates a new GetFabricImagesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) SetDollarFilter ¶
func (o *GetFabricImagesParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter 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 ¶
func (o *GetFabricImagesParams) WithContext(ctx context.Context) *GetFabricImagesParams
WithContext adds the context 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) 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.