fabric_vsphere_datastore

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: Apache-2.0 Imports: 11 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 (*Client) GetFabricVSphereDatastore

func (a *Client) GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams, opts ...ClientOption) (*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, opts ...ClientOption) (*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 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 {
	GetFabricVSphereDatastore(params *GetFabricVSphereDatastoreParams, opts ...ClientOption) (*GetFabricVSphereDatastoreOK, error)

	GetFabricVSphereDatastores(params *GetFabricVSphereDatastoresParams, opts ...ClientOption) (*GetFabricVSphereDatastoresOK, 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 v sphere datastore API client.

type GetFabricVSphereDatastoreForbidden

type GetFabricVSphereDatastoreForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetFabricVSphereDatastoreForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricVSphereDatastoreForbidden

func NewGetFabricVSphereDatastoreForbidden() *GetFabricVSphereDatastoreForbidden

NewGetFabricVSphereDatastoreForbidden creates a GetFabricVSphereDatastoreForbidden with default headers values

func (*GetFabricVSphereDatastoreForbidden) Error

func (*GetFabricVSphereDatastoreForbidden) GetPayload added in v0.2.20

type GetFabricVSphereDatastoreNotFound

type GetFabricVSphereDatastoreNotFound struct {
	Payload *models.Error
}
GetFabricVSphereDatastoreNotFound describes a response with status code 404, 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 describes a response with status code 200, 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 {

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

func NewGetFabricVSphereDatastoreParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoreParams

NewGetFabricVSphereDatastoreParamsWithContext creates a new GetFabricVSphereDatastoreParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetFabricVSphereDatastoreParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere datastore params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricVSphereDatastoreParams) SetDollarSelect added in v0.2.20

func (o *GetFabricVSphereDatastoreParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect 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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere datastore params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricVSphereDatastoreParams) WithDollarSelect added in v0.2.20

func (o *GetFabricVSphereDatastoreParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereDatastoreParams

WithDollarSelect adds the dollarSelect 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 {
	Payload *models.ServiceErrorResponse
}
GetFabricVSphereDatastoresForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetFabricVSphereDatastoresForbidden

func NewGetFabricVSphereDatastoresForbidden() *GetFabricVSphereDatastoresForbidden

NewGetFabricVSphereDatastoresForbidden creates a GetFabricVSphereDatastoresForbidden with default headers values

func (*GetFabricVSphereDatastoresForbidden) Error

func (*GetFabricVSphereDatastoresForbidden) GetPayload added in v0.2.20

type GetFabricVSphereDatastoresOK

type GetFabricVSphereDatastoresOK struct {
	Payload *models.FabricVsphereDatastoreResult
}
GetFabricVSphereDatastoresOK describes a response with status code 200, 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 {

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

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 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 NewGetFabricVSphereDatastoresParamsWithContext

func NewGetFabricVSphereDatastoresParamsWithContext(ctx context.Context) *GetFabricVSphereDatastoresParams

NewGetFabricVSphereDatastoresParamsWithContext creates a new GetFabricVSphereDatastoresParams object with 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 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 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) SetDefaults added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDefaults()

SetDefaults hydrates default values in the get fabric v sphere datastores params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricVSphereDatastoresParams) SetDollarCount added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDollarCount(dollarCount *bool)

SetDollarCount adds the dollarCount 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) SetDollarSelect added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDollarSelect(dollarSelect *string)

SetDollarSelect adds the dollarSelect to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarSkip added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDollarSkip(dollarSkip *int64)

SetDollarSkip adds the dollarSkip to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) SetDollarTop added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) SetDollarTop(dollarTop *int64)

SetDollarTop adds the dollarTop 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

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) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get fabric v sphere datastores params (not the query body).

All values with no default are reset to their zero value.

func (*GetFabricVSphereDatastoresParams) WithDollarCount added in v0.2.20

WithDollarCount adds the dollarCount 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) WithDollarSelect added in v0.2.20

func (o *GetFabricVSphereDatastoresParams) WithDollarSelect(dollarSelect *string) *GetFabricVSphereDatastoresParams

WithDollarSelect adds the dollarSelect to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarSkip added in v0.2.20

WithDollarSkip adds the dollarSkip to the get fabric v sphere datastores params

func (*GetFabricVSphereDatastoresParams) WithDollarTop added in v0.2.20

WithDollarTop adds the dollarTop 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) 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