Documentation
¶
Index ¶
- type Client
- func (a *Client) ListVSphereDatastores(params *ListVSphereDatastoresParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVSphereDatastoresOK, error)
- func (a *Client) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVSphereFoldersOK, error)
- func (a *Client) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, ...) (*ListVSphereFoldersNoCredentialsOK, error)
- func (a *Client) ListVSphereFoldersNoCredentialsV2(params *ListVSphereFoldersNoCredentialsV2Params, ...) (*ListVSphereFoldersNoCredentialsV2OK, error)
- func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListVSphereNetworksOK, error)
- func (a *Client) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, ...) (*ListVSphereNetworksNoCredentialsOK, error)
- func (a *Client) ListVSphereNetworksNoCredentialsV2(params *ListVSphereNetworksNoCredentialsV2Params, ...) (*ListVSphereNetworksNoCredentialsV2OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type ListVSphereDatastoresDefault
- type ListVSphereDatastoresOK
- type ListVSphereDatastoresParams
- func NewListVSphereDatastoresParams() *ListVSphereDatastoresParams
- func NewListVSphereDatastoresParamsWithContext(ctx context.Context) *ListVSphereDatastoresParams
- func NewListVSphereDatastoresParamsWithHTTPClient(client *http.Client) *ListVSphereDatastoresParams
- func NewListVSphereDatastoresParamsWithTimeout(timeout time.Duration) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) SetContext(ctx context.Context)
- func (o *ListVSphereDatastoresParams) SetCredential(credential *string)
- func (o *ListVSphereDatastoresParams) SetDatacenterName(datacenterName *string)
- func (o *ListVSphereDatastoresParams) SetDefaults()
- func (o *ListVSphereDatastoresParams) SetHTTPClient(client *http.Client)
- func (o *ListVSphereDatastoresParams) SetPassword(password *string)
- func (o *ListVSphereDatastoresParams) SetTimeout(timeout time.Duration)
- func (o *ListVSphereDatastoresParams) SetUsername(username *string)
- func (o *ListVSphereDatastoresParams) WithContext(ctx context.Context) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithCredential(credential *string) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithDatacenterName(datacenterName *string) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithDefaults() *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithHTTPClient(client *http.Client) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithPassword(password *string) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithTimeout(timeout time.Duration) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WithUsername(username *string) *ListVSphereDatastoresParams
- func (o *ListVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereDatastoresReader
- type ListVSphereFoldersDefault
- type ListVSphereFoldersNoCredentialsDefault
- type ListVSphereFoldersNoCredentialsOK
- type ListVSphereFoldersNoCredentialsParams
- func NewListVSphereFoldersNoCredentialsParams() *ListVSphereFoldersNoCredentialsParams
- func NewListVSphereFoldersNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams
- func NewListVSphereFoldersNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsParams
- func NewListVSphereFoldersNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListVSphereFoldersNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListVSphereFoldersNoCredentialsParams) SetDC(dc string)
- func (o *ListVSphereFoldersNoCredentialsParams) SetDefaults()
- func (o *ListVSphereFoldersNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListVSphereFoldersNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListVSphereFoldersNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListVSphereFoldersNoCredentialsParams) WithClusterID(clusterID string) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithDC(dc string) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithDefaults() *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithProjectID(projectID string) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsParams
- func (o *ListVSphereFoldersNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereFoldersNoCredentialsReader
- type ListVSphereFoldersNoCredentialsV2Default
- type ListVSphereFoldersNoCredentialsV2OK
- type ListVSphereFoldersNoCredentialsV2Params
- func NewListVSphereFoldersNoCredentialsV2Params() *ListVSphereFoldersNoCredentialsV2Params
- func NewListVSphereFoldersNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params
- func NewListVSphereFoldersNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsV2Params
- func NewListVSphereFoldersNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetDefaults()
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListVSphereFoldersNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithClusterID(clusterID string) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithDefaults() *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithProjectID(projectID string) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsV2Params
- func (o *ListVSphereFoldersNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereFoldersNoCredentialsV2Reader
- type ListVSphereFoldersOK
- type ListVSphereFoldersParams
- func NewListVSphereFoldersParams() *ListVSphereFoldersParams
- func NewListVSphereFoldersParamsWithContext(ctx context.Context) *ListVSphereFoldersParams
- func NewListVSphereFoldersParamsWithHTTPClient(client *http.Client) *ListVSphereFoldersParams
- func NewListVSphereFoldersParamsWithTimeout(timeout time.Duration) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) SetContext(ctx context.Context)
- func (o *ListVSphereFoldersParams) SetCredential(credential *string)
- func (o *ListVSphereFoldersParams) SetDatacenterName(datacenterName *string)
- func (o *ListVSphereFoldersParams) SetDefaults()
- func (o *ListVSphereFoldersParams) SetHTTPClient(client *http.Client)
- func (o *ListVSphereFoldersParams) SetPassword(password *string)
- func (o *ListVSphereFoldersParams) SetTimeout(timeout time.Duration)
- func (o *ListVSphereFoldersParams) SetUsername(username *string)
- func (o *ListVSphereFoldersParams) WithContext(ctx context.Context) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithCredential(credential *string) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithDatacenterName(datacenterName *string) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithDefaults() *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithHTTPClient(client *http.Client) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithPassword(password *string) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithTimeout(timeout time.Duration) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WithUsername(username *string) *ListVSphereFoldersParams
- func (o *ListVSphereFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereFoldersReader
- type ListVSphereNetworksDefault
- type ListVSphereNetworksNoCredentialsDefault
- type ListVSphereNetworksNoCredentialsOK
- type ListVSphereNetworksNoCredentialsParams
- func NewListVSphereNetworksNoCredentialsParams() *ListVSphereNetworksNoCredentialsParams
- func NewListVSphereNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams
- func NewListVSphereNetworksNoCredentialsParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsParams
- func NewListVSphereNetworksNoCredentialsParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) SetClusterID(clusterID string)
- func (o *ListVSphereNetworksNoCredentialsParams) SetContext(ctx context.Context)
- func (o *ListVSphereNetworksNoCredentialsParams) SetDC(dc string)
- func (o *ListVSphereNetworksNoCredentialsParams) SetDefaults()
- func (o *ListVSphereNetworksNoCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *ListVSphereNetworksNoCredentialsParams) SetProjectID(projectID string)
- func (o *ListVSphereNetworksNoCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *ListVSphereNetworksNoCredentialsParams) WithClusterID(clusterID string) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithDC(dc string) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithDefaults() *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithProjectID(projectID string) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsParams
- func (o *ListVSphereNetworksNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereNetworksNoCredentialsReader
- type ListVSphereNetworksNoCredentialsV2Default
- type ListVSphereNetworksNoCredentialsV2OK
- type ListVSphereNetworksNoCredentialsV2Params
- func NewListVSphereNetworksNoCredentialsV2Params() *ListVSphereNetworksNoCredentialsV2Params
- func NewListVSphereNetworksNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params
- func NewListVSphereNetworksNoCredentialsV2ParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsV2Params
- func NewListVSphereNetworksNoCredentialsV2ParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetClusterID(clusterID string)
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetContext(ctx context.Context)
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetDefaults()
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetHTTPClient(client *http.Client)
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetProjectID(projectID string)
- func (o *ListVSphereNetworksNoCredentialsV2Params) SetTimeout(timeout time.Duration)
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithClusterID(clusterID string) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithDefaults() *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithProjectID(projectID string) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsV2Params
- func (o *ListVSphereNetworksNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereNetworksNoCredentialsV2Reader
- type ListVSphereNetworksOK
- type ListVSphereNetworksParams
- func NewListVSphereNetworksParams() *ListVSphereNetworksParams
- func NewListVSphereNetworksParamsWithContext(ctx context.Context) *ListVSphereNetworksParams
- func NewListVSphereNetworksParamsWithHTTPClient(client *http.Client) *ListVSphereNetworksParams
- func NewListVSphereNetworksParamsWithTimeout(timeout time.Duration) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) SetContext(ctx context.Context)
- func (o *ListVSphereNetworksParams) SetCredential(credential *string)
- func (o *ListVSphereNetworksParams) SetDatacenterName(datacenterName *string)
- func (o *ListVSphereNetworksParams) SetDefaults()
- func (o *ListVSphereNetworksParams) SetHTTPClient(client *http.Client)
- func (o *ListVSphereNetworksParams) SetPassword(password *string)
- func (o *ListVSphereNetworksParams) SetTimeout(timeout time.Duration)
- func (o *ListVSphereNetworksParams) SetUsername(username *string)
- func (o *ListVSphereNetworksParams) WithContext(ctx context.Context) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithCredential(credential *string) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithDatacenterName(datacenterName *string) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithDefaults() *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithHTTPClient(client *http.Client) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithPassword(password *string) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithTimeout(timeout time.Duration) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WithUsername(username *string) *ListVSphereNetworksParams
- func (o *ListVSphereNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListVSphereNetworksReader
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, opts ...ClientOption) (*ListVSphereDatastoresOK, error)
ListVSphereDatastores Lists datastores from vsphere datacenter
func (*Client) ListVSphereFolders ¶
func (a *Client) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersOK, error)
ListVSphereFolders Lists folders from vsphere datacenter
func (*Client) ListVSphereFoldersNoCredentials ¶
func (a *Client) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsOK, error)
ListVSphereFoldersNoCredentials Lists folders from vsphere datacenter
func (*Client) ListVSphereFoldersNoCredentialsV2 ¶
func (a *Client) ListVSphereFoldersNoCredentialsV2(params *ListVSphereFoldersNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsV2OK, error)
ListVSphereFoldersNoCredentialsV2 Lists folders from vsphere datacenter
func (*Client) ListVSphereNetworks ¶
func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksOK, error)
ListVSphereNetworks Lists networks from vsphere datacenter
func (*Client) ListVSphereNetworksNoCredentials ¶
func (a *Client) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsOK, error)
ListVSphereNetworksNoCredentials Lists networks from vsphere datacenter
func (*Client) ListVSphereNetworksNoCredentialsV2 ¶
func (a *Client) ListVSphereNetworksNoCredentialsV2(params *ListVSphereNetworksNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsV2OK, error)
ListVSphereNetworksNoCredentialsV2 Lists networks from vsphere datacenter
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v2.18.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { ListVSphereDatastores(params *ListVSphereDatastoresParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereDatastoresOK, error) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersOK, error) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsOK, error) ListVSphereFoldersNoCredentialsV2(params *ListVSphereFoldersNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereFoldersNoCredentialsV2OK, error) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksOK, error) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsOK, error) ListVSphereNetworksNoCredentialsV2(params *ListVSphereNetworksNoCredentialsV2Params, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListVSphereNetworksNoCredentialsV2OK, 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 vsphere API client.
type ListVSphereDatastoresDefault ¶ added in v2.17.0
type ListVSphereDatastoresDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListVSphereDatastoresDefault describes a response with status code -1, 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
func (o *ListVSphereDatastoresDefault) Code() int
Code gets the status code for the list v sphere datastores default response
func (*ListVSphereDatastoresDefault) Error ¶ added in v2.17.0
func (o *ListVSphereDatastoresDefault) Error() string
func (*ListVSphereDatastoresDefault) GetPayload ¶ added in v2.17.0
func (o *ListVSphereDatastoresDefault) GetPayload() *models.ErrorResponse
type ListVSphereDatastoresOK ¶ added in v2.17.0
type ListVSphereDatastoresOK struct {
Payload []*models.VSphereDatastoreList
}
ListVSphereDatastoresOK describes a response with status code 200, 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
func (o *ListVSphereDatastoresOK) GetPayload() []*models.VSphereDatastoreList
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 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 NewListVSphereDatastoresParamsWithContext ¶ added in v2.17.0
func NewListVSphereDatastoresParamsWithContext(ctx context.Context) *ListVSphereDatastoresParams
NewListVSphereDatastoresParamsWithContext creates a new ListVSphereDatastoresParams object with 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 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 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) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereDatastoresParams) SetDefaults()
SetDefaults hydrates default values in the list v sphere datastores params (not the query body).
All values with no default are reset to their zero value.
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
func (o *ListVSphereDatastoresParams) WithContext(ctx context.Context) *ListVSphereDatastoresParams
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) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereDatastoresParams) WithDefaults() *ListVSphereDatastoresParams
WithDefaults hydrates default values in the list v sphere datastores params (not the query body).
All values with no default are reset to their zero value.
func (*ListVSphereDatastoresParams) WithHTTPClient ¶ added in v2.17.0
func (o *ListVSphereDatastoresParams) WithHTTPClient(client *http.Client) *ListVSphereDatastoresParams
WithHTTPClient adds the HTTPClient to the list v sphere datastores params
func (*ListVSphereDatastoresParams) WithPassword ¶ added in v2.17.0
func (o *ListVSphereDatastoresParams) WithPassword(password *string) *ListVSphereDatastoresParams
WithPassword adds the password to the list v sphere datastores params
func (*ListVSphereDatastoresParams) WithTimeout ¶ added in v2.17.0
func (o *ListVSphereDatastoresParams) WithTimeout(timeout time.Duration) *ListVSphereDatastoresParams
WithTimeout adds the timeout to the list v sphere datastores params
func (*ListVSphereDatastoresParams) WithUsername ¶ added in v2.17.0
func (o *ListVSphereDatastoresParams) WithUsername(username *string) *ListVSphereDatastoresParams
WithUsername adds the username to the list v sphere datastores params
func (*ListVSphereDatastoresParams) WriteToRequest ¶ added in v2.17.0
func (o *ListVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, 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 ¶
func (o *ListVSphereFoldersDefault) GetPayload() *models.ErrorResponse
type ListVSphereFoldersNoCredentialsDefault ¶
type ListVSphereFoldersNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListVSphereFoldersNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListVSphereFoldersNoCredentialsDefault ¶
func NewListVSphereFoldersNoCredentialsDefault(code int) *ListVSphereFoldersNoCredentialsDefault
NewListVSphereFoldersNoCredentialsDefault creates a ListVSphereFoldersNoCredentialsDefault with default headers values
func (*ListVSphereFoldersNoCredentialsDefault) Code ¶
func (o *ListVSphereFoldersNoCredentialsDefault) Code() int
Code gets the status code for the list v sphere folders no credentials default response
func (*ListVSphereFoldersNoCredentialsDefault) Error ¶
func (o *ListVSphereFoldersNoCredentialsDefault) Error() string
func (*ListVSphereFoldersNoCredentialsDefault) GetPayload ¶
func (o *ListVSphereFoldersNoCredentialsDefault) GetPayload() *models.ErrorResponse
type ListVSphereFoldersNoCredentialsOK ¶
type ListVSphereFoldersNoCredentialsOK struct {
Payload []*models.VSphereFolder
}
ListVSphereFoldersNoCredentialsOK describes a response with status code 200, with default header values.
VSphereFolder
func NewListVSphereFoldersNoCredentialsOK ¶
func NewListVSphereFoldersNoCredentialsOK() *ListVSphereFoldersNoCredentialsOK
NewListVSphereFoldersNoCredentialsOK creates a ListVSphereFoldersNoCredentialsOK with default headers values
func (*ListVSphereFoldersNoCredentialsOK) Error ¶
func (o *ListVSphereFoldersNoCredentialsOK) Error() string
func (*ListVSphereFoldersNoCredentialsOK) GetPayload ¶
func (o *ListVSphereFoldersNoCredentialsOK) GetPayload() []*models.VSphereFolder
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 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 NewListVSphereFoldersNoCredentialsParamsWithContext ¶
func NewListVSphereFoldersNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams
NewListVSphereFoldersNoCredentialsParamsWithContext creates a new ListVSphereFoldersNoCredentialsParams object with 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 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 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 ¶
func (o *ListVSphereFoldersNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) SetDC ¶
func (o *ListVSphereFoldersNoCredentialsParams) SetDC(dc string)
SetDC adds the dc to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list v sphere folders no credentials params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithClusterID(clusterID string) *ListVSphereFoldersNoCredentialsParams
WithClusterID adds the clusterID to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WithContext ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsParams
WithContext adds the context to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WithDC ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithDC(dc string) *ListVSphereFoldersNoCredentialsParams
WithDC adds the dc to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersNoCredentialsParams) WithDefaults() *ListVSphereFoldersNoCredentialsParams
WithDefaults hydrates default values in the list v sphere folders no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListVSphereFoldersNoCredentialsParams) WithHTTPClient ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WithProjectID ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithProjectID(projectID string) *ListVSphereFoldersNoCredentialsParams
WithProjectID adds the projectID to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WithTimeout ¶
func (o *ListVSphereFoldersNoCredentialsParams) WithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsParams
WithTimeout adds the timeout to the list v sphere folders no credentials params
func (*ListVSphereFoldersNoCredentialsParams) WriteToRequest ¶
func (o *ListVSphereFoldersNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, with default header values.
errorResponse
func NewListVSphereFoldersNoCredentialsV2Default ¶
func NewListVSphereFoldersNoCredentialsV2Default(code int) *ListVSphereFoldersNoCredentialsV2Default
NewListVSphereFoldersNoCredentialsV2Default creates a ListVSphereFoldersNoCredentialsV2Default with default headers values
func (*ListVSphereFoldersNoCredentialsV2Default) Code ¶
func (o *ListVSphereFoldersNoCredentialsV2Default) Code() int
Code gets the status code for the list v sphere folders no credentials v2 default response
func (*ListVSphereFoldersNoCredentialsV2Default) Error ¶
func (o *ListVSphereFoldersNoCredentialsV2Default) Error() string
func (*ListVSphereFoldersNoCredentialsV2Default) GetPayload ¶
func (o *ListVSphereFoldersNoCredentialsV2Default) GetPayload() *models.ErrorResponse
type ListVSphereFoldersNoCredentialsV2OK ¶
type ListVSphereFoldersNoCredentialsV2OK struct {
Payload []*models.VSphereFolder
}
ListVSphereFoldersNoCredentialsV2OK describes a response with status code 200, with default header values.
VSphereFolder
func NewListVSphereFoldersNoCredentialsV2OK ¶
func NewListVSphereFoldersNoCredentialsV2OK() *ListVSphereFoldersNoCredentialsV2OK
NewListVSphereFoldersNoCredentialsV2OK creates a ListVSphereFoldersNoCredentialsV2OK with default headers values
func (*ListVSphereFoldersNoCredentialsV2OK) Error ¶
func (o *ListVSphereFoldersNoCredentialsV2OK) Error() string
func (*ListVSphereFoldersNoCredentialsV2OK) GetPayload ¶
func (o *ListVSphereFoldersNoCredentialsV2OK) GetPayload() []*models.VSphereFolder
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 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 NewListVSphereFoldersNoCredentialsV2ParamsWithContext ¶
func NewListVSphereFoldersNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params
NewListVSphereFoldersNoCredentialsV2ParamsWithContext creates a new ListVSphereFoldersNoCredentialsV2Params object with 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 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 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 ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersNoCredentialsV2Params) SetDefaults()
SetDefaults hydrates default values in the list v sphere folders no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WithClusterID(clusterID string) *ListVSphereFoldersNoCredentialsV2Params
WithClusterID adds the clusterID to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) WithContext ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WithContext(ctx context.Context) *ListVSphereFoldersNoCredentialsV2Params
WithContext adds the context to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersNoCredentialsV2Params) WithDefaults() *ListVSphereFoldersNoCredentialsV2Params
WithDefaults hydrates default values in the list v sphere folders no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListVSphereFoldersNoCredentialsV2Params) WithHTTPClient ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListVSphereFoldersNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) WithProjectID ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WithProjectID(projectID string) *ListVSphereFoldersNoCredentialsV2Params
WithProjectID adds the projectID to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) WithTimeout ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListVSphereFoldersNoCredentialsV2Params
WithTimeout adds the timeout to the list v sphere folders no credentials v2 params
func (*ListVSphereFoldersNoCredentialsV2Params) WriteToRequest ¶
func (o *ListVSphereFoldersNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code 200, 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 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 NewListVSphereFoldersParamsWithContext ¶
func NewListVSphereFoldersParamsWithContext(ctx context.Context) *ListVSphereFoldersParams
NewListVSphereFoldersParamsWithContext creates a new ListVSphereFoldersParams object with 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 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 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) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersParams) SetDefaults()
SetDefaults hydrates default values in the list v sphere folders params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereFoldersParams) WithContext(ctx context.Context) *ListVSphereFoldersParams
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) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereFoldersParams) WithDefaults() *ListVSphereFoldersParams
WithDefaults hydrates default values in the list v sphere folders params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereFoldersParams) WithTimeout(timeout time.Duration) *ListVSphereFoldersParams
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 ¶
func (o *ListVSphereFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, 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 (o *ListVSphereNetworksDefault) Error() string
func (*ListVSphereNetworksDefault) GetPayload ¶
func (o *ListVSphereNetworksDefault) GetPayload() *models.ErrorResponse
type ListVSphereNetworksNoCredentialsDefault ¶
type ListVSphereNetworksNoCredentialsDefault struct { Payload *models.ErrorResponse // contains filtered or unexported fields }
ListVSphereNetworksNoCredentialsDefault describes a response with status code -1, with default header values.
errorResponse
func NewListVSphereNetworksNoCredentialsDefault ¶
func NewListVSphereNetworksNoCredentialsDefault(code int) *ListVSphereNetworksNoCredentialsDefault
NewListVSphereNetworksNoCredentialsDefault creates a ListVSphereNetworksNoCredentialsDefault with default headers values
func (*ListVSphereNetworksNoCredentialsDefault) Code ¶
func (o *ListVSphereNetworksNoCredentialsDefault) Code() int
Code gets the status code for the list v sphere networks no credentials default response
func (*ListVSphereNetworksNoCredentialsDefault) Error ¶
func (o *ListVSphereNetworksNoCredentialsDefault) Error() string
func (*ListVSphereNetworksNoCredentialsDefault) GetPayload ¶
func (o *ListVSphereNetworksNoCredentialsDefault) GetPayload() *models.ErrorResponse
type ListVSphereNetworksNoCredentialsOK ¶
type ListVSphereNetworksNoCredentialsOK struct {
Payload []*models.VSphereNetwork
}
ListVSphereNetworksNoCredentialsOK describes a response with status code 200, with default header values.
VSphereNetwork
func NewListVSphereNetworksNoCredentialsOK ¶
func NewListVSphereNetworksNoCredentialsOK() *ListVSphereNetworksNoCredentialsOK
NewListVSphereNetworksNoCredentialsOK creates a ListVSphereNetworksNoCredentialsOK with default headers values
func (*ListVSphereNetworksNoCredentialsOK) Error ¶
func (o *ListVSphereNetworksNoCredentialsOK) Error() string
func (*ListVSphereNetworksNoCredentialsOK) GetPayload ¶
func (o *ListVSphereNetworksNoCredentialsOK) GetPayload() []*models.VSphereNetwork
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 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 NewListVSphereNetworksNoCredentialsParamsWithContext ¶
func NewListVSphereNetworksNoCredentialsParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams
NewListVSphereNetworksNoCredentialsParamsWithContext creates a new ListVSphereNetworksNoCredentialsParams object with 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 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 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 ¶
func (o *ListVSphereNetworksNoCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) SetDC ¶
func (o *ListVSphereNetworksNoCredentialsParams) SetDC(dc string)
SetDC adds the dc to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksNoCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the list v sphere networks no credentials params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithClusterID(clusterID string) *ListVSphereNetworksNoCredentialsParams
WithClusterID adds the clusterID to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WithContext ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsParams
WithContext adds the context to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WithDC ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithDC(dc string) *ListVSphereNetworksNoCredentialsParams
WithDC adds the dc to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksNoCredentialsParams) WithDefaults() *ListVSphereNetworksNoCredentialsParams
WithDefaults hydrates default values in the list v sphere networks no credentials params (not the query body).
All values with no default are reset to their zero value.
func (*ListVSphereNetworksNoCredentialsParams) WithHTTPClient ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsParams
WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WithProjectID ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithProjectID(projectID string) *ListVSphereNetworksNoCredentialsParams
WithProjectID adds the projectID to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WithTimeout ¶
func (o *ListVSphereNetworksNoCredentialsParams) WithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsParams
WithTimeout adds the timeout to the list v sphere networks no credentials params
func (*ListVSphereNetworksNoCredentialsParams) WriteToRequest ¶
func (o *ListVSphereNetworksNoCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code -1, with default header values.
errorResponse
func NewListVSphereNetworksNoCredentialsV2Default ¶
func NewListVSphereNetworksNoCredentialsV2Default(code int) *ListVSphereNetworksNoCredentialsV2Default
NewListVSphereNetworksNoCredentialsV2Default creates a ListVSphereNetworksNoCredentialsV2Default with default headers values
func (*ListVSphereNetworksNoCredentialsV2Default) Code ¶
func (o *ListVSphereNetworksNoCredentialsV2Default) Code() int
Code gets the status code for the list v sphere networks no credentials v2 default response
func (*ListVSphereNetworksNoCredentialsV2Default) Error ¶
func (o *ListVSphereNetworksNoCredentialsV2Default) Error() string
func (*ListVSphereNetworksNoCredentialsV2Default) GetPayload ¶
func (o *ListVSphereNetworksNoCredentialsV2Default) GetPayload() *models.ErrorResponse
type ListVSphereNetworksNoCredentialsV2OK ¶
type ListVSphereNetworksNoCredentialsV2OK struct {
Payload []*models.VSphereNetwork
}
ListVSphereNetworksNoCredentialsV2OK describes a response with status code 200, with default header values.
VSphereNetwork
func NewListVSphereNetworksNoCredentialsV2OK ¶
func NewListVSphereNetworksNoCredentialsV2OK() *ListVSphereNetworksNoCredentialsV2OK
NewListVSphereNetworksNoCredentialsV2OK creates a ListVSphereNetworksNoCredentialsV2OK with default headers values
func (*ListVSphereNetworksNoCredentialsV2OK) Error ¶
func (o *ListVSphereNetworksNoCredentialsV2OK) Error() string
func (*ListVSphereNetworksNoCredentialsV2OK) GetPayload ¶
func (o *ListVSphereNetworksNoCredentialsV2OK) GetPayload() []*models.VSphereNetwork
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 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 NewListVSphereNetworksNoCredentialsV2ParamsWithContext ¶
func NewListVSphereNetworksNoCredentialsV2ParamsWithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params
NewListVSphereNetworksNoCredentialsV2ParamsWithContext creates a new ListVSphereNetworksNoCredentialsV2Params object with 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 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 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 ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) SetContext(ctx context.Context)
SetContext adds the context to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksNoCredentialsV2Params) SetDefaults()
SetDefaults hydrates default values in the list v sphere networks no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WithClusterID ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WithClusterID(clusterID string) *ListVSphereNetworksNoCredentialsV2Params
WithClusterID adds the clusterID to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WithContext ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WithContext(ctx context.Context) *ListVSphereNetworksNoCredentialsV2Params
WithContext adds the context to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksNoCredentialsV2Params) WithDefaults() *ListVSphereNetworksNoCredentialsV2Params
WithDefaults hydrates default values in the list v sphere networks no credentials v2 params (not the query body).
All values with no default are reset to their zero value.
func (*ListVSphereNetworksNoCredentialsV2Params) WithHTTPClient ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WithHTTPClient(client *http.Client) *ListVSphereNetworksNoCredentialsV2Params
WithHTTPClient adds the HTTPClient to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WithProjectID ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WithProjectID(projectID string) *ListVSphereNetworksNoCredentialsV2Params
WithProjectID adds the projectID to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WithTimeout ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WithTimeout(timeout time.Duration) *ListVSphereNetworksNoCredentialsV2Params
WithTimeout adds the timeout to the list v sphere networks no credentials v2 params
func (*ListVSphereNetworksNoCredentialsV2Params) WriteToRequest ¶
func (o *ListVSphereNetworksNoCredentialsV2Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 describes a response with status code 200, 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 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 NewListVSphereNetworksParamsWithContext ¶
func NewListVSphereNetworksParamsWithContext(ctx context.Context) *ListVSphereNetworksParams
NewListVSphereNetworksParamsWithContext creates a new ListVSphereNetworksParams object with 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 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 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) SetDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksParams) SetDefaults()
SetDefaults hydrates default values in the list v sphere networks params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereNetworksParams) WithContext(ctx context.Context) *ListVSphereNetworksParams
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) WithDefaults ¶ added in v2.18.0
func (o *ListVSphereNetworksParams) WithDefaults() *ListVSphereNetworksParams
WithDefaults hydrates default values in the list v sphere networks params (not the query body).
All values with no default are reset to their zero value.
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 ¶
func (o *ListVSphereNetworksParams) WithTimeout(timeout time.Duration) *ListVSphereNetworksParams
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 ¶
func (o *ListVSphereNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- list_v_sphere_datastores_parameters.go
- list_v_sphere_datastores_responses.go
- list_v_sphere_folders_no_credentials_parameters.go
- list_v_sphere_folders_no_credentials_responses.go
- list_v_sphere_folders_no_credentials_v2_parameters.go
- list_v_sphere_folders_no_credentials_v2_responses.go
- list_v_sphere_folders_parameters.go
- list_v_sphere_folders_responses.go
- list_v_sphere_networks_no_credentials_parameters.go
- list_v_sphere_networks_no_credentials_responses.go
- list_v_sphere_networks_no_credentials_v2_parameters.go
- list_v_sphere_networks_no_credentials_v2_responses.go
- list_v_sphere_networks_parameters.go
- list_v_sphere_networks_responses.go
- vsphere_client.go