Documentation ¶
Index ¶
- type Client
- func (a *Client) GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams) (*GetFabricVSphereDatastoreOK, error)
- func (a *Client) GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams) (*GetFabricVSphereDatastoresOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type GetFabricVSphereDatastoreForbidden
- type GetFabricVSphereDatastoreNotFound
- type GetFabricVSphereDatastoreOK
- type GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParams() *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
- func NewGetFabricVSphereDatastoreParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereDatastoreParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereDatastoreParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereDatastoreParams) SetID(id string)
- func (o *GetFabricVSphereDatastoreParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereDatastoreParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithID(id string) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
- func (o *GetFabricVSphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereDatastoreReader
- type GetFabricVSphereDatastoresForbidden
- type GetFabricVSphereDatastoresOK
- type GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParams() *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
- func NewGetFabricVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) SetAPIVersion(aPIVersion *string)
- func (o *GetFabricVSphereDatastoresParams) SetContext(ctx context.Context)
- func (o *GetFabricVSphereDatastoresParams) SetHTTPClient(client *http.Client)
- func (o *GetFabricVSphereDatastoresParams) SetTimeout(timeout time.Duration)
- func (o *GetFabricVSphereDatastoresParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
- func (o *GetFabricVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetFabricVSphereDatastoresReader
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 v sphere datastore API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new fabric v sphere datastore API client.
func (*Client) GetFabricVSphereDatastore ¶
func (a *Client) GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams) (*GetFabricVSphereDatastoreOK, error)
GetFabricVSphereDatastore gets fabric v sphere datastore
Get fabric vSphere datastore with a given id
func (*Client) GetFabricVSphereDatastores ¶
func (a *Client) GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams) (*GetFabricVSphereDatastoresOK, error)
GetFabricVSphereDatastores gets fabric v sphere datastores
Get all fabric vSphere datastores.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type GetFabricVSphereDatastoreForbidden ¶
type GetFabricVSphereDatastoreForbidden struct { }
GetFabricVSphereDatastoreForbidden handles this case with default header values.
Forbidden
func NewGetFabricVSphereDatastoreForbidden ¶
func NewGetFabricVSphereDatastoreForbidden() *GetFabricVSphereDatastoreForbidden
NewGetFabricVSphereDatastoreForbidden creates a GetFabricVSphereDatastoreForbidden with default headers values
func (*GetFabricVSphereDatastoreForbidden) Error ¶
func (o *GetFabricVSphereDatastoreForbidden) Error() string
type GetFabricVSphereDatastoreNotFound ¶
type GetFabricVSphereDatastoreNotFound struct { }
GetFabricVSphereDatastoreNotFound handles this case with default header values.
Not Found
func NewGetFabricVSphereDatastoreNotFound ¶
func NewGetFabricVSphereDatastoreNotFound() *GetFabricVSphereDatastoreNotFound
NewGetFabricVSphereDatastoreNotFound creates a GetFabricVSphereDatastoreNotFound with default headers values
func (*GetFabricVSphereDatastoreNotFound) Error ¶
func (o *GetFabricVSphereDatastoreNotFound) Error() string
type GetFabricVSphereDatastoreOK ¶
type GetFabricVSphereDatastoreOK struct {
Payload *models.FabricVsphereDatastore
}
GetFabricVSphereDatastoreOK handles this case with default header values.
successful operation
func NewGetFabricVSphereDatastoreOK ¶
func NewGetFabricVSphereDatastoreOK() *GetFabricVSphereDatastoreOK
NewGetFabricVSphereDatastoreOK creates a GetFabricVSphereDatastoreOK with default headers values
func (*GetFabricVSphereDatastoreOK) Error ¶
func (o *GetFabricVSphereDatastoreOK) Error() string
func (*GetFabricVSphereDatastoreOK) GetPayload ¶
func (o *GetFabricVSphereDatastoreOK) GetPayload() *models.FabricVsphereDatastore
type GetFabricVSphereDatastoreParams ¶
type GetFabricVSphereDatastoreParams 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 Fabric vSphere Datastore. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetFabricVSphereDatastoreParams contains all the parameters to send to the API endpoint for the get fabric v sphere datastore operation typically these are written to a http.Request
func NewGetFabricVSphereDatastoreParams ¶
func NewGetFabricVSphereDatastoreParams() *GetFabricVSphereDatastoreParams
NewGetFabricVSphereDatastoreParams creates a new GetFabricVSphereDatastoreParams object with the default values initialized.
func NewGetFabricVSphereDatastoreParamsWithContext ¶
func NewGetFabricVSphereDatastoreParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
NewGetFabricVSphereDatastoreParamsWithContext creates a new GetFabricVSphereDatastoreParams object with the default values initialized, and the ability to set a context for a request
func NewGetFabricVSphereDatastoreParamsWithHTTPClient ¶
func NewGetFabricVSphereDatastoreParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
NewGetFabricVSphereDatastoreParamsWithHTTPClient creates a new GetFabricVSphereDatastoreParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFabricVSphereDatastoreParamsWithTimeout ¶
func NewGetFabricVSphereDatastoreParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
NewGetFabricVSphereDatastoreParamsWithTimeout creates a new GetFabricVSphereDatastoreParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFabricVSphereDatastoreParams) SetAPIVersion ¶
func (o *GetFabricVSphereDatastoreParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) SetContext ¶
func (o *GetFabricVSphereDatastoreParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) SetHTTPClient ¶
func (o *GetFabricVSphereDatastoreParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) SetID ¶
func (o *GetFabricVSphereDatastoreParams) SetID(id string)
SetID adds the id to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) SetTimeout ¶
func (o *GetFabricVSphereDatastoreParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithAPIVersion ¶
func (o *GetFabricVSphereDatastoreParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoreParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithContext ¶
func (o *GetFabricVSphereDatastoreParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoreParams
WithContext adds the context to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithHTTPClient ¶
func (o *GetFabricVSphereDatastoreParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoreParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithID ¶
func (o *GetFabricVSphereDatastoreParams) WithID(id string) *GetFabricVSphereDatastoreParams
WithID adds the id to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WithTimeout ¶
func (o *GetFabricVSphereDatastoreParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoreParams
WithTimeout adds the timeout to the get fabric v sphere datastore params
func (*GetFabricVSphereDatastoreParams) WriteToRequest ¶
func (o *GetFabricVSphereDatastoreParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricVSphereDatastoreReader ¶
type GetFabricVSphereDatastoreReader struct {
// contains filtered or unexported fields
}
GetFabricVSphereDatastoreReader is a Reader for the GetFabricVSphereDatastore structure.
func (*GetFabricVSphereDatastoreReader) ReadResponse ¶
func (o *GetFabricVSphereDatastoreReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetFabricVSphereDatastoresForbidden ¶
type GetFabricVSphereDatastoresForbidden struct { }
GetFabricVSphereDatastoresForbidden handles this case with default header values.
Forbidden
func NewGetFabricVSphereDatastoresForbidden ¶
func NewGetFabricVSphereDatastoresForbidden() *GetFabricVSphereDatastoresForbidden
NewGetFabricVSphereDatastoresForbidden creates a GetFabricVSphereDatastoresForbidden with default headers values
func (*GetFabricVSphereDatastoresForbidden) Error ¶
func (o *GetFabricVSphereDatastoresForbidden) Error() string
type GetFabricVSphereDatastoresOK ¶
type GetFabricVSphereDatastoresOK struct {
Payload *models.FabricVsphereDatastoreResult
}
GetFabricVSphereDatastoresOK handles this case with default header values.
successful operation
func NewGetFabricVSphereDatastoresOK ¶
func NewGetFabricVSphereDatastoresOK() *GetFabricVSphereDatastoresOK
NewGetFabricVSphereDatastoresOK creates a GetFabricVSphereDatastoresOK with default headers values
func (*GetFabricVSphereDatastoresOK) Error ¶
func (o *GetFabricVSphereDatastoresOK) Error() string
func (*GetFabricVSphereDatastoresOK) GetPayload ¶
func (o *GetFabricVSphereDatastoresOK) GetPayload() *models.FabricVsphereDatastoreResult
type GetFabricVSphereDatastoresParams ¶
type GetFabricVSphereDatastoresParams struct { /*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 }
GetFabricVSphereDatastoresParams contains all the parameters to send to the API endpoint for the get fabric v sphere datastores operation typically these are written to a http.Request
func NewGetFabricVSphereDatastoresParams ¶
func NewGetFabricVSphereDatastoresParams() *GetFabricVSphereDatastoresParams
NewGetFabricVSphereDatastoresParams creates a new GetFabricVSphereDatastoresParams object with the default values initialized.
func NewGetFabricVSphereDatastoresParamsWithContext ¶
func NewGetFabricVSphereDatastoresParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
NewGetFabricVSphereDatastoresParamsWithContext creates a new GetFabricVSphereDatastoresParams object with the default values initialized, and the ability to set a context for a request
func NewGetFabricVSphereDatastoresParamsWithHTTPClient ¶
func NewGetFabricVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
NewGetFabricVSphereDatastoresParamsWithHTTPClient creates a new GetFabricVSphereDatastoresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetFabricVSphereDatastoresParamsWithTimeout ¶
func NewGetFabricVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
NewGetFabricVSphereDatastoresParamsWithTimeout creates a new GetFabricVSphereDatastoresParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetFabricVSphereDatastoresParams) SetAPIVersion ¶
func (o *GetFabricVSphereDatastoresParams) SetAPIVersion(aPIVersion *string)
SetAPIVersion adds the apiVersion to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) SetContext ¶
func (o *GetFabricVSphereDatastoresParams) SetContext(ctx context.Context)
SetContext adds the context to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) SetHTTPClient ¶
func (o *GetFabricVSphereDatastoresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) SetTimeout ¶
func (o *GetFabricVSphereDatastoresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithAPIVersion ¶
func (o *GetFabricVSphereDatastoresParams) WithAPIVersion(aPIVersion *string) *GetFabricVSphereDatastoresParams
WithAPIVersion adds the aPIVersion to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithContext ¶
func (o *GetFabricVSphereDatastoresParams) WithContext(ctx context.Context) *GetFabricVSphereDatastoresParams
WithContext adds the context to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithHTTPClient ¶
func (o *GetFabricVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetFabricVSphereDatastoresParams
WithHTTPClient adds the HTTPClient to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WithTimeout ¶
func (o *GetFabricVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetFabricVSphereDatastoresParams
WithTimeout adds the timeout to the get fabric v sphere datastores params
func (*GetFabricVSphereDatastoresParams) WriteToRequest ¶
func (o *GetFabricVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetFabricVSphereDatastoresReader ¶
type GetFabricVSphereDatastoresReader struct {
// contains filtered or unexported fields
}
GetFabricVSphereDatastoresReader is a Reader for the GetFabricVSphereDatastores structure.
func (*GetFabricVSphereDatastoresReader) ReadResponse ¶
func (o *GetFabricVSphereDatastoresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.