vsphere

package
v2.17.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 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 vsphere API

func (*Client) ListVSphereDatastores added in v2.17.0

func (a *Client) ListVSphereDatastores(params *ListVSphereDatastoresParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereDatastoresOK, error)

ListVSphereDatastores Lists datastores from vsphere datacenter

func (*Client) ListVSphereFolders

func (a *Client) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersOK, error)

ListVSphereFolders Lists folders from vsphere datacenter

func (*Client) ListVSphereFoldersNoCredentials

func (a *Client) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersNoCredentialsOK, error)

ListVSphereFoldersNoCredentials Lists folders from vsphere datacenter

func (*Client) ListVSphereFoldersNoCredentialsV2

ListVSphereFoldersNoCredentialsV2 Lists folders from vsphere datacenter

func (*Client) ListVSphereNetworks

func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksOK, error)

ListVSphereNetworks Lists networks from vsphere datacenter

func (*Client) ListVSphereNetworksNoCredentials

ListVSphereNetworksNoCredentials Lists networks from vsphere datacenter

func (*Client) ListVSphereNetworksNoCredentialsV2

ListVSphereNetworksNoCredentialsV2 Lists networks from vsphere datacenter

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

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

New creates a new vsphere API client.

type ListVSphereDatastoresDefault added in v2.17.0

type ListVSphereDatastoresDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereDatastoresDefault handles this case with default header values.

errorResponse

func NewListVSphereDatastoresDefault added in v2.17.0

func NewListVSphereDatastoresDefault(code int) *ListVSphereDatastoresDefault

NewListVSphereDatastoresDefault creates a ListVSphereDatastoresDefault with default headers values

func (*ListVSphereDatastoresDefault) Code added in v2.17.0

Code gets the status code for the list v sphere datastores default response

func (*ListVSphereDatastoresDefault) Error added in v2.17.0

func (*ListVSphereDatastoresDefault) GetPayload added in v2.17.0

type ListVSphereDatastoresOK added in v2.17.0

type ListVSphereDatastoresOK struct {
	Payload []*models.VSphereDatastoreList
}

ListVSphereDatastoresOK handles this case with default header values.

VSphereDatastoreList

func NewListVSphereDatastoresOK added in v2.17.0

func NewListVSphereDatastoresOK() *ListVSphereDatastoresOK

NewListVSphereDatastoresOK creates a ListVSphereDatastoresOK with default headers values

func (*ListVSphereDatastoresOK) Error added in v2.17.0

func (o *ListVSphereDatastoresOK) Error() string

func (*ListVSphereDatastoresOK) GetPayload added in v2.17.0

type ListVSphereDatastoresParams added in v2.17.0

type ListVSphereDatastoresParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Password*/
	Password *string
	/*Username*/
	Username *string

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

ListVSphereDatastoresParams contains all the parameters to send to the API endpoint for the list v sphere datastores operation typically these are written to a http.Request

func NewListVSphereDatastoresParams added in v2.17.0

func NewListVSphereDatastoresParams() *ListVSphereDatastoresParams

NewListVSphereDatastoresParams creates a new ListVSphereDatastoresParams object with the default values initialized.

func NewListVSphereDatastoresParamsWithContext added in v2.17.0

func NewListVSphereDatastoresParamsWithContext(ctx context.Context) *ListVSphereDatastoresParams

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

func NewListVSphereDatastoresParamsWithHTTPClient added in v2.17.0

func NewListVSphereDatastoresParamsWithHTTPClient(client *http.Client) *ListVSphereDatastoresParams

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

func NewListVSphereDatastoresParamsWithTimeout added in v2.17.0

func NewListVSphereDatastoresParamsWithTimeout(timeout time.Duration) *ListVSphereDatastoresParams

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

func (*ListVSphereDatastoresParams) SetContext added in v2.17.0

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

SetContext adds the context to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetCredential added in v2.17.0

func (o *ListVSphereDatastoresParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetDatacenterName added in v2.17.0

func (o *ListVSphereDatastoresParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetHTTPClient added in v2.17.0

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

SetHTTPClient adds the HTTPClient to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetPassword added in v2.17.0

func (o *ListVSphereDatastoresParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetTimeout added in v2.17.0

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

SetTimeout adds the timeout to the list v sphere datastores params

func (*ListVSphereDatastoresParams) SetUsername added in v2.17.0

func (o *ListVSphereDatastoresParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithContext added in v2.17.0

WithContext adds the context to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithCredential added in v2.17.0

func (o *ListVSphereDatastoresParams) WithCredential(credential *string) *ListVSphereDatastoresParams

WithCredential adds the credential to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithDatacenterName added in v2.17.0

func (o *ListVSphereDatastoresParams) WithDatacenterName(datacenterName *string) *ListVSphereDatastoresParams

WithDatacenterName adds the datacenterName to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithHTTPClient added in v2.17.0

WithHTTPClient adds the HTTPClient to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithPassword added in v2.17.0

WithPassword adds the password to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithTimeout added in v2.17.0

WithTimeout adds the timeout to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WithUsername added in v2.17.0

WithUsername adds the username to the list v sphere datastores params

func (*ListVSphereDatastoresParams) WriteToRequest added in v2.17.0

WriteToRequest writes these params to a swagger request

type ListVSphereDatastoresReader added in v2.17.0

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

ListVSphereDatastoresReader is a Reader for the ListVSphereDatastores structure.

func (*ListVSphereDatastoresReader) ReadResponse added in v2.17.0

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersDefault

type ListVSphereFoldersDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereFoldersDefault handles this case with default header values.

errorResponse

func NewListVSphereFoldersDefault

func NewListVSphereFoldersDefault(code int) *ListVSphereFoldersDefault

NewListVSphereFoldersDefault creates a ListVSphereFoldersDefault with default headers values

func (*ListVSphereFoldersDefault) Code

func (o *ListVSphereFoldersDefault) Code() int

Code gets the status code for the list v sphere folders default response

func (*ListVSphereFoldersDefault) Error

func (o *ListVSphereFoldersDefault) Error() string

func (*ListVSphereFoldersDefault) GetPayload

type ListVSphereFoldersNoCredentialsDefault

type ListVSphereFoldersNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereFoldersNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListVSphereFoldersNoCredentialsDefault

func NewListVSphereFoldersNoCredentialsDefault(code int) *ListVSphereFoldersNoCredentialsDefault

NewListVSphereFoldersNoCredentialsDefault creates a ListVSphereFoldersNoCredentialsDefault with default headers values

func (*ListVSphereFoldersNoCredentialsDefault) Code

Code gets the status code for the list v sphere folders no credentials default response

func (*ListVSphereFoldersNoCredentialsDefault) Error

func (*ListVSphereFoldersNoCredentialsDefault) GetPayload

type ListVSphereFoldersNoCredentialsOK

type ListVSphereFoldersNoCredentialsOK struct {
	Payload []*models.VSphereFolder
}

ListVSphereFoldersNoCredentialsOK handles this case with default header values.

VSphereFolder

func NewListVSphereFoldersNoCredentialsOK

func NewListVSphereFoldersNoCredentialsOK() *ListVSphereFoldersNoCredentialsOK

NewListVSphereFoldersNoCredentialsOK creates a ListVSphereFoldersNoCredentialsOK with default headers values

func (*ListVSphereFoldersNoCredentialsOK) Error

func (*ListVSphereFoldersNoCredentialsOK) GetPayload

type ListVSphereFoldersNoCredentialsParams

type ListVSphereFoldersNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListVSphereFoldersNoCredentialsParams contains all the parameters to send to the API endpoint for the list v sphere folders no credentials operation typically these are written to a http.Request

func NewListVSphereFoldersNoCredentialsParams

func NewListVSphereFoldersNoCredentialsParams() *ListVSphereFoldersNoCredentialsParams

NewListVSphereFoldersNoCredentialsParams creates a new ListVSphereFoldersNoCredentialsParams object with the default values initialized.

func NewListVSphereFoldersNoCredentialsParamsWithContext

func NewListVSphereFoldersNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams

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

func NewListVSphereFoldersNoCredentialsParamsWithHTTPClient

func NewListVSphereFoldersNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsParams

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

func NewListVSphereFoldersNoCredentialsParamsWithTimeout

func NewListVSphereFoldersNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsParams

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

func (*ListVSphereFoldersNoCredentialsParams) SetClusterID

func (o *ListVSphereFoldersNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetContext

SetContext adds the context to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetDC

SetDC adds the dc to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetProjectID

func (o *ListVSphereFoldersNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithContext

WithContext adds the context to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithDC

WithDC adds the dc to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list v sphere folders no credentials params

func (*ListVSphereFoldersNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersNoCredentialsReader

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

ListVSphereFoldersNoCredentialsReader is a Reader for the ListVSphereFoldersNoCredentials structure.

func (*ListVSphereFoldersNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersNoCredentialsV2Default

type ListVSphereFoldersNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereFoldersNoCredentialsV2Default handles this case with default header values.

errorResponse

func NewListVSphereFoldersNoCredentialsV2Default

func NewListVSphereFoldersNoCredentialsV2Default(code int) *ListVSphereFoldersNoCredentialsV2Default

NewListVSphereFoldersNoCredentialsV2Default creates a ListVSphereFoldersNoCredentialsV2Default with default headers values

func (*ListVSphereFoldersNoCredentialsV2Default) Code

Code gets the status code for the list v sphere folders no credentials v2 default response

func (*ListVSphereFoldersNoCredentialsV2Default) Error

func (*ListVSphereFoldersNoCredentialsV2Default) GetPayload

type ListVSphereFoldersNoCredentialsV2OK

type ListVSphereFoldersNoCredentialsV2OK struct {
	Payload []*models.VSphereFolder
}

ListVSphereFoldersNoCredentialsV2OK handles this case with default header values.

VSphereFolder

func NewListVSphereFoldersNoCredentialsV2OK

func NewListVSphereFoldersNoCredentialsV2OK() *ListVSphereFoldersNoCredentialsV2OK

NewListVSphereFoldersNoCredentialsV2OK creates a ListVSphereFoldersNoCredentialsV2OK with default headers values

func (*ListVSphereFoldersNoCredentialsV2OK) Error

func (*ListVSphereFoldersNoCredentialsV2OK) GetPayload

type ListVSphereFoldersNoCredentialsV2Params

type ListVSphereFoldersNoCredentialsV2Params struct {

	/*ClusterID*/
	ClusterID string
	/*ProjectID*/
	ProjectID string

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

ListVSphereFoldersNoCredentialsV2Params contains all the parameters to send to the API endpoint for the list v sphere folders no credentials v2 operation typically these are written to a http.Request

func NewListVSphereFoldersNoCredentialsV2Params

func NewListVSphereFoldersNoCredentialsV2Params() *ListVSphereFoldersNoCredentialsV2Params

NewListVSphereFoldersNoCredentialsV2Params creates a new ListVSphereFoldersNoCredentialsV2Params object with the default values initialized.

func NewListVSphereFoldersNoCredentialsV2ParamsWithContext

func NewListVSphereFoldersNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params

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

func NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient

func NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsV2Params

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

func NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout

func NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsV2Params

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

func (*ListVSphereFoldersNoCredentialsV2Params) SetClusterID

func (o *ListVSphereFoldersNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetContext

SetContext adds the context to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetProjectID

func (o *ListVSphereFoldersNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithContext

WithContext adds the context to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list v sphere folders no credentials v2 params

func (*ListVSphereFoldersNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersNoCredentialsV2Reader

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

ListVSphereFoldersNoCredentialsV2Reader is a Reader for the ListVSphereFoldersNoCredentialsV2 structure.

func (*ListVSphereFoldersNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereFoldersOK

type ListVSphereFoldersOK struct {
	Payload []*models.VSphereFolder
}

ListVSphereFoldersOK handles this case with default header values.

VSphereFolder

func NewListVSphereFoldersOK

func NewListVSphereFoldersOK() *ListVSphereFoldersOK

NewListVSphereFoldersOK creates a ListVSphereFoldersOK with default headers values

func (*ListVSphereFoldersOK) Error

func (o *ListVSphereFoldersOK) Error() string

func (*ListVSphereFoldersOK) GetPayload

func (o *ListVSphereFoldersOK) GetPayload() []*models.VSphereFolder

type ListVSphereFoldersParams

type ListVSphereFoldersParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Password*/
	Password *string
	/*Username*/
	Username *string

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

ListVSphereFoldersParams contains all the parameters to send to the API endpoint for the list v sphere folders operation typically these are written to a http.Request

func NewListVSphereFoldersParams

func NewListVSphereFoldersParams() *ListVSphereFoldersParams

NewListVSphereFoldersParams creates a new ListVSphereFoldersParams object with the default values initialized.

func NewListVSphereFoldersParamsWithContext

func NewListVSphereFoldersParamsWithContext(ctx context.Context) *ListVSphereFoldersParams

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

func NewListVSphereFoldersParamsWithHTTPClient

func NewListVSphereFoldersParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersParams

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

func NewListVSphereFoldersParamsWithTimeout

func NewListVSphereFoldersParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersParams

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

func (*ListVSphereFoldersParams) SetContext

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

SetContext adds the context to the list v sphere folders params

func (*ListVSphereFoldersParams) SetCredential

func (o *ListVSphereFoldersParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere folders params

func (*ListVSphereFoldersParams) SetDatacenterName

func (o *ListVSphereFoldersParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere folders params

func (*ListVSphereFoldersParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere folders params

func (*ListVSphereFoldersParams) SetPassword

func (o *ListVSphereFoldersParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere folders params

func (*ListVSphereFoldersParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere folders params

func (*ListVSphereFoldersParams) SetUsername

func (o *ListVSphereFoldersParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere folders params

func (*ListVSphereFoldersParams) WithContext

WithContext adds the context to the list v sphere folders params

func (*ListVSphereFoldersParams) WithCredential

func (o *ListVSphereFoldersParams) WithCredential(credential *string) *ListVSphereFoldersParams

WithCredential adds the credential to the list v sphere folders params

func (*ListVSphereFoldersParams) WithDatacenterName

func (o *ListVSphereFoldersParams) WithDatacenterName(datacenterName *string) *ListVSphereFoldersParams

WithDatacenterName adds the datacenterName to the list v sphere folders params

func (*ListVSphereFoldersParams) WithHTTPClient

func (o *ListVSphereFoldersParams) WithHTTPClient(client *http.Client) *ListVSphereFoldersParams

WithHTTPClient adds the HTTPClient to the list v sphere folders params

func (*ListVSphereFoldersParams) WithPassword

func (o *ListVSphereFoldersParams) WithPassword(password *string) *ListVSphereFoldersParams

WithPassword adds the password to the list v sphere folders params

func (*ListVSphereFoldersParams) WithTimeout

WithTimeout adds the timeout to the list v sphere folders params

func (*ListVSphereFoldersParams) WithUsername

func (o *ListVSphereFoldersParams) WithUsername(username *string) *ListVSphereFoldersParams

WithUsername adds the username to the list v sphere folders params

func (*ListVSphereFoldersParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereFoldersReader

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

ListVSphereFoldersReader is a Reader for the ListVSphereFolders structure.

func (*ListVSphereFoldersReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksDefault

type ListVSphereNetworksDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereNetworksDefault handles this case with default header values.

errorResponse

func NewListVSphereNetworksDefault

func NewListVSphereNetworksDefault(code int) *ListVSphereNetworksDefault

NewListVSphereNetworksDefault creates a ListVSphereNetworksDefault with default headers values

func (*ListVSphereNetworksDefault) Code

func (o *ListVSphereNetworksDefault) Code() int

Code gets the status code for the list v sphere networks default response

func (*ListVSphereNetworksDefault) Error

func (*ListVSphereNetworksDefault) GetPayload

type ListVSphereNetworksNoCredentialsDefault

type ListVSphereNetworksNoCredentialsDefault struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereNetworksNoCredentialsDefault handles this case with default header values.

errorResponse

func NewListVSphereNetworksNoCredentialsDefault

func NewListVSphereNetworksNoCredentialsDefault(code int) *ListVSphereNetworksNoCredentialsDefault

NewListVSphereNetworksNoCredentialsDefault creates a ListVSphereNetworksNoCredentialsDefault with default headers values

func (*ListVSphereNetworksNoCredentialsDefault) Code

Code gets the status code for the list v sphere networks no credentials default response

func (*ListVSphereNetworksNoCredentialsDefault) Error

func (*ListVSphereNetworksNoCredentialsDefault) GetPayload

type ListVSphereNetworksNoCredentialsOK

type ListVSphereNetworksNoCredentialsOK struct {
	Payload []*models.VSphereNetwork
}

ListVSphereNetworksNoCredentialsOK handles this case with default header values.

VSphereNetwork

func NewListVSphereNetworksNoCredentialsOK

func NewListVSphereNetworksNoCredentialsOK() *ListVSphereNetworksNoCredentialsOK

NewListVSphereNetworksNoCredentialsOK creates a ListVSphereNetworksNoCredentialsOK with default headers values

func (*ListVSphereNetworksNoCredentialsOK) Error

func (*ListVSphereNetworksNoCredentialsOK) GetPayload

type ListVSphereNetworksNoCredentialsParams

type ListVSphereNetworksNoCredentialsParams struct {

	/*ClusterID*/
	ClusterID string
	/*Dc*/
	DC string
	/*ProjectID*/
	ProjectID string

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

ListVSphereNetworksNoCredentialsParams contains all the parameters to send to the API endpoint for the list v sphere networks no credentials operation typically these are written to a http.Request

func NewListVSphereNetworksNoCredentialsParams

func NewListVSphereNetworksNoCredentialsParams() *ListVSphereNetworksNoCredentialsParams

NewListVSphereNetworksNoCredentialsParams creates a new ListVSphereNetworksNoCredentialsParams object with the default values initialized.

func NewListVSphereNetworksNoCredentialsParamsWithContext

func NewListVSphereNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams

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

func NewListVSphereNetworksNoCredentialsParamsWithHTTPClient

func NewListVSphereNetworksNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsParams

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

func NewListVSphereNetworksNoCredentialsParamsWithTimeout

func NewListVSphereNetworksNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsParams

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

func (*ListVSphereNetworksNoCredentialsParams) SetClusterID

func (o *ListVSphereNetworksNoCredentialsParams) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetContext

SetContext adds the context to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetDC

SetDC adds the dc to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetProjectID

func (o *ListVSphereNetworksNoCredentialsParams) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithClusterID

WithClusterID adds the clusterID to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithContext

WithContext adds the context to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithDC

WithDC adds the dc to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithProjectID

WithProjectID adds the projectID to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WithTimeout

WithTimeout adds the timeout to the list v sphere networks no credentials params

func (*ListVSphereNetworksNoCredentialsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksNoCredentialsReader

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

ListVSphereNetworksNoCredentialsReader is a Reader for the ListVSphereNetworksNoCredentials structure.

func (*ListVSphereNetworksNoCredentialsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksNoCredentialsV2Default

type ListVSphereNetworksNoCredentialsV2Default struct {
	Payload *models.ErrorResponse
	// contains filtered or unexported fields
}

ListVSphereNetworksNoCredentialsV2Default handles this case with default header values.

errorResponse

func NewListVSphereNetworksNoCredentialsV2Default

func NewListVSphereNetworksNoCredentialsV2Default(code int) *ListVSphereNetworksNoCredentialsV2Default

NewListVSphereNetworksNoCredentialsV2Default creates a ListVSphereNetworksNoCredentialsV2Default with default headers values

func (*ListVSphereNetworksNoCredentialsV2Default) Code

Code gets the status code for the list v sphere networks no credentials v2 default response

func (*ListVSphereNetworksNoCredentialsV2Default) Error

func (*ListVSphereNetworksNoCredentialsV2Default) GetPayload

type ListVSphereNetworksNoCredentialsV2OK

type ListVSphereNetworksNoCredentialsV2OK struct {
	Payload []*models.VSphereNetwork
}

ListVSphereNetworksNoCredentialsV2OK handles this case with default header values.

VSphereNetwork

func NewListVSphereNetworksNoCredentialsV2OK

func NewListVSphereNetworksNoCredentialsV2OK() *ListVSphereNetworksNoCredentialsV2OK

NewListVSphereNetworksNoCredentialsV2OK creates a ListVSphereNetworksNoCredentialsV2OK with default headers values

func (*ListVSphereNetworksNoCredentialsV2OK) Error

func (*ListVSphereNetworksNoCredentialsV2OK) GetPayload

type ListVSphereNetworksNoCredentialsV2Params

type ListVSphereNetworksNoCredentialsV2Params struct {

	/*ClusterID*/
	ClusterID string
	/*ProjectID*/
	ProjectID string

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

ListVSphereNetworksNoCredentialsV2Params contains all the parameters to send to the API endpoint for the list v sphere networks no credentials v2 operation typically these are written to a http.Request

func NewListVSphereNetworksNoCredentialsV2Params

func NewListVSphereNetworksNoCredentialsV2Params() *ListVSphereNetworksNoCredentialsV2Params

NewListVSphereNetworksNoCredentialsV2Params creates a new ListVSphereNetworksNoCredentialsV2Params object with the default values initialized.

func NewListVSphereNetworksNoCredentialsV2ParamsWithContext

func NewListVSphereNetworksNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params

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

func NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient

func NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsV2Params

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

func NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout

func NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsV2Params

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

func (*ListVSphereNetworksNoCredentialsV2Params) SetClusterID

func (o *ListVSphereNetworksNoCredentialsV2Params) SetClusterID(clusterID string)

SetClusterID adds the clusterId to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetContext

SetContext adds the context to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetProjectID

func (o *ListVSphereNetworksNoCredentialsV2Params) SetProjectID(projectID string)

SetProjectID adds the projectId to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) SetTimeout

SetTimeout adds the timeout to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithClusterID

WithClusterID adds the clusterID to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithContext

WithContext adds the context to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithProjectID

WithProjectID adds the projectID to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WithTimeout

WithTimeout adds the timeout to the list v sphere networks no credentials v2 params

func (*ListVSphereNetworksNoCredentialsV2Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksNoCredentialsV2Reader

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

ListVSphereNetworksNoCredentialsV2Reader is a Reader for the ListVSphereNetworksNoCredentialsV2 structure.

func (*ListVSphereNetworksNoCredentialsV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListVSphereNetworksOK

type ListVSphereNetworksOK struct {
	Payload []*models.VSphereNetwork
}

ListVSphereNetworksOK handles this case with default header values.

VSphereNetwork

func NewListVSphereNetworksOK

func NewListVSphereNetworksOK() *ListVSphereNetworksOK

NewListVSphereNetworksOK creates a ListVSphereNetworksOK with default headers values

func (*ListVSphereNetworksOK) Error

func (o *ListVSphereNetworksOK) Error() string

func (*ListVSphereNetworksOK) GetPayload

func (o *ListVSphereNetworksOK) GetPayload() []*models.VSphereNetwork

type ListVSphereNetworksParams

type ListVSphereNetworksParams struct {

	/*Credential*/
	Credential *string
	/*DatacenterName*/
	DatacenterName *string
	/*Password*/
	Password *string
	/*Username*/
	Username *string

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

ListVSphereNetworksParams contains all the parameters to send to the API endpoint for the list v sphere networks operation typically these are written to a http.Request

func NewListVSphereNetworksParams

func NewListVSphereNetworksParams() *ListVSphereNetworksParams

NewListVSphereNetworksParams creates a new ListVSphereNetworksParams object with the default values initialized.

func NewListVSphereNetworksParamsWithContext

func NewListVSphereNetworksParamsWithContext(ctx context.Context) *ListVSphereNetworksParams

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

func NewListVSphereNetworksParamsWithHTTPClient

func NewListVSphereNetworksParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksParams

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

func NewListVSphereNetworksParamsWithTimeout

func NewListVSphereNetworksParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksParams

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

func (*ListVSphereNetworksParams) SetContext

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

SetContext adds the context to the list v sphere networks params

func (*ListVSphereNetworksParams) SetCredential

func (o *ListVSphereNetworksParams) SetCredential(credential *string)

SetCredential adds the credential to the list v sphere networks params

func (*ListVSphereNetworksParams) SetDatacenterName

func (o *ListVSphereNetworksParams) SetDatacenterName(datacenterName *string)

SetDatacenterName adds the datacenterName to the list v sphere networks params

func (*ListVSphereNetworksParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list v sphere networks params

func (*ListVSphereNetworksParams) SetPassword

func (o *ListVSphereNetworksParams) SetPassword(password *string)

SetPassword adds the password to the list v sphere networks params

func (*ListVSphereNetworksParams) SetTimeout

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

SetTimeout adds the timeout to the list v sphere networks params

func (*ListVSphereNetworksParams) SetUsername

func (o *ListVSphereNetworksParams) SetUsername(username *string)

SetUsername adds the username to the list v sphere networks params

func (*ListVSphereNetworksParams) WithContext

WithContext adds the context to the list v sphere networks params

func (*ListVSphereNetworksParams) WithCredential

func (o *ListVSphereNetworksParams) WithCredential(credential *string) *ListVSphereNetworksParams

WithCredential adds the credential to the list v sphere networks params

func (*ListVSphereNetworksParams) WithDatacenterName

func (o *ListVSphereNetworksParams) WithDatacenterName(datacenterName *string) *ListVSphereNetworksParams

WithDatacenterName adds the datacenterName to the list v sphere networks params

func (*ListVSphereNetworksParams) WithHTTPClient

func (o *ListVSphereNetworksParams) WithHTTPClient(client *http.Client) *ListVSphereNetworksParams

WithHTTPClient adds the HTTPClient to the list v sphere networks params

func (*ListVSphereNetworksParams) WithPassword

func (o *ListVSphereNetworksParams) WithPassword(password *string) *ListVSphereNetworksParams

WithPassword adds the password to the list v sphere networks params

func (*ListVSphereNetworksParams) WithTimeout

WithTimeout adds the timeout to the list v sphere networks params

func (*ListVSphereNetworksParams) WithUsername

func (o *ListVSphereNetworksParams) WithUsername(username *string) *ListVSphereNetworksParams

WithUsername adds the username to the list v sphere networks params

func (*ListVSphereNetworksParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListVSphereNetworksReader

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

ListVSphereNetworksReader is a Reader for the ListVSphereNetworks structure.

func (*ListVSphereNetworksReader) ReadResponse

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