Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetFabricFlavorsForbidden
- type GetFabricFlavorsOK
- type GetFabricFlavorsParams
- func NewGetFabricFlavorsParams() *GetFabricFlavorsParams
- func NewGetFabricFlavorsParamsWithContext(ctx context.Context) *GetFabricFlavorsParams
- func NewGetFabricFlavorsParamsWithHTTPClient(client *http.Client) *GetFabricFlavorsParams
- func NewGetFabricFlavorsParamsWithTimeout(timeout time.Duration) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricFlavorsParams) SetContext(ctx context.Context)
- func (o *GetFabricFlavorsParams) SetDefaults()
- func (o *GetFabricFlavorsParams) SetDollarFilter(dollarFilter *string)
- func (o *GetFabricFlavorsParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricFlavorsParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricFlavorsParams) WithAPIVersion(aPIVersion *string) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WithContext(ctx context.Context) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WithDefaults() *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WithDollarFilter(dollarFilter *string) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WithHTTPClient(client *http.Client) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WithTimeout(timeout time.Duration) *GetFabricFlavorsParams
- func (o *GetFabricFlavorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricFlavorsReader
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 flavors API
func (*Client) GetFabricFlavors ¶
func (a *Client) GetFabricFlavors(params *GetFabricFlavorsParams, opts ...ClientOption) (*GetFabricFlavorsOK, error)
GetFabricFlavors gets fabric flavors
Get all fabric flavors
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 { GetFabricFlavors(params *GetFabricFlavorsParams, opts ...ClientOption) (*GetFabricFlavorsOK, 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 flavors API client.
type GetFabricFlavorsForbidden ¶
type GetFabricFlavorsForbidden struct {
Payload *models.ServiceErrorResponse
}
GetFabricFlavorsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetFabricFlavorsForbidden ¶
func NewGetFabricFlavorsForbidden() *GetFabricFlavorsForbidden
NewGetFabricFlavorsForbidden creates a GetFabricFlavorsForbidden with default headers values
func (*GetFabricFlavorsForbidden) Error ¶
func (o *GetFabricFlavorsForbidden) Error() string
func (*GetFabricFlavorsForbidden) GetPayload ¶ added in v0.2.20
func (o *GetFabricFlavorsForbidden) GetPayload() *models.ServiceErrorResponse
type GetFabricFlavorsOK ¶
type GetFabricFlavorsOK struct {
Payload *models.FabricFlavorResult
}
GetFabricFlavorsOK describes a response with status code 200, with default header values.
successful operation
func NewGetFabricFlavorsOK ¶
func NewGetFabricFlavorsOK() *GetFabricFlavorsOK
NewGetFabricFlavorsOK creates a GetFabricFlavorsOK with default headers values
func (*GetFabricFlavorsOK) Error ¶
func (o *GetFabricFlavorsOK) Error() string
func (*GetFabricFlavorsOK) GetPayload ¶
func (o *GetFabricFlavorsOK) GetPayload() *models.FabricFlavorResult
type GetFabricFlavorsParams ¶
type GetFabricFlavorsParams 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 refer to /iaas/api/about */ APIVersion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFabricFlavorsParams contains all the parameters to send to the API endpoint
for the get fabric flavors operation. Typically these are written to a http.Request.
func NewGetFabricFlavorsParams ¶
func NewGetFabricFlavorsParams() *GetFabricFlavorsParams
NewGetFabricFlavorsParams creates a new GetFabricFlavorsParams 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 NewGetFabricFlavorsParamsWithContext ¶
func NewGetFabricFlavorsParamsWithContext(ctx context.Context) *GetFabricFlavorsParams
NewGetFabricFlavorsParamsWithContext creates a new GetFabricFlavorsParams object with the ability to set a context for a request.
func NewGetFabricFlavorsParamsWithHTTPClient ¶
func NewGetFabricFlavorsParamsWithHTTPClient(client *http.Client) *GetFabricFlavorsParams
NewGetFabricFlavorsParamsWithHTTPClient creates a new GetFabricFlavorsParams object with the ability to set a custom HTTPClient for a request.
func NewGetFabricFlavorsParamsWithTimeout ¶
func NewGetFabricFlavorsParamsWithTimeout(timeout time.Duration) *GetFabricFlavorsParams
NewGetFabricFlavorsParamsWithTimeout creates a new GetFabricFlavorsParams object with the ability to set a timeout on a request.
func (*GetFabricFlavorsParams) SetAPIVersion ¶
func (o *GetFabricFlavorsParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric flavors params
func (*GetFabricFlavorsParams) SetContext ¶
func (o *GetFabricFlavorsParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric flavors params
func (*GetFabricFlavorsParams) SetDefaults ¶ added in v0.2.20
func (o *GetFabricFlavorsParams) SetDefaults()
SetDefaults hydrates default values in the get fabric flavors params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricFlavorsParams) SetDollarFilter ¶ added in v0.2.13
func (o *GetFabricFlavorsParams) SetDollarFilter(dollarFilter *string)
SetDollarFilter adds the dollarFilter to the get fabric flavors params
func (*GetFabricFlavorsParams) SetHTTPClient ¶
func (o *GetFabricFlavorsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric flavors params
func (*GetFabricFlavorsParams) SetTimeout ¶
func (o *GetFabricFlavorsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric flavors params
func (*GetFabricFlavorsParams) WithAPIVersion ¶
func (o *GetFabricFlavorsParams) WithAPIVersion(aPIVersion *string) *GetFabricFlavorsParams
WithAPIVersion adds the aPIVersion to the get fabric flavors params
func (*GetFabricFlavorsParams) WithContext ¶
func (o *GetFabricFlavorsParams) WithContext(ctx context.Context) *GetFabricFlavorsParams
WithContext adds the context to the get fabric flavors params
func (*GetFabricFlavorsParams) WithDefaults ¶ added in v0.2.20
func (o *GetFabricFlavorsParams) WithDefaults() *GetFabricFlavorsParams
WithDefaults hydrates default values in the get fabric flavors params (not the query body).
All values with no default are reset to their zero value.
func (*GetFabricFlavorsParams) WithDollarFilter ¶ added in v0.2.13
func (o *GetFabricFlavorsParams) WithDollarFilter(dollarFilter *string) *GetFabricFlavorsParams
WithDollarFilter adds the dollarFilter to the get fabric flavors params
func (*GetFabricFlavorsParams) WithHTTPClient ¶
func (o *GetFabricFlavorsParams) WithHTTPClient(client *http.Client) *GetFabricFlavorsParams
WithHTTPClient adds the HTTPClient to the get fabric flavors params
func (*GetFabricFlavorsParams) WithTimeout ¶
func (o *GetFabricFlavorsParams) WithTimeout(timeout time.Duration) *GetFabricFlavorsParams
WithTimeout adds the timeout to the get fabric flavors params
func (*GetFabricFlavorsParams) WriteToRequest ¶
func (o *GetFabricFlavorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricFlavorsReader ¶
type GetFabricFlavorsReader struct {
// contains filtered or unexported fields
}
GetFabricFlavorsReader is a Reader for the GetFabricFlavors structure.
func (*GetFabricFlavorsReader) ReadResponse ¶
func (o *GetFabricFlavorsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.