Documentation ¶
Index ¶
- type Client
- func (a *Client) ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersOK, error)
- func (a *Client) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, ...) (*ListVSphereFoldersNoCredentialsOK, error)
- func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksOK, error)
- func (a *Client) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, ...) (*ListVSphereNetworksNoCredentialsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- 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) 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) 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 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) 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) 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) 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) 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 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) 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) 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) 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) ListVSphereNetworks ¶
func (a *Client) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksOK, error)
ListVSphereNetworks Lists networks from vsphere datacenter
func (*Client) ListVSphereNetworksNoCredentials ¶
func (a *Client) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksNoCredentialsOK, error)
ListVSphereNetworksNoCredentials Lists networks from vsphere datacenter
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { ListVSphereFolders(params *ListVSphereFoldersParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersOK, error) ListVSphereFoldersNoCredentials(params *ListVSphereFoldersNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereFoldersNoCredentialsOK, error) ListVSphereNetworks(params *ListVSphereNetworksParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksOK, error) ListVSphereNetworksNoCredentials(params *ListVSphereNetworksNoCredentialsParams, authInfo runtime.ClientAuthInfoWriter) (*ListVSphereNetworksNoCredentialsOK, 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 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 ¶
func (o *ListVSphereFoldersDefault) GetPayload() *models.ErrorResponse
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 ¶
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 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 (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 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 ¶
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) 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) 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 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 ¶
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) 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 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 (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 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 ¶
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 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 (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 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 ¶
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) 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) 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 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 ¶
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) 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_folders_no_credentials_parameters.go
- list_v_sphere_folders_no_credentials_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_parameters.go
- list_v_sphere_networks_responses.go
- vsphere_client.go