Documentation
¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- 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) SetDefaults()
- func (o *GetFabricImageParams) SetDollarSelect(dollarSelect *string)
- 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) WithDefaults() *GetFabricImageParams
- func (o *GetFabricImageParams) WithDollarSelect(dollarSelect *string) *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) SetDefaults()
- func (o *GetFabricImagesParams) SetDollarCount(dollarCount *bool)
- func (o *GetFabricImagesParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricImagesParams) SetDollarSelect(dollarSelect *string)
- func (o *GetFabricImagesParams) SetDollarSkip(dollarSkip *int64)
- func (o *GetFabricImagesParams) SetDollarTop(dollarTop *int64)
- 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) WithDefaults() *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarCount(dollarCount *bool) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarFilter(dollarFilter *string) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarSelect(dollarSelect *string) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarSkip(dollarSkip *int64) *GetFabricImagesParams
- func (o *GetFabricImagesParams) WithDollarTop(dollarTop *int64) *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 (*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 (o *GetFabricImageForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricImageNotFound ¶
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
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
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 ¶
func (o *GetFabricImageParams) WithContext(ctx context.Context) *GetFabricImageParams
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 ¶
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 {
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 (o *GetFabricImagesForbidden) GetPayload() *models.ServiceErrorResponse
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
type GetFabricImagesParams ¶
type GetFabricImagesParams struct { /* DollarCount. Flag which when specified 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 ¶
func (o *GetFabricImagesParams) WithContext(ctx context.Context) *GetFabricImagesParams
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.