Documentation ¶
Index ¶
- type ApplyTKGConfigForVsphereBadRequest
- type ApplyTKGConfigForVsphereInternalServerError
- type ApplyTKGConfigForVsphereOK
- type ApplyTKGConfigForVsphereParams
- func NewApplyTKGConfigForVsphereParams() *ApplyTKGConfigForVsphereParams
- func NewApplyTKGConfigForVsphereParamsWithContext(ctx context.Context) *ApplyTKGConfigForVsphereParams
- func NewApplyTKGConfigForVsphereParamsWithHTTPClient(client *http.Client) *ApplyTKGConfigForVsphereParams
- func NewApplyTKGConfigForVsphereParamsWithTimeout(timeout time.Duration) *ApplyTKGConfigForVsphereParams
- func (o *ApplyTKGConfigForVsphereParams) SetContext(ctx context.Context)
- func (o *ApplyTKGConfigForVsphereParams) SetHTTPClient(client *http.Client)
- func (o *ApplyTKGConfigForVsphereParams) SetParams(params *models.VsphereRegionalClusterParams)
- func (o *ApplyTKGConfigForVsphereParams) SetTimeout(timeout time.Duration)
- func (o *ApplyTKGConfigForVsphereParams) WithContext(ctx context.Context) *ApplyTKGConfigForVsphereParams
- func (o *ApplyTKGConfigForVsphereParams) WithHTTPClient(client *http.Client) *ApplyTKGConfigForVsphereParams
- func (o *ApplyTKGConfigForVsphereParams) WithParams(params *models.VsphereRegionalClusterParams) *ApplyTKGConfigForVsphereParams
- func (o *ApplyTKGConfigForVsphereParams) WithTimeout(timeout time.Duration) *ApplyTKGConfigForVsphereParams
- func (o *ApplyTKGConfigForVsphereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ApplyTKGConfigForVsphereReader
- type ApplyTKGConfigForVsphereUnauthorized
- type Client
- func (a *Client) ApplyTKGConfigForVsphere(params *ApplyTKGConfigForVsphereParams) (*ApplyTKGConfigForVsphereOK, error)
- func (a *Client) CreateVSphereRegionalCluster(params *CreateVSphereRegionalClusterParams) (*CreateVSphereRegionalClusterOK, error)
- func (a *Client) ExportTKGConfigForVsphere(params *ExportTKGConfigForVsphereParams) (*ExportTKGConfigForVsphereOK, error)
- func (a *Client) GetVSphereComputeResources(params *GetVSphereComputeResourcesParams) (*GetVSphereComputeResourcesOK, error)
- func (a *Client) GetVSphereDatacenters(params *GetVSphereDatacentersParams) (*GetVSphereDatacentersOK, error)
- func (a *Client) GetVSphereDatastores(params *GetVSphereDatastoresParams) (*GetVSphereDatastoresOK, error)
- func (a *Client) GetVSphereFolders(params *GetVSphereFoldersParams) (*GetVSphereFoldersOK, error)
- func (a *Client) GetVSphereNetworks(params *GetVSphereNetworksParams) (*GetVSphereNetworksOK, error)
- func (a *Client) GetVSphereNodeTypes(params *GetVSphereNodeTypesParams) (*GetVSphereNodeTypesOK, error)
- func (a *Client) GetVSphereOSImages(params *GetVSphereOSImagesParams) (*GetVSphereOSImagesOK, error)
- func (a *Client) GetVSphereResourcePools(params *GetVSphereResourcePoolsParams) (*GetVSphereResourcePoolsOK, error)
- func (a *Client) GetVsphereThumbprint(params *GetVsphereThumbprintParams) (*GetVsphereThumbprintOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SetVSphereEndpoint(params *SetVSphereEndpointParams) (*SetVSphereEndpointCreated, error)
- type CreateVSphereRegionalClusterBadRequest
- type CreateVSphereRegionalClusterInternalServerError
- type CreateVSphereRegionalClusterOK
- type CreateVSphereRegionalClusterParams
- func NewCreateVSphereRegionalClusterParams() *CreateVSphereRegionalClusterParams
- func NewCreateVSphereRegionalClusterParamsWithContext(ctx context.Context) *CreateVSphereRegionalClusterParams
- func NewCreateVSphereRegionalClusterParamsWithHTTPClient(client *http.Client) *CreateVSphereRegionalClusterParams
- func NewCreateVSphereRegionalClusterParamsWithTimeout(timeout time.Duration) *CreateVSphereRegionalClusterParams
- func (o *CreateVSphereRegionalClusterParams) SetContext(ctx context.Context)
- func (o *CreateVSphereRegionalClusterParams) SetHTTPClient(client *http.Client)
- func (o *CreateVSphereRegionalClusterParams) SetParams(params *models.VsphereRegionalClusterParams)
- func (o *CreateVSphereRegionalClusterParams) SetTimeout(timeout time.Duration)
- func (o *CreateVSphereRegionalClusterParams) WithContext(ctx context.Context) *CreateVSphereRegionalClusterParams
- func (o *CreateVSphereRegionalClusterParams) WithHTTPClient(client *http.Client) *CreateVSphereRegionalClusterParams
- func (o *CreateVSphereRegionalClusterParams) WithParams(params *models.VsphereRegionalClusterParams) *CreateVSphereRegionalClusterParams
- func (o *CreateVSphereRegionalClusterParams) WithTimeout(timeout time.Duration) *CreateVSphereRegionalClusterParams
- func (o *CreateVSphereRegionalClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateVSphereRegionalClusterReader
- type CreateVSphereRegionalClusterUnauthorized
- type ExportTKGConfigForVsphereBadRequest
- type ExportTKGConfigForVsphereInternalServerError
- type ExportTKGConfigForVsphereOK
- type ExportTKGConfigForVsphereParams
- func NewExportTKGConfigForVsphereParams() *ExportTKGConfigForVsphereParams
- func NewExportTKGConfigForVsphereParamsWithContext(ctx context.Context) *ExportTKGConfigForVsphereParams
- func NewExportTKGConfigForVsphereParamsWithHTTPClient(client *http.Client) *ExportTKGConfigForVsphereParams
- func NewExportTKGConfigForVsphereParamsWithTimeout(timeout time.Duration) *ExportTKGConfigForVsphereParams
- func (o *ExportTKGConfigForVsphereParams) SetContext(ctx context.Context)
- func (o *ExportTKGConfigForVsphereParams) SetHTTPClient(client *http.Client)
- func (o *ExportTKGConfigForVsphereParams) SetParams(params *models.VsphereRegionalClusterParams)
- func (o *ExportTKGConfigForVsphereParams) SetTimeout(timeout time.Duration)
- func (o *ExportTKGConfigForVsphereParams) WithContext(ctx context.Context) *ExportTKGConfigForVsphereParams
- func (o *ExportTKGConfigForVsphereParams) WithHTTPClient(client *http.Client) *ExportTKGConfigForVsphereParams
- func (o *ExportTKGConfigForVsphereParams) WithParams(params *models.VsphereRegionalClusterParams) *ExportTKGConfigForVsphereParams
- func (o *ExportTKGConfigForVsphereParams) WithTimeout(timeout time.Duration) *ExportTKGConfigForVsphereParams
- func (o *ExportTKGConfigForVsphereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportTKGConfigForVsphereReader
- type ExportTKGConfigForVsphereUnauthorized
- type GetVSphereComputeResourcesBadRequest
- type GetVSphereComputeResourcesInternalServerError
- type GetVSphereComputeResourcesOK
- type GetVSphereComputeResourcesParams
- func NewGetVSphereComputeResourcesParams() *GetVSphereComputeResourcesParams
- func NewGetVSphereComputeResourcesParamsWithContext(ctx context.Context) *GetVSphereComputeResourcesParams
- func NewGetVSphereComputeResourcesParamsWithHTTPClient(client *http.Client) *GetVSphereComputeResourcesParams
- func NewGetVSphereComputeResourcesParamsWithTimeout(timeout time.Duration) *GetVSphereComputeResourcesParams
- func (o *GetVSphereComputeResourcesParams) SetContext(ctx context.Context)
- func (o *GetVSphereComputeResourcesParams) SetDc(dc string)
- func (o *GetVSphereComputeResourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereComputeResourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereComputeResourcesParams) WithContext(ctx context.Context) *GetVSphereComputeResourcesParams
- func (o *GetVSphereComputeResourcesParams) WithDc(dc string) *GetVSphereComputeResourcesParams
- func (o *GetVSphereComputeResourcesParams) WithHTTPClient(client *http.Client) *GetVSphereComputeResourcesParams
- func (o *GetVSphereComputeResourcesParams) WithTimeout(timeout time.Duration) *GetVSphereComputeResourcesParams
- func (o *GetVSphereComputeResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereComputeResourcesReader
- type GetVSphereComputeResourcesUnauthorized
- type GetVSphereDatacentersBadRequest
- type GetVSphereDatacentersInternalServerError
- type GetVSphereDatacentersOK
- type GetVSphereDatacentersParams
- func NewGetVSphereDatacentersParams() *GetVSphereDatacentersParams
- func NewGetVSphereDatacentersParamsWithContext(ctx context.Context) *GetVSphereDatacentersParams
- func NewGetVSphereDatacentersParamsWithHTTPClient(client *http.Client) *GetVSphereDatacentersParams
- func NewGetVSphereDatacentersParamsWithTimeout(timeout time.Duration) *GetVSphereDatacentersParams
- func (o *GetVSphereDatacentersParams) SetContext(ctx context.Context)
- func (o *GetVSphereDatacentersParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereDatacentersParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereDatacentersParams) WithContext(ctx context.Context) *GetVSphereDatacentersParams
- func (o *GetVSphereDatacentersParams) WithHTTPClient(client *http.Client) *GetVSphereDatacentersParams
- func (o *GetVSphereDatacentersParams) WithTimeout(timeout time.Duration) *GetVSphereDatacentersParams
- func (o *GetVSphereDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereDatacentersReader
- type GetVSphereDatacentersUnauthorized
- type GetVSphereDatastoresBadRequest
- type GetVSphereDatastoresInternalServerError
- type GetVSphereDatastoresOK
- type GetVSphereDatastoresParams
- func NewGetVSphereDatastoresParams() *GetVSphereDatastoresParams
- func NewGetVSphereDatastoresParamsWithContext(ctx context.Context) *GetVSphereDatastoresParams
- func NewGetVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetVSphereDatastoresParams
- func NewGetVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetVSphereDatastoresParams
- func (o *GetVSphereDatastoresParams) SetContext(ctx context.Context)
- func (o *GetVSphereDatastoresParams) SetDc(dc string)
- func (o *GetVSphereDatastoresParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereDatastoresParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereDatastoresParams) WithContext(ctx context.Context) *GetVSphereDatastoresParams
- func (o *GetVSphereDatastoresParams) WithDc(dc string) *GetVSphereDatastoresParams
- func (o *GetVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetVSphereDatastoresParams
- func (o *GetVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetVSphereDatastoresParams
- func (o *GetVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereDatastoresReader
- type GetVSphereDatastoresUnauthorized
- type GetVSphereFoldersBadRequest
- type GetVSphereFoldersInternalServerError
- type GetVSphereFoldersOK
- type GetVSphereFoldersParams
- func NewGetVSphereFoldersParams() *GetVSphereFoldersParams
- func NewGetVSphereFoldersParamsWithContext(ctx context.Context) *GetVSphereFoldersParams
- func NewGetVSphereFoldersParamsWithHTTPClient(client *http.Client) *GetVSphereFoldersParams
- func NewGetVSphereFoldersParamsWithTimeout(timeout time.Duration) *GetVSphereFoldersParams
- func (o *GetVSphereFoldersParams) SetContext(ctx context.Context)
- func (o *GetVSphereFoldersParams) SetDc(dc string)
- func (o *GetVSphereFoldersParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereFoldersParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereFoldersParams) WithContext(ctx context.Context) *GetVSphereFoldersParams
- func (o *GetVSphereFoldersParams) WithDc(dc string) *GetVSphereFoldersParams
- func (o *GetVSphereFoldersParams) WithHTTPClient(client *http.Client) *GetVSphereFoldersParams
- func (o *GetVSphereFoldersParams) WithTimeout(timeout time.Duration) *GetVSphereFoldersParams
- func (o *GetVSphereFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereFoldersReader
- type GetVSphereFoldersUnauthorized
- type GetVSphereNetworksBadRequest
- type GetVSphereNetworksInternalServerError
- type GetVSphereNetworksOK
- type GetVSphereNetworksParams
- func NewGetVSphereNetworksParams() *GetVSphereNetworksParams
- func NewGetVSphereNetworksParamsWithContext(ctx context.Context) *GetVSphereNetworksParams
- func NewGetVSphereNetworksParamsWithHTTPClient(client *http.Client) *GetVSphereNetworksParams
- func NewGetVSphereNetworksParamsWithTimeout(timeout time.Duration) *GetVSphereNetworksParams
- func (o *GetVSphereNetworksParams) SetContext(ctx context.Context)
- func (o *GetVSphereNetworksParams) SetDc(dc string)
- func (o *GetVSphereNetworksParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereNetworksParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereNetworksParams) WithContext(ctx context.Context) *GetVSphereNetworksParams
- func (o *GetVSphereNetworksParams) WithDc(dc string) *GetVSphereNetworksParams
- func (o *GetVSphereNetworksParams) WithHTTPClient(client *http.Client) *GetVSphereNetworksParams
- func (o *GetVSphereNetworksParams) WithTimeout(timeout time.Duration) *GetVSphereNetworksParams
- func (o *GetVSphereNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereNetworksReader
- type GetVSphereNetworksUnauthorized
- type GetVSphereNodeTypesBadRequest
- type GetVSphereNodeTypesInternalServerError
- type GetVSphereNodeTypesOK
- type GetVSphereNodeTypesParams
- func NewGetVSphereNodeTypesParams() *GetVSphereNodeTypesParams
- func NewGetVSphereNodeTypesParamsWithContext(ctx context.Context) *GetVSphereNodeTypesParams
- func NewGetVSphereNodeTypesParamsWithHTTPClient(client *http.Client) *GetVSphereNodeTypesParams
- func NewGetVSphereNodeTypesParamsWithTimeout(timeout time.Duration) *GetVSphereNodeTypesParams
- func (o *GetVSphereNodeTypesParams) SetContext(ctx context.Context)
- func (o *GetVSphereNodeTypesParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereNodeTypesParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereNodeTypesParams) WithContext(ctx context.Context) *GetVSphereNodeTypesParams
- func (o *GetVSphereNodeTypesParams) WithHTTPClient(client *http.Client) *GetVSphereNodeTypesParams
- func (o *GetVSphereNodeTypesParams) WithTimeout(timeout time.Duration) *GetVSphereNodeTypesParams
- func (o *GetVSphereNodeTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereNodeTypesReader
- type GetVSphereNodeTypesUnauthorized
- type GetVSphereOSImagesBadRequest
- type GetVSphereOSImagesInternalServerError
- type GetVSphereOSImagesOK
- type GetVSphereOSImagesParams
- func NewGetVSphereOSImagesParams() *GetVSphereOSImagesParams
- func NewGetVSphereOSImagesParamsWithContext(ctx context.Context) *GetVSphereOSImagesParams
- func NewGetVSphereOSImagesParamsWithHTTPClient(client *http.Client) *GetVSphereOSImagesParams
- func NewGetVSphereOSImagesParamsWithTimeout(timeout time.Duration) *GetVSphereOSImagesParams
- func (o *GetVSphereOSImagesParams) SetContext(ctx context.Context)
- func (o *GetVSphereOSImagesParams) SetDc(dc string)
- func (o *GetVSphereOSImagesParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereOSImagesParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereOSImagesParams) WithContext(ctx context.Context) *GetVSphereOSImagesParams
- func (o *GetVSphereOSImagesParams) WithDc(dc string) *GetVSphereOSImagesParams
- func (o *GetVSphereOSImagesParams) WithHTTPClient(client *http.Client) *GetVSphereOSImagesParams
- func (o *GetVSphereOSImagesParams) WithTimeout(timeout time.Duration) *GetVSphereOSImagesParams
- func (o *GetVSphereOSImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereOSImagesReader
- type GetVSphereOSImagesUnauthorized
- type GetVSphereResourcePoolsBadRequest
- type GetVSphereResourcePoolsInternalServerError
- type GetVSphereResourcePoolsOK
- type GetVSphereResourcePoolsParams
- func NewGetVSphereResourcePoolsParams() *GetVSphereResourcePoolsParams
- func NewGetVSphereResourcePoolsParamsWithContext(ctx context.Context) *GetVSphereResourcePoolsParams
- func NewGetVSphereResourcePoolsParamsWithHTTPClient(client *http.Client) *GetVSphereResourcePoolsParams
- func NewGetVSphereResourcePoolsParamsWithTimeout(timeout time.Duration) *GetVSphereResourcePoolsParams
- func (o *GetVSphereResourcePoolsParams) SetContext(ctx context.Context)
- func (o *GetVSphereResourcePoolsParams) SetDc(dc string)
- func (o *GetVSphereResourcePoolsParams) SetHTTPClient(client *http.Client)
- func (o *GetVSphereResourcePoolsParams) SetTimeout(timeout time.Duration)
- func (o *GetVSphereResourcePoolsParams) WithContext(ctx context.Context) *GetVSphereResourcePoolsParams
- func (o *GetVSphereResourcePoolsParams) WithDc(dc string) *GetVSphereResourcePoolsParams
- func (o *GetVSphereResourcePoolsParams) WithHTTPClient(client *http.Client) *GetVSphereResourcePoolsParams
- func (o *GetVSphereResourcePoolsParams) WithTimeout(timeout time.Duration) *GetVSphereResourcePoolsParams
- func (o *GetVSphereResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVSphereResourcePoolsReader
- type GetVSphereResourcePoolsUnauthorized
- type GetVsphereThumbprintBadRequest
- type GetVsphereThumbprintInternalServerError
- type GetVsphereThumbprintOK
- type GetVsphereThumbprintParams
- func NewGetVsphereThumbprintParams() *GetVsphereThumbprintParams
- func NewGetVsphereThumbprintParamsWithContext(ctx context.Context) *GetVsphereThumbprintParams
- func NewGetVsphereThumbprintParamsWithHTTPClient(client *http.Client) *GetVsphereThumbprintParams
- func NewGetVsphereThumbprintParamsWithTimeout(timeout time.Duration) *GetVsphereThumbprintParams
- func (o *GetVsphereThumbprintParams) SetContext(ctx context.Context)
- func (o *GetVsphereThumbprintParams) SetHTTPClient(client *http.Client)
- func (o *GetVsphereThumbprintParams) SetHost(host string)
- func (o *GetVsphereThumbprintParams) SetTimeout(timeout time.Duration)
- func (o *GetVsphereThumbprintParams) WithContext(ctx context.Context) *GetVsphereThumbprintParams
- func (o *GetVsphereThumbprintParams) WithHTTPClient(client *http.Client) *GetVsphereThumbprintParams
- func (o *GetVsphereThumbprintParams) WithHost(host string) *GetVsphereThumbprintParams
- func (o *GetVsphereThumbprintParams) WithTimeout(timeout time.Duration) *GetVsphereThumbprintParams
- func (o *GetVsphereThumbprintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetVsphereThumbprintReader
- type GetVsphereThumbprintUnauthorized
- type SetVSphereEndpointBadRequest
- type SetVSphereEndpointCreated
- type SetVSphereEndpointInternalServerError
- type SetVSphereEndpointParams
- func NewSetVSphereEndpointParams() *SetVSphereEndpointParams
- func NewSetVSphereEndpointParamsWithContext(ctx context.Context) *SetVSphereEndpointParams
- func NewSetVSphereEndpointParamsWithHTTPClient(client *http.Client) *SetVSphereEndpointParams
- func NewSetVSphereEndpointParamsWithTimeout(timeout time.Duration) *SetVSphereEndpointParams
- func (o *SetVSphereEndpointParams) SetContext(ctx context.Context)
- func (o *SetVSphereEndpointParams) SetCredentials(credentials *models.VSphereCredentials)
- func (o *SetVSphereEndpointParams) SetHTTPClient(client *http.Client)
- func (o *SetVSphereEndpointParams) SetTimeout(timeout time.Duration)
- func (o *SetVSphereEndpointParams) WithContext(ctx context.Context) *SetVSphereEndpointParams
- func (o *SetVSphereEndpointParams) WithCredentials(credentials *models.VSphereCredentials) *SetVSphereEndpointParams
- func (o *SetVSphereEndpointParams) WithHTTPClient(client *http.Client) *SetVSphereEndpointParams
- func (o *SetVSphereEndpointParams) WithTimeout(timeout time.Duration) *SetVSphereEndpointParams
- func (o *SetVSphereEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SetVSphereEndpointReader
- type SetVSphereEndpointUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForVsphereBadRequest ¶
ApplyTKGConfigForVsphereBadRequest handles this case with default header values.
Bad request
func NewApplyTKGConfigForVsphereBadRequest ¶
func NewApplyTKGConfigForVsphereBadRequest() *ApplyTKGConfigForVsphereBadRequest
NewApplyTKGConfigForVsphereBadRequest creates a ApplyTKGConfigForVsphereBadRequest with default headers values
func (*ApplyTKGConfigForVsphereBadRequest) Error ¶
func (o *ApplyTKGConfigForVsphereBadRequest) Error() string
func (*ApplyTKGConfigForVsphereBadRequest) GetPayload ¶
func (o *ApplyTKGConfigForVsphereBadRequest) GetPayload() *models.Error
type ApplyTKGConfigForVsphereInternalServerError ¶
ApplyTKGConfigForVsphereInternalServerError handles this case with default header values.
Internal server error
func NewApplyTKGConfigForVsphereInternalServerError ¶
func NewApplyTKGConfigForVsphereInternalServerError() *ApplyTKGConfigForVsphereInternalServerError
NewApplyTKGConfigForVsphereInternalServerError creates a ApplyTKGConfigForVsphereInternalServerError with default headers values
func (*ApplyTKGConfigForVsphereInternalServerError) Error ¶
func (o *ApplyTKGConfigForVsphereInternalServerError) Error() string
func (*ApplyTKGConfigForVsphereInternalServerError) GetPayload ¶
func (o *ApplyTKGConfigForVsphereInternalServerError) GetPayload() *models.Error
type ApplyTKGConfigForVsphereOK ¶
type ApplyTKGConfigForVsphereOK struct {
Payload *models.ConfigFileInfo
}
ApplyTKGConfigForVsphereOK handles this case with default header values.
apply changes to TKG configuration file successfully
func NewApplyTKGConfigForVsphereOK ¶
func NewApplyTKGConfigForVsphereOK() *ApplyTKGConfigForVsphereOK
NewApplyTKGConfigForVsphereOK creates a ApplyTKGConfigForVsphereOK with default headers values
func (*ApplyTKGConfigForVsphereOK) Error ¶
func (o *ApplyTKGConfigForVsphereOK) Error() string
func (*ApplyTKGConfigForVsphereOK) GetPayload ¶
func (o *ApplyTKGConfigForVsphereOK) GetPayload() *models.ConfigFileInfo
type ApplyTKGConfigForVsphereParams ¶
type ApplyTKGConfigForVsphereParams struct { /*Params params to apply changes to tkg configuration for vsphere */ Params *models.VsphereRegionalClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ApplyTKGConfigForVsphereParams contains all the parameters to send to the API endpoint for the apply t k g config for vsphere operation typically these are written to a http.Request
func NewApplyTKGConfigForVsphereParams ¶
func NewApplyTKGConfigForVsphereParams() *ApplyTKGConfigForVsphereParams
NewApplyTKGConfigForVsphereParams creates a new ApplyTKGConfigForVsphereParams object with the default values initialized.
func NewApplyTKGConfigForVsphereParamsWithContext ¶
func NewApplyTKGConfigForVsphereParamsWithContext(ctx context.Context) *ApplyTKGConfigForVsphereParams
NewApplyTKGConfigForVsphereParamsWithContext creates a new ApplyTKGConfigForVsphereParams object with the default values initialized, and the ability to set a context for a request
func NewApplyTKGConfigForVsphereParamsWithHTTPClient ¶
func NewApplyTKGConfigForVsphereParamsWithHTTPClient(client *http.Client) *ApplyTKGConfigForVsphereParams
NewApplyTKGConfigForVsphereParamsWithHTTPClient creates a new ApplyTKGConfigForVsphereParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewApplyTKGConfigForVsphereParamsWithTimeout ¶
func NewApplyTKGConfigForVsphereParamsWithTimeout(timeout time.Duration) *ApplyTKGConfigForVsphereParams
NewApplyTKGConfigForVsphereParamsWithTimeout creates a new ApplyTKGConfigForVsphereParams object with the default values initialized, and the ability to set a timeout on a request
func (*ApplyTKGConfigForVsphereParams) SetContext ¶
func (o *ApplyTKGConfigForVsphereParams) SetContext(ctx context.Context)
SetContext adds the context to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) SetHTTPClient ¶
func (o *ApplyTKGConfigForVsphereParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) SetParams ¶
func (o *ApplyTKGConfigForVsphereParams) SetParams(params *models.VsphereRegionalClusterParams)
SetParams adds the params to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) SetTimeout ¶
func (o *ApplyTKGConfigForVsphereParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) WithContext ¶
func (o *ApplyTKGConfigForVsphereParams) WithContext(ctx context.Context) *ApplyTKGConfigForVsphereParams
WithContext adds the context to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) WithHTTPClient ¶
func (o *ApplyTKGConfigForVsphereParams) WithHTTPClient(client *http.Client) *ApplyTKGConfigForVsphereParams
WithHTTPClient adds the HTTPClient to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) WithParams ¶
func (o *ApplyTKGConfigForVsphereParams) WithParams(params *models.VsphereRegionalClusterParams) *ApplyTKGConfigForVsphereParams
WithParams adds the params to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) WithTimeout ¶
func (o *ApplyTKGConfigForVsphereParams) WithTimeout(timeout time.Duration) *ApplyTKGConfigForVsphereParams
WithTimeout adds the timeout to the apply t k g config for vsphere params
func (*ApplyTKGConfigForVsphereParams) WriteToRequest ¶
func (o *ApplyTKGConfigForVsphereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ApplyTKGConfigForVsphereReader ¶
type ApplyTKGConfigForVsphereReader struct {
// contains filtered or unexported fields
}
ApplyTKGConfigForVsphereReader is a Reader for the ApplyTKGConfigForVsphere structure.
func (*ApplyTKGConfigForVsphereReader) ReadResponse ¶
func (o *ApplyTKGConfigForVsphereReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ApplyTKGConfigForVsphereUnauthorized ¶
type ApplyTKGConfigForVsphereUnauthorized struct {
}ApplyTKGConfigForVsphereUnauthorized handles this case with default header values.
Incorrect credentials
func NewApplyTKGConfigForVsphereUnauthorized ¶
func NewApplyTKGConfigForVsphereUnauthorized() *ApplyTKGConfigForVsphereUnauthorized
NewApplyTKGConfigForVsphereUnauthorized creates a ApplyTKGConfigForVsphereUnauthorized with default headers values
func (*ApplyTKGConfigForVsphereUnauthorized) Error ¶
func (o *ApplyTKGConfigForVsphereUnauthorized) Error() string
func (*ApplyTKGConfigForVsphereUnauthorized) GetPayload ¶
func (o *ApplyTKGConfigForVsphereUnauthorized) GetPayload() *models.Error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for vsphere API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new vsphere API client.
func (*Client) ApplyTKGConfigForVsphere ¶
func (a *Client) ApplyTKGConfigForVsphere(params *ApplyTKGConfigForVsphereParams) (*ApplyTKGConfigForVsphereOK, error)
ApplyTKGConfigForVsphere applies changes to t k g configuration file for v sphere
func (*Client) CreateVSphereRegionalCluster ¶
func (a *Client) CreateVSphereRegionalCluster(params *CreateVSphereRegionalClusterParams) (*CreateVSphereRegionalClusterOK, error)
CreateVSphereRegionalCluster creates v sphere regional cluster
func (*Client) ExportTKGConfigForVsphere ¶ added in v0.9.0
func (a *Client) ExportTKGConfigForVsphere(params *ExportTKGConfigForVsphereParams) (*ExportTKGConfigForVsphereOK, error)
ExportTKGConfigForVsphere generates t k g configuration file for v sphere
func (*Client) GetVSphereComputeResources ¶
func (a *Client) GetVSphereComputeResources(params *GetVSphereComputeResourcesParams) (*GetVSphereComputeResourcesOK, error)
GetVSphereComputeResources retrieves v sphere compute resources
func (*Client) GetVSphereDatacenters ¶
func (a *Client) GetVSphereDatacenters(params *GetVSphereDatacentersParams) (*GetVSphereDatacentersOK, error)
GetVSphereDatacenters retrieves v sphere datacenters
func (*Client) GetVSphereDatastores ¶
func (a *Client) GetVSphereDatastores(params *GetVSphereDatastoresParams) (*GetVSphereDatastoresOK, error)
GetVSphereDatastores retrieves v sphere datastores
func (*Client) GetVSphereFolders ¶
func (a *Client) GetVSphereFolders(params *GetVSphereFoldersParams) (*GetVSphereFoldersOK, error)
GetVSphereFolders retrieves v sphere folders
func (*Client) GetVSphereNetworks ¶
func (a *Client) GetVSphereNetworks(params *GetVSphereNetworksParams) (*GetVSphereNetworksOK, error)
GetVSphereNetworks retrieves networks associated with the datacenter in v sphere
func (*Client) GetVSphereNodeTypes ¶
func (a *Client) GetVSphereNodeTypes(params *GetVSphereNodeTypesParams) (*GetVSphereNodeTypesOK, error)
GetVSphereNodeTypes retrieves v sphere supported kubernetes control plane node types
func (*Client) GetVSphereOSImages ¶
func (a *Client) GetVSphereOSImages(params *GetVSphereOSImagesParams) (*GetVSphereOSImagesOK, error)
GetVSphereOSImages retrieves v sphere supported node os images
func (*Client) GetVSphereResourcePools ¶
func (a *Client) GetVSphereResourcePools(params *GetVSphereResourcePoolsParams) (*GetVSphereResourcePoolsOK, error)
GetVSphereResourcePools retrieves v sphere resource pools
func (*Client) GetVsphereThumbprint ¶
func (a *Client) GetVsphereThumbprint(params *GetVsphereThumbprintParams) (*GetVsphereThumbprintOK, error)
GetVsphereThumbprint gets v sphere thumbprint
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SetVSphereEndpoint ¶
func (a *Client) SetVSphereEndpoint(params *SetVSphereEndpointParams) (*SetVSphereEndpointCreated, error)
SetVSphereEndpoint validates and set v sphere credentials
type CreateVSphereRegionalClusterBadRequest ¶
CreateVSphereRegionalClusterBadRequest handles this case with default header values.
Bad request
func NewCreateVSphereRegionalClusterBadRequest ¶
func NewCreateVSphereRegionalClusterBadRequest() *CreateVSphereRegionalClusterBadRequest
NewCreateVSphereRegionalClusterBadRequest creates a CreateVSphereRegionalClusterBadRequest with default headers values
func (*CreateVSphereRegionalClusterBadRequest) Error ¶
func (o *CreateVSphereRegionalClusterBadRequest) Error() string
func (*CreateVSphereRegionalClusterBadRequest) GetPayload ¶
func (o *CreateVSphereRegionalClusterBadRequest) GetPayload() *models.Error
type CreateVSphereRegionalClusterInternalServerError ¶
CreateVSphereRegionalClusterInternalServerError handles this case with default header values.
Internal server error
func NewCreateVSphereRegionalClusterInternalServerError ¶
func NewCreateVSphereRegionalClusterInternalServerError() *CreateVSphereRegionalClusterInternalServerError
NewCreateVSphereRegionalClusterInternalServerError creates a CreateVSphereRegionalClusterInternalServerError with default headers values
func (*CreateVSphereRegionalClusterInternalServerError) Error ¶
func (o *CreateVSphereRegionalClusterInternalServerError) Error() string
func (*CreateVSphereRegionalClusterInternalServerError) GetPayload ¶
func (o *CreateVSphereRegionalClusterInternalServerError) GetPayload() *models.Error
type CreateVSphereRegionalClusterOK ¶
type CreateVSphereRegionalClusterOK struct {
Payload string
}
CreateVSphereRegionalClusterOK handles this case with default header values.
Creating regional cluster started successfully
func NewCreateVSphereRegionalClusterOK ¶
func NewCreateVSphereRegionalClusterOK() *CreateVSphereRegionalClusterOK
NewCreateVSphereRegionalClusterOK creates a CreateVSphereRegionalClusterOK with default headers values
func (*CreateVSphereRegionalClusterOK) Error ¶
func (o *CreateVSphereRegionalClusterOK) Error() string
func (*CreateVSphereRegionalClusterOK) GetPayload ¶
func (o *CreateVSphereRegionalClusterOK) GetPayload() string
type CreateVSphereRegionalClusterParams ¶
type CreateVSphereRegionalClusterParams struct { /*Params params to create a regional cluster */ Params *models.VsphereRegionalClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateVSphereRegionalClusterParams contains all the parameters to send to the API endpoint for the create v sphere regional cluster operation typically these are written to a http.Request
func NewCreateVSphereRegionalClusterParams ¶
func NewCreateVSphereRegionalClusterParams() *CreateVSphereRegionalClusterParams
NewCreateVSphereRegionalClusterParams creates a new CreateVSphereRegionalClusterParams object with the default values initialized.
func NewCreateVSphereRegionalClusterParamsWithContext ¶
func NewCreateVSphereRegionalClusterParamsWithContext(ctx context.Context) *CreateVSphereRegionalClusterParams
NewCreateVSphereRegionalClusterParamsWithContext creates a new CreateVSphereRegionalClusterParams object with the default values initialized, and the ability to set a context for a request
func NewCreateVSphereRegionalClusterParamsWithHTTPClient ¶
func NewCreateVSphereRegionalClusterParamsWithHTTPClient(client *http.Client) *CreateVSphereRegionalClusterParams
NewCreateVSphereRegionalClusterParamsWithHTTPClient creates a new CreateVSphereRegionalClusterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateVSphereRegionalClusterParamsWithTimeout ¶
func NewCreateVSphereRegionalClusterParamsWithTimeout(timeout time.Duration) *CreateVSphereRegionalClusterParams
NewCreateVSphereRegionalClusterParamsWithTimeout creates a new CreateVSphereRegionalClusterParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateVSphereRegionalClusterParams) SetContext ¶
func (o *CreateVSphereRegionalClusterParams) SetContext(ctx context.Context)
SetContext adds the context to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) SetHTTPClient ¶
func (o *CreateVSphereRegionalClusterParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) SetParams ¶
func (o *CreateVSphereRegionalClusterParams) SetParams(params *models.VsphereRegionalClusterParams)
SetParams adds the params to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) SetTimeout ¶
func (o *CreateVSphereRegionalClusterParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) WithContext ¶
func (o *CreateVSphereRegionalClusterParams) WithContext(ctx context.Context) *CreateVSphereRegionalClusterParams
WithContext adds the context to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) WithHTTPClient ¶
func (o *CreateVSphereRegionalClusterParams) WithHTTPClient(client *http.Client) *CreateVSphereRegionalClusterParams
WithHTTPClient adds the HTTPClient to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) WithParams ¶
func (o *CreateVSphereRegionalClusterParams) WithParams(params *models.VsphereRegionalClusterParams) *CreateVSphereRegionalClusterParams
WithParams adds the params to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) WithTimeout ¶
func (o *CreateVSphereRegionalClusterParams) WithTimeout(timeout time.Duration) *CreateVSphereRegionalClusterParams
WithTimeout adds the timeout to the create v sphere regional cluster params
func (*CreateVSphereRegionalClusterParams) WriteToRequest ¶
func (o *CreateVSphereRegionalClusterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateVSphereRegionalClusterReader ¶
type CreateVSphereRegionalClusterReader struct {
// contains filtered or unexported fields
}
CreateVSphereRegionalClusterReader is a Reader for the CreateVSphereRegionalCluster structure.
func (*CreateVSphereRegionalClusterReader) ReadResponse ¶
func (o *CreateVSphereRegionalClusterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateVSphereRegionalClusterUnauthorized ¶
type CreateVSphereRegionalClusterUnauthorized struct {
}CreateVSphereRegionalClusterUnauthorized handles this case with default header values.
Incorrect credentials
func NewCreateVSphereRegionalClusterUnauthorized ¶
func NewCreateVSphereRegionalClusterUnauthorized() *CreateVSphereRegionalClusterUnauthorized
NewCreateVSphereRegionalClusterUnauthorized creates a CreateVSphereRegionalClusterUnauthorized with default headers values
func (*CreateVSphereRegionalClusterUnauthorized) Error ¶
func (o *CreateVSphereRegionalClusterUnauthorized) Error() string
func (*CreateVSphereRegionalClusterUnauthorized) GetPayload ¶
func (o *CreateVSphereRegionalClusterUnauthorized) GetPayload() *models.Error
type ExportTKGConfigForVsphereBadRequest ¶ added in v0.9.0
ExportTKGConfigForVsphereBadRequest handles this case with default header values.
Bad request
func NewExportTKGConfigForVsphereBadRequest ¶ added in v0.9.0
func NewExportTKGConfigForVsphereBadRequest() *ExportTKGConfigForVsphereBadRequest
NewExportTKGConfigForVsphereBadRequest creates a ExportTKGConfigForVsphereBadRequest with default headers values
func (*ExportTKGConfigForVsphereBadRequest) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereBadRequest) Error() string
func (*ExportTKGConfigForVsphereBadRequest) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereBadRequest) GetPayload() *models.Error
type ExportTKGConfigForVsphereInternalServerError ¶ added in v0.9.0
ExportTKGConfigForVsphereInternalServerError handles this case with default header values.
Internal server error
func NewExportTKGConfigForVsphereInternalServerError ¶ added in v0.9.0
func NewExportTKGConfigForVsphereInternalServerError() *ExportTKGConfigForVsphereInternalServerError
NewExportTKGConfigForVsphereInternalServerError creates a ExportTKGConfigForVsphereInternalServerError with default headers values
func (*ExportTKGConfigForVsphereInternalServerError) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereInternalServerError) Error() string
func (*ExportTKGConfigForVsphereInternalServerError) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereInternalServerError) GetPayload() *models.Error
type ExportTKGConfigForVsphereOK ¶ added in v0.9.0
type ExportTKGConfigForVsphereOK struct {
Payload string
}
ExportTKGConfigForVsphereOK handles this case with default header values.
Generated TKG configuration successfully
func NewExportTKGConfigForVsphereOK ¶ added in v0.9.0
func NewExportTKGConfigForVsphereOK() *ExportTKGConfigForVsphereOK
NewExportTKGConfigForVsphereOK creates a ExportTKGConfigForVsphereOK with default headers values
func (*ExportTKGConfigForVsphereOK) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereOK) Error() string
func (*ExportTKGConfigForVsphereOK) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereOK) GetPayload() string
type ExportTKGConfigForVsphereParams ¶ added in v0.9.0
type ExportTKGConfigForVsphereParams struct { /*Params params to generate tkg configuration for vsphere */ Params *models.VsphereRegionalClusterParams Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ExportTKGConfigForVsphereParams contains all the parameters to send to the API endpoint for the export t k g config for vsphere operation typically these are written to a http.Request
func NewExportTKGConfigForVsphereParams ¶ added in v0.9.0
func NewExportTKGConfigForVsphereParams() *ExportTKGConfigForVsphereParams
NewExportTKGConfigForVsphereParams creates a new ExportTKGConfigForVsphereParams object with the default values initialized.
func NewExportTKGConfigForVsphereParamsWithContext ¶ added in v0.9.0
func NewExportTKGConfigForVsphereParamsWithContext(ctx context.Context) *ExportTKGConfigForVsphereParams
NewExportTKGConfigForVsphereParamsWithContext creates a new ExportTKGConfigForVsphereParams object with the default values initialized, and the ability to set a context for a request
func NewExportTKGConfigForVsphereParamsWithHTTPClient ¶ added in v0.9.0
func NewExportTKGConfigForVsphereParamsWithHTTPClient(client *http.Client) *ExportTKGConfigForVsphereParams
NewExportTKGConfigForVsphereParamsWithHTTPClient creates a new ExportTKGConfigForVsphereParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewExportTKGConfigForVsphereParamsWithTimeout ¶ added in v0.9.0
func NewExportTKGConfigForVsphereParamsWithTimeout(timeout time.Duration) *ExportTKGConfigForVsphereParams
NewExportTKGConfigForVsphereParamsWithTimeout creates a new ExportTKGConfigForVsphereParams object with the default values initialized, and the ability to set a timeout on a request
func (*ExportTKGConfigForVsphereParams) SetContext ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) SetContext(ctx context.Context)
SetContext adds the context to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) SetHTTPClient ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) SetParams ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) SetParams(params *models.VsphereRegionalClusterParams)
SetParams adds the params to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) SetTimeout ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) WithContext ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) WithContext(ctx context.Context) *ExportTKGConfigForVsphereParams
WithContext adds the context to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) WithHTTPClient ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) WithHTTPClient(client *http.Client) *ExportTKGConfigForVsphereParams
WithHTTPClient adds the HTTPClient to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) WithParams ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) WithParams(params *models.VsphereRegionalClusterParams) *ExportTKGConfigForVsphereParams
WithParams adds the params to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) WithTimeout ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) WithTimeout(timeout time.Duration) *ExportTKGConfigForVsphereParams
WithTimeout adds the timeout to the export t k g config for vsphere params
func (*ExportTKGConfigForVsphereParams) WriteToRequest ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ExportTKGConfigForVsphereReader ¶ added in v0.9.0
type ExportTKGConfigForVsphereReader struct {
// contains filtered or unexported fields
}
ExportTKGConfigForVsphereReader is a Reader for the ExportTKGConfigForVsphere structure.
func (*ExportTKGConfigForVsphereReader) ReadResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ExportTKGConfigForVsphereUnauthorized ¶ added in v0.9.0
type ExportTKGConfigForVsphereUnauthorized struct {
}ExportTKGConfigForVsphereUnauthorized handles this case with default header values.
Incorrect credentials
func NewExportTKGConfigForVsphereUnauthorized ¶ added in v0.9.0
func NewExportTKGConfigForVsphereUnauthorized() *ExportTKGConfigForVsphereUnauthorized
NewExportTKGConfigForVsphereUnauthorized creates a ExportTKGConfigForVsphereUnauthorized with default headers values
func (*ExportTKGConfigForVsphereUnauthorized) Error ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereUnauthorized) Error() string
func (*ExportTKGConfigForVsphereUnauthorized) GetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForVsphereUnauthorized) GetPayload() *models.Error
type GetVSphereComputeResourcesBadRequest ¶
GetVSphereComputeResourcesBadRequest handles this case with default header values.
Bad request
func NewGetVSphereComputeResourcesBadRequest ¶
func NewGetVSphereComputeResourcesBadRequest() *GetVSphereComputeResourcesBadRequest
NewGetVSphereComputeResourcesBadRequest creates a GetVSphereComputeResourcesBadRequest with default headers values
func (*GetVSphereComputeResourcesBadRequest) Error ¶
func (o *GetVSphereComputeResourcesBadRequest) Error() string
func (*GetVSphereComputeResourcesBadRequest) GetPayload ¶
func (o *GetVSphereComputeResourcesBadRequest) GetPayload() *models.Error
type GetVSphereComputeResourcesInternalServerError ¶
GetVSphereComputeResourcesInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereComputeResourcesInternalServerError ¶
func NewGetVSphereComputeResourcesInternalServerError() *GetVSphereComputeResourcesInternalServerError
NewGetVSphereComputeResourcesInternalServerError creates a GetVSphereComputeResourcesInternalServerError with default headers values
func (*GetVSphereComputeResourcesInternalServerError) Error ¶
func (o *GetVSphereComputeResourcesInternalServerError) Error() string
func (*GetVSphereComputeResourcesInternalServerError) GetPayload ¶
func (o *GetVSphereComputeResourcesInternalServerError) GetPayload() *models.Error
type GetVSphereComputeResourcesOK ¶
type GetVSphereComputeResourcesOK struct {
Payload []*models.VSphereManagementObject
}
GetVSphereComputeResourcesOK handles this case with default header values.
Successful retrieval of vSphere folders
func NewGetVSphereComputeResourcesOK ¶
func NewGetVSphereComputeResourcesOK() *GetVSphereComputeResourcesOK
NewGetVSphereComputeResourcesOK creates a GetVSphereComputeResourcesOK with default headers values
func (*GetVSphereComputeResourcesOK) Error ¶
func (o *GetVSphereComputeResourcesOK) Error() string
func (*GetVSphereComputeResourcesOK) GetPayload ¶
func (o *GetVSphereComputeResourcesOK) GetPayload() []*models.VSphereManagementObject
type GetVSphereComputeResourcesParams ¶
type GetVSphereComputeResourcesParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereComputeResourcesParams contains all the parameters to send to the API endpoint for the get v sphere compute resources operation typically these are written to a http.Request
func NewGetVSphereComputeResourcesParams ¶
func NewGetVSphereComputeResourcesParams() *GetVSphereComputeResourcesParams
NewGetVSphereComputeResourcesParams creates a new GetVSphereComputeResourcesParams object with the default values initialized.
func NewGetVSphereComputeResourcesParamsWithContext ¶
func NewGetVSphereComputeResourcesParamsWithContext(ctx context.Context) *GetVSphereComputeResourcesParams
NewGetVSphereComputeResourcesParamsWithContext creates a new GetVSphereComputeResourcesParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereComputeResourcesParamsWithHTTPClient ¶
func NewGetVSphereComputeResourcesParamsWithHTTPClient(client *http.Client) *GetVSphereComputeResourcesParams
NewGetVSphereComputeResourcesParamsWithHTTPClient creates a new GetVSphereComputeResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereComputeResourcesParamsWithTimeout ¶
func NewGetVSphereComputeResourcesParamsWithTimeout(timeout time.Duration) *GetVSphereComputeResourcesParams
NewGetVSphereComputeResourcesParamsWithTimeout creates a new GetVSphereComputeResourcesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereComputeResourcesParams) SetContext ¶
func (o *GetVSphereComputeResourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) SetDc ¶
func (o *GetVSphereComputeResourcesParams) SetDc(dc string)
SetDc adds the dc to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) SetHTTPClient ¶
func (o *GetVSphereComputeResourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) SetTimeout ¶
func (o *GetVSphereComputeResourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) WithContext ¶
func (o *GetVSphereComputeResourcesParams) WithContext(ctx context.Context) *GetVSphereComputeResourcesParams
WithContext adds the context to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) WithDc ¶
func (o *GetVSphereComputeResourcesParams) WithDc(dc string) *GetVSphereComputeResourcesParams
WithDc adds the dc to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) WithHTTPClient ¶
func (o *GetVSphereComputeResourcesParams) WithHTTPClient(client *http.Client) *GetVSphereComputeResourcesParams
WithHTTPClient adds the HTTPClient to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) WithTimeout ¶
func (o *GetVSphereComputeResourcesParams) WithTimeout(timeout time.Duration) *GetVSphereComputeResourcesParams
WithTimeout adds the timeout to the get v sphere compute resources params
func (*GetVSphereComputeResourcesParams) WriteToRequest ¶
func (o *GetVSphereComputeResourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereComputeResourcesReader ¶
type GetVSphereComputeResourcesReader struct {
// contains filtered or unexported fields
}
GetVSphereComputeResourcesReader is a Reader for the GetVSphereComputeResources structure.
func (*GetVSphereComputeResourcesReader) ReadResponse ¶
func (o *GetVSphereComputeResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereComputeResourcesUnauthorized ¶
type GetVSphereComputeResourcesUnauthorized struct {
}GetVSphereComputeResourcesUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereComputeResourcesUnauthorized ¶
func NewGetVSphereComputeResourcesUnauthorized() *GetVSphereComputeResourcesUnauthorized
NewGetVSphereComputeResourcesUnauthorized creates a GetVSphereComputeResourcesUnauthorized with default headers values
func (*GetVSphereComputeResourcesUnauthorized) Error ¶
func (o *GetVSphereComputeResourcesUnauthorized) Error() string
func (*GetVSphereComputeResourcesUnauthorized) GetPayload ¶
func (o *GetVSphereComputeResourcesUnauthorized) GetPayload() *models.Error
type GetVSphereDatacentersBadRequest ¶
GetVSphereDatacentersBadRequest handles this case with default header values.
Bad request
func NewGetVSphereDatacentersBadRequest ¶
func NewGetVSphereDatacentersBadRequest() *GetVSphereDatacentersBadRequest
NewGetVSphereDatacentersBadRequest creates a GetVSphereDatacentersBadRequest with default headers values
func (*GetVSphereDatacentersBadRequest) Error ¶
func (o *GetVSphereDatacentersBadRequest) Error() string
func (*GetVSphereDatacentersBadRequest) GetPayload ¶
func (o *GetVSphereDatacentersBadRequest) GetPayload() *models.Error
type GetVSphereDatacentersInternalServerError ¶
GetVSphereDatacentersInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereDatacentersInternalServerError ¶
func NewGetVSphereDatacentersInternalServerError() *GetVSphereDatacentersInternalServerError
NewGetVSphereDatacentersInternalServerError creates a GetVSphereDatacentersInternalServerError with default headers values
func (*GetVSphereDatacentersInternalServerError) Error ¶
func (o *GetVSphereDatacentersInternalServerError) Error() string
func (*GetVSphereDatacentersInternalServerError) GetPayload ¶
func (o *GetVSphereDatacentersInternalServerError) GetPayload() *models.Error
type GetVSphereDatacentersOK ¶
type GetVSphereDatacentersOK struct {
Payload []*models.VSphereDatacenter
}
GetVSphereDatacentersOK handles this case with default header values.
Successful retrieval of vSphere datacenters
func NewGetVSphereDatacentersOK ¶
func NewGetVSphereDatacentersOK() *GetVSphereDatacentersOK
NewGetVSphereDatacentersOK creates a GetVSphereDatacentersOK with default headers values
func (*GetVSphereDatacentersOK) Error ¶
func (o *GetVSphereDatacentersOK) Error() string
func (*GetVSphereDatacentersOK) GetPayload ¶
func (o *GetVSphereDatacentersOK) GetPayload() []*models.VSphereDatacenter
type GetVSphereDatacentersParams ¶
type GetVSphereDatacentersParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereDatacentersParams contains all the parameters to send to the API endpoint for the get v sphere datacenters operation typically these are written to a http.Request
func NewGetVSphereDatacentersParams ¶
func NewGetVSphereDatacentersParams() *GetVSphereDatacentersParams
NewGetVSphereDatacentersParams creates a new GetVSphereDatacentersParams object with the default values initialized.
func NewGetVSphereDatacentersParamsWithContext ¶
func NewGetVSphereDatacentersParamsWithContext(ctx context.Context) *GetVSphereDatacentersParams
NewGetVSphereDatacentersParamsWithContext creates a new GetVSphereDatacentersParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereDatacentersParamsWithHTTPClient ¶
func NewGetVSphereDatacentersParamsWithHTTPClient(client *http.Client) *GetVSphereDatacentersParams
NewGetVSphereDatacentersParamsWithHTTPClient creates a new GetVSphereDatacentersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereDatacentersParamsWithTimeout ¶
func NewGetVSphereDatacentersParamsWithTimeout(timeout time.Duration) *GetVSphereDatacentersParams
NewGetVSphereDatacentersParamsWithTimeout creates a new GetVSphereDatacentersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereDatacentersParams) SetContext ¶
func (o *GetVSphereDatacentersParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) SetHTTPClient ¶
func (o *GetVSphereDatacentersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) SetTimeout ¶
func (o *GetVSphereDatacentersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) WithContext ¶
func (o *GetVSphereDatacentersParams) WithContext(ctx context.Context) *GetVSphereDatacentersParams
WithContext adds the context to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) WithHTTPClient ¶
func (o *GetVSphereDatacentersParams) WithHTTPClient(client *http.Client) *GetVSphereDatacentersParams
WithHTTPClient adds the HTTPClient to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) WithTimeout ¶
func (o *GetVSphereDatacentersParams) WithTimeout(timeout time.Duration) *GetVSphereDatacentersParams
WithTimeout adds the timeout to the get v sphere datacenters params
func (*GetVSphereDatacentersParams) WriteToRequest ¶
func (o *GetVSphereDatacentersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereDatacentersReader ¶
type GetVSphereDatacentersReader struct {
// contains filtered or unexported fields
}
GetVSphereDatacentersReader is a Reader for the GetVSphereDatacenters structure.
func (*GetVSphereDatacentersReader) ReadResponse ¶
func (o *GetVSphereDatacentersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereDatacentersUnauthorized ¶
type GetVSphereDatacentersUnauthorized struct {
}GetVSphereDatacentersUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereDatacentersUnauthorized ¶
func NewGetVSphereDatacentersUnauthorized() *GetVSphereDatacentersUnauthorized
NewGetVSphereDatacentersUnauthorized creates a GetVSphereDatacentersUnauthorized with default headers values
func (*GetVSphereDatacentersUnauthorized) Error ¶
func (o *GetVSphereDatacentersUnauthorized) Error() string
func (*GetVSphereDatacentersUnauthorized) GetPayload ¶
func (o *GetVSphereDatacentersUnauthorized) GetPayload() *models.Error
type GetVSphereDatastoresBadRequest ¶
GetVSphereDatastoresBadRequest handles this case with default header values.
Bad request
func NewGetVSphereDatastoresBadRequest ¶
func NewGetVSphereDatastoresBadRequest() *GetVSphereDatastoresBadRequest
NewGetVSphereDatastoresBadRequest creates a GetVSphereDatastoresBadRequest with default headers values
func (*GetVSphereDatastoresBadRequest) Error ¶
func (o *GetVSphereDatastoresBadRequest) Error() string
func (*GetVSphereDatastoresBadRequest) GetPayload ¶
func (o *GetVSphereDatastoresBadRequest) GetPayload() *models.Error
type GetVSphereDatastoresInternalServerError ¶
GetVSphereDatastoresInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereDatastoresInternalServerError ¶
func NewGetVSphereDatastoresInternalServerError() *GetVSphereDatastoresInternalServerError
NewGetVSphereDatastoresInternalServerError creates a GetVSphereDatastoresInternalServerError with default headers values
func (*GetVSphereDatastoresInternalServerError) Error ¶
func (o *GetVSphereDatastoresInternalServerError) Error() string
func (*GetVSphereDatastoresInternalServerError) GetPayload ¶
func (o *GetVSphereDatastoresInternalServerError) GetPayload() *models.Error
type GetVSphereDatastoresOK ¶
type GetVSphereDatastoresOK struct {
Payload []*models.VSphereDatastore
}
GetVSphereDatastoresOK handles this case with default header values.
Successful retrieval of vSphere datastores
func NewGetVSphereDatastoresOK ¶
func NewGetVSphereDatastoresOK() *GetVSphereDatastoresOK
NewGetVSphereDatastoresOK creates a GetVSphereDatastoresOK with default headers values
func (*GetVSphereDatastoresOK) Error ¶
func (o *GetVSphereDatastoresOK) Error() string
func (*GetVSphereDatastoresOK) GetPayload ¶
func (o *GetVSphereDatastoresOK) GetPayload() []*models.VSphereDatastore
type GetVSphereDatastoresParams ¶
type GetVSphereDatastoresParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereDatastoresParams contains all the parameters to send to the API endpoint for the get v sphere datastores operation typically these are written to a http.Request
func NewGetVSphereDatastoresParams ¶
func NewGetVSphereDatastoresParams() *GetVSphereDatastoresParams
NewGetVSphereDatastoresParams creates a new GetVSphereDatastoresParams object with the default values initialized.
func NewGetVSphereDatastoresParamsWithContext ¶
func NewGetVSphereDatastoresParamsWithContext(ctx context.Context) *GetVSphereDatastoresParams
NewGetVSphereDatastoresParamsWithContext creates a new GetVSphereDatastoresParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereDatastoresParamsWithHTTPClient ¶
func NewGetVSphereDatastoresParamsWithHTTPClient(client *http.Client) *GetVSphereDatastoresParams
NewGetVSphereDatastoresParamsWithHTTPClient creates a new GetVSphereDatastoresParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereDatastoresParamsWithTimeout ¶
func NewGetVSphereDatastoresParamsWithTimeout(timeout time.Duration) *GetVSphereDatastoresParams
NewGetVSphereDatastoresParamsWithTimeout creates a new GetVSphereDatastoresParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereDatastoresParams) SetContext ¶
func (o *GetVSphereDatastoresParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere datastores params
func (*GetVSphereDatastoresParams) SetDc ¶
func (o *GetVSphereDatastoresParams) SetDc(dc string)
SetDc adds the dc to the get v sphere datastores params
func (*GetVSphereDatastoresParams) SetHTTPClient ¶
func (o *GetVSphereDatastoresParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere datastores params
func (*GetVSphereDatastoresParams) SetTimeout ¶
func (o *GetVSphereDatastoresParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere datastores params
func (*GetVSphereDatastoresParams) WithContext ¶
func (o *GetVSphereDatastoresParams) WithContext(ctx context.Context) *GetVSphereDatastoresParams
WithContext adds the context to the get v sphere datastores params
func (*GetVSphereDatastoresParams) WithDc ¶
func (o *GetVSphereDatastoresParams) WithDc(dc string) *GetVSphereDatastoresParams
WithDc adds the dc to the get v sphere datastores params
func (*GetVSphereDatastoresParams) WithHTTPClient ¶
func (o *GetVSphereDatastoresParams) WithHTTPClient(client *http.Client) *GetVSphereDatastoresParams
WithHTTPClient adds the HTTPClient to the get v sphere datastores params
func (*GetVSphereDatastoresParams) WithTimeout ¶
func (o *GetVSphereDatastoresParams) WithTimeout(timeout time.Duration) *GetVSphereDatastoresParams
WithTimeout adds the timeout to the get v sphere datastores params
func (*GetVSphereDatastoresParams) WriteToRequest ¶
func (o *GetVSphereDatastoresParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereDatastoresReader ¶
type GetVSphereDatastoresReader struct {
// contains filtered or unexported fields
}
GetVSphereDatastoresReader is a Reader for the GetVSphereDatastores structure.
func (*GetVSphereDatastoresReader) ReadResponse ¶
func (o *GetVSphereDatastoresReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereDatastoresUnauthorized ¶
type GetVSphereDatastoresUnauthorized struct {
}GetVSphereDatastoresUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereDatastoresUnauthorized ¶
func NewGetVSphereDatastoresUnauthorized() *GetVSphereDatastoresUnauthorized
NewGetVSphereDatastoresUnauthorized creates a GetVSphereDatastoresUnauthorized with default headers values
func (*GetVSphereDatastoresUnauthorized) Error ¶
func (o *GetVSphereDatastoresUnauthorized) Error() string
func (*GetVSphereDatastoresUnauthorized) GetPayload ¶
func (o *GetVSphereDatastoresUnauthorized) GetPayload() *models.Error
type GetVSphereFoldersBadRequest ¶
GetVSphereFoldersBadRequest handles this case with default header values.
Bad request
func NewGetVSphereFoldersBadRequest ¶
func NewGetVSphereFoldersBadRequest() *GetVSphereFoldersBadRequest
NewGetVSphereFoldersBadRequest creates a GetVSphereFoldersBadRequest with default headers values
func (*GetVSphereFoldersBadRequest) Error ¶
func (o *GetVSphereFoldersBadRequest) Error() string
func (*GetVSphereFoldersBadRequest) GetPayload ¶
func (o *GetVSphereFoldersBadRequest) GetPayload() *models.Error
type GetVSphereFoldersInternalServerError ¶
GetVSphereFoldersInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereFoldersInternalServerError ¶
func NewGetVSphereFoldersInternalServerError() *GetVSphereFoldersInternalServerError
NewGetVSphereFoldersInternalServerError creates a GetVSphereFoldersInternalServerError with default headers values
func (*GetVSphereFoldersInternalServerError) Error ¶
func (o *GetVSphereFoldersInternalServerError) Error() string
func (*GetVSphereFoldersInternalServerError) GetPayload ¶
func (o *GetVSphereFoldersInternalServerError) GetPayload() *models.Error
type GetVSphereFoldersOK ¶
type GetVSphereFoldersOK struct {
Payload []*models.VSphereFolder
}
GetVSphereFoldersOK handles this case with default header values.
Successful retrieval of vSphere folders
func NewGetVSphereFoldersOK ¶
func NewGetVSphereFoldersOK() *GetVSphereFoldersOK
NewGetVSphereFoldersOK creates a GetVSphereFoldersOK with default headers values
func (*GetVSphereFoldersOK) Error ¶
func (o *GetVSphereFoldersOK) Error() string
func (*GetVSphereFoldersOK) GetPayload ¶
func (o *GetVSphereFoldersOK) GetPayload() []*models.VSphereFolder
type GetVSphereFoldersParams ¶
type GetVSphereFoldersParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereFoldersParams contains all the parameters to send to the API endpoint for the get v sphere folders operation typically these are written to a http.Request
func NewGetVSphereFoldersParams ¶
func NewGetVSphereFoldersParams() *GetVSphereFoldersParams
NewGetVSphereFoldersParams creates a new GetVSphereFoldersParams object with the default values initialized.
func NewGetVSphereFoldersParamsWithContext ¶
func NewGetVSphereFoldersParamsWithContext(ctx context.Context) *GetVSphereFoldersParams
NewGetVSphereFoldersParamsWithContext creates a new GetVSphereFoldersParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereFoldersParamsWithHTTPClient ¶
func NewGetVSphereFoldersParamsWithHTTPClient(client *http.Client) *GetVSphereFoldersParams
NewGetVSphereFoldersParamsWithHTTPClient creates a new GetVSphereFoldersParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereFoldersParamsWithTimeout ¶
func NewGetVSphereFoldersParamsWithTimeout(timeout time.Duration) *GetVSphereFoldersParams
NewGetVSphereFoldersParamsWithTimeout creates a new GetVSphereFoldersParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereFoldersParams) SetContext ¶
func (o *GetVSphereFoldersParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere folders params
func (*GetVSphereFoldersParams) SetDc ¶
func (o *GetVSphereFoldersParams) SetDc(dc string)
SetDc adds the dc to the get v sphere folders params
func (*GetVSphereFoldersParams) SetHTTPClient ¶
func (o *GetVSphereFoldersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere folders params
func (*GetVSphereFoldersParams) SetTimeout ¶
func (o *GetVSphereFoldersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere folders params
func (*GetVSphereFoldersParams) WithContext ¶
func (o *GetVSphereFoldersParams) WithContext(ctx context.Context) *GetVSphereFoldersParams
WithContext adds the context to the get v sphere folders params
func (*GetVSphereFoldersParams) WithDc ¶
func (o *GetVSphereFoldersParams) WithDc(dc string) *GetVSphereFoldersParams
WithDc adds the dc to the get v sphere folders params
func (*GetVSphereFoldersParams) WithHTTPClient ¶
func (o *GetVSphereFoldersParams) WithHTTPClient(client *http.Client) *GetVSphereFoldersParams
WithHTTPClient adds the HTTPClient to the get v sphere folders params
func (*GetVSphereFoldersParams) WithTimeout ¶
func (o *GetVSphereFoldersParams) WithTimeout(timeout time.Duration) *GetVSphereFoldersParams
WithTimeout adds the timeout to the get v sphere folders params
func (*GetVSphereFoldersParams) WriteToRequest ¶
func (o *GetVSphereFoldersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereFoldersReader ¶
type GetVSphereFoldersReader struct {
// contains filtered or unexported fields
}
GetVSphereFoldersReader is a Reader for the GetVSphereFolders structure.
func (*GetVSphereFoldersReader) ReadResponse ¶
func (o *GetVSphereFoldersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereFoldersUnauthorized ¶
type GetVSphereFoldersUnauthorized struct {
}GetVSphereFoldersUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereFoldersUnauthorized ¶
func NewGetVSphereFoldersUnauthorized() *GetVSphereFoldersUnauthorized
NewGetVSphereFoldersUnauthorized creates a GetVSphereFoldersUnauthorized with default headers values
func (*GetVSphereFoldersUnauthorized) Error ¶
func (o *GetVSphereFoldersUnauthorized) Error() string
func (*GetVSphereFoldersUnauthorized) GetPayload ¶
func (o *GetVSphereFoldersUnauthorized) GetPayload() *models.Error
type GetVSphereNetworksBadRequest ¶
GetVSphereNetworksBadRequest handles this case with default header values.
Bad request
func NewGetVSphereNetworksBadRequest ¶
func NewGetVSphereNetworksBadRequest() *GetVSphereNetworksBadRequest
NewGetVSphereNetworksBadRequest creates a GetVSphereNetworksBadRequest with default headers values
func (*GetVSphereNetworksBadRequest) Error ¶
func (o *GetVSphereNetworksBadRequest) Error() string
func (*GetVSphereNetworksBadRequest) GetPayload ¶
func (o *GetVSphereNetworksBadRequest) GetPayload() *models.Error
type GetVSphereNetworksInternalServerError ¶
GetVSphereNetworksInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereNetworksInternalServerError ¶
func NewGetVSphereNetworksInternalServerError() *GetVSphereNetworksInternalServerError
NewGetVSphereNetworksInternalServerError creates a GetVSphereNetworksInternalServerError with default headers values
func (*GetVSphereNetworksInternalServerError) Error ¶
func (o *GetVSphereNetworksInternalServerError) Error() string
func (*GetVSphereNetworksInternalServerError) GetPayload ¶
func (o *GetVSphereNetworksInternalServerError) GetPayload() *models.Error
type GetVSphereNetworksOK ¶
type GetVSphereNetworksOK struct {
Payload []*models.VSphereNetwork
}
GetVSphereNetworksOK handles this case with default header values.
Successful retrieval of vSphere networks
func NewGetVSphereNetworksOK ¶
func NewGetVSphereNetworksOK() *GetVSphereNetworksOK
NewGetVSphereNetworksOK creates a GetVSphereNetworksOK with default headers values
func (*GetVSphereNetworksOK) Error ¶
func (o *GetVSphereNetworksOK) Error() string
func (*GetVSphereNetworksOK) GetPayload ¶
func (o *GetVSphereNetworksOK) GetPayload() []*models.VSphereNetwork
type GetVSphereNetworksParams ¶
type GetVSphereNetworksParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereNetworksParams contains all the parameters to send to the API endpoint for the get v sphere networks operation typically these are written to a http.Request
func NewGetVSphereNetworksParams ¶
func NewGetVSphereNetworksParams() *GetVSphereNetworksParams
NewGetVSphereNetworksParams creates a new GetVSphereNetworksParams object with the default values initialized.
func NewGetVSphereNetworksParamsWithContext ¶
func NewGetVSphereNetworksParamsWithContext(ctx context.Context) *GetVSphereNetworksParams
NewGetVSphereNetworksParamsWithContext creates a new GetVSphereNetworksParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereNetworksParamsWithHTTPClient ¶
func NewGetVSphereNetworksParamsWithHTTPClient(client *http.Client) *GetVSphereNetworksParams
NewGetVSphereNetworksParamsWithHTTPClient creates a new GetVSphereNetworksParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereNetworksParamsWithTimeout ¶
func NewGetVSphereNetworksParamsWithTimeout(timeout time.Duration) *GetVSphereNetworksParams
NewGetVSphereNetworksParamsWithTimeout creates a new GetVSphereNetworksParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereNetworksParams) SetContext ¶
func (o *GetVSphereNetworksParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere networks params
func (*GetVSphereNetworksParams) SetDc ¶
func (o *GetVSphereNetworksParams) SetDc(dc string)
SetDc adds the dc to the get v sphere networks params
func (*GetVSphereNetworksParams) SetHTTPClient ¶
func (o *GetVSphereNetworksParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere networks params
func (*GetVSphereNetworksParams) SetTimeout ¶
func (o *GetVSphereNetworksParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere networks params
func (*GetVSphereNetworksParams) WithContext ¶
func (o *GetVSphereNetworksParams) WithContext(ctx context.Context) *GetVSphereNetworksParams
WithContext adds the context to the get v sphere networks params
func (*GetVSphereNetworksParams) WithDc ¶
func (o *GetVSphereNetworksParams) WithDc(dc string) *GetVSphereNetworksParams
WithDc adds the dc to the get v sphere networks params
func (*GetVSphereNetworksParams) WithHTTPClient ¶
func (o *GetVSphereNetworksParams) WithHTTPClient(client *http.Client) *GetVSphereNetworksParams
WithHTTPClient adds the HTTPClient to the get v sphere networks params
func (*GetVSphereNetworksParams) WithTimeout ¶
func (o *GetVSphereNetworksParams) WithTimeout(timeout time.Duration) *GetVSphereNetworksParams
WithTimeout adds the timeout to the get v sphere networks params
func (*GetVSphereNetworksParams) WriteToRequest ¶
func (o *GetVSphereNetworksParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereNetworksReader ¶
type GetVSphereNetworksReader struct {
// contains filtered or unexported fields
}
GetVSphereNetworksReader is a Reader for the GetVSphereNetworks structure.
func (*GetVSphereNetworksReader) ReadResponse ¶
func (o *GetVSphereNetworksReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereNetworksUnauthorized ¶
type GetVSphereNetworksUnauthorized struct {
}GetVSphereNetworksUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereNetworksUnauthorized ¶
func NewGetVSphereNetworksUnauthorized() *GetVSphereNetworksUnauthorized
NewGetVSphereNetworksUnauthorized creates a GetVSphereNetworksUnauthorized with default headers values
func (*GetVSphereNetworksUnauthorized) Error ¶
func (o *GetVSphereNetworksUnauthorized) Error() string
func (*GetVSphereNetworksUnauthorized) GetPayload ¶
func (o *GetVSphereNetworksUnauthorized) GetPayload() *models.Error
type GetVSphereNodeTypesBadRequest ¶
GetVSphereNodeTypesBadRequest handles this case with default header values.
Bad request
func NewGetVSphereNodeTypesBadRequest ¶
func NewGetVSphereNodeTypesBadRequest() *GetVSphereNodeTypesBadRequest
NewGetVSphereNodeTypesBadRequest creates a GetVSphereNodeTypesBadRequest with default headers values
func (*GetVSphereNodeTypesBadRequest) Error ¶
func (o *GetVSphereNodeTypesBadRequest) Error() string
func (*GetVSphereNodeTypesBadRequest) GetPayload ¶
func (o *GetVSphereNodeTypesBadRequest) GetPayload() *models.Error
type GetVSphereNodeTypesInternalServerError ¶
GetVSphereNodeTypesInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereNodeTypesInternalServerError ¶
func NewGetVSphereNodeTypesInternalServerError() *GetVSphereNodeTypesInternalServerError
NewGetVSphereNodeTypesInternalServerError creates a GetVSphereNodeTypesInternalServerError with default headers values
func (*GetVSphereNodeTypesInternalServerError) Error ¶
func (o *GetVSphereNodeTypesInternalServerError) Error() string
func (*GetVSphereNodeTypesInternalServerError) GetPayload ¶
func (o *GetVSphereNodeTypesInternalServerError) GetPayload() *models.Error
type GetVSphereNodeTypesOK ¶
GetVSphereNodeTypesOK handles this case with default header values.
Successful retrieval of node types supported by vSphere
func NewGetVSphereNodeTypesOK ¶
func NewGetVSphereNodeTypesOK() *GetVSphereNodeTypesOK
NewGetVSphereNodeTypesOK creates a GetVSphereNodeTypesOK with default headers values
func (*GetVSphereNodeTypesOK) Error ¶
func (o *GetVSphereNodeTypesOK) Error() string
func (*GetVSphereNodeTypesOK) GetPayload ¶
func (o *GetVSphereNodeTypesOK) GetPayload() []*models.NodeType
type GetVSphereNodeTypesParams ¶
type GetVSphereNodeTypesParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereNodeTypesParams contains all the parameters to send to the API endpoint for the get v sphere node types operation typically these are written to a http.Request
func NewGetVSphereNodeTypesParams ¶
func NewGetVSphereNodeTypesParams() *GetVSphereNodeTypesParams
NewGetVSphereNodeTypesParams creates a new GetVSphereNodeTypesParams object with the default values initialized.
func NewGetVSphereNodeTypesParamsWithContext ¶
func NewGetVSphereNodeTypesParamsWithContext(ctx context.Context) *GetVSphereNodeTypesParams
NewGetVSphereNodeTypesParamsWithContext creates a new GetVSphereNodeTypesParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereNodeTypesParamsWithHTTPClient ¶
func NewGetVSphereNodeTypesParamsWithHTTPClient(client *http.Client) *GetVSphereNodeTypesParams
NewGetVSphereNodeTypesParamsWithHTTPClient creates a new GetVSphereNodeTypesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereNodeTypesParamsWithTimeout ¶
func NewGetVSphereNodeTypesParamsWithTimeout(timeout time.Duration) *GetVSphereNodeTypesParams
NewGetVSphereNodeTypesParamsWithTimeout creates a new GetVSphereNodeTypesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereNodeTypesParams) SetContext ¶
func (o *GetVSphereNodeTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere node types params
func (*GetVSphereNodeTypesParams) SetHTTPClient ¶
func (o *GetVSphereNodeTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere node types params
func (*GetVSphereNodeTypesParams) SetTimeout ¶
func (o *GetVSphereNodeTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere node types params
func (*GetVSphereNodeTypesParams) WithContext ¶
func (o *GetVSphereNodeTypesParams) WithContext(ctx context.Context) *GetVSphereNodeTypesParams
WithContext adds the context to the get v sphere node types params
func (*GetVSphereNodeTypesParams) WithHTTPClient ¶
func (o *GetVSphereNodeTypesParams) WithHTTPClient(client *http.Client) *GetVSphereNodeTypesParams
WithHTTPClient adds the HTTPClient to the get v sphere node types params
func (*GetVSphereNodeTypesParams) WithTimeout ¶
func (o *GetVSphereNodeTypesParams) WithTimeout(timeout time.Duration) *GetVSphereNodeTypesParams
WithTimeout adds the timeout to the get v sphere node types params
func (*GetVSphereNodeTypesParams) WriteToRequest ¶
func (o *GetVSphereNodeTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereNodeTypesReader ¶
type GetVSphereNodeTypesReader struct {
// contains filtered or unexported fields
}
GetVSphereNodeTypesReader is a Reader for the GetVSphereNodeTypes structure.
func (*GetVSphereNodeTypesReader) ReadResponse ¶
func (o *GetVSphereNodeTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereNodeTypesUnauthorized ¶
type GetVSphereNodeTypesUnauthorized struct {
}GetVSphereNodeTypesUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereNodeTypesUnauthorized ¶
func NewGetVSphereNodeTypesUnauthorized() *GetVSphereNodeTypesUnauthorized
NewGetVSphereNodeTypesUnauthorized creates a GetVSphereNodeTypesUnauthorized with default headers values
func (*GetVSphereNodeTypesUnauthorized) Error ¶
func (o *GetVSphereNodeTypesUnauthorized) Error() string
func (*GetVSphereNodeTypesUnauthorized) GetPayload ¶
func (o *GetVSphereNodeTypesUnauthorized) GetPayload() *models.Error
type GetVSphereOSImagesBadRequest ¶
GetVSphereOSImagesBadRequest handles this case with default header values.
Bad request
func NewGetVSphereOSImagesBadRequest ¶
func NewGetVSphereOSImagesBadRequest() *GetVSphereOSImagesBadRequest
NewGetVSphereOSImagesBadRequest creates a GetVSphereOSImagesBadRequest with default headers values
func (*GetVSphereOSImagesBadRequest) Error ¶
func (o *GetVSphereOSImagesBadRequest) Error() string
func (*GetVSphereOSImagesBadRequest) GetPayload ¶
func (o *GetVSphereOSImagesBadRequest) GetPayload() *models.Error
type GetVSphereOSImagesInternalServerError ¶
GetVSphereOSImagesInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereOSImagesInternalServerError ¶
func NewGetVSphereOSImagesInternalServerError() *GetVSphereOSImagesInternalServerError
NewGetVSphereOSImagesInternalServerError creates a GetVSphereOSImagesInternalServerError with default headers values
func (*GetVSphereOSImagesInternalServerError) Error ¶
func (o *GetVSphereOSImagesInternalServerError) Error() string
func (*GetVSphereOSImagesInternalServerError) GetPayload ¶
func (o *GetVSphereOSImagesInternalServerError) GetPayload() *models.Error
type GetVSphereOSImagesOK ¶
type GetVSphereOSImagesOK struct {
Payload []*models.VSphereVirtualMachine
}
GetVSphereOSImagesOK handles this case with default header values.
Successful retrieval of node images supported by vSphere
func NewGetVSphereOSImagesOK ¶
func NewGetVSphereOSImagesOK() *GetVSphereOSImagesOK
NewGetVSphereOSImagesOK creates a GetVSphereOSImagesOK with default headers values
func (*GetVSphereOSImagesOK) Error ¶
func (o *GetVSphereOSImagesOK) Error() string
func (*GetVSphereOSImagesOK) GetPayload ¶
func (o *GetVSphereOSImagesOK) GetPayload() []*models.VSphereVirtualMachine
type GetVSphereOSImagesParams ¶
type GetVSphereOSImagesParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereOSImagesParams contains all the parameters to send to the API endpoint for the get v sphere o s images operation typically these are written to a http.Request
func NewGetVSphereOSImagesParams ¶
func NewGetVSphereOSImagesParams() *GetVSphereOSImagesParams
NewGetVSphereOSImagesParams creates a new GetVSphereOSImagesParams object with the default values initialized.
func NewGetVSphereOSImagesParamsWithContext ¶
func NewGetVSphereOSImagesParamsWithContext(ctx context.Context) *GetVSphereOSImagesParams
NewGetVSphereOSImagesParamsWithContext creates a new GetVSphereOSImagesParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereOSImagesParamsWithHTTPClient ¶
func NewGetVSphereOSImagesParamsWithHTTPClient(client *http.Client) *GetVSphereOSImagesParams
NewGetVSphereOSImagesParamsWithHTTPClient creates a new GetVSphereOSImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereOSImagesParamsWithTimeout ¶
func NewGetVSphereOSImagesParamsWithTimeout(timeout time.Duration) *GetVSphereOSImagesParams
NewGetVSphereOSImagesParamsWithTimeout creates a new GetVSphereOSImagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereOSImagesParams) SetContext ¶
func (o *GetVSphereOSImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere o s images params
func (*GetVSphereOSImagesParams) SetDc ¶
func (o *GetVSphereOSImagesParams) SetDc(dc string)
SetDc adds the dc to the get v sphere o s images params
func (*GetVSphereOSImagesParams) SetHTTPClient ¶
func (o *GetVSphereOSImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere o s images params
func (*GetVSphereOSImagesParams) SetTimeout ¶
func (o *GetVSphereOSImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere o s images params
func (*GetVSphereOSImagesParams) WithContext ¶
func (o *GetVSphereOSImagesParams) WithContext(ctx context.Context) *GetVSphereOSImagesParams
WithContext adds the context to the get v sphere o s images params
func (*GetVSphereOSImagesParams) WithDc ¶
func (o *GetVSphereOSImagesParams) WithDc(dc string) *GetVSphereOSImagesParams
WithDc adds the dc to the get v sphere o s images params
func (*GetVSphereOSImagesParams) WithHTTPClient ¶
func (o *GetVSphereOSImagesParams) WithHTTPClient(client *http.Client) *GetVSphereOSImagesParams
WithHTTPClient adds the HTTPClient to the get v sphere o s images params
func (*GetVSphereOSImagesParams) WithTimeout ¶
func (o *GetVSphereOSImagesParams) WithTimeout(timeout time.Duration) *GetVSphereOSImagesParams
WithTimeout adds the timeout to the get v sphere o s images params
func (*GetVSphereOSImagesParams) WriteToRequest ¶
func (o *GetVSphereOSImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereOSImagesReader ¶
type GetVSphereOSImagesReader struct {
// contains filtered or unexported fields
}
GetVSphereOSImagesReader is a Reader for the GetVSphereOSImages structure.
func (*GetVSphereOSImagesReader) ReadResponse ¶
func (o *GetVSphereOSImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereOSImagesUnauthorized ¶
type GetVSphereOSImagesUnauthorized struct {
}GetVSphereOSImagesUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereOSImagesUnauthorized ¶
func NewGetVSphereOSImagesUnauthorized() *GetVSphereOSImagesUnauthorized
NewGetVSphereOSImagesUnauthorized creates a GetVSphereOSImagesUnauthorized with default headers values
func (*GetVSphereOSImagesUnauthorized) Error ¶
func (o *GetVSphereOSImagesUnauthorized) Error() string
func (*GetVSphereOSImagesUnauthorized) GetPayload ¶
func (o *GetVSphereOSImagesUnauthorized) GetPayload() *models.Error
type GetVSphereResourcePoolsBadRequest ¶
GetVSphereResourcePoolsBadRequest handles this case with default header values.
Bad request
func NewGetVSphereResourcePoolsBadRequest ¶
func NewGetVSphereResourcePoolsBadRequest() *GetVSphereResourcePoolsBadRequest
NewGetVSphereResourcePoolsBadRequest creates a GetVSphereResourcePoolsBadRequest with default headers values
func (*GetVSphereResourcePoolsBadRequest) Error ¶
func (o *GetVSphereResourcePoolsBadRequest) Error() string
func (*GetVSphereResourcePoolsBadRequest) GetPayload ¶
func (o *GetVSphereResourcePoolsBadRequest) GetPayload() *models.Error
type GetVSphereResourcePoolsInternalServerError ¶
GetVSphereResourcePoolsInternalServerError handles this case with default header values.
Internal server error
func NewGetVSphereResourcePoolsInternalServerError ¶
func NewGetVSphereResourcePoolsInternalServerError() *GetVSphereResourcePoolsInternalServerError
NewGetVSphereResourcePoolsInternalServerError creates a GetVSphereResourcePoolsInternalServerError with default headers values
func (*GetVSphereResourcePoolsInternalServerError) Error ¶
func (o *GetVSphereResourcePoolsInternalServerError) Error() string
func (*GetVSphereResourcePoolsInternalServerError) GetPayload ¶
func (o *GetVSphereResourcePoolsInternalServerError) GetPayload() *models.Error
type GetVSphereResourcePoolsOK ¶
type GetVSphereResourcePoolsOK struct {
Payload []*models.VSphereResourcePool
}
GetVSphereResourcePoolsOK handles this case with default header values.
Successful retrieval of vSphere resourcePools
func NewGetVSphereResourcePoolsOK ¶
func NewGetVSphereResourcePoolsOK() *GetVSphereResourcePoolsOK
NewGetVSphereResourcePoolsOK creates a GetVSphereResourcePoolsOK with default headers values
func (*GetVSphereResourcePoolsOK) Error ¶
func (o *GetVSphereResourcePoolsOK) Error() string
func (*GetVSphereResourcePoolsOK) GetPayload ¶
func (o *GetVSphereResourcePoolsOK) GetPayload() []*models.VSphereResourcePool
type GetVSphereResourcePoolsParams ¶
type GetVSphereResourcePoolsParams struct { /*Dc datacenter managed object Id, e.g. datacenter-2 */ Dc string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVSphereResourcePoolsParams contains all the parameters to send to the API endpoint for the get v sphere resource pools operation typically these are written to a http.Request
func NewGetVSphereResourcePoolsParams ¶
func NewGetVSphereResourcePoolsParams() *GetVSphereResourcePoolsParams
NewGetVSphereResourcePoolsParams creates a new GetVSphereResourcePoolsParams object with the default values initialized.
func NewGetVSphereResourcePoolsParamsWithContext ¶
func NewGetVSphereResourcePoolsParamsWithContext(ctx context.Context) *GetVSphereResourcePoolsParams
NewGetVSphereResourcePoolsParamsWithContext creates a new GetVSphereResourcePoolsParams object with the default values initialized, and the ability to set a context for a request
func NewGetVSphereResourcePoolsParamsWithHTTPClient ¶
func NewGetVSphereResourcePoolsParamsWithHTTPClient(client *http.Client) *GetVSphereResourcePoolsParams
NewGetVSphereResourcePoolsParamsWithHTTPClient creates a new GetVSphereResourcePoolsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVSphereResourcePoolsParamsWithTimeout ¶
func NewGetVSphereResourcePoolsParamsWithTimeout(timeout time.Duration) *GetVSphereResourcePoolsParams
NewGetVSphereResourcePoolsParamsWithTimeout creates a new GetVSphereResourcePoolsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVSphereResourcePoolsParams) SetContext ¶
func (o *GetVSphereResourcePoolsParams) SetContext(ctx context.Context)
SetContext adds the context to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) SetDc ¶
func (o *GetVSphereResourcePoolsParams) SetDc(dc string)
SetDc adds the dc to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) SetHTTPClient ¶
func (o *GetVSphereResourcePoolsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) SetTimeout ¶
func (o *GetVSphereResourcePoolsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) WithContext ¶
func (o *GetVSphereResourcePoolsParams) WithContext(ctx context.Context) *GetVSphereResourcePoolsParams
WithContext adds the context to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) WithDc ¶
func (o *GetVSphereResourcePoolsParams) WithDc(dc string) *GetVSphereResourcePoolsParams
WithDc adds the dc to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) WithHTTPClient ¶
func (o *GetVSphereResourcePoolsParams) WithHTTPClient(client *http.Client) *GetVSphereResourcePoolsParams
WithHTTPClient adds the HTTPClient to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) WithTimeout ¶
func (o *GetVSphereResourcePoolsParams) WithTimeout(timeout time.Duration) *GetVSphereResourcePoolsParams
WithTimeout adds the timeout to the get v sphere resource pools params
func (*GetVSphereResourcePoolsParams) WriteToRequest ¶
func (o *GetVSphereResourcePoolsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVSphereResourcePoolsReader ¶
type GetVSphereResourcePoolsReader struct {
// contains filtered or unexported fields
}
GetVSphereResourcePoolsReader is a Reader for the GetVSphereResourcePools structure.
func (*GetVSphereResourcePoolsReader) ReadResponse ¶
func (o *GetVSphereResourcePoolsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVSphereResourcePoolsUnauthorized ¶
type GetVSphereResourcePoolsUnauthorized struct {
}GetVSphereResourcePoolsUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVSphereResourcePoolsUnauthorized ¶
func NewGetVSphereResourcePoolsUnauthorized() *GetVSphereResourcePoolsUnauthorized
NewGetVSphereResourcePoolsUnauthorized creates a GetVSphereResourcePoolsUnauthorized with default headers values
func (*GetVSphereResourcePoolsUnauthorized) Error ¶
func (o *GetVSphereResourcePoolsUnauthorized) Error() string
func (*GetVSphereResourcePoolsUnauthorized) GetPayload ¶
func (o *GetVSphereResourcePoolsUnauthorized) GetPayload() *models.Error
type GetVsphereThumbprintBadRequest ¶
GetVsphereThumbprintBadRequest handles this case with default header values.
Bad request
func NewGetVsphereThumbprintBadRequest ¶
func NewGetVsphereThumbprintBadRequest() *GetVsphereThumbprintBadRequest
NewGetVsphereThumbprintBadRequest creates a GetVsphereThumbprintBadRequest with default headers values
func (*GetVsphereThumbprintBadRequest) Error ¶
func (o *GetVsphereThumbprintBadRequest) Error() string
func (*GetVsphereThumbprintBadRequest) GetPayload ¶
func (o *GetVsphereThumbprintBadRequest) GetPayload() *models.Error
type GetVsphereThumbprintInternalServerError ¶
GetVsphereThumbprintInternalServerError handles this case with default header values.
Internal server error
func NewGetVsphereThumbprintInternalServerError ¶
func NewGetVsphereThumbprintInternalServerError() *GetVsphereThumbprintInternalServerError
NewGetVsphereThumbprintInternalServerError creates a GetVsphereThumbprintInternalServerError with default headers values
func (*GetVsphereThumbprintInternalServerError) Error ¶
func (o *GetVsphereThumbprintInternalServerError) Error() string
func (*GetVsphereThumbprintInternalServerError) GetPayload ¶
func (o *GetVsphereThumbprintInternalServerError) GetPayload() *models.Error
type GetVsphereThumbprintOK ¶
type GetVsphereThumbprintOK struct {
Payload *models.VSphereThumbprint
}
GetVsphereThumbprintOK handles this case with default header values.
Successful retrieval of vSphere thumbprint
func NewGetVsphereThumbprintOK ¶
func NewGetVsphereThumbprintOK() *GetVsphereThumbprintOK
NewGetVsphereThumbprintOK creates a GetVsphereThumbprintOK with default headers values
func (*GetVsphereThumbprintOK) Error ¶
func (o *GetVsphereThumbprintOK) Error() string
func (*GetVsphereThumbprintOK) GetPayload ¶
func (o *GetVsphereThumbprintOK) GetPayload() *models.VSphereThumbprint
type GetVsphereThumbprintParams ¶
type GetVsphereThumbprintParams struct { /*Host vSphere host */ Host string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetVsphereThumbprintParams contains all the parameters to send to the API endpoint for the get vsphere thumbprint operation typically these are written to a http.Request
func NewGetVsphereThumbprintParams ¶
func NewGetVsphereThumbprintParams() *GetVsphereThumbprintParams
NewGetVsphereThumbprintParams creates a new GetVsphereThumbprintParams object with the default values initialized.
func NewGetVsphereThumbprintParamsWithContext ¶
func NewGetVsphereThumbprintParamsWithContext(ctx context.Context) *GetVsphereThumbprintParams
NewGetVsphereThumbprintParamsWithContext creates a new GetVsphereThumbprintParams object with the default values initialized, and the ability to set a context for a request
func NewGetVsphereThumbprintParamsWithHTTPClient ¶
func NewGetVsphereThumbprintParamsWithHTTPClient(client *http.Client) *GetVsphereThumbprintParams
NewGetVsphereThumbprintParamsWithHTTPClient creates a new GetVsphereThumbprintParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetVsphereThumbprintParamsWithTimeout ¶
func NewGetVsphereThumbprintParamsWithTimeout(timeout time.Duration) *GetVsphereThumbprintParams
NewGetVsphereThumbprintParamsWithTimeout creates a new GetVsphereThumbprintParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetVsphereThumbprintParams) SetContext ¶
func (o *GetVsphereThumbprintParams) SetContext(ctx context.Context)
SetContext adds the context to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) SetHTTPClient ¶
func (o *GetVsphereThumbprintParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) SetHost ¶
func (o *GetVsphereThumbprintParams) SetHost(host string)
SetHost adds the host to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) SetTimeout ¶
func (o *GetVsphereThumbprintParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) WithContext ¶
func (o *GetVsphereThumbprintParams) WithContext(ctx context.Context) *GetVsphereThumbprintParams
WithContext adds the context to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) WithHTTPClient ¶
func (o *GetVsphereThumbprintParams) WithHTTPClient(client *http.Client) *GetVsphereThumbprintParams
WithHTTPClient adds the HTTPClient to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) WithHost ¶
func (o *GetVsphereThumbprintParams) WithHost(host string) *GetVsphereThumbprintParams
WithHost adds the host to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) WithTimeout ¶
func (o *GetVsphereThumbprintParams) WithTimeout(timeout time.Duration) *GetVsphereThumbprintParams
WithTimeout adds the timeout to the get vsphere thumbprint params
func (*GetVsphereThumbprintParams) WriteToRequest ¶
func (o *GetVsphereThumbprintParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetVsphereThumbprintReader ¶
type GetVsphereThumbprintReader struct {
// contains filtered or unexported fields
}
GetVsphereThumbprintReader is a Reader for the GetVsphereThumbprint structure.
func (*GetVsphereThumbprintReader) ReadResponse ¶
func (o *GetVsphereThumbprintReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetVsphereThumbprintUnauthorized ¶
type GetVsphereThumbprintUnauthorized struct {
}GetVsphereThumbprintUnauthorized handles this case with default header values.
Incorrect credentials
func NewGetVsphereThumbprintUnauthorized ¶
func NewGetVsphereThumbprintUnauthorized() *GetVsphereThumbprintUnauthorized
NewGetVsphereThumbprintUnauthorized creates a GetVsphereThumbprintUnauthorized with default headers values
func (*GetVsphereThumbprintUnauthorized) Error ¶
func (o *GetVsphereThumbprintUnauthorized) Error() string
func (*GetVsphereThumbprintUnauthorized) GetPayload ¶
func (o *GetVsphereThumbprintUnauthorized) GetPayload() *models.Error
type SetVSphereEndpointBadRequest ¶
SetVSphereEndpointBadRequest handles this case with default header values.
Bad request
func NewSetVSphereEndpointBadRequest ¶
func NewSetVSphereEndpointBadRequest() *SetVSphereEndpointBadRequest
NewSetVSphereEndpointBadRequest creates a SetVSphereEndpointBadRequest with default headers values
func (*SetVSphereEndpointBadRequest) Error ¶
func (o *SetVSphereEndpointBadRequest) Error() string
func (*SetVSphereEndpointBadRequest) GetPayload ¶
func (o *SetVSphereEndpointBadRequest) GetPayload() *models.Error
type SetVSphereEndpointCreated ¶
type SetVSphereEndpointCreated struct {
Payload *models.VsphereInfo
}
SetVSphereEndpointCreated handles this case with default header values.
Connection successful
func NewSetVSphereEndpointCreated ¶
func NewSetVSphereEndpointCreated() *SetVSphereEndpointCreated
NewSetVSphereEndpointCreated creates a SetVSphereEndpointCreated with default headers values
func (*SetVSphereEndpointCreated) Error ¶
func (o *SetVSphereEndpointCreated) Error() string
func (*SetVSphereEndpointCreated) GetPayload ¶
func (o *SetVSphereEndpointCreated) GetPayload() *models.VsphereInfo
type SetVSphereEndpointInternalServerError ¶
SetVSphereEndpointInternalServerError handles this case with default header values.
Internal server error
func NewSetVSphereEndpointInternalServerError ¶
func NewSetVSphereEndpointInternalServerError() *SetVSphereEndpointInternalServerError
NewSetVSphereEndpointInternalServerError creates a SetVSphereEndpointInternalServerError with default headers values
func (*SetVSphereEndpointInternalServerError) Error ¶
func (o *SetVSphereEndpointInternalServerError) Error() string
func (*SetVSphereEndpointInternalServerError) GetPayload ¶
func (o *SetVSphereEndpointInternalServerError) GetPayload() *models.Error
type SetVSphereEndpointParams ¶
type SetVSphereEndpointParams struct { /*Credentials vSphere credentials */ Credentials *models.VSphereCredentials Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SetVSphereEndpointParams contains all the parameters to send to the API endpoint for the set v sphere endpoint operation typically these are written to a http.Request
func NewSetVSphereEndpointParams ¶
func NewSetVSphereEndpointParams() *SetVSphereEndpointParams
NewSetVSphereEndpointParams creates a new SetVSphereEndpointParams object with the default values initialized.
func NewSetVSphereEndpointParamsWithContext ¶
func NewSetVSphereEndpointParamsWithContext(ctx context.Context) *SetVSphereEndpointParams
NewSetVSphereEndpointParamsWithContext creates a new SetVSphereEndpointParams object with the default values initialized, and the ability to set a context for a request
func NewSetVSphereEndpointParamsWithHTTPClient ¶
func NewSetVSphereEndpointParamsWithHTTPClient(client *http.Client) *SetVSphereEndpointParams
NewSetVSphereEndpointParamsWithHTTPClient creates a new SetVSphereEndpointParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSetVSphereEndpointParamsWithTimeout ¶
func NewSetVSphereEndpointParamsWithTimeout(timeout time.Duration) *SetVSphereEndpointParams
NewSetVSphereEndpointParamsWithTimeout creates a new SetVSphereEndpointParams object with the default values initialized, and the ability to set a timeout on a request
func (*SetVSphereEndpointParams) SetContext ¶
func (o *SetVSphereEndpointParams) SetContext(ctx context.Context)
SetContext adds the context to the set v sphere endpoint params
func (*SetVSphereEndpointParams) SetCredentials ¶
func (o *SetVSphereEndpointParams) SetCredentials(credentials *models.VSphereCredentials)
SetCredentials adds the credentials to the set v sphere endpoint params
func (*SetVSphereEndpointParams) SetHTTPClient ¶
func (o *SetVSphereEndpointParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the set v sphere endpoint params
func (*SetVSphereEndpointParams) SetTimeout ¶
func (o *SetVSphereEndpointParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the set v sphere endpoint params
func (*SetVSphereEndpointParams) WithContext ¶
func (o *SetVSphereEndpointParams) WithContext(ctx context.Context) *SetVSphereEndpointParams
WithContext adds the context to the set v sphere endpoint params
func (*SetVSphereEndpointParams) WithCredentials ¶
func (o *SetVSphereEndpointParams) WithCredentials(credentials *models.VSphereCredentials) *SetVSphereEndpointParams
WithCredentials adds the credentials to the set v sphere endpoint params
func (*SetVSphereEndpointParams) WithHTTPClient ¶
func (o *SetVSphereEndpointParams) WithHTTPClient(client *http.Client) *SetVSphereEndpointParams
WithHTTPClient adds the HTTPClient to the set v sphere endpoint params
func (*SetVSphereEndpointParams) WithTimeout ¶
func (o *SetVSphereEndpointParams) WithTimeout(timeout time.Duration) *SetVSphereEndpointParams
WithTimeout adds the timeout to the set v sphere endpoint params
func (*SetVSphereEndpointParams) WriteToRequest ¶
func (o *SetVSphereEndpointParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SetVSphereEndpointReader ¶
type SetVSphereEndpointReader struct {
// contains filtered or unexported fields
}
SetVSphereEndpointReader is a Reader for the SetVSphereEndpoint structure.
func (*SetVSphereEndpointReader) ReadResponse ¶
func (o *SetVSphereEndpointReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SetVSphereEndpointUnauthorized ¶
type SetVSphereEndpointUnauthorized struct {
}SetVSphereEndpointUnauthorized handles this case with default header values.
Incorrect credentials
func NewSetVSphereEndpointUnauthorized ¶
func NewSetVSphereEndpointUnauthorized() *SetVSphereEndpointUnauthorized
NewSetVSphereEndpointUnauthorized creates a SetVSphereEndpointUnauthorized with default headers values
func (*SetVSphereEndpointUnauthorized) Error ¶
func (o *SetVSphereEndpointUnauthorized) Error() string
func (*SetVSphereEndpointUnauthorized) GetPayload ¶
func (o *SetVSphereEndpointUnauthorized) GetPayload() *models.Error
Source Files ¶
- apply_t_k_g_config_for_vsphere_parameters.go
- apply_t_k_g_config_for_vsphere_responses.go
- create_v_sphere_regional_cluster_parameters.go
- create_v_sphere_regional_cluster_responses.go
- export_t_k_g_config_for_vsphere_parameters.go
- export_t_k_g_config_for_vsphere_responses.go
- get_v_sphere_compute_resources_parameters.go
- get_v_sphere_compute_resources_responses.go
- get_v_sphere_datacenters_parameters.go
- get_v_sphere_datacenters_responses.go
- get_v_sphere_datastores_parameters.go
- get_v_sphere_datastores_responses.go
- get_v_sphere_folders_parameters.go
- get_v_sphere_folders_responses.go
- get_v_sphere_networks_parameters.go
- get_v_sphere_networks_responses.go
- get_v_sphere_node_types_parameters.go
- get_v_sphere_node_types_responses.go
- get_v_sphere_o_s_images_parameters.go
- get_v_sphere_o_s_images_responses.go
- get_v_sphere_resource_pools_parameters.go
- get_v_sphere_resource_pools_responses.go
- get_vsphere_thumbprint_parameters.go
- get_vsphere_thumbprint_responses.go
- set_v_sphere_endpoint_parameters.go
- set_v_sphere_endpoint_responses.go
- vsphere_client.go