fabric_vsphere_datastore

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 10 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 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. 1. If regionId is not provided as a parameter then all datastores are returned 2. If regionId is provided as a parameter then datastores iin that region are returned

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

type GetFabricVSphereDatastoreNotFound

type GetFabricVSphereDatastoreNotFound struct {
	Payload *models.Error
}

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 (*GetFabricVSphereDatastoreNotFound) GetPayload added in v0.2.9

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 (*GetFabricVSphereDatastoreOK) GetPayload

type GetFabricVSphereDatastoreParams

type GetFabricVSphereDatastoreParams struct {

	/*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 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

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

WithAPIVersion adds the aPIVersion to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithContext

WithContext adds the context to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithID

WithID adds the id to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere datastore params

func (*GetFabricVSphereDatastoreParams) WriteToRequest

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

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 (*GetFabricVSphereDatastoresOK) GetPayload

type GetFabricVSphereDatastoresParams

type GetFabricVSphereDatastoresParams 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
	/*RegionID
	  Id of the Region for which datastores/datastore clusters are required

	*/
	RegionID *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

SetContext adds the context to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarFilter added in v0.2.12

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

SetDollarFilter adds the dollarFilter 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) SetRegionID added in v0.2.8

func (o *GetFabricVSphereDatastoresParams) SetRegionID(regionID *string)

SetRegionID adds the regionId 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

WithAPIVersion adds the aPIVersion to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithContext

WithContext adds the context to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarFilter added in v0.2.12

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

WithDollarFilter adds the dollarFilter to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithRegionID added in v0.2.8

WithRegionID adds the regionID to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithTimeout

WithTimeout adds the timeout to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL