fabric_networks_vsphere

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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 networks vsphere API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new fabric networks vsphere API client.

func (*Client) GetVsphereFabricNetwork

func (a *Client) GetVsphereFabricNetwork(params *GetVsphereFabricNetworkParams) (*GetVsphereFabricNetworkOK, error)

GetVsphereFabricNetwork gets v sphere fabric network

Get vSphere fabric network with a given id

func (*Client) GetVsphereFabricNetworks

func (a *Client) GetVsphereFabricNetworks(params *GetVsphereFabricNetworksParams) (*GetVsphereFabricNetworksOK, error)

GetVsphereFabricNetworks gets v sphere fabric networks

Get all vSphere fabric networks.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdatevSphereFabricNetwork

func (a *Client) UpdatevSphereFabricNetwork(params *UpdatevSphereFabricNetworkParams) (*UpdatevSphereFabricNetworkOK, error)

UpdatevSphereFabricNetwork updates v sphere fabric network

Update vSphere fabric network.

type GetVsphereFabricNetworkForbidden

type GetVsphereFabricNetworkForbidden struct {
}

GetVsphereFabricNetworkForbidden handles this case with default header values.

Forbidden

func NewGetVsphereFabricNetworkForbidden

func NewGetVsphereFabricNetworkForbidden() *GetVsphereFabricNetworkForbidden

NewGetVsphereFabricNetworkForbidden creates a GetVsphereFabricNetworkForbidden with default headers values

func (*GetVsphereFabricNetworkForbidden) Error

type GetVsphereFabricNetworkNotFound

type GetVsphereFabricNetworkNotFound struct {
}

GetVsphereFabricNetworkNotFound handles this case with default header values.

Not Found

func NewGetVsphereFabricNetworkNotFound

func NewGetVsphereFabricNetworkNotFound() *GetVsphereFabricNetworkNotFound

NewGetVsphereFabricNetworkNotFound creates a GetVsphereFabricNetworkNotFound with default headers values

func (*GetVsphereFabricNetworkNotFound) Error

type GetVsphereFabricNetworkOK

type GetVsphereFabricNetworkOK struct {
	Payload *models.FabricNetworkVsphere
}

GetVsphereFabricNetworkOK handles this case with default header values.

successful operation

func NewGetVsphereFabricNetworkOK

func NewGetVsphereFabricNetworkOK() *GetVsphereFabricNetworkOK

NewGetVsphereFabricNetworkOK creates a GetVsphereFabricNetworkOK with default headers values

func (*GetVsphereFabricNetworkOK) Error

func (o *GetVsphereFabricNetworkOK) Error() string

func (*GetVsphereFabricNetworkOK) GetPayload

type GetVsphereFabricNetworkParams

type GetVsphereFabricNetworkParams 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 network.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetVsphereFabricNetworkParams contains all the parameters to send to the API endpoint for the get vsphere fabric network operation typically these are written to a http.Request

func NewGetVsphereFabricNetworkParams

func NewGetVsphereFabricNetworkParams() *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParams creates a new GetVsphereFabricNetworkParams object with the default values initialized.

func NewGetVsphereFabricNetworkParamsWithContext

func NewGetVsphereFabricNetworkParamsWithContext(ctx context.Context) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithContext creates a new GetVsphereFabricNetworkParams object with the default values initialized, and the ability to set a context for a request

func NewGetVsphereFabricNetworkParamsWithHTTPClient

func NewGetVsphereFabricNetworkParamsWithHTTPClient(client *http.Client) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithHTTPClient creates a new GetVsphereFabricNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetVsphereFabricNetworkParamsWithTimeout

func NewGetVsphereFabricNetworkParamsWithTimeout(timeout time.Duration) *GetVsphereFabricNetworkParams

NewGetVsphereFabricNetworkParamsWithTimeout creates a new GetVsphereFabricNetworkParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetVsphereFabricNetworkParams) SetAPIVersion

func (o *GetVsphereFabricNetworkParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetContext

func (o *GetVsphereFabricNetworkParams) SetContext(ctx context.Context)

SetContext adds the context to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetHTTPClient

func (o *GetVsphereFabricNetworkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetID

SetID adds the id to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) SetTimeout

func (o *GetVsphereFabricNetworkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithAPIVersion

func (o *GetVsphereFabricNetworkParams) WithAPIVersion(aPIVersion *string) *GetVsphereFabricNetworkParams

WithAPIVersion adds the aPIVersion to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithContext

WithContext adds the context to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithID

WithID adds the id to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the get vsphere fabric network params

func (*GetVsphereFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVsphereFabricNetworkReader

type GetVsphereFabricNetworkReader struct {
	// contains filtered or unexported fields
}

GetVsphereFabricNetworkReader is a Reader for the GetVsphereFabricNetwork structure.

func (*GetVsphereFabricNetworkReader) ReadResponse

func (o *GetVsphereFabricNetworkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetVsphereFabricNetworksForbidden

type GetVsphereFabricNetworksForbidden struct {
}

GetVsphereFabricNetworksForbidden handles this case with default header values.

Forbidden

func NewGetVsphereFabricNetworksForbidden

func NewGetVsphereFabricNetworksForbidden() *GetVsphereFabricNetworksForbidden

NewGetVsphereFabricNetworksForbidden creates a GetVsphereFabricNetworksForbidden with default headers values

func (*GetVsphereFabricNetworksForbidden) Error

type GetVsphereFabricNetworksOK

type GetVsphereFabricNetworksOK struct {
	Payload *models.FabricNetworkVsphereResult
}

GetVsphereFabricNetworksOK handles this case with default header values.

successful operation

func NewGetVsphereFabricNetworksOK

func NewGetVsphereFabricNetworksOK() *GetVsphereFabricNetworksOK

NewGetVsphereFabricNetworksOK creates a GetVsphereFabricNetworksOK with default headers values

func (*GetVsphereFabricNetworksOK) Error

func (*GetVsphereFabricNetworksOK) GetPayload

type GetVsphereFabricNetworksParams

type GetVsphereFabricNetworksParams 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
}

GetVsphereFabricNetworksParams contains all the parameters to send to the API endpoint for the get vsphere fabric networks operation typically these are written to a http.Request

func NewGetVsphereFabricNetworksParams

func NewGetVsphereFabricNetworksParams() *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParams creates a new GetVsphereFabricNetworksParams object with the default values initialized.

func NewGetVsphereFabricNetworksParamsWithContext

func NewGetVsphereFabricNetworksParamsWithContext(ctx context.Context) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithContext creates a new GetVsphereFabricNetworksParams object with the default values initialized, and the ability to set a context for a request

func NewGetVsphereFabricNetworksParamsWithHTTPClient

func NewGetVsphereFabricNetworksParamsWithHTTPClient(client *http.Client) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithHTTPClient creates a new GetVsphereFabricNetworksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetVsphereFabricNetworksParamsWithTimeout

func NewGetVsphereFabricNetworksParamsWithTimeout(timeout time.Duration) *GetVsphereFabricNetworksParams

NewGetVsphereFabricNetworksParamsWithTimeout creates a new GetVsphereFabricNetworksParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetVsphereFabricNetworksParams) SetAPIVersion

func (o *GetVsphereFabricNetworksParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetContext

func (o *GetVsphereFabricNetworksParams) SetContext(ctx context.Context)

SetContext adds the context to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetHTTPClient

func (o *GetVsphereFabricNetworksParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) SetTimeout

func (o *GetVsphereFabricNetworksParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithContext

WithContext adds the context to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WithTimeout

WithTimeout adds the timeout to the get vsphere fabric networks params

func (*GetVsphereFabricNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetVsphereFabricNetworksReader

type GetVsphereFabricNetworksReader struct {
	// contains filtered or unexported fields
}

GetVsphereFabricNetworksReader is a Reader for the GetVsphereFabricNetworks structure.

func (*GetVsphereFabricNetworksReader) ReadResponse

func (o *GetVsphereFabricNetworksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdatevSphereFabricNetworkForbidden

type UpdatevSphereFabricNetworkForbidden struct {
}

UpdatevSphereFabricNetworkForbidden handles this case with default header values.

Forbidden

func NewUpdatevSphereFabricNetworkForbidden

func NewUpdatevSphereFabricNetworkForbidden() *UpdatevSphereFabricNetworkForbidden

NewUpdatevSphereFabricNetworkForbidden creates a UpdatevSphereFabricNetworkForbidden with default headers values

func (*UpdatevSphereFabricNetworkForbidden) Error

type UpdatevSphereFabricNetworkNotFound

type UpdatevSphereFabricNetworkNotFound struct {
}

UpdatevSphereFabricNetworkNotFound handles this case with default header values.

Not Found

func NewUpdatevSphereFabricNetworkNotFound

func NewUpdatevSphereFabricNetworkNotFound() *UpdatevSphereFabricNetworkNotFound

NewUpdatevSphereFabricNetworkNotFound creates a UpdatevSphereFabricNetworkNotFound with default headers values

func (*UpdatevSphereFabricNetworkNotFound) Error

type UpdatevSphereFabricNetworkOK

type UpdatevSphereFabricNetworkOK struct {
	Payload *models.FabricNetworkVsphere
}

UpdatevSphereFabricNetworkOK handles this case with default header values.

successful operation

func NewUpdatevSphereFabricNetworkOK

func NewUpdatevSphereFabricNetworkOK() *UpdatevSphereFabricNetworkOK

NewUpdatevSphereFabricNetworkOK creates a UpdatevSphereFabricNetworkOK with default headers values

func (*UpdatevSphereFabricNetworkOK) Error

func (*UpdatevSphereFabricNetworkOK) GetPayload

type UpdatevSphereFabricNetworkParams

type UpdatevSphereFabricNetworkParams struct {

	/*APIVersion
	  The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about

	*/
	APIVersion *string
	/*Body
	  Vsphere Fabric Network Specification

	*/
	Body *models.FabricNetworkVsphereSpecification
	/*ID
	  The ID of the vSphere Fabric Network.

	*/
	ID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdatevSphereFabricNetworkParams contains all the parameters to send to the API endpoint for the updatev sphere fabric network operation typically these are written to a http.Request

func NewUpdatevSphereFabricNetworkParams

func NewUpdatevSphereFabricNetworkParams() *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParams creates a new UpdatevSphereFabricNetworkParams object with the default values initialized.

func NewUpdatevSphereFabricNetworkParamsWithContext

func NewUpdatevSphereFabricNetworkParamsWithContext(ctx context.Context) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithContext creates a new UpdatevSphereFabricNetworkParams object with the default values initialized, and the ability to set a context for a request

func NewUpdatevSphereFabricNetworkParamsWithHTTPClient

func NewUpdatevSphereFabricNetworkParamsWithHTTPClient(client *http.Client) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithHTTPClient creates a new UpdatevSphereFabricNetworkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdatevSphereFabricNetworkParamsWithTimeout

func NewUpdatevSphereFabricNetworkParamsWithTimeout(timeout time.Duration) *UpdatevSphereFabricNetworkParams

NewUpdatevSphereFabricNetworkParamsWithTimeout creates a new UpdatevSphereFabricNetworkParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdatevSphereFabricNetworkParams) SetAPIVersion

func (o *UpdatevSphereFabricNetworkParams) SetAPIVersion(aPIVersion *string)

SetAPIVersion adds the apiVersion to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetBody

SetBody adds the body to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetContext

SetContext adds the context to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetHTTPClient

func (o *UpdatevSphereFabricNetworkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetID

SetID adds the id to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) SetTimeout

func (o *UpdatevSphereFabricNetworkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithBody

WithBody adds the body to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithContext

WithContext adds the context to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithID

WithID adds the id to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WithTimeout

WithTimeout adds the timeout to the updatev sphere fabric network params

func (*UpdatevSphereFabricNetworkParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UpdatevSphereFabricNetworkReader

type UpdatevSphereFabricNetworkReader struct {
	// contains filtered or unexported fields
}

UpdatevSphereFabricNetworkReader is a Reader for the UpdatevSphereFabricNetwork structure.

func (*UpdatevSphereFabricNetworkReader) ReadResponse

func (o *UpdatevSphereFabricNetworkReader) 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