Documentation ¶
Index ¶
- Constants
- type ApplyTKGConfigForVsphere
- type ApplyTKGConfigForVsphereBadRequest
- func (o *ApplyTKGConfigForVsphereBadRequest) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForVsphereBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereBadRequest
- func (o *ApplyTKGConfigForVsphereBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForVsphereHandler
- type ApplyTKGConfigForVsphereHandlerFunc
- type ApplyTKGConfigForVsphereInternalServerError
- func (o *ApplyTKGConfigForVsphereInternalServerError) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForVsphereInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereInternalServerError
- func (o *ApplyTKGConfigForVsphereInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForVsphereOK
- type ApplyTKGConfigForVsphereParams
- type ApplyTKGConfigForVsphereURL
- func (o *ApplyTKGConfigForVsphereURL) Build() (*url.URL, error)
- func (o *ApplyTKGConfigForVsphereURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApplyTKGConfigForVsphereURL) Must(u *url.URL, err error) *url.URL
- func (o *ApplyTKGConfigForVsphereURL) SetBasePath(bp string)
- func (o *ApplyTKGConfigForVsphereURL) String() string
- func (o *ApplyTKGConfigForVsphereURL) StringFull(scheme, host string) string
- func (o *ApplyTKGConfigForVsphereURL) WithBasePath(bp string) *ApplyTKGConfigForVsphereURL
- type ApplyTKGConfigForVsphereUnauthorized
- func (o *ApplyTKGConfigForVsphereUnauthorized) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForVsphereUnauthorized) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereUnauthorized
- func (o *ApplyTKGConfigForVsphereUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateVSphereRegionalCluster
- type CreateVSphereRegionalClusterBadRequest
- func (o *CreateVSphereRegionalClusterBadRequest) SetPayload(payload *models.Error)
- func (o *CreateVSphereRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterBadRequest
- func (o *CreateVSphereRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateVSphereRegionalClusterHandler
- type CreateVSphereRegionalClusterHandlerFunc
- type CreateVSphereRegionalClusterInternalServerError
- func (o *CreateVSphereRegionalClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateVSphereRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterInternalServerError
- func (o *CreateVSphereRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateVSphereRegionalClusterOK
- type CreateVSphereRegionalClusterParams
- type CreateVSphereRegionalClusterURL
- func (o *CreateVSphereRegionalClusterURL) Build() (*url.URL, error)
- func (o *CreateVSphereRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateVSphereRegionalClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateVSphereRegionalClusterURL) SetBasePath(bp string)
- func (o *CreateVSphereRegionalClusterURL) String() string
- func (o *CreateVSphereRegionalClusterURL) StringFull(scheme, host string) string
- func (o *CreateVSphereRegionalClusterURL) WithBasePath(bp string) *CreateVSphereRegionalClusterURL
- type CreateVSphereRegionalClusterUnauthorized
- func (o *CreateVSphereRegionalClusterUnauthorized) SetPayload(payload *models.Error)
- func (o *CreateVSphereRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterUnauthorized
- func (o *CreateVSphereRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateTKGConfigForVsphere
- type GenerateTKGConfigForVsphereBadRequest
- func (o *GenerateTKGConfigForVsphereBadRequest) SetPayload(payload *models.Error)
- func (o *GenerateTKGConfigForVsphereBadRequest) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereBadRequest
- func (o *GenerateTKGConfigForVsphereBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateTKGConfigForVsphereHandler
- type GenerateTKGConfigForVsphereHandlerFunc
- type GenerateTKGConfigForVsphereInternalServerError
- func (o *GenerateTKGConfigForVsphereInternalServerError) SetPayload(payload *models.Error)
- func (o *GenerateTKGConfigForVsphereInternalServerError) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereInternalServerError
- func (o *GenerateTKGConfigForVsphereInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GenerateTKGConfigForVsphereOK
- type GenerateTKGConfigForVsphereParams
- type GenerateTKGConfigForVsphereURL
- func (o *GenerateTKGConfigForVsphereURL) Build() (*url.URL, error)
- func (o *GenerateTKGConfigForVsphereURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GenerateTKGConfigForVsphereURL) Must(u *url.URL, err error) *url.URL
- func (o *GenerateTKGConfigForVsphereURL) SetBasePath(bp string)
- func (o *GenerateTKGConfigForVsphereURL) String() string
- func (o *GenerateTKGConfigForVsphereURL) StringFull(scheme, host string) string
- func (o *GenerateTKGConfigForVsphereURL) WithBasePath(bp string) *GenerateTKGConfigForVsphereURL
- type GenerateTKGConfigForVsphereUnauthorized
- func (o *GenerateTKGConfigForVsphereUnauthorized) SetPayload(payload *models.Error)
- func (o *GenerateTKGConfigForVsphereUnauthorized) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereUnauthorized
- func (o *GenerateTKGConfigForVsphereUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereComputeResources
- type GetVSphereComputeResourcesBadRequest
- func (o *GetVSphereComputeResourcesBadRequest) SetPayload(payload *models.Error)
- func (o *GetVSphereComputeResourcesBadRequest) WithPayload(payload *models.Error) *GetVSphereComputeResourcesBadRequest
- func (o *GetVSphereComputeResourcesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereComputeResourcesHandler
- type GetVSphereComputeResourcesHandlerFunc
- type GetVSphereComputeResourcesInternalServerError
- func (o *GetVSphereComputeResourcesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereComputeResourcesInternalServerError) WithPayload(payload *models.Error) *GetVSphereComputeResourcesInternalServerError
- func (o *GetVSphereComputeResourcesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereComputeResourcesOK
- func (o *GetVSphereComputeResourcesOK) SetPayload(payload []*models.VSphereManagementObject)
- func (o *GetVSphereComputeResourcesOK) WithPayload(payload []*models.VSphereManagementObject) *GetVSphereComputeResourcesOK
- func (o *GetVSphereComputeResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereComputeResourcesParams
- type GetVSphereComputeResourcesURL
- func (o *GetVSphereComputeResourcesURL) Build() (*url.URL, error)
- func (o *GetVSphereComputeResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereComputeResourcesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereComputeResourcesURL) SetBasePath(bp string)
- func (o *GetVSphereComputeResourcesURL) String() string
- func (o *GetVSphereComputeResourcesURL) StringFull(scheme, host string) string
- func (o *GetVSphereComputeResourcesURL) WithBasePath(bp string) *GetVSphereComputeResourcesURL
- type GetVSphereComputeResourcesUnauthorized
- func (o *GetVSphereComputeResourcesUnauthorized) SetPayload(payload *models.Error)
- func (o *GetVSphereComputeResourcesUnauthorized) WithPayload(payload *models.Error) *GetVSphereComputeResourcesUnauthorized
- func (o *GetVSphereComputeResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereDatacenters
- type GetVSphereDatacentersBadRequest
- type GetVSphereDatacentersHandler
- type GetVSphereDatacentersHandlerFunc
- type GetVSphereDatacentersInternalServerError
- func (o *GetVSphereDatacentersInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereDatacentersInternalServerError) WithPayload(payload *models.Error) *GetVSphereDatacentersInternalServerError
- func (o *GetVSphereDatacentersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereDatacentersOK
- type GetVSphereDatacentersParams
- type GetVSphereDatacentersURL
- func (o *GetVSphereDatacentersURL) Build() (*url.URL, error)
- func (o *GetVSphereDatacentersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereDatacentersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereDatacentersURL) SetBasePath(bp string)
- func (o *GetVSphereDatacentersURL) String() string
- func (o *GetVSphereDatacentersURL) StringFull(scheme, host string) string
- func (o *GetVSphereDatacentersURL) WithBasePath(bp string) *GetVSphereDatacentersURL
- type GetVSphereDatacentersUnauthorized
- func (o *GetVSphereDatacentersUnauthorized) SetPayload(payload *models.Error)
- func (o *GetVSphereDatacentersUnauthorized) WithPayload(payload *models.Error) *GetVSphereDatacentersUnauthorized
- func (o *GetVSphereDatacentersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereDatastores
- type GetVSphereDatastoresBadRequest
- type GetVSphereDatastoresHandler
- type GetVSphereDatastoresHandlerFunc
- type GetVSphereDatastoresInternalServerError
- func (o *GetVSphereDatastoresInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereDatastoresInternalServerError) WithPayload(payload *models.Error) *GetVSphereDatastoresInternalServerError
- func (o *GetVSphereDatastoresInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereDatastoresOK
- type GetVSphereDatastoresParams
- type GetVSphereDatastoresURL
- func (o *GetVSphereDatastoresURL) Build() (*url.URL, error)
- func (o *GetVSphereDatastoresURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereDatastoresURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereDatastoresURL) SetBasePath(bp string)
- func (o *GetVSphereDatastoresURL) String() string
- func (o *GetVSphereDatastoresURL) StringFull(scheme, host string) string
- func (o *GetVSphereDatastoresURL) WithBasePath(bp string) *GetVSphereDatastoresURL
- type GetVSphereDatastoresUnauthorized
- type GetVSphereFolders
- type GetVSphereFoldersBadRequest
- type GetVSphereFoldersHandler
- type GetVSphereFoldersHandlerFunc
- type GetVSphereFoldersInternalServerError
- func (o *GetVSphereFoldersInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereFoldersInternalServerError) WithPayload(payload *models.Error) *GetVSphereFoldersInternalServerError
- func (o *GetVSphereFoldersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereFoldersOK
- type GetVSphereFoldersParams
- type GetVSphereFoldersURL
- func (o *GetVSphereFoldersURL) Build() (*url.URL, error)
- func (o *GetVSphereFoldersURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereFoldersURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereFoldersURL) SetBasePath(bp string)
- func (o *GetVSphereFoldersURL) String() string
- func (o *GetVSphereFoldersURL) StringFull(scheme, host string) string
- func (o *GetVSphereFoldersURL) WithBasePath(bp string) *GetVSphereFoldersURL
- type GetVSphereFoldersUnauthorized
- type GetVSphereNetworks
- type GetVSphereNetworksBadRequest
- type GetVSphereNetworksHandler
- type GetVSphereNetworksHandlerFunc
- type GetVSphereNetworksInternalServerError
- func (o *GetVSphereNetworksInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereNetworksInternalServerError) WithPayload(payload *models.Error) *GetVSphereNetworksInternalServerError
- func (o *GetVSphereNetworksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereNetworksOK
- type GetVSphereNetworksParams
- type GetVSphereNetworksURL
- func (o *GetVSphereNetworksURL) Build() (*url.URL, error)
- func (o *GetVSphereNetworksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereNetworksURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereNetworksURL) SetBasePath(bp string)
- func (o *GetVSphereNetworksURL) String() string
- func (o *GetVSphereNetworksURL) StringFull(scheme, host string) string
- func (o *GetVSphereNetworksURL) WithBasePath(bp string) *GetVSphereNetworksURL
- type GetVSphereNetworksUnauthorized
- type GetVSphereNodeTypes
- type GetVSphereNodeTypesBadRequest
- type GetVSphereNodeTypesHandler
- type GetVSphereNodeTypesHandlerFunc
- type GetVSphereNodeTypesInternalServerError
- func (o *GetVSphereNodeTypesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereNodeTypesInternalServerError) WithPayload(payload *models.Error) *GetVSphereNodeTypesInternalServerError
- func (o *GetVSphereNodeTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereNodeTypesOK
- type GetVSphereNodeTypesParams
- type GetVSphereNodeTypesURL
- func (o *GetVSphereNodeTypesURL) Build() (*url.URL, error)
- func (o *GetVSphereNodeTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereNodeTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereNodeTypesURL) SetBasePath(bp string)
- func (o *GetVSphereNodeTypesURL) String() string
- func (o *GetVSphereNodeTypesURL) StringFull(scheme, host string) string
- func (o *GetVSphereNodeTypesURL) WithBasePath(bp string) *GetVSphereNodeTypesURL
- type GetVSphereNodeTypesUnauthorized
- type GetVSphereOSImages
- type GetVSphereOSImagesBadRequest
- type GetVSphereOSImagesHandler
- type GetVSphereOSImagesHandlerFunc
- type GetVSphereOSImagesInternalServerError
- func (o *GetVSphereOSImagesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereOSImagesInternalServerError) WithPayload(payload *models.Error) *GetVSphereOSImagesInternalServerError
- func (o *GetVSphereOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereOSImagesOK
- type GetVSphereOSImagesParams
- type GetVSphereOSImagesURL
- func (o *GetVSphereOSImagesURL) Build() (*url.URL, error)
- func (o *GetVSphereOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereOSImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereOSImagesURL) SetBasePath(bp string)
- func (o *GetVSphereOSImagesURL) String() string
- func (o *GetVSphereOSImagesURL) StringFull(scheme, host string) string
- func (o *GetVSphereOSImagesURL) WithBasePath(bp string) *GetVSphereOSImagesURL
- type GetVSphereOSImagesUnauthorized
- type GetVSphereResourcePools
- type GetVSphereResourcePoolsBadRequest
- func (o *GetVSphereResourcePoolsBadRequest) SetPayload(payload *models.Error)
- func (o *GetVSphereResourcePoolsBadRequest) WithPayload(payload *models.Error) *GetVSphereResourcePoolsBadRequest
- func (o *GetVSphereResourcePoolsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereResourcePoolsHandler
- type GetVSphereResourcePoolsHandlerFunc
- type GetVSphereResourcePoolsInternalServerError
- func (o *GetVSphereResourcePoolsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVSphereResourcePoolsInternalServerError) WithPayload(payload *models.Error) *GetVSphereResourcePoolsInternalServerError
- func (o *GetVSphereResourcePoolsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereResourcePoolsOK
- func (o *GetVSphereResourcePoolsOK) SetPayload(payload []*models.VSphereResourcePool)
- func (o *GetVSphereResourcePoolsOK) WithPayload(payload []*models.VSphereResourcePool) *GetVSphereResourcePoolsOK
- func (o *GetVSphereResourcePoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVSphereResourcePoolsParams
- type GetVSphereResourcePoolsURL
- func (o *GetVSphereResourcePoolsURL) Build() (*url.URL, error)
- func (o *GetVSphereResourcePoolsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVSphereResourcePoolsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVSphereResourcePoolsURL) SetBasePath(bp string)
- func (o *GetVSphereResourcePoolsURL) String() string
- func (o *GetVSphereResourcePoolsURL) StringFull(scheme, host string) string
- func (o *GetVSphereResourcePoolsURL) WithBasePath(bp string) *GetVSphereResourcePoolsURL
- type GetVSphereResourcePoolsUnauthorized
- func (o *GetVSphereResourcePoolsUnauthorized) SetPayload(payload *models.Error)
- func (o *GetVSphereResourcePoolsUnauthorized) WithPayload(payload *models.Error) *GetVSphereResourcePoolsUnauthorized
- func (o *GetVSphereResourcePoolsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVsphereThumbprint
- type GetVsphereThumbprintBadRequest
- type GetVsphereThumbprintHandler
- type GetVsphereThumbprintHandlerFunc
- type GetVsphereThumbprintInternalServerError
- func (o *GetVsphereThumbprintInternalServerError) SetPayload(payload *models.Error)
- func (o *GetVsphereThumbprintInternalServerError) WithPayload(payload *models.Error) *GetVsphereThumbprintInternalServerError
- func (o *GetVsphereThumbprintInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetVsphereThumbprintOK
- type GetVsphereThumbprintParams
- type GetVsphereThumbprintURL
- func (o *GetVsphereThumbprintURL) Build() (*url.URL, error)
- func (o *GetVsphereThumbprintURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVsphereThumbprintURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVsphereThumbprintURL) SetBasePath(bp string)
- func (o *GetVsphereThumbprintURL) String() string
- func (o *GetVsphereThumbprintURL) StringFull(scheme, host string) string
- func (o *GetVsphereThumbprintURL) WithBasePath(bp string) *GetVsphereThumbprintURL
- type GetVsphereThumbprintUnauthorized
- type SetVSphereEndpoint
- type SetVSphereEndpointBadRequest
- type SetVSphereEndpointCreated
- type SetVSphereEndpointHandler
- type SetVSphereEndpointHandlerFunc
- type SetVSphereEndpointInternalServerError
- func (o *SetVSphereEndpointInternalServerError) SetPayload(payload *models.Error)
- func (o *SetVSphereEndpointInternalServerError) WithPayload(payload *models.Error) *SetVSphereEndpointInternalServerError
- func (o *SetVSphereEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetVSphereEndpointParams
- type SetVSphereEndpointURL
- func (o *SetVSphereEndpointURL) Build() (*url.URL, error)
- func (o *SetVSphereEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetVSphereEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *SetVSphereEndpointURL) SetBasePath(bp string)
- func (o *SetVSphereEndpointURL) String() string
- func (o *SetVSphereEndpointURL) StringFull(scheme, host string) string
- func (o *SetVSphereEndpointURL) WithBasePath(bp string) *SetVSphereEndpointURL
- type SetVSphereEndpointUnauthorized
Constants ¶
const ApplyTKGConfigForVsphereBadRequestCode int = 400
ApplyTKGConfigForVsphereBadRequestCode is the HTTP code returned for type ApplyTKGConfigForVsphereBadRequest
const ApplyTKGConfigForVsphereInternalServerErrorCode int = 500
ApplyTKGConfigForVsphereInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForVsphereInternalServerError
const ApplyTKGConfigForVsphereOKCode int = 200
ApplyTKGConfigForVsphereOKCode is the HTTP code returned for type ApplyTKGConfigForVsphereOK
ApplyTKGConfigForVsphereUnauthorizedCode is the HTTP code returned for type ApplyTKGConfigForVsphereUnauthorized
const CreateVSphereRegionalClusterBadRequestCode int = 400
CreateVSphereRegionalClusterBadRequestCode is the HTTP code returned for type CreateVSphereRegionalClusterBadRequest
const CreateVSphereRegionalClusterInternalServerErrorCode int = 500
CreateVSphereRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateVSphereRegionalClusterInternalServerError
const CreateVSphereRegionalClusterOKCode int = 200
CreateVSphereRegionalClusterOKCode is the HTTP code returned for type CreateVSphereRegionalClusterOK
CreateVSphereRegionalClusterUnauthorizedCode is the HTTP code returned for type CreateVSphereRegionalClusterUnauthorized
const GenerateTKGConfigForVsphereBadRequestCode int = 400
GenerateTKGConfigForVsphereBadRequestCode is the HTTP code returned for type GenerateTKGConfigForVsphereBadRequest
const GenerateTKGConfigForVsphereInternalServerErrorCode int = 500
GenerateTKGConfigForVsphereInternalServerErrorCode is the HTTP code returned for type GenerateTKGConfigForVsphereInternalServerError
const GenerateTKGConfigForVsphereOKCode int = 200
GenerateTKGConfigForVsphereOKCode is the HTTP code returned for type GenerateTKGConfigForVsphereOK
GenerateTKGConfigForVsphereUnauthorizedCode is the HTTP code returned for type GenerateTKGConfigForVsphereUnauthorized
const GetVSphereComputeResourcesBadRequestCode int = 400
GetVSphereComputeResourcesBadRequestCode is the HTTP code returned for type GetVSphereComputeResourcesBadRequest
const GetVSphereComputeResourcesInternalServerErrorCode int = 500
GetVSphereComputeResourcesInternalServerErrorCode is the HTTP code returned for type GetVSphereComputeResourcesInternalServerError
const GetVSphereComputeResourcesOKCode int = 200
GetVSphereComputeResourcesOKCode is the HTTP code returned for type GetVSphereComputeResourcesOK
GetVSphereComputeResourcesUnauthorizedCode is the HTTP code returned for type GetVSphereComputeResourcesUnauthorized
const GetVSphereDatacentersBadRequestCode int = 400
GetVSphereDatacentersBadRequestCode is the HTTP code returned for type GetVSphereDatacentersBadRequest
const GetVSphereDatacentersInternalServerErrorCode int = 500
GetVSphereDatacentersInternalServerErrorCode is the HTTP code returned for type GetVSphereDatacentersInternalServerError
const GetVSphereDatacentersOKCode int = 200
GetVSphereDatacentersOKCode is the HTTP code returned for type GetVSphereDatacentersOK
GetVSphereDatacentersUnauthorizedCode is the HTTP code returned for type GetVSphereDatacentersUnauthorized
const GetVSphereDatastoresBadRequestCode int = 400
GetVSphereDatastoresBadRequestCode is the HTTP code returned for type GetVSphereDatastoresBadRequest
const GetVSphereDatastoresInternalServerErrorCode int = 500
GetVSphereDatastoresInternalServerErrorCode is the HTTP code returned for type GetVSphereDatastoresInternalServerError
const GetVSphereDatastoresOKCode int = 200
GetVSphereDatastoresOKCode is the HTTP code returned for type GetVSphereDatastoresOK
GetVSphereDatastoresUnauthorizedCode is the HTTP code returned for type GetVSphereDatastoresUnauthorized
const GetVSphereFoldersBadRequestCode int = 400
GetVSphereFoldersBadRequestCode is the HTTP code returned for type GetVSphereFoldersBadRequest
const GetVSphereFoldersInternalServerErrorCode int = 500
GetVSphereFoldersInternalServerErrorCode is the HTTP code returned for type GetVSphereFoldersInternalServerError
const GetVSphereFoldersOKCode int = 200
GetVSphereFoldersOKCode is the HTTP code returned for type GetVSphereFoldersOK
GetVSphereFoldersUnauthorizedCode is the HTTP code returned for type GetVSphereFoldersUnauthorized
const GetVSphereNetworksBadRequestCode int = 400
GetVSphereNetworksBadRequestCode is the HTTP code returned for type GetVSphereNetworksBadRequest
const GetVSphereNetworksInternalServerErrorCode int = 500
GetVSphereNetworksInternalServerErrorCode is the HTTP code returned for type GetVSphereNetworksInternalServerError
const GetVSphereNetworksOKCode int = 200
GetVSphereNetworksOKCode is the HTTP code returned for type GetVSphereNetworksOK
GetVSphereNetworksUnauthorizedCode is the HTTP code returned for type GetVSphereNetworksUnauthorized
const GetVSphereNodeTypesBadRequestCode int = 400
GetVSphereNodeTypesBadRequestCode is the HTTP code returned for type GetVSphereNodeTypesBadRequest
const GetVSphereNodeTypesInternalServerErrorCode int = 500
GetVSphereNodeTypesInternalServerErrorCode is the HTTP code returned for type GetVSphereNodeTypesInternalServerError
const GetVSphereNodeTypesOKCode int = 200
GetVSphereNodeTypesOKCode is the HTTP code returned for type GetVSphereNodeTypesOK
GetVSphereNodeTypesUnauthorizedCode is the HTTP code returned for type GetVSphereNodeTypesUnauthorized
const GetVSphereOSImagesBadRequestCode int = 400
GetVSphereOSImagesBadRequestCode is the HTTP code returned for type GetVSphereOSImagesBadRequest
const GetVSphereOSImagesInternalServerErrorCode int = 500
GetVSphereOSImagesInternalServerErrorCode is the HTTP code returned for type GetVSphereOSImagesInternalServerError
const GetVSphereOSImagesOKCode int = 200
GetVSphereOSImagesOKCode is the HTTP code returned for type GetVSphereOSImagesOK
GetVSphereOSImagesUnauthorizedCode is the HTTP code returned for type GetVSphereOSImagesUnauthorized
const GetVSphereResourcePoolsBadRequestCode int = 400
GetVSphereResourcePoolsBadRequestCode is the HTTP code returned for type GetVSphereResourcePoolsBadRequest
const GetVSphereResourcePoolsInternalServerErrorCode int = 500
GetVSphereResourcePoolsInternalServerErrorCode is the HTTP code returned for type GetVSphereResourcePoolsInternalServerError
const GetVSphereResourcePoolsOKCode int = 200
GetVSphereResourcePoolsOKCode is the HTTP code returned for type GetVSphereResourcePoolsOK
GetVSphereResourcePoolsUnauthorizedCode is the HTTP code returned for type GetVSphereResourcePoolsUnauthorized
const GetVsphereThumbprintBadRequestCode int = 400
GetVsphereThumbprintBadRequestCode is the HTTP code returned for type GetVsphereThumbprintBadRequest
const GetVsphereThumbprintInternalServerErrorCode int = 500
GetVsphereThumbprintInternalServerErrorCode is the HTTP code returned for type GetVsphereThumbprintInternalServerError
const GetVsphereThumbprintOKCode int = 200
GetVsphereThumbprintOKCode is the HTTP code returned for type GetVsphereThumbprintOK
GetVsphereThumbprintUnauthorizedCode is the HTTP code returned for type GetVsphereThumbprintUnauthorized
const SetVSphereEndpointBadRequestCode int = 400
SetVSphereEndpointBadRequestCode is the HTTP code returned for type SetVSphereEndpointBadRequest
const SetVSphereEndpointCreatedCode int = 201
SetVSphereEndpointCreatedCode is the HTTP code returned for type SetVSphereEndpointCreated
const SetVSphereEndpointInternalServerErrorCode int = 500
SetVSphereEndpointInternalServerErrorCode is the HTTP code returned for type SetVSphereEndpointInternalServerError
SetVSphereEndpointUnauthorizedCode is the HTTP code returned for type SetVSphereEndpointUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForVsphere ¶
type ApplyTKGConfigForVsphere struct { Context *middleware.Context Handler ApplyTKGConfigForVsphereHandler }
ApplyTKGConfigForVsphere swagger:route POST /api/providers/vsphere/tkgconfig vsphere applyTKGConfigForVsphere
Apply changes to TKG configuration file for vSphere
func NewApplyTKGConfigForVsphere ¶
func NewApplyTKGConfigForVsphere(ctx *middleware.Context, handler ApplyTKGConfigForVsphereHandler) *ApplyTKGConfigForVsphere
NewApplyTKGConfigForVsphere creates a new http.Handler for the apply t k g config for vsphere operation
func (*ApplyTKGConfigForVsphere) ServeHTTP ¶
func (o *ApplyTKGConfigForVsphere) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApplyTKGConfigForVsphereBadRequest ¶
type ApplyTKGConfigForVsphereBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForVsphereBadRequest Bad request
swagger:response applyTKGConfigForVsphereBadRequest
func NewApplyTKGConfigForVsphereBadRequest ¶
func NewApplyTKGConfigForVsphereBadRequest() *ApplyTKGConfigForVsphereBadRequest
NewApplyTKGConfigForVsphereBadRequest creates ApplyTKGConfigForVsphereBadRequest with default headers values
func (*ApplyTKGConfigForVsphereBadRequest) SetPayload ¶
func (o *ApplyTKGConfigForVsphereBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for vsphere bad request response
func (*ApplyTKGConfigForVsphereBadRequest) WithPayload ¶
func (o *ApplyTKGConfigForVsphereBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereBadRequest
WithPayload adds the payload to the apply t k g config for vsphere bad request response
func (*ApplyTKGConfigForVsphereBadRequest) WriteResponse ¶
func (o *ApplyTKGConfigForVsphereBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForVsphereHandler ¶
type ApplyTKGConfigForVsphereHandler interface {
Handle(ApplyTKGConfigForVsphereParams) middleware.Responder
}
ApplyTKGConfigForVsphereHandler interface for that can handle valid apply t k g config for vsphere params
type ApplyTKGConfigForVsphereHandlerFunc ¶
type ApplyTKGConfigForVsphereHandlerFunc func(ApplyTKGConfigForVsphereParams) middleware.Responder
ApplyTKGConfigForVsphereHandlerFunc turns a function with the right signature into a apply t k g config for vsphere handler
func (ApplyTKGConfigForVsphereHandlerFunc) Handle ¶
func (fn ApplyTKGConfigForVsphereHandlerFunc) Handle(params ApplyTKGConfigForVsphereParams) middleware.Responder
Handle executing the request and returning a response
type ApplyTKGConfigForVsphereInternalServerError ¶
type ApplyTKGConfigForVsphereInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForVsphereInternalServerError Internal server error
swagger:response applyTKGConfigForVsphereInternalServerError
func NewApplyTKGConfigForVsphereInternalServerError ¶
func NewApplyTKGConfigForVsphereInternalServerError() *ApplyTKGConfigForVsphereInternalServerError
NewApplyTKGConfigForVsphereInternalServerError creates ApplyTKGConfigForVsphereInternalServerError with default headers values
func (*ApplyTKGConfigForVsphereInternalServerError) SetPayload ¶
func (o *ApplyTKGConfigForVsphereInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for vsphere internal server error response
func (*ApplyTKGConfigForVsphereInternalServerError) WithPayload ¶
func (o *ApplyTKGConfigForVsphereInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereInternalServerError
WithPayload adds the payload to the apply t k g config for vsphere internal server error response
func (*ApplyTKGConfigForVsphereInternalServerError) WriteResponse ¶
func (o *ApplyTKGConfigForVsphereInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForVsphereOK ¶
type ApplyTKGConfigForVsphereOK struct { /* In: Body */ Payload *models.ConfigFileInfo `json:"body,omitempty"` }
ApplyTKGConfigForVsphereOK apply changes to TKG configuration file successfully
swagger:response applyTKGConfigForVsphereOK
func NewApplyTKGConfigForVsphereOK ¶
func NewApplyTKGConfigForVsphereOK() *ApplyTKGConfigForVsphereOK
NewApplyTKGConfigForVsphereOK creates ApplyTKGConfigForVsphereOK with default headers values
func (*ApplyTKGConfigForVsphereOK) SetPayload ¶
func (o *ApplyTKGConfigForVsphereOK) SetPayload(payload *models.ConfigFileInfo)
SetPayload sets the payload to the apply t k g config for vsphere o k response
func (*ApplyTKGConfigForVsphereOK) WithPayload ¶
func (o *ApplyTKGConfigForVsphereOK) WithPayload(payload *models.ConfigFileInfo) *ApplyTKGConfigForVsphereOK
WithPayload adds the payload to the apply t k g config for vsphere o k response
func (*ApplyTKGConfigForVsphereOK) WriteResponse ¶
func (o *ApplyTKGConfigForVsphereOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForVsphereParams ¶
type ApplyTKGConfigForVsphereParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*params to apply changes to tkg configuration for vsphere Required: true In: body */ Params *models.VsphereRegionalClusterParams }
ApplyTKGConfigForVsphereParams contains all the bound params for the apply t k g config for vsphere operation typically these are obtained from a http.Request
swagger:parameters applyTKGConfigForVsphere
func NewApplyTKGConfigForVsphereParams ¶
func NewApplyTKGConfigForVsphereParams() ApplyTKGConfigForVsphereParams
NewApplyTKGConfigForVsphereParams creates a new ApplyTKGConfigForVsphereParams object no default values defined in spec.
func (*ApplyTKGConfigForVsphereParams) BindRequest ¶
func (o *ApplyTKGConfigForVsphereParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewApplyTKGConfigForVsphereParams() beforehand.
type ApplyTKGConfigForVsphereURL ¶
type ApplyTKGConfigForVsphereURL struct {
// contains filtered or unexported fields
}
ApplyTKGConfigForVsphereURL generates an URL for the apply t k g config for vsphere operation
func (*ApplyTKGConfigForVsphereURL) Build ¶
func (o *ApplyTKGConfigForVsphereURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApplyTKGConfigForVsphereURL) BuildFull ¶
func (o *ApplyTKGConfigForVsphereURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApplyTKGConfigForVsphereURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApplyTKGConfigForVsphereURL) SetBasePath ¶
func (o *ApplyTKGConfigForVsphereURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ApplyTKGConfigForVsphereURL) String ¶
func (o *ApplyTKGConfigForVsphereURL) String() string
String returns the string representation of the path with query string
func (*ApplyTKGConfigForVsphereURL) StringFull ¶
func (o *ApplyTKGConfigForVsphereURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApplyTKGConfigForVsphereURL) WithBasePath ¶
func (o *ApplyTKGConfigForVsphereURL) WithBasePath(bp string) *ApplyTKGConfigForVsphereURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ApplyTKGConfigForVsphereUnauthorized ¶
ApplyTKGConfigForVsphereUnauthorized Incorrect credentials
swagger:response applyTKGConfigForVsphereUnauthorized
func NewApplyTKGConfigForVsphereUnauthorized ¶
func NewApplyTKGConfigForVsphereUnauthorized() *ApplyTKGConfigForVsphereUnauthorized
NewApplyTKGConfigForVsphereUnauthorized creates ApplyTKGConfigForVsphereUnauthorized with default headers values
func (*ApplyTKGConfigForVsphereUnauthorized) SetPayload ¶
func (o *ApplyTKGConfigForVsphereUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for vsphere unauthorized response
func (*ApplyTKGConfigForVsphereUnauthorized) WithPayload ¶
func (o *ApplyTKGConfigForVsphereUnauthorized) WithPayload(payload *models.Error) *ApplyTKGConfigForVsphereUnauthorized
WithPayload adds the payload to the apply t k g config for vsphere unauthorized response
func (*ApplyTKGConfigForVsphereUnauthorized) WriteResponse ¶
func (o *ApplyTKGConfigForVsphereUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateVSphereRegionalCluster ¶
type CreateVSphereRegionalCluster struct { Context *middleware.Context Handler CreateVSphereRegionalClusterHandler }
CreateVSphereRegionalCluster swagger:route POST /api/providers/vsphere/create vsphere createVSphereRegionalCluster
Create vSphere regional cluster
func NewCreateVSphereRegionalCluster ¶
func NewCreateVSphereRegionalCluster(ctx *middleware.Context, handler CreateVSphereRegionalClusterHandler) *CreateVSphereRegionalCluster
NewCreateVSphereRegionalCluster creates a new http.Handler for the create v sphere regional cluster operation
func (*CreateVSphereRegionalCluster) ServeHTTP ¶
func (o *CreateVSphereRegionalCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateVSphereRegionalClusterBadRequest ¶
type CreateVSphereRegionalClusterBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateVSphereRegionalClusterBadRequest Bad request
swagger:response createVSphereRegionalClusterBadRequest
func NewCreateVSphereRegionalClusterBadRequest ¶
func NewCreateVSphereRegionalClusterBadRequest() *CreateVSphereRegionalClusterBadRequest
NewCreateVSphereRegionalClusterBadRequest creates CreateVSphereRegionalClusterBadRequest with default headers values
func (*CreateVSphereRegionalClusterBadRequest) SetPayload ¶
func (o *CreateVSphereRegionalClusterBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create v sphere regional cluster bad request response
func (*CreateVSphereRegionalClusterBadRequest) WithPayload ¶
func (o *CreateVSphereRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterBadRequest
WithPayload adds the payload to the create v sphere regional cluster bad request response
func (*CreateVSphereRegionalClusterBadRequest) WriteResponse ¶
func (o *CreateVSphereRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateVSphereRegionalClusterHandler ¶
type CreateVSphereRegionalClusterHandler interface {
Handle(CreateVSphereRegionalClusterParams) middleware.Responder
}
CreateVSphereRegionalClusterHandler interface for that can handle valid create v sphere regional cluster params
type CreateVSphereRegionalClusterHandlerFunc ¶
type CreateVSphereRegionalClusterHandlerFunc func(CreateVSphereRegionalClusterParams) middleware.Responder
CreateVSphereRegionalClusterHandlerFunc turns a function with the right signature into a create v sphere regional cluster handler
func (CreateVSphereRegionalClusterHandlerFunc) Handle ¶
func (fn CreateVSphereRegionalClusterHandlerFunc) Handle(params CreateVSphereRegionalClusterParams) middleware.Responder
Handle executing the request and returning a response
type CreateVSphereRegionalClusterInternalServerError ¶
type CreateVSphereRegionalClusterInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateVSphereRegionalClusterInternalServerError Internal server error
swagger:response createVSphereRegionalClusterInternalServerError
func NewCreateVSphereRegionalClusterInternalServerError ¶
func NewCreateVSphereRegionalClusterInternalServerError() *CreateVSphereRegionalClusterInternalServerError
NewCreateVSphereRegionalClusterInternalServerError creates CreateVSphereRegionalClusterInternalServerError with default headers values
func (*CreateVSphereRegionalClusterInternalServerError) SetPayload ¶
func (o *CreateVSphereRegionalClusterInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create v sphere regional cluster internal server error response
func (*CreateVSphereRegionalClusterInternalServerError) WithPayload ¶
func (o *CreateVSphereRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterInternalServerError
WithPayload adds the payload to the create v sphere regional cluster internal server error response
func (*CreateVSphereRegionalClusterInternalServerError) WriteResponse ¶
func (o *CreateVSphereRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateVSphereRegionalClusterOK ¶
type CreateVSphereRegionalClusterOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateVSphereRegionalClusterOK Creating regional cluster started successfully
swagger:response createVSphereRegionalClusterOK
func NewCreateVSphereRegionalClusterOK ¶
func NewCreateVSphereRegionalClusterOK() *CreateVSphereRegionalClusterOK
NewCreateVSphereRegionalClusterOK creates CreateVSphereRegionalClusterOK with default headers values
func (*CreateVSphereRegionalClusterOK) SetPayload ¶
func (o *CreateVSphereRegionalClusterOK) SetPayload(payload string)
SetPayload sets the payload to the create v sphere regional cluster o k response
func (*CreateVSphereRegionalClusterOK) WithPayload ¶
func (o *CreateVSphereRegionalClusterOK) WithPayload(payload string) *CreateVSphereRegionalClusterOK
WithPayload adds the payload to the create v sphere regional cluster o k response
func (*CreateVSphereRegionalClusterOK) WriteResponse ¶
func (o *CreateVSphereRegionalClusterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateVSphereRegionalClusterParams ¶
type CreateVSphereRegionalClusterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*params to create a regional cluster Required: true In: body */ Params *models.VsphereRegionalClusterParams }
CreateVSphereRegionalClusterParams contains all the bound params for the create v sphere regional cluster operation typically these are obtained from a http.Request
swagger:parameters createVSphereRegionalCluster
func NewCreateVSphereRegionalClusterParams ¶
func NewCreateVSphereRegionalClusterParams() CreateVSphereRegionalClusterParams
NewCreateVSphereRegionalClusterParams creates a new CreateVSphereRegionalClusterParams object no default values defined in spec.
func (*CreateVSphereRegionalClusterParams) BindRequest ¶
func (o *CreateVSphereRegionalClusterParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewCreateVSphereRegionalClusterParams() beforehand.
type CreateVSphereRegionalClusterURL ¶
type CreateVSphereRegionalClusterURL struct {
// contains filtered or unexported fields
}
CreateVSphereRegionalClusterURL generates an URL for the create v sphere regional cluster operation
func (*CreateVSphereRegionalClusterURL) Build ¶
func (o *CreateVSphereRegionalClusterURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateVSphereRegionalClusterURL) BuildFull ¶
func (o *CreateVSphereRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateVSphereRegionalClusterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateVSphereRegionalClusterURL) SetBasePath ¶
func (o *CreateVSphereRegionalClusterURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*CreateVSphereRegionalClusterURL) String ¶
func (o *CreateVSphereRegionalClusterURL) String() string
String returns the string representation of the path with query string
func (*CreateVSphereRegionalClusterURL) StringFull ¶
func (o *CreateVSphereRegionalClusterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateVSphereRegionalClusterURL) WithBasePath ¶
func (o *CreateVSphereRegionalClusterURL) WithBasePath(bp string) *CreateVSphereRegionalClusterURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type CreateVSphereRegionalClusterUnauthorized ¶
type CreateVSphereRegionalClusterUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
CreateVSphereRegionalClusterUnauthorized Incorrect credentials
swagger:response createVSphereRegionalClusterUnauthorized
func NewCreateVSphereRegionalClusterUnauthorized ¶
func NewCreateVSphereRegionalClusterUnauthorized() *CreateVSphereRegionalClusterUnauthorized
NewCreateVSphereRegionalClusterUnauthorized creates CreateVSphereRegionalClusterUnauthorized with default headers values
func (*CreateVSphereRegionalClusterUnauthorized) SetPayload ¶
func (o *CreateVSphereRegionalClusterUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the create v sphere regional cluster unauthorized response
func (*CreateVSphereRegionalClusterUnauthorized) WithPayload ¶
func (o *CreateVSphereRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateVSphereRegionalClusterUnauthorized
WithPayload adds the payload to the create v sphere regional cluster unauthorized response
func (*CreateVSphereRegionalClusterUnauthorized) WriteResponse ¶
func (o *CreateVSphereRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForVsphere ¶
type GenerateTKGConfigForVsphere struct { Context *middleware.Context Handler GenerateTKGConfigForVsphereHandler }
GenerateTKGConfigForVsphere swagger:route POST /api/providers/vsphere/generate vsphere generateTKGConfigForVsphere
Generate TKG configuration file for vSphere
func NewGenerateTKGConfigForVsphere ¶
func NewGenerateTKGConfigForVsphere(ctx *middleware.Context, handler GenerateTKGConfigForVsphereHandler) *GenerateTKGConfigForVsphere
NewGenerateTKGConfigForVsphere creates a new http.Handler for the generate t k g config for vsphere operation
func (*GenerateTKGConfigForVsphere) ServeHTTP ¶
func (o *GenerateTKGConfigForVsphere) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GenerateTKGConfigForVsphereBadRequest ¶
type GenerateTKGConfigForVsphereBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateTKGConfigForVsphereBadRequest Bad request
swagger:response generateTKGConfigForVsphereBadRequest
func NewGenerateTKGConfigForVsphereBadRequest ¶
func NewGenerateTKGConfigForVsphereBadRequest() *GenerateTKGConfigForVsphereBadRequest
NewGenerateTKGConfigForVsphereBadRequest creates GenerateTKGConfigForVsphereBadRequest with default headers values
func (*GenerateTKGConfigForVsphereBadRequest) SetPayload ¶
func (o *GenerateTKGConfigForVsphereBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate t k g config for vsphere bad request response
func (*GenerateTKGConfigForVsphereBadRequest) WithPayload ¶
func (o *GenerateTKGConfigForVsphereBadRequest) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereBadRequest
WithPayload adds the payload to the generate t k g config for vsphere bad request response
func (*GenerateTKGConfigForVsphereBadRequest) WriteResponse ¶
func (o *GenerateTKGConfigForVsphereBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForVsphereHandler ¶
type GenerateTKGConfigForVsphereHandler interface {
Handle(GenerateTKGConfigForVsphereParams) middleware.Responder
}
GenerateTKGConfigForVsphereHandler interface for that can handle valid generate t k g config for vsphere params
type GenerateTKGConfigForVsphereHandlerFunc ¶
type GenerateTKGConfigForVsphereHandlerFunc func(GenerateTKGConfigForVsphereParams) middleware.Responder
GenerateTKGConfigForVsphereHandlerFunc turns a function with the right signature into a generate t k g config for vsphere handler
func (GenerateTKGConfigForVsphereHandlerFunc) Handle ¶
func (fn GenerateTKGConfigForVsphereHandlerFunc) Handle(params GenerateTKGConfigForVsphereParams) middleware.Responder
Handle executing the request and returning a response
type GenerateTKGConfigForVsphereInternalServerError ¶
type GenerateTKGConfigForVsphereInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GenerateTKGConfigForVsphereInternalServerError Internal server error
swagger:response generateTKGConfigForVsphereInternalServerError
func NewGenerateTKGConfigForVsphereInternalServerError ¶
func NewGenerateTKGConfigForVsphereInternalServerError() *GenerateTKGConfigForVsphereInternalServerError
NewGenerateTKGConfigForVsphereInternalServerError creates GenerateTKGConfigForVsphereInternalServerError with default headers values
func (*GenerateTKGConfigForVsphereInternalServerError) SetPayload ¶
func (o *GenerateTKGConfigForVsphereInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate t k g config for vsphere internal server error response
func (*GenerateTKGConfigForVsphereInternalServerError) WithPayload ¶
func (o *GenerateTKGConfigForVsphereInternalServerError) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereInternalServerError
WithPayload adds the payload to the generate t k g config for vsphere internal server error response
func (*GenerateTKGConfigForVsphereInternalServerError) WriteResponse ¶
func (o *GenerateTKGConfigForVsphereInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForVsphereOK ¶
type GenerateTKGConfigForVsphereOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GenerateTKGConfigForVsphereOK Generated TKG configuration successfully
swagger:response generateTKGConfigForVsphereOK
func NewGenerateTKGConfigForVsphereOK ¶
func NewGenerateTKGConfigForVsphereOK() *GenerateTKGConfigForVsphereOK
NewGenerateTKGConfigForVsphereOK creates GenerateTKGConfigForVsphereOK with default headers values
func (*GenerateTKGConfigForVsphereOK) SetPayload ¶
func (o *GenerateTKGConfigForVsphereOK) SetPayload(payload string)
SetPayload sets the payload to the generate t k g config for vsphere o k response
func (*GenerateTKGConfigForVsphereOK) WithPayload ¶
func (o *GenerateTKGConfigForVsphereOK) WithPayload(payload string) *GenerateTKGConfigForVsphereOK
WithPayload adds the payload to the generate t k g config for vsphere o k response
func (*GenerateTKGConfigForVsphereOK) WriteResponse ¶
func (o *GenerateTKGConfigForVsphereOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GenerateTKGConfigForVsphereParams ¶
type GenerateTKGConfigForVsphereParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*params to generate tkg configuration for vsphere Required: true In: body */ Params *models.VsphereRegionalClusterParams }
GenerateTKGConfigForVsphereParams contains all the bound params for the generate t k g config for vsphere operation typically these are obtained from a http.Request
swagger:parameters generateTKGConfigForVsphere
func NewGenerateTKGConfigForVsphereParams ¶
func NewGenerateTKGConfigForVsphereParams() GenerateTKGConfigForVsphereParams
NewGenerateTKGConfigForVsphereParams creates a new GenerateTKGConfigForVsphereParams object no default values defined in spec.
func (*GenerateTKGConfigForVsphereParams) BindRequest ¶
func (o *GenerateTKGConfigForVsphereParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGenerateTKGConfigForVsphereParams() beforehand.
type GenerateTKGConfigForVsphereURL ¶
type GenerateTKGConfigForVsphereURL struct {
// contains filtered or unexported fields
}
GenerateTKGConfigForVsphereURL generates an URL for the generate t k g config for vsphere operation
func (*GenerateTKGConfigForVsphereURL) Build ¶
func (o *GenerateTKGConfigForVsphereURL) Build() (*url.URL, error)
Build a url path and query string
func (*GenerateTKGConfigForVsphereURL) BuildFull ¶
func (o *GenerateTKGConfigForVsphereURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GenerateTKGConfigForVsphereURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GenerateTKGConfigForVsphereURL) SetBasePath ¶
func (o *GenerateTKGConfigForVsphereURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GenerateTKGConfigForVsphereURL) String ¶
func (o *GenerateTKGConfigForVsphereURL) String() string
String returns the string representation of the path with query string
func (*GenerateTKGConfigForVsphereURL) StringFull ¶
func (o *GenerateTKGConfigForVsphereURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GenerateTKGConfigForVsphereURL) WithBasePath ¶
func (o *GenerateTKGConfigForVsphereURL) WithBasePath(bp string) *GenerateTKGConfigForVsphereURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GenerateTKGConfigForVsphereUnauthorized ¶
type GenerateTKGConfigForVsphereUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
GenerateTKGConfigForVsphereUnauthorized Incorrect credentials
swagger:response generateTKGConfigForVsphereUnauthorized
func NewGenerateTKGConfigForVsphereUnauthorized ¶
func NewGenerateTKGConfigForVsphereUnauthorized() *GenerateTKGConfigForVsphereUnauthorized
NewGenerateTKGConfigForVsphereUnauthorized creates GenerateTKGConfigForVsphereUnauthorized with default headers values
func (*GenerateTKGConfigForVsphereUnauthorized) SetPayload ¶
func (o *GenerateTKGConfigForVsphereUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the generate t k g config for vsphere unauthorized response
func (*GenerateTKGConfigForVsphereUnauthorized) WithPayload ¶
func (o *GenerateTKGConfigForVsphereUnauthorized) WithPayload(payload *models.Error) *GenerateTKGConfigForVsphereUnauthorized
WithPayload adds the payload to the generate t k g config for vsphere unauthorized response
func (*GenerateTKGConfigForVsphereUnauthorized) WriteResponse ¶
func (o *GenerateTKGConfigForVsphereUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereComputeResources ¶
type GetVSphereComputeResources struct { Context *middleware.Context Handler GetVSphereComputeResourcesHandler }
GetVSphereComputeResources swagger:route GET /api/providers/vsphere/compute vsphere getVSphereComputeResources
Retrieve vSphere compute resources
func NewGetVSphereComputeResources ¶
func NewGetVSphereComputeResources(ctx *middleware.Context, handler GetVSphereComputeResourcesHandler) *GetVSphereComputeResources
NewGetVSphereComputeResources creates a new http.Handler for the get v sphere compute resources operation
func (*GetVSphereComputeResources) ServeHTTP ¶
func (o *GetVSphereComputeResources) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereComputeResourcesBadRequest ¶
type GetVSphereComputeResourcesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereComputeResourcesBadRequest Bad request
swagger:response getVSphereComputeResourcesBadRequest
func NewGetVSphereComputeResourcesBadRequest ¶
func NewGetVSphereComputeResourcesBadRequest() *GetVSphereComputeResourcesBadRequest
NewGetVSphereComputeResourcesBadRequest creates GetVSphereComputeResourcesBadRequest with default headers values
func (*GetVSphereComputeResourcesBadRequest) SetPayload ¶
func (o *GetVSphereComputeResourcesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere compute resources bad request response
func (*GetVSphereComputeResourcesBadRequest) WithPayload ¶
func (o *GetVSphereComputeResourcesBadRequest) WithPayload(payload *models.Error) *GetVSphereComputeResourcesBadRequest
WithPayload adds the payload to the get v sphere compute resources bad request response
func (*GetVSphereComputeResourcesBadRequest) WriteResponse ¶
func (o *GetVSphereComputeResourcesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereComputeResourcesHandler ¶
type GetVSphereComputeResourcesHandler interface {
Handle(GetVSphereComputeResourcesParams) middleware.Responder
}
GetVSphereComputeResourcesHandler interface for that can handle valid get v sphere compute resources params
type GetVSphereComputeResourcesHandlerFunc ¶
type GetVSphereComputeResourcesHandlerFunc func(GetVSphereComputeResourcesParams) middleware.Responder
GetVSphereComputeResourcesHandlerFunc turns a function with the right signature into a get v sphere compute resources handler
func (GetVSphereComputeResourcesHandlerFunc) Handle ¶
func (fn GetVSphereComputeResourcesHandlerFunc) Handle(params GetVSphereComputeResourcesParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereComputeResourcesInternalServerError ¶
type GetVSphereComputeResourcesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereComputeResourcesInternalServerError Internal server error
swagger:response getVSphereComputeResourcesInternalServerError
func NewGetVSphereComputeResourcesInternalServerError ¶
func NewGetVSphereComputeResourcesInternalServerError() *GetVSphereComputeResourcesInternalServerError
NewGetVSphereComputeResourcesInternalServerError creates GetVSphereComputeResourcesInternalServerError with default headers values
func (*GetVSphereComputeResourcesInternalServerError) SetPayload ¶
func (o *GetVSphereComputeResourcesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere compute resources internal server error response
func (*GetVSphereComputeResourcesInternalServerError) WithPayload ¶
func (o *GetVSphereComputeResourcesInternalServerError) WithPayload(payload *models.Error) *GetVSphereComputeResourcesInternalServerError
WithPayload adds the payload to the get v sphere compute resources internal server error response
func (*GetVSphereComputeResourcesInternalServerError) WriteResponse ¶
func (o *GetVSphereComputeResourcesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereComputeResourcesOK ¶
type GetVSphereComputeResourcesOK struct { /* In: Body */ Payload []*models.VSphereManagementObject `json:"body,omitempty"` }
GetVSphereComputeResourcesOK Successful retrieval of vSphere folders
swagger:response getVSphereComputeResourcesOK
func NewGetVSphereComputeResourcesOK ¶
func NewGetVSphereComputeResourcesOK() *GetVSphereComputeResourcesOK
NewGetVSphereComputeResourcesOK creates GetVSphereComputeResourcesOK with default headers values
func (*GetVSphereComputeResourcesOK) SetPayload ¶
func (o *GetVSphereComputeResourcesOK) SetPayload(payload []*models.VSphereManagementObject)
SetPayload sets the payload to the get v sphere compute resources o k response
func (*GetVSphereComputeResourcesOK) WithPayload ¶
func (o *GetVSphereComputeResourcesOK) WithPayload(payload []*models.VSphereManagementObject) *GetVSphereComputeResourcesOK
WithPayload adds the payload to the get v sphere compute resources o k response
func (*GetVSphereComputeResourcesOK) WriteResponse ¶
func (o *GetVSphereComputeResourcesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereComputeResourcesParams ¶
type GetVSphereComputeResourcesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereComputeResourcesParams contains all the bound params for the get v sphere compute resources operation typically these are obtained from a http.Request
swagger:parameters getVSphereComputeResources
func NewGetVSphereComputeResourcesParams ¶
func NewGetVSphereComputeResourcesParams() GetVSphereComputeResourcesParams
NewGetVSphereComputeResourcesParams creates a new GetVSphereComputeResourcesParams object no default values defined in spec.
func (*GetVSphereComputeResourcesParams) BindRequest ¶
func (o *GetVSphereComputeResourcesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereComputeResourcesParams() beforehand.
type GetVSphereComputeResourcesURL ¶
type GetVSphereComputeResourcesURL struct { Dc string // contains filtered or unexported fields }
GetVSphereComputeResourcesURL generates an URL for the get v sphere compute resources operation
func (*GetVSphereComputeResourcesURL) Build ¶
func (o *GetVSphereComputeResourcesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereComputeResourcesURL) BuildFull ¶
func (o *GetVSphereComputeResourcesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereComputeResourcesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereComputeResourcesURL) SetBasePath ¶
func (o *GetVSphereComputeResourcesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereComputeResourcesURL) String ¶
func (o *GetVSphereComputeResourcesURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereComputeResourcesURL) StringFull ¶
func (o *GetVSphereComputeResourcesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereComputeResourcesURL) WithBasePath ¶
func (o *GetVSphereComputeResourcesURL) WithBasePath(bp string) *GetVSphereComputeResourcesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereComputeResourcesUnauthorized ¶
type GetVSphereComputeResourcesUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
GetVSphereComputeResourcesUnauthorized Incorrect credentials
swagger:response getVSphereComputeResourcesUnauthorized
func NewGetVSphereComputeResourcesUnauthorized ¶
func NewGetVSphereComputeResourcesUnauthorized() *GetVSphereComputeResourcesUnauthorized
NewGetVSphereComputeResourcesUnauthorized creates GetVSphereComputeResourcesUnauthorized with default headers values
func (*GetVSphereComputeResourcesUnauthorized) SetPayload ¶
func (o *GetVSphereComputeResourcesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere compute resources unauthorized response
func (*GetVSphereComputeResourcesUnauthorized) WithPayload ¶
func (o *GetVSphereComputeResourcesUnauthorized) WithPayload(payload *models.Error) *GetVSphereComputeResourcesUnauthorized
WithPayload adds the payload to the get v sphere compute resources unauthorized response
func (*GetVSphereComputeResourcesUnauthorized) WriteResponse ¶
func (o *GetVSphereComputeResourcesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatacenters ¶
type GetVSphereDatacenters struct { Context *middleware.Context Handler GetVSphereDatacentersHandler }
GetVSphereDatacenters swagger:route GET /api/providers/vsphere/datacenters vsphere getVSphereDatacenters
Retrieve vSphere datacenters
func NewGetVSphereDatacenters ¶
func NewGetVSphereDatacenters(ctx *middleware.Context, handler GetVSphereDatacentersHandler) *GetVSphereDatacenters
NewGetVSphereDatacenters creates a new http.Handler for the get v sphere datacenters operation
func (*GetVSphereDatacenters) ServeHTTP ¶
func (o *GetVSphereDatacenters) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereDatacentersBadRequest ¶
type GetVSphereDatacentersBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereDatacentersBadRequest Bad request
swagger:response getVSphereDatacentersBadRequest
func NewGetVSphereDatacentersBadRequest ¶
func NewGetVSphereDatacentersBadRequest() *GetVSphereDatacentersBadRequest
NewGetVSphereDatacentersBadRequest creates GetVSphereDatacentersBadRequest with default headers values
func (*GetVSphereDatacentersBadRequest) SetPayload ¶
func (o *GetVSphereDatacentersBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datacenters bad request response
func (*GetVSphereDatacentersBadRequest) WithPayload ¶
func (o *GetVSphereDatacentersBadRequest) WithPayload(payload *models.Error) *GetVSphereDatacentersBadRequest
WithPayload adds the payload to the get v sphere datacenters bad request response
func (*GetVSphereDatacentersBadRequest) WriteResponse ¶
func (o *GetVSphereDatacentersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatacentersHandler ¶
type GetVSphereDatacentersHandler interface {
Handle(GetVSphereDatacentersParams) middleware.Responder
}
GetVSphereDatacentersHandler interface for that can handle valid get v sphere datacenters params
type GetVSphereDatacentersHandlerFunc ¶
type GetVSphereDatacentersHandlerFunc func(GetVSphereDatacentersParams) middleware.Responder
GetVSphereDatacentersHandlerFunc turns a function with the right signature into a get v sphere datacenters handler
func (GetVSphereDatacentersHandlerFunc) Handle ¶
func (fn GetVSphereDatacentersHandlerFunc) Handle(params GetVSphereDatacentersParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereDatacentersInternalServerError ¶
type GetVSphereDatacentersInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereDatacentersInternalServerError Internal server error
swagger:response getVSphereDatacentersInternalServerError
func NewGetVSphereDatacentersInternalServerError ¶
func NewGetVSphereDatacentersInternalServerError() *GetVSphereDatacentersInternalServerError
NewGetVSphereDatacentersInternalServerError creates GetVSphereDatacentersInternalServerError with default headers values
func (*GetVSphereDatacentersInternalServerError) SetPayload ¶
func (o *GetVSphereDatacentersInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datacenters internal server error response
func (*GetVSphereDatacentersInternalServerError) WithPayload ¶
func (o *GetVSphereDatacentersInternalServerError) WithPayload(payload *models.Error) *GetVSphereDatacentersInternalServerError
WithPayload adds the payload to the get v sphere datacenters internal server error response
func (*GetVSphereDatacentersInternalServerError) WriteResponse ¶
func (o *GetVSphereDatacentersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatacentersOK ¶
type GetVSphereDatacentersOK struct { /* In: Body */ Payload []*models.VSphereDatacenter `json:"body,omitempty"` }
GetVSphereDatacentersOK Successful retrieval of vSphere datacenters
swagger:response getVSphereDatacentersOK
func NewGetVSphereDatacentersOK ¶
func NewGetVSphereDatacentersOK() *GetVSphereDatacentersOK
NewGetVSphereDatacentersOK creates GetVSphereDatacentersOK with default headers values
func (*GetVSphereDatacentersOK) SetPayload ¶
func (o *GetVSphereDatacentersOK) SetPayload(payload []*models.VSphereDatacenter)
SetPayload sets the payload to the get v sphere datacenters o k response
func (*GetVSphereDatacentersOK) WithPayload ¶
func (o *GetVSphereDatacentersOK) WithPayload(payload []*models.VSphereDatacenter) *GetVSphereDatacentersOK
WithPayload adds the payload to the get v sphere datacenters o k response
func (*GetVSphereDatacentersOK) WriteResponse ¶
func (o *GetVSphereDatacentersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatacentersParams ¶
type GetVSphereDatacentersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetVSphereDatacentersParams contains all the bound params for the get v sphere datacenters operation typically these are obtained from a http.Request
swagger:parameters getVSphereDatacenters
func NewGetVSphereDatacentersParams ¶
func NewGetVSphereDatacentersParams() GetVSphereDatacentersParams
NewGetVSphereDatacentersParams creates a new GetVSphereDatacentersParams object no default values defined in spec.
func (*GetVSphereDatacentersParams) BindRequest ¶
func (o *GetVSphereDatacentersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereDatacentersParams() beforehand.
type GetVSphereDatacentersURL ¶
type GetVSphereDatacentersURL struct {
// contains filtered or unexported fields
}
GetVSphereDatacentersURL generates an URL for the get v sphere datacenters operation
func (*GetVSphereDatacentersURL) Build ¶
func (o *GetVSphereDatacentersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereDatacentersURL) BuildFull ¶
func (o *GetVSphereDatacentersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereDatacentersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereDatacentersURL) SetBasePath ¶
func (o *GetVSphereDatacentersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereDatacentersURL) String ¶
func (o *GetVSphereDatacentersURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereDatacentersURL) StringFull ¶
func (o *GetVSphereDatacentersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereDatacentersURL) WithBasePath ¶
func (o *GetVSphereDatacentersURL) WithBasePath(bp string) *GetVSphereDatacentersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereDatacentersUnauthorized ¶
GetVSphereDatacentersUnauthorized Incorrect credentials
swagger:response getVSphereDatacentersUnauthorized
func NewGetVSphereDatacentersUnauthorized ¶
func NewGetVSphereDatacentersUnauthorized() *GetVSphereDatacentersUnauthorized
NewGetVSphereDatacentersUnauthorized creates GetVSphereDatacentersUnauthorized with default headers values
func (*GetVSphereDatacentersUnauthorized) SetPayload ¶
func (o *GetVSphereDatacentersUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datacenters unauthorized response
func (*GetVSphereDatacentersUnauthorized) WithPayload ¶
func (o *GetVSphereDatacentersUnauthorized) WithPayload(payload *models.Error) *GetVSphereDatacentersUnauthorized
WithPayload adds the payload to the get v sphere datacenters unauthorized response
func (*GetVSphereDatacentersUnauthorized) WriteResponse ¶
func (o *GetVSphereDatacentersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatastores ¶
type GetVSphereDatastores struct { Context *middleware.Context Handler GetVSphereDatastoresHandler }
GetVSphereDatastores swagger:route GET /api/providers/vsphere/datastores vsphere getVSphereDatastores
Retrieve vSphere datastores
func NewGetVSphereDatastores ¶
func NewGetVSphereDatastores(ctx *middleware.Context, handler GetVSphereDatastoresHandler) *GetVSphereDatastores
NewGetVSphereDatastores creates a new http.Handler for the get v sphere datastores operation
func (*GetVSphereDatastores) ServeHTTP ¶
func (o *GetVSphereDatastores) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereDatastoresBadRequest ¶
type GetVSphereDatastoresBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereDatastoresBadRequest Bad request
swagger:response getVSphereDatastoresBadRequest
func NewGetVSphereDatastoresBadRequest ¶
func NewGetVSphereDatastoresBadRequest() *GetVSphereDatastoresBadRequest
NewGetVSphereDatastoresBadRequest creates GetVSphereDatastoresBadRequest with default headers values
func (*GetVSphereDatastoresBadRequest) SetPayload ¶
func (o *GetVSphereDatastoresBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datastores bad request response
func (*GetVSphereDatastoresBadRequest) WithPayload ¶
func (o *GetVSphereDatastoresBadRequest) WithPayload(payload *models.Error) *GetVSphereDatastoresBadRequest
WithPayload adds the payload to the get v sphere datastores bad request response
func (*GetVSphereDatastoresBadRequest) WriteResponse ¶
func (o *GetVSphereDatastoresBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatastoresHandler ¶
type GetVSphereDatastoresHandler interface {
Handle(GetVSphereDatastoresParams) middleware.Responder
}
GetVSphereDatastoresHandler interface for that can handle valid get v sphere datastores params
type GetVSphereDatastoresHandlerFunc ¶
type GetVSphereDatastoresHandlerFunc func(GetVSphereDatastoresParams) middleware.Responder
GetVSphereDatastoresHandlerFunc turns a function with the right signature into a get v sphere datastores handler
func (GetVSphereDatastoresHandlerFunc) Handle ¶
func (fn GetVSphereDatastoresHandlerFunc) Handle(params GetVSphereDatastoresParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereDatastoresInternalServerError ¶
type GetVSphereDatastoresInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereDatastoresInternalServerError Internal server error
swagger:response getVSphereDatastoresInternalServerError
func NewGetVSphereDatastoresInternalServerError ¶
func NewGetVSphereDatastoresInternalServerError() *GetVSphereDatastoresInternalServerError
NewGetVSphereDatastoresInternalServerError creates GetVSphereDatastoresInternalServerError with default headers values
func (*GetVSphereDatastoresInternalServerError) SetPayload ¶
func (o *GetVSphereDatastoresInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datastores internal server error response
func (*GetVSphereDatastoresInternalServerError) WithPayload ¶
func (o *GetVSphereDatastoresInternalServerError) WithPayload(payload *models.Error) *GetVSphereDatastoresInternalServerError
WithPayload adds the payload to the get v sphere datastores internal server error response
func (*GetVSphereDatastoresInternalServerError) WriteResponse ¶
func (o *GetVSphereDatastoresInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatastoresOK ¶
type GetVSphereDatastoresOK struct { /* In: Body */ Payload []*models.VSphereDatastore `json:"body,omitempty"` }
GetVSphereDatastoresOK Successful retrieval of vSphere datastores
swagger:response getVSphereDatastoresOK
func NewGetVSphereDatastoresOK ¶
func NewGetVSphereDatastoresOK() *GetVSphereDatastoresOK
NewGetVSphereDatastoresOK creates GetVSphereDatastoresOK with default headers values
func (*GetVSphereDatastoresOK) SetPayload ¶
func (o *GetVSphereDatastoresOK) SetPayload(payload []*models.VSphereDatastore)
SetPayload sets the payload to the get v sphere datastores o k response
func (*GetVSphereDatastoresOK) WithPayload ¶
func (o *GetVSphereDatastoresOK) WithPayload(payload []*models.VSphereDatastore) *GetVSphereDatastoresOK
WithPayload adds the payload to the get v sphere datastores o k response
func (*GetVSphereDatastoresOK) WriteResponse ¶
func (o *GetVSphereDatastoresOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereDatastoresParams ¶
type GetVSphereDatastoresParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereDatastoresParams contains all the bound params for the get v sphere datastores operation typically these are obtained from a http.Request
swagger:parameters getVSphereDatastores
func NewGetVSphereDatastoresParams ¶
func NewGetVSphereDatastoresParams() GetVSphereDatastoresParams
NewGetVSphereDatastoresParams creates a new GetVSphereDatastoresParams object no default values defined in spec.
func (*GetVSphereDatastoresParams) BindRequest ¶
func (o *GetVSphereDatastoresParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereDatastoresParams() beforehand.
type GetVSphereDatastoresURL ¶
type GetVSphereDatastoresURL struct { Dc string // contains filtered or unexported fields }
GetVSphereDatastoresURL generates an URL for the get v sphere datastores operation
func (*GetVSphereDatastoresURL) Build ¶
func (o *GetVSphereDatastoresURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereDatastoresURL) BuildFull ¶
func (o *GetVSphereDatastoresURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereDatastoresURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereDatastoresURL) SetBasePath ¶
func (o *GetVSphereDatastoresURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereDatastoresURL) String ¶
func (o *GetVSphereDatastoresURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereDatastoresURL) StringFull ¶
func (o *GetVSphereDatastoresURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereDatastoresURL) WithBasePath ¶
func (o *GetVSphereDatastoresURL) WithBasePath(bp string) *GetVSphereDatastoresURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereDatastoresUnauthorized ¶
GetVSphereDatastoresUnauthorized Incorrect credentials
swagger:response getVSphereDatastoresUnauthorized
func NewGetVSphereDatastoresUnauthorized ¶
func NewGetVSphereDatastoresUnauthorized() *GetVSphereDatastoresUnauthorized
NewGetVSphereDatastoresUnauthorized creates GetVSphereDatastoresUnauthorized with default headers values
func (*GetVSphereDatastoresUnauthorized) SetPayload ¶
func (o *GetVSphereDatastoresUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere datastores unauthorized response
func (*GetVSphereDatastoresUnauthorized) WithPayload ¶
func (o *GetVSphereDatastoresUnauthorized) WithPayload(payload *models.Error) *GetVSphereDatastoresUnauthorized
WithPayload adds the payload to the get v sphere datastores unauthorized response
func (*GetVSphereDatastoresUnauthorized) WriteResponse ¶
func (o *GetVSphereDatastoresUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereFolders ¶
type GetVSphereFolders struct { Context *middleware.Context Handler GetVSphereFoldersHandler }
GetVSphereFolders swagger:route GET /api/providers/vsphere/folders vsphere getVSphereFolders
Retrieve vSphere folders
func NewGetVSphereFolders ¶
func NewGetVSphereFolders(ctx *middleware.Context, handler GetVSphereFoldersHandler) *GetVSphereFolders
NewGetVSphereFolders creates a new http.Handler for the get v sphere folders operation
func (*GetVSphereFolders) ServeHTTP ¶
func (o *GetVSphereFolders) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereFoldersBadRequest ¶
type GetVSphereFoldersBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereFoldersBadRequest Bad request
swagger:response getVSphereFoldersBadRequest
func NewGetVSphereFoldersBadRequest ¶
func NewGetVSphereFoldersBadRequest() *GetVSphereFoldersBadRequest
NewGetVSphereFoldersBadRequest creates GetVSphereFoldersBadRequest with default headers values
func (*GetVSphereFoldersBadRequest) SetPayload ¶
func (o *GetVSphereFoldersBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere folders bad request response
func (*GetVSphereFoldersBadRequest) WithPayload ¶
func (o *GetVSphereFoldersBadRequest) WithPayload(payload *models.Error) *GetVSphereFoldersBadRequest
WithPayload adds the payload to the get v sphere folders bad request response
func (*GetVSphereFoldersBadRequest) WriteResponse ¶
func (o *GetVSphereFoldersBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereFoldersHandler ¶
type GetVSphereFoldersHandler interface {
Handle(GetVSphereFoldersParams) middleware.Responder
}
GetVSphereFoldersHandler interface for that can handle valid get v sphere folders params
type GetVSphereFoldersHandlerFunc ¶
type GetVSphereFoldersHandlerFunc func(GetVSphereFoldersParams) middleware.Responder
GetVSphereFoldersHandlerFunc turns a function with the right signature into a get v sphere folders handler
func (GetVSphereFoldersHandlerFunc) Handle ¶
func (fn GetVSphereFoldersHandlerFunc) Handle(params GetVSphereFoldersParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereFoldersInternalServerError ¶
type GetVSphereFoldersInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereFoldersInternalServerError Internal server error
swagger:response getVSphereFoldersInternalServerError
func NewGetVSphereFoldersInternalServerError ¶
func NewGetVSphereFoldersInternalServerError() *GetVSphereFoldersInternalServerError
NewGetVSphereFoldersInternalServerError creates GetVSphereFoldersInternalServerError with default headers values
func (*GetVSphereFoldersInternalServerError) SetPayload ¶
func (o *GetVSphereFoldersInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere folders internal server error response
func (*GetVSphereFoldersInternalServerError) WithPayload ¶
func (o *GetVSphereFoldersInternalServerError) WithPayload(payload *models.Error) *GetVSphereFoldersInternalServerError
WithPayload adds the payload to the get v sphere folders internal server error response
func (*GetVSphereFoldersInternalServerError) WriteResponse ¶
func (o *GetVSphereFoldersInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereFoldersOK ¶
type GetVSphereFoldersOK struct { /* In: Body */ Payload []*models.VSphereFolder `json:"body,omitempty"` }
GetVSphereFoldersOK Successful retrieval of vSphere folders
swagger:response getVSphereFoldersOK
func NewGetVSphereFoldersOK ¶
func NewGetVSphereFoldersOK() *GetVSphereFoldersOK
NewGetVSphereFoldersOK creates GetVSphereFoldersOK with default headers values
func (*GetVSphereFoldersOK) SetPayload ¶
func (o *GetVSphereFoldersOK) SetPayload(payload []*models.VSphereFolder)
SetPayload sets the payload to the get v sphere folders o k response
func (*GetVSphereFoldersOK) WithPayload ¶
func (o *GetVSphereFoldersOK) WithPayload(payload []*models.VSphereFolder) *GetVSphereFoldersOK
WithPayload adds the payload to the get v sphere folders o k response
func (*GetVSphereFoldersOK) WriteResponse ¶
func (o *GetVSphereFoldersOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereFoldersParams ¶
type GetVSphereFoldersParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereFoldersParams contains all the bound params for the get v sphere folders operation typically these are obtained from a http.Request
swagger:parameters getVSphereFolders
func NewGetVSphereFoldersParams ¶
func NewGetVSphereFoldersParams() GetVSphereFoldersParams
NewGetVSphereFoldersParams creates a new GetVSphereFoldersParams object no default values defined in spec.
func (*GetVSphereFoldersParams) BindRequest ¶
func (o *GetVSphereFoldersParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereFoldersParams() beforehand.
type GetVSphereFoldersURL ¶
type GetVSphereFoldersURL struct { Dc string // contains filtered or unexported fields }
GetVSphereFoldersURL generates an URL for the get v sphere folders operation
func (*GetVSphereFoldersURL) Build ¶
func (o *GetVSphereFoldersURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereFoldersURL) BuildFull ¶
func (o *GetVSphereFoldersURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereFoldersURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereFoldersURL) SetBasePath ¶
func (o *GetVSphereFoldersURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereFoldersURL) String ¶
func (o *GetVSphereFoldersURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereFoldersURL) StringFull ¶
func (o *GetVSphereFoldersURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereFoldersURL) WithBasePath ¶
func (o *GetVSphereFoldersURL) WithBasePath(bp string) *GetVSphereFoldersURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereFoldersUnauthorized ¶
GetVSphereFoldersUnauthorized Incorrect credentials
swagger:response getVSphereFoldersUnauthorized
func NewGetVSphereFoldersUnauthorized ¶
func NewGetVSphereFoldersUnauthorized() *GetVSphereFoldersUnauthorized
NewGetVSphereFoldersUnauthorized creates GetVSphereFoldersUnauthorized with default headers values
func (*GetVSphereFoldersUnauthorized) SetPayload ¶
func (o *GetVSphereFoldersUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere folders unauthorized response
func (*GetVSphereFoldersUnauthorized) WithPayload ¶
func (o *GetVSphereFoldersUnauthorized) WithPayload(payload *models.Error) *GetVSphereFoldersUnauthorized
WithPayload adds the payload to the get v sphere folders unauthorized response
func (*GetVSphereFoldersUnauthorized) WriteResponse ¶
func (o *GetVSphereFoldersUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNetworks ¶
type GetVSphereNetworks struct { Context *middleware.Context Handler GetVSphereNetworksHandler }
GetVSphereNetworks swagger:route GET /api/providers/vsphere/networks vsphere getVSphereNetworks
Retrieve networks associated with the datacenter in vSphere
func NewGetVSphereNetworks ¶
func NewGetVSphereNetworks(ctx *middleware.Context, handler GetVSphereNetworksHandler) *GetVSphereNetworks
NewGetVSphereNetworks creates a new http.Handler for the get v sphere networks operation
func (*GetVSphereNetworks) ServeHTTP ¶
func (o *GetVSphereNetworks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereNetworksBadRequest ¶
type GetVSphereNetworksBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereNetworksBadRequest Bad request
swagger:response getVSphereNetworksBadRequest
func NewGetVSphereNetworksBadRequest ¶
func NewGetVSphereNetworksBadRequest() *GetVSphereNetworksBadRequest
NewGetVSphereNetworksBadRequest creates GetVSphereNetworksBadRequest with default headers values
func (*GetVSphereNetworksBadRequest) SetPayload ¶
func (o *GetVSphereNetworksBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere networks bad request response
func (*GetVSphereNetworksBadRequest) WithPayload ¶
func (o *GetVSphereNetworksBadRequest) WithPayload(payload *models.Error) *GetVSphereNetworksBadRequest
WithPayload adds the payload to the get v sphere networks bad request response
func (*GetVSphereNetworksBadRequest) WriteResponse ¶
func (o *GetVSphereNetworksBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNetworksHandler ¶
type GetVSphereNetworksHandler interface {
Handle(GetVSphereNetworksParams) middleware.Responder
}
GetVSphereNetworksHandler interface for that can handle valid get v sphere networks params
type GetVSphereNetworksHandlerFunc ¶
type GetVSphereNetworksHandlerFunc func(GetVSphereNetworksParams) middleware.Responder
GetVSphereNetworksHandlerFunc turns a function with the right signature into a get v sphere networks handler
func (GetVSphereNetworksHandlerFunc) Handle ¶
func (fn GetVSphereNetworksHandlerFunc) Handle(params GetVSphereNetworksParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereNetworksInternalServerError ¶
type GetVSphereNetworksInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereNetworksInternalServerError Internal server error
swagger:response getVSphereNetworksInternalServerError
func NewGetVSphereNetworksInternalServerError ¶
func NewGetVSphereNetworksInternalServerError() *GetVSphereNetworksInternalServerError
NewGetVSphereNetworksInternalServerError creates GetVSphereNetworksInternalServerError with default headers values
func (*GetVSphereNetworksInternalServerError) SetPayload ¶
func (o *GetVSphereNetworksInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere networks internal server error response
func (*GetVSphereNetworksInternalServerError) WithPayload ¶
func (o *GetVSphereNetworksInternalServerError) WithPayload(payload *models.Error) *GetVSphereNetworksInternalServerError
WithPayload adds the payload to the get v sphere networks internal server error response
func (*GetVSphereNetworksInternalServerError) WriteResponse ¶
func (o *GetVSphereNetworksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNetworksOK ¶
type GetVSphereNetworksOK struct { /*a list of vpshere networks In: Body */ Payload []*models.VSphereNetwork `json:"body,omitempty"` }
GetVSphereNetworksOK Successful retrieval of vSphere networks
swagger:response getVSphereNetworksOK
func NewGetVSphereNetworksOK ¶
func NewGetVSphereNetworksOK() *GetVSphereNetworksOK
NewGetVSphereNetworksOK creates GetVSphereNetworksOK with default headers values
func (*GetVSphereNetworksOK) SetPayload ¶
func (o *GetVSphereNetworksOK) SetPayload(payload []*models.VSphereNetwork)
SetPayload sets the payload to the get v sphere networks o k response
func (*GetVSphereNetworksOK) WithPayload ¶
func (o *GetVSphereNetworksOK) WithPayload(payload []*models.VSphereNetwork) *GetVSphereNetworksOK
WithPayload adds the payload to the get v sphere networks o k response
func (*GetVSphereNetworksOK) WriteResponse ¶
func (o *GetVSphereNetworksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNetworksParams ¶
type GetVSphereNetworksParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereNetworksParams contains all the bound params for the get v sphere networks operation typically these are obtained from a http.Request
swagger:parameters getVSphereNetworks
func NewGetVSphereNetworksParams ¶
func NewGetVSphereNetworksParams() GetVSphereNetworksParams
NewGetVSphereNetworksParams creates a new GetVSphereNetworksParams object no default values defined in spec.
func (*GetVSphereNetworksParams) BindRequest ¶
func (o *GetVSphereNetworksParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereNetworksParams() beforehand.
type GetVSphereNetworksURL ¶
type GetVSphereNetworksURL struct { Dc string // contains filtered or unexported fields }
GetVSphereNetworksURL generates an URL for the get v sphere networks operation
func (*GetVSphereNetworksURL) Build ¶
func (o *GetVSphereNetworksURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereNetworksURL) BuildFull ¶
func (o *GetVSphereNetworksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereNetworksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereNetworksURL) SetBasePath ¶
func (o *GetVSphereNetworksURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereNetworksURL) String ¶
func (o *GetVSphereNetworksURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereNetworksURL) StringFull ¶
func (o *GetVSphereNetworksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereNetworksURL) WithBasePath ¶
func (o *GetVSphereNetworksURL) WithBasePath(bp string) *GetVSphereNetworksURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereNetworksUnauthorized ¶
GetVSphereNetworksUnauthorized Incorrect credentials
swagger:response getVSphereNetworksUnauthorized
func NewGetVSphereNetworksUnauthorized ¶
func NewGetVSphereNetworksUnauthorized() *GetVSphereNetworksUnauthorized
NewGetVSphereNetworksUnauthorized creates GetVSphereNetworksUnauthorized with default headers values
func (*GetVSphereNetworksUnauthorized) SetPayload ¶
func (o *GetVSphereNetworksUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere networks unauthorized response
func (*GetVSphereNetworksUnauthorized) WithPayload ¶
func (o *GetVSphereNetworksUnauthorized) WithPayload(payload *models.Error) *GetVSphereNetworksUnauthorized
WithPayload adds the payload to the get v sphere networks unauthorized response
func (*GetVSphereNetworksUnauthorized) WriteResponse ¶
func (o *GetVSphereNetworksUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNodeTypes ¶
type GetVSphereNodeTypes struct { Context *middleware.Context Handler GetVSphereNodeTypesHandler }
GetVSphereNodeTypes swagger:route GET /api/providers/vsphere/nodetypes vsphere getVSphereNodeTypes
Retrieve vSphere supported kubernetes control plane node types
func NewGetVSphereNodeTypes ¶
func NewGetVSphereNodeTypes(ctx *middleware.Context, handler GetVSphereNodeTypesHandler) *GetVSphereNodeTypes
NewGetVSphereNodeTypes creates a new http.Handler for the get v sphere node types operation
func (*GetVSphereNodeTypes) ServeHTTP ¶
func (o *GetVSphereNodeTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereNodeTypesBadRequest ¶
type GetVSphereNodeTypesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereNodeTypesBadRequest Bad request
swagger:response getVSphereNodeTypesBadRequest
func NewGetVSphereNodeTypesBadRequest ¶
func NewGetVSphereNodeTypesBadRequest() *GetVSphereNodeTypesBadRequest
NewGetVSphereNodeTypesBadRequest creates GetVSphereNodeTypesBadRequest with default headers values
func (*GetVSphereNodeTypesBadRequest) SetPayload ¶
func (o *GetVSphereNodeTypesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere node types bad request response
func (*GetVSphereNodeTypesBadRequest) WithPayload ¶
func (o *GetVSphereNodeTypesBadRequest) WithPayload(payload *models.Error) *GetVSphereNodeTypesBadRequest
WithPayload adds the payload to the get v sphere node types bad request response
func (*GetVSphereNodeTypesBadRequest) WriteResponse ¶
func (o *GetVSphereNodeTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNodeTypesHandler ¶
type GetVSphereNodeTypesHandler interface {
Handle(GetVSphereNodeTypesParams) middleware.Responder
}
GetVSphereNodeTypesHandler interface for that can handle valid get v sphere node types params
type GetVSphereNodeTypesHandlerFunc ¶
type GetVSphereNodeTypesHandlerFunc func(GetVSphereNodeTypesParams) middleware.Responder
GetVSphereNodeTypesHandlerFunc turns a function with the right signature into a get v sphere node types handler
func (GetVSphereNodeTypesHandlerFunc) Handle ¶
func (fn GetVSphereNodeTypesHandlerFunc) Handle(params GetVSphereNodeTypesParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereNodeTypesInternalServerError ¶
type GetVSphereNodeTypesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereNodeTypesInternalServerError Internal server error
swagger:response getVSphereNodeTypesInternalServerError
func NewGetVSphereNodeTypesInternalServerError ¶
func NewGetVSphereNodeTypesInternalServerError() *GetVSphereNodeTypesInternalServerError
NewGetVSphereNodeTypesInternalServerError creates GetVSphereNodeTypesInternalServerError with default headers values
func (*GetVSphereNodeTypesInternalServerError) SetPayload ¶
func (o *GetVSphereNodeTypesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere node types internal server error response
func (*GetVSphereNodeTypesInternalServerError) WithPayload ¶
func (o *GetVSphereNodeTypesInternalServerError) WithPayload(payload *models.Error) *GetVSphereNodeTypesInternalServerError
WithPayload adds the payload to the get v sphere node types internal server error response
func (*GetVSphereNodeTypesInternalServerError) WriteResponse ¶
func (o *GetVSphereNodeTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNodeTypesOK ¶
type GetVSphereNodeTypesOK struct { /* In: Body */ Payload []*models.NodeType `json:"body,omitempty"` }
GetVSphereNodeTypesOK Successful retrieval of node types supported by vSphere
swagger:response getVSphereNodeTypesOK
func NewGetVSphereNodeTypesOK ¶
func NewGetVSphereNodeTypesOK() *GetVSphereNodeTypesOK
NewGetVSphereNodeTypesOK creates GetVSphereNodeTypesOK with default headers values
func (*GetVSphereNodeTypesOK) SetPayload ¶
func (o *GetVSphereNodeTypesOK) SetPayload(payload []*models.NodeType)
SetPayload sets the payload to the get v sphere node types o k response
func (*GetVSphereNodeTypesOK) WithPayload ¶
func (o *GetVSphereNodeTypesOK) WithPayload(payload []*models.NodeType) *GetVSphereNodeTypesOK
WithPayload adds the payload to the get v sphere node types o k response
func (*GetVSphereNodeTypesOK) WriteResponse ¶
func (o *GetVSphereNodeTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereNodeTypesParams ¶
type GetVSphereNodeTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetVSphereNodeTypesParams contains all the bound params for the get v sphere node types operation typically these are obtained from a http.Request
swagger:parameters getVSphereNodeTypes
func NewGetVSphereNodeTypesParams ¶
func NewGetVSphereNodeTypesParams() GetVSphereNodeTypesParams
NewGetVSphereNodeTypesParams creates a new GetVSphereNodeTypesParams object no default values defined in spec.
func (*GetVSphereNodeTypesParams) BindRequest ¶
func (o *GetVSphereNodeTypesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereNodeTypesParams() beforehand.
type GetVSphereNodeTypesURL ¶
type GetVSphereNodeTypesURL struct {
// contains filtered or unexported fields
}
GetVSphereNodeTypesURL generates an URL for the get v sphere node types operation
func (*GetVSphereNodeTypesURL) Build ¶
func (o *GetVSphereNodeTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereNodeTypesURL) BuildFull ¶
func (o *GetVSphereNodeTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereNodeTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereNodeTypesURL) SetBasePath ¶
func (o *GetVSphereNodeTypesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereNodeTypesURL) String ¶
func (o *GetVSphereNodeTypesURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereNodeTypesURL) StringFull ¶
func (o *GetVSphereNodeTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereNodeTypesURL) WithBasePath ¶
func (o *GetVSphereNodeTypesURL) WithBasePath(bp string) *GetVSphereNodeTypesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereNodeTypesUnauthorized ¶
GetVSphereNodeTypesUnauthorized Incorrect credentials
swagger:response getVSphereNodeTypesUnauthorized
func NewGetVSphereNodeTypesUnauthorized ¶
func NewGetVSphereNodeTypesUnauthorized() *GetVSphereNodeTypesUnauthorized
NewGetVSphereNodeTypesUnauthorized creates GetVSphereNodeTypesUnauthorized with default headers values
func (*GetVSphereNodeTypesUnauthorized) SetPayload ¶
func (o *GetVSphereNodeTypesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere node types unauthorized response
func (*GetVSphereNodeTypesUnauthorized) WithPayload ¶
func (o *GetVSphereNodeTypesUnauthorized) WithPayload(payload *models.Error) *GetVSphereNodeTypesUnauthorized
WithPayload adds the payload to the get v sphere node types unauthorized response
func (*GetVSphereNodeTypesUnauthorized) WriteResponse ¶
func (o *GetVSphereNodeTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereOSImages ¶
type GetVSphereOSImages struct { Context *middleware.Context Handler GetVSphereOSImagesHandler }
GetVSphereOSImages swagger:route GET /api/providers/vsphere/osimages vsphere getVSphereOSImages
Retrieve vSphere supported node os images
func NewGetVSphereOSImages ¶
func NewGetVSphereOSImages(ctx *middleware.Context, handler GetVSphereOSImagesHandler) *GetVSphereOSImages
NewGetVSphereOSImages creates a new http.Handler for the get v sphere o s images operation
func (*GetVSphereOSImages) ServeHTTP ¶
func (o *GetVSphereOSImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereOSImagesBadRequest ¶
type GetVSphereOSImagesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereOSImagesBadRequest Bad request
swagger:response getVSphereOSImagesBadRequest
func NewGetVSphereOSImagesBadRequest ¶
func NewGetVSphereOSImagesBadRequest() *GetVSphereOSImagesBadRequest
NewGetVSphereOSImagesBadRequest creates GetVSphereOSImagesBadRequest with default headers values
func (*GetVSphereOSImagesBadRequest) SetPayload ¶
func (o *GetVSphereOSImagesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere o s images bad request response
func (*GetVSphereOSImagesBadRequest) WithPayload ¶
func (o *GetVSphereOSImagesBadRequest) WithPayload(payload *models.Error) *GetVSphereOSImagesBadRequest
WithPayload adds the payload to the get v sphere o s images bad request response
func (*GetVSphereOSImagesBadRequest) WriteResponse ¶
func (o *GetVSphereOSImagesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereOSImagesHandler ¶
type GetVSphereOSImagesHandler interface {
Handle(GetVSphereOSImagesParams) middleware.Responder
}
GetVSphereOSImagesHandler interface for that can handle valid get v sphere o s images params
type GetVSphereOSImagesHandlerFunc ¶
type GetVSphereOSImagesHandlerFunc func(GetVSphereOSImagesParams) middleware.Responder
GetVSphereOSImagesHandlerFunc turns a function with the right signature into a get v sphere o s images handler
func (GetVSphereOSImagesHandlerFunc) Handle ¶
func (fn GetVSphereOSImagesHandlerFunc) Handle(params GetVSphereOSImagesParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereOSImagesInternalServerError ¶
type GetVSphereOSImagesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereOSImagesInternalServerError Internal server error
swagger:response getVSphereOSImagesInternalServerError
func NewGetVSphereOSImagesInternalServerError ¶
func NewGetVSphereOSImagesInternalServerError() *GetVSphereOSImagesInternalServerError
NewGetVSphereOSImagesInternalServerError creates GetVSphereOSImagesInternalServerError with default headers values
func (*GetVSphereOSImagesInternalServerError) SetPayload ¶
func (o *GetVSphereOSImagesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere o s images internal server error response
func (*GetVSphereOSImagesInternalServerError) WithPayload ¶
func (o *GetVSphereOSImagesInternalServerError) WithPayload(payload *models.Error) *GetVSphereOSImagesInternalServerError
WithPayload adds the payload to the get v sphere o s images internal server error response
func (*GetVSphereOSImagesInternalServerError) WriteResponse ¶
func (o *GetVSphereOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereOSImagesOK ¶
type GetVSphereOSImagesOK struct { /* In: Body */ Payload []*models.VSphereVirtualMachine `json:"body,omitempty"` }
GetVSphereOSImagesOK Successful retrieval of node images supported by vSphere
swagger:response getVSphereOSImagesOK
func NewGetVSphereOSImagesOK ¶
func NewGetVSphereOSImagesOK() *GetVSphereOSImagesOK
NewGetVSphereOSImagesOK creates GetVSphereOSImagesOK with default headers values
func (*GetVSphereOSImagesOK) SetPayload ¶
func (o *GetVSphereOSImagesOK) SetPayload(payload []*models.VSphereVirtualMachine)
SetPayload sets the payload to the get v sphere o s images o k response
func (*GetVSphereOSImagesOK) WithPayload ¶
func (o *GetVSphereOSImagesOK) WithPayload(payload []*models.VSphereVirtualMachine) *GetVSphereOSImagesOK
WithPayload adds the payload to the get v sphere o s images o k response
func (*GetVSphereOSImagesOK) WriteResponse ¶
func (o *GetVSphereOSImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereOSImagesParams ¶
type GetVSphereOSImagesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereOSImagesParams contains all the bound params for the get v sphere o s images operation typically these are obtained from a http.Request
swagger:parameters getVSphereOSImages
func NewGetVSphereOSImagesParams ¶
func NewGetVSphereOSImagesParams() GetVSphereOSImagesParams
NewGetVSphereOSImagesParams creates a new GetVSphereOSImagesParams object no default values defined in spec.
func (*GetVSphereOSImagesParams) BindRequest ¶
func (o *GetVSphereOSImagesParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereOSImagesParams() beforehand.
type GetVSphereOSImagesURL ¶
type GetVSphereOSImagesURL struct { Dc string // contains filtered or unexported fields }
GetVSphereOSImagesURL generates an URL for the get v sphere o s images operation
func (*GetVSphereOSImagesURL) Build ¶
func (o *GetVSphereOSImagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereOSImagesURL) BuildFull ¶
func (o *GetVSphereOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereOSImagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereOSImagesURL) SetBasePath ¶
func (o *GetVSphereOSImagesURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereOSImagesURL) String ¶
func (o *GetVSphereOSImagesURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereOSImagesURL) StringFull ¶
func (o *GetVSphereOSImagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereOSImagesURL) WithBasePath ¶
func (o *GetVSphereOSImagesURL) WithBasePath(bp string) *GetVSphereOSImagesURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereOSImagesUnauthorized ¶
GetVSphereOSImagesUnauthorized Incorrect credentials
swagger:response getVSphereOSImagesUnauthorized
func NewGetVSphereOSImagesUnauthorized ¶
func NewGetVSphereOSImagesUnauthorized() *GetVSphereOSImagesUnauthorized
NewGetVSphereOSImagesUnauthorized creates GetVSphereOSImagesUnauthorized with default headers values
func (*GetVSphereOSImagesUnauthorized) SetPayload ¶
func (o *GetVSphereOSImagesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere o s images unauthorized response
func (*GetVSphereOSImagesUnauthorized) WithPayload ¶
func (o *GetVSphereOSImagesUnauthorized) WithPayload(payload *models.Error) *GetVSphereOSImagesUnauthorized
WithPayload adds the payload to the get v sphere o s images unauthorized response
func (*GetVSphereOSImagesUnauthorized) WriteResponse ¶
func (o *GetVSphereOSImagesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereResourcePools ¶
type GetVSphereResourcePools struct { Context *middleware.Context Handler GetVSphereResourcePoolsHandler }
GetVSphereResourcePools swagger:route GET /api/providers/vsphere/resourcepools vsphere getVSphereResourcePools
Retrieve vSphere resource pools
func NewGetVSphereResourcePools ¶
func NewGetVSphereResourcePools(ctx *middleware.Context, handler GetVSphereResourcePoolsHandler) *GetVSphereResourcePools
NewGetVSphereResourcePools creates a new http.Handler for the get v sphere resource pools operation
func (*GetVSphereResourcePools) ServeHTTP ¶
func (o *GetVSphereResourcePools) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVSphereResourcePoolsBadRequest ¶
type GetVSphereResourcePoolsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereResourcePoolsBadRequest Bad request
swagger:response getVSphereResourcePoolsBadRequest
func NewGetVSphereResourcePoolsBadRequest ¶
func NewGetVSphereResourcePoolsBadRequest() *GetVSphereResourcePoolsBadRequest
NewGetVSphereResourcePoolsBadRequest creates GetVSphereResourcePoolsBadRequest with default headers values
func (*GetVSphereResourcePoolsBadRequest) SetPayload ¶
func (o *GetVSphereResourcePoolsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere resource pools bad request response
func (*GetVSphereResourcePoolsBadRequest) WithPayload ¶
func (o *GetVSphereResourcePoolsBadRequest) WithPayload(payload *models.Error) *GetVSphereResourcePoolsBadRequest
WithPayload adds the payload to the get v sphere resource pools bad request response
func (*GetVSphereResourcePoolsBadRequest) WriteResponse ¶
func (o *GetVSphereResourcePoolsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereResourcePoolsHandler ¶
type GetVSphereResourcePoolsHandler interface {
Handle(GetVSphereResourcePoolsParams) middleware.Responder
}
GetVSphereResourcePoolsHandler interface for that can handle valid get v sphere resource pools params
type GetVSphereResourcePoolsHandlerFunc ¶
type GetVSphereResourcePoolsHandlerFunc func(GetVSphereResourcePoolsParams) middleware.Responder
GetVSphereResourcePoolsHandlerFunc turns a function with the right signature into a get v sphere resource pools handler
func (GetVSphereResourcePoolsHandlerFunc) Handle ¶
func (fn GetVSphereResourcePoolsHandlerFunc) Handle(params GetVSphereResourcePoolsParams) middleware.Responder
Handle executing the request and returning a response
type GetVSphereResourcePoolsInternalServerError ¶
type GetVSphereResourcePoolsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVSphereResourcePoolsInternalServerError Internal server error
swagger:response getVSphereResourcePoolsInternalServerError
func NewGetVSphereResourcePoolsInternalServerError ¶
func NewGetVSphereResourcePoolsInternalServerError() *GetVSphereResourcePoolsInternalServerError
NewGetVSphereResourcePoolsInternalServerError creates GetVSphereResourcePoolsInternalServerError with default headers values
func (*GetVSphereResourcePoolsInternalServerError) SetPayload ¶
func (o *GetVSphereResourcePoolsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere resource pools internal server error response
func (*GetVSphereResourcePoolsInternalServerError) WithPayload ¶
func (o *GetVSphereResourcePoolsInternalServerError) WithPayload(payload *models.Error) *GetVSphereResourcePoolsInternalServerError
WithPayload adds the payload to the get v sphere resource pools internal server error response
func (*GetVSphereResourcePoolsInternalServerError) WriteResponse ¶
func (o *GetVSphereResourcePoolsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereResourcePoolsOK ¶
type GetVSphereResourcePoolsOK struct { /* In: Body */ Payload []*models.VSphereResourcePool `json:"body,omitempty"` }
GetVSphereResourcePoolsOK Successful retrieval of vSphere resourcePools
swagger:response getVSphereResourcePoolsOK
func NewGetVSphereResourcePoolsOK ¶
func NewGetVSphereResourcePoolsOK() *GetVSphereResourcePoolsOK
NewGetVSphereResourcePoolsOK creates GetVSphereResourcePoolsOK with default headers values
func (*GetVSphereResourcePoolsOK) SetPayload ¶
func (o *GetVSphereResourcePoolsOK) SetPayload(payload []*models.VSphereResourcePool)
SetPayload sets the payload to the get v sphere resource pools o k response
func (*GetVSphereResourcePoolsOK) WithPayload ¶
func (o *GetVSphereResourcePoolsOK) WithPayload(payload []*models.VSphereResourcePool) *GetVSphereResourcePoolsOK
WithPayload adds the payload to the get v sphere resource pools o k response
func (*GetVSphereResourcePoolsOK) WriteResponse ¶
func (o *GetVSphereResourcePoolsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVSphereResourcePoolsParams ¶
type GetVSphereResourcePoolsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*datacenter managed object Id, e.g. datacenter-2 Required: true In: query */ Dc string }
GetVSphereResourcePoolsParams contains all the bound params for the get v sphere resource pools operation typically these are obtained from a http.Request
swagger:parameters getVSphereResourcePools
func NewGetVSphereResourcePoolsParams ¶
func NewGetVSphereResourcePoolsParams() GetVSphereResourcePoolsParams
NewGetVSphereResourcePoolsParams creates a new GetVSphereResourcePoolsParams object no default values defined in spec.
func (*GetVSphereResourcePoolsParams) BindRequest ¶
func (o *GetVSphereResourcePoolsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVSphereResourcePoolsParams() beforehand.
type GetVSphereResourcePoolsURL ¶
type GetVSphereResourcePoolsURL struct { Dc string // contains filtered or unexported fields }
GetVSphereResourcePoolsURL generates an URL for the get v sphere resource pools operation
func (*GetVSphereResourcePoolsURL) Build ¶
func (o *GetVSphereResourcePoolsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVSphereResourcePoolsURL) BuildFull ¶
func (o *GetVSphereResourcePoolsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVSphereResourcePoolsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVSphereResourcePoolsURL) SetBasePath ¶
func (o *GetVSphereResourcePoolsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVSphereResourcePoolsURL) String ¶
func (o *GetVSphereResourcePoolsURL) String() string
String returns the string representation of the path with query string
func (*GetVSphereResourcePoolsURL) StringFull ¶
func (o *GetVSphereResourcePoolsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVSphereResourcePoolsURL) WithBasePath ¶
func (o *GetVSphereResourcePoolsURL) WithBasePath(bp string) *GetVSphereResourcePoolsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVSphereResourcePoolsUnauthorized ¶
GetVSphereResourcePoolsUnauthorized Incorrect credentials
swagger:response getVSphereResourcePoolsUnauthorized
func NewGetVSphereResourcePoolsUnauthorized ¶
func NewGetVSphereResourcePoolsUnauthorized() *GetVSphereResourcePoolsUnauthorized
NewGetVSphereResourcePoolsUnauthorized creates GetVSphereResourcePoolsUnauthorized with default headers values
func (*GetVSphereResourcePoolsUnauthorized) SetPayload ¶
func (o *GetVSphereResourcePoolsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v sphere resource pools unauthorized response
func (*GetVSphereResourcePoolsUnauthorized) WithPayload ¶
func (o *GetVSphereResourcePoolsUnauthorized) WithPayload(payload *models.Error) *GetVSphereResourcePoolsUnauthorized
WithPayload adds the payload to the get v sphere resource pools unauthorized response
func (*GetVSphereResourcePoolsUnauthorized) WriteResponse ¶
func (o *GetVSphereResourcePoolsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVsphereThumbprint ¶
type GetVsphereThumbprint struct { Context *middleware.Context Handler GetVsphereThumbprintHandler }
GetVsphereThumbprint swagger:route GET /api/providers/vsphere/thumbprint vsphere getVsphereThumbprint
Get vSphere thumbprint
func NewGetVsphereThumbprint ¶
func NewGetVsphereThumbprint(ctx *middleware.Context, handler GetVsphereThumbprintHandler) *GetVsphereThumbprint
NewGetVsphereThumbprint creates a new http.Handler for the get vsphere thumbprint operation
func (*GetVsphereThumbprint) ServeHTTP ¶
func (o *GetVsphereThumbprint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetVsphereThumbprintBadRequest ¶
type GetVsphereThumbprintBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVsphereThumbprintBadRequest Bad request
swagger:response getVsphereThumbprintBadRequest
func NewGetVsphereThumbprintBadRequest ¶
func NewGetVsphereThumbprintBadRequest() *GetVsphereThumbprintBadRequest
NewGetVsphereThumbprintBadRequest creates GetVsphereThumbprintBadRequest with default headers values
func (*GetVsphereThumbprintBadRequest) SetPayload ¶
func (o *GetVsphereThumbprintBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get vsphere thumbprint bad request response
func (*GetVsphereThumbprintBadRequest) WithPayload ¶
func (o *GetVsphereThumbprintBadRequest) WithPayload(payload *models.Error) *GetVsphereThumbprintBadRequest
WithPayload adds the payload to the get vsphere thumbprint bad request response
func (*GetVsphereThumbprintBadRequest) WriteResponse ¶
func (o *GetVsphereThumbprintBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVsphereThumbprintHandler ¶
type GetVsphereThumbprintHandler interface {
Handle(GetVsphereThumbprintParams) middleware.Responder
}
GetVsphereThumbprintHandler interface for that can handle valid get vsphere thumbprint params
type GetVsphereThumbprintHandlerFunc ¶
type GetVsphereThumbprintHandlerFunc func(GetVsphereThumbprintParams) middleware.Responder
GetVsphereThumbprintHandlerFunc turns a function with the right signature into a get vsphere thumbprint handler
func (GetVsphereThumbprintHandlerFunc) Handle ¶
func (fn GetVsphereThumbprintHandlerFunc) Handle(params GetVsphereThumbprintParams) middleware.Responder
Handle executing the request and returning a response
type GetVsphereThumbprintInternalServerError ¶
type GetVsphereThumbprintInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVsphereThumbprintInternalServerError Internal server error
swagger:response getVsphereThumbprintInternalServerError
func NewGetVsphereThumbprintInternalServerError ¶
func NewGetVsphereThumbprintInternalServerError() *GetVsphereThumbprintInternalServerError
NewGetVsphereThumbprintInternalServerError creates GetVsphereThumbprintInternalServerError with default headers values
func (*GetVsphereThumbprintInternalServerError) SetPayload ¶
func (o *GetVsphereThumbprintInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get vsphere thumbprint internal server error response
func (*GetVsphereThumbprintInternalServerError) WithPayload ¶
func (o *GetVsphereThumbprintInternalServerError) WithPayload(payload *models.Error) *GetVsphereThumbprintInternalServerError
WithPayload adds the payload to the get vsphere thumbprint internal server error response
func (*GetVsphereThumbprintInternalServerError) WriteResponse ¶
func (o *GetVsphereThumbprintInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVsphereThumbprintOK ¶
type GetVsphereThumbprintOK struct { /* In: Body */ Payload *models.VSphereThumbprint `json:"body,omitempty"` }
GetVsphereThumbprintOK Successful retrieval of vSphere thumbprint
swagger:response getVsphereThumbprintOK
func NewGetVsphereThumbprintOK ¶
func NewGetVsphereThumbprintOK() *GetVsphereThumbprintOK
NewGetVsphereThumbprintOK creates GetVsphereThumbprintOK with default headers values
func (*GetVsphereThumbprintOK) SetPayload ¶
func (o *GetVsphereThumbprintOK) SetPayload(payload *models.VSphereThumbprint)
SetPayload sets the payload to the get vsphere thumbprint o k response
func (*GetVsphereThumbprintOK) WithPayload ¶
func (o *GetVsphereThumbprintOK) WithPayload(payload *models.VSphereThumbprint) *GetVsphereThumbprintOK
WithPayload adds the payload to the get vsphere thumbprint o k response
func (*GetVsphereThumbprintOK) WriteResponse ¶
func (o *GetVsphereThumbprintOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVsphereThumbprintParams ¶
type GetVsphereThumbprintParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*vSphere host Required: true In: query */ Host string }
GetVsphereThumbprintParams contains all the bound params for the get vsphere thumbprint operation typically these are obtained from a http.Request
swagger:parameters getVsphereThumbprint
func NewGetVsphereThumbprintParams ¶
func NewGetVsphereThumbprintParams() GetVsphereThumbprintParams
NewGetVsphereThumbprintParams creates a new GetVsphereThumbprintParams object no default values defined in spec.
func (*GetVsphereThumbprintParams) BindRequest ¶
func (o *GetVsphereThumbprintParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetVsphereThumbprintParams() beforehand.
type GetVsphereThumbprintURL ¶
type GetVsphereThumbprintURL struct { Host string // contains filtered or unexported fields }
GetVsphereThumbprintURL generates an URL for the get vsphere thumbprint operation
func (*GetVsphereThumbprintURL) Build ¶
func (o *GetVsphereThumbprintURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVsphereThumbprintURL) BuildFull ¶
func (o *GetVsphereThumbprintURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVsphereThumbprintURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetVsphereThumbprintURL) SetBasePath ¶
func (o *GetVsphereThumbprintURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetVsphereThumbprintURL) String ¶
func (o *GetVsphereThumbprintURL) String() string
String returns the string representation of the path with query string
func (*GetVsphereThumbprintURL) StringFull ¶
func (o *GetVsphereThumbprintURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVsphereThumbprintURL) WithBasePath ¶
func (o *GetVsphereThumbprintURL) WithBasePath(bp string) *GetVsphereThumbprintURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type GetVsphereThumbprintUnauthorized ¶
GetVsphereThumbprintUnauthorized Incorrect credentials
swagger:response getVsphereThumbprintUnauthorized
func NewGetVsphereThumbprintUnauthorized ¶
func NewGetVsphereThumbprintUnauthorized() *GetVsphereThumbprintUnauthorized
NewGetVsphereThumbprintUnauthorized creates GetVsphereThumbprintUnauthorized with default headers values
func (*GetVsphereThumbprintUnauthorized) SetPayload ¶
func (o *GetVsphereThumbprintUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get vsphere thumbprint unauthorized response
func (*GetVsphereThumbprintUnauthorized) WithPayload ¶
func (o *GetVsphereThumbprintUnauthorized) WithPayload(payload *models.Error) *GetVsphereThumbprintUnauthorized
WithPayload adds the payload to the get vsphere thumbprint unauthorized response
func (*GetVsphereThumbprintUnauthorized) WriteResponse ¶
func (o *GetVsphereThumbprintUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetVSphereEndpoint ¶
type SetVSphereEndpoint struct { Context *middleware.Context Handler SetVSphereEndpointHandler }
SetVSphereEndpoint swagger:route POST /api/providers/vsphere vsphere setVSphereEndpoint
Validate and set vSphere credentials
func NewSetVSphereEndpoint ¶
func NewSetVSphereEndpoint(ctx *middleware.Context, handler SetVSphereEndpointHandler) *SetVSphereEndpoint
NewSetVSphereEndpoint creates a new http.Handler for the set v sphere endpoint operation
func (*SetVSphereEndpoint) ServeHTTP ¶
func (o *SetVSphereEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetVSphereEndpointBadRequest ¶
type SetVSphereEndpointBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetVSphereEndpointBadRequest Bad request
swagger:response setVSphereEndpointBadRequest
func NewSetVSphereEndpointBadRequest ¶
func NewSetVSphereEndpointBadRequest() *SetVSphereEndpointBadRequest
NewSetVSphereEndpointBadRequest creates SetVSphereEndpointBadRequest with default headers values
func (*SetVSphereEndpointBadRequest) SetPayload ¶
func (o *SetVSphereEndpointBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the set v sphere endpoint bad request response
func (*SetVSphereEndpointBadRequest) WithPayload ¶
func (o *SetVSphereEndpointBadRequest) WithPayload(payload *models.Error) *SetVSphereEndpointBadRequest
WithPayload adds the payload to the set v sphere endpoint bad request response
func (*SetVSphereEndpointBadRequest) WriteResponse ¶
func (o *SetVSphereEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetVSphereEndpointCreated ¶
type SetVSphereEndpointCreated struct { /* In: Body */ Payload *models.VsphereInfo `json:"body,omitempty"` }
SetVSphereEndpointCreated Connection successful
swagger:response setVSphereEndpointCreated
func NewSetVSphereEndpointCreated ¶
func NewSetVSphereEndpointCreated() *SetVSphereEndpointCreated
NewSetVSphereEndpointCreated creates SetVSphereEndpointCreated with default headers values
func (*SetVSphereEndpointCreated) SetPayload ¶
func (o *SetVSphereEndpointCreated) SetPayload(payload *models.VsphereInfo)
SetPayload sets the payload to the set v sphere endpoint created response
func (*SetVSphereEndpointCreated) WithPayload ¶
func (o *SetVSphereEndpointCreated) WithPayload(payload *models.VsphereInfo) *SetVSphereEndpointCreated
WithPayload adds the payload to the set v sphere endpoint created response
func (*SetVSphereEndpointCreated) WriteResponse ¶
func (o *SetVSphereEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetVSphereEndpointHandler ¶
type SetVSphereEndpointHandler interface {
Handle(SetVSphereEndpointParams) middleware.Responder
}
SetVSphereEndpointHandler interface for that can handle valid set v sphere endpoint params
type SetVSphereEndpointHandlerFunc ¶
type SetVSphereEndpointHandlerFunc func(SetVSphereEndpointParams) middleware.Responder
SetVSphereEndpointHandlerFunc turns a function with the right signature into a set v sphere endpoint handler
func (SetVSphereEndpointHandlerFunc) Handle ¶
func (fn SetVSphereEndpointHandlerFunc) Handle(params SetVSphereEndpointParams) middleware.Responder
Handle executing the request and returning a response
type SetVSphereEndpointInternalServerError ¶
type SetVSphereEndpointInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetVSphereEndpointInternalServerError Internal server error
swagger:response setVSphereEndpointInternalServerError
func NewSetVSphereEndpointInternalServerError ¶
func NewSetVSphereEndpointInternalServerError() *SetVSphereEndpointInternalServerError
NewSetVSphereEndpointInternalServerError creates SetVSphereEndpointInternalServerError with default headers values
func (*SetVSphereEndpointInternalServerError) SetPayload ¶
func (o *SetVSphereEndpointInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the set v sphere endpoint internal server error response
func (*SetVSphereEndpointInternalServerError) WithPayload ¶
func (o *SetVSphereEndpointInternalServerError) WithPayload(payload *models.Error) *SetVSphereEndpointInternalServerError
WithPayload adds the payload to the set v sphere endpoint internal server error response
func (*SetVSphereEndpointInternalServerError) WriteResponse ¶
func (o *SetVSphereEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetVSphereEndpointParams ¶
type SetVSphereEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*vSphere credentials In: body */ Credentials *models.VSphereCredentials }
SetVSphereEndpointParams contains all the bound params for the set v sphere endpoint operation typically these are obtained from a http.Request
swagger:parameters setVSphereEndpoint
func NewSetVSphereEndpointParams ¶
func NewSetVSphereEndpointParams() SetVSphereEndpointParams
NewSetVSphereEndpointParams creates a new SetVSphereEndpointParams object no default values defined in spec.
func (*SetVSphereEndpointParams) BindRequest ¶
func (o *SetVSphereEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSetVSphereEndpointParams() beforehand.
type SetVSphereEndpointURL ¶
type SetVSphereEndpointURL struct {
// contains filtered or unexported fields
}
SetVSphereEndpointURL generates an URL for the set v sphere endpoint operation
func (*SetVSphereEndpointURL) Build ¶
func (o *SetVSphereEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetVSphereEndpointURL) BuildFull ¶
func (o *SetVSphereEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetVSphereEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetVSphereEndpointURL) SetBasePath ¶
func (o *SetVSphereEndpointURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetVSphereEndpointURL) String ¶
func (o *SetVSphereEndpointURL) String() string
String returns the string representation of the path with query string
func (*SetVSphereEndpointURL) StringFull ¶
func (o *SetVSphereEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetVSphereEndpointURL) WithBasePath ¶
func (o *SetVSphereEndpointURL) WithBasePath(bp string) *SetVSphereEndpointURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SetVSphereEndpointUnauthorized ¶
SetVSphereEndpointUnauthorized Incorrect credentials
swagger:response setVSphereEndpointUnauthorized
func NewSetVSphereEndpointUnauthorized ¶
func NewSetVSphereEndpointUnauthorized() *SetVSphereEndpointUnauthorized
NewSetVSphereEndpointUnauthorized creates SetVSphereEndpointUnauthorized with default headers values
func (*SetVSphereEndpointUnauthorized) SetPayload ¶
func (o *SetVSphereEndpointUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the set v sphere endpoint unauthorized response
func (*SetVSphereEndpointUnauthorized) WithPayload ¶
func (o *SetVSphereEndpointUnauthorized) WithPayload(payload *models.Error) *SetVSphereEndpointUnauthorized
WithPayload adds the payload to the set v sphere endpoint unauthorized response
func (*SetVSphereEndpointUnauthorized) WriteResponse ¶
func (o *SetVSphereEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- apply_t_k_g_config_for_vsphere.go
- apply_t_k_g_config_for_vsphere_parameters.go
- apply_t_k_g_config_for_vsphere_responses.go
- apply_t_k_g_config_for_vsphere_urlbuilder.go
- create_v_sphere_regional_cluster.go
- create_v_sphere_regional_cluster_parameters.go
- create_v_sphere_regional_cluster_responses.go
- create_v_sphere_regional_cluster_urlbuilder.go
- generate_t_k_g_config_for_vsphere.go
- generate_t_k_g_config_for_vsphere_parameters.go
- generate_t_k_g_config_for_vsphere_responses.go
- generate_t_k_g_config_for_vsphere_urlbuilder.go
- get_v_sphere_compute_resources.go
- get_v_sphere_compute_resources_parameters.go
- get_v_sphere_compute_resources_responses.go
- get_v_sphere_compute_resources_urlbuilder.go
- get_v_sphere_datacenters.go
- get_v_sphere_datacenters_parameters.go
- get_v_sphere_datacenters_responses.go
- get_v_sphere_datacenters_urlbuilder.go
- get_v_sphere_datastores.go
- get_v_sphere_datastores_parameters.go
- get_v_sphere_datastores_responses.go
- get_v_sphere_datastores_urlbuilder.go
- get_v_sphere_folders.go
- get_v_sphere_folders_parameters.go
- get_v_sphere_folders_responses.go
- get_v_sphere_folders_urlbuilder.go
- get_v_sphere_networks.go
- get_v_sphere_networks_parameters.go
- get_v_sphere_networks_responses.go
- get_v_sphere_networks_urlbuilder.go
- get_v_sphere_node_types.go
- get_v_sphere_node_types_parameters.go
- get_v_sphere_node_types_responses.go
- get_v_sphere_node_types_urlbuilder.go
- get_v_sphere_o_s_images.go
- get_v_sphere_o_s_images_parameters.go
- get_v_sphere_o_s_images_responses.go
- get_v_sphere_o_s_images_urlbuilder.go
- get_v_sphere_resource_pools.go
- get_v_sphere_resource_pools_parameters.go
- get_v_sphere_resource_pools_responses.go
- get_v_sphere_resource_pools_urlbuilder.go
- get_vsphere_thumbprint.go
- get_vsphere_thumbprint_parameters.go
- get_vsphere_thumbprint_responses.go
- get_vsphere_thumbprint_urlbuilder.go
- set_v_sphere_endpoint.go
- set_v_sphere_endpoint_parameters.go
- set_v_sphere_endpoint_responses.go
- set_v_sphere_endpoint_urlbuilder.go