Documentation ¶
Index ¶
- Constants
- type ApplyTKGConfigForAzure
- type ApplyTKGConfigForAzureBadRequest
- type ApplyTKGConfigForAzureHandler
- type ApplyTKGConfigForAzureHandlerFunc
- type ApplyTKGConfigForAzureInternalServerError
- func (o *ApplyTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForAzureInternalServerError
- func (o *ApplyTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForAzureOK
- type ApplyTKGConfigForAzureParams
- type ApplyTKGConfigForAzureURL
- func (o *ApplyTKGConfigForAzureURL) Build() (*url.URL, error)
- func (o *ApplyTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApplyTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL
- func (o *ApplyTKGConfigForAzureURL) SetBasePath(bp string)
- func (o *ApplyTKGConfigForAzureURL) String() string
- func (o *ApplyTKGConfigForAzureURL) StringFull(scheme, host string) string
- func (o *ApplyTKGConfigForAzureURL) WithBasePath(bp string) *ApplyTKGConfigForAzureURL
- type ApplyTKGConfigForAzureUnauthorized
- func (o *ApplyTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ApplyTKGConfigForAzureUnauthorized
- func (o *ApplyTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureRegionalCluster
- type CreateAzureRegionalClusterBadRequest
- func (o *CreateAzureRegionalClusterBadRequest) SetPayload(payload *models.Error)
- func (o *CreateAzureRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateAzureRegionalClusterBadRequest
- func (o *CreateAzureRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureRegionalClusterHandler
- type CreateAzureRegionalClusterHandlerFunc
- type CreateAzureRegionalClusterInternalServerError
- func (o *CreateAzureRegionalClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateAzureRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateAzureRegionalClusterInternalServerError
- func (o *CreateAzureRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureRegionalClusterOK
- type CreateAzureRegionalClusterParams
- type CreateAzureRegionalClusterURL
- func (o *CreateAzureRegionalClusterURL) Build() (*url.URL, error)
- func (o *CreateAzureRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAzureRegionalClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAzureRegionalClusterURL) SetBasePath(bp string)
- func (o *CreateAzureRegionalClusterURL) String() string
- func (o *CreateAzureRegionalClusterURL) StringFull(scheme, host string) string
- func (o *CreateAzureRegionalClusterURL) WithBasePath(bp string) *CreateAzureRegionalClusterURL
- type CreateAzureRegionalClusterUnauthorized
- func (o *CreateAzureRegionalClusterUnauthorized) SetPayload(payload *models.Error)
- func (o *CreateAzureRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateAzureRegionalClusterUnauthorized
- func (o *CreateAzureRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureResourceGroup
- type CreateAzureResourceGroupBadRequest
- func (o *CreateAzureResourceGroupBadRequest) SetPayload(payload *models.Error)
- func (o *CreateAzureResourceGroupBadRequest) WithPayload(payload *models.Error) *CreateAzureResourceGroupBadRequest
- func (o *CreateAzureResourceGroupBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureResourceGroupCreated
- type CreateAzureResourceGroupHandler
- type CreateAzureResourceGroupHandlerFunc
- type CreateAzureResourceGroupInternalServerError
- func (o *CreateAzureResourceGroupInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateAzureResourceGroupInternalServerError) WithPayload(payload *models.Error) *CreateAzureResourceGroupInternalServerError
- func (o *CreateAzureResourceGroupInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureResourceGroupParams
- type CreateAzureResourceGroupURL
- func (o *CreateAzureResourceGroupURL) Build() (*url.URL, error)
- func (o *CreateAzureResourceGroupURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAzureResourceGroupURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAzureResourceGroupURL) SetBasePath(bp string)
- func (o *CreateAzureResourceGroupURL) String() string
- func (o *CreateAzureResourceGroupURL) StringFull(scheme, host string) string
- func (o *CreateAzureResourceGroupURL) WithBasePath(bp string) *CreateAzureResourceGroupURL
- type CreateAzureResourceGroupUnauthorized
- func (o *CreateAzureResourceGroupUnauthorized) SetPayload(payload *models.Error)
- func (o *CreateAzureResourceGroupUnauthorized) WithPayload(payload *models.Error) *CreateAzureResourceGroupUnauthorized
- func (o *CreateAzureResourceGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureVirtualNetwork
- type CreateAzureVirtualNetworkBadRequest
- func (o *CreateAzureVirtualNetworkBadRequest) SetPayload(payload *models.Error)
- func (o *CreateAzureVirtualNetworkBadRequest) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkBadRequest
- func (o *CreateAzureVirtualNetworkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureVirtualNetworkCreated
- type CreateAzureVirtualNetworkHandler
- type CreateAzureVirtualNetworkHandlerFunc
- type CreateAzureVirtualNetworkInternalServerError
- func (o *CreateAzureVirtualNetworkInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateAzureVirtualNetworkInternalServerError) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkInternalServerError
- func (o *CreateAzureVirtualNetworkInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAzureVirtualNetworkParams
- type CreateAzureVirtualNetworkURL
- func (o *CreateAzureVirtualNetworkURL) Build() (*url.URL, error)
- func (o *CreateAzureVirtualNetworkURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAzureVirtualNetworkURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAzureVirtualNetworkURL) SetBasePath(bp string)
- func (o *CreateAzureVirtualNetworkURL) String() string
- func (o *CreateAzureVirtualNetworkURL) StringFull(scheme, host string) string
- func (o *CreateAzureVirtualNetworkURL) WithBasePath(bp string) *CreateAzureVirtualNetworkURL
- type CreateAzureVirtualNetworkUnauthorized
- func (o *CreateAzureVirtualNetworkUnauthorized) SetPayload(payload *models.Error)
- func (o *CreateAzureVirtualNetworkUnauthorized) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkUnauthorized
- func (o *CreateAzureVirtualNetworkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForAzure
- type ExportTKGConfigForAzureBadRequest
- func (o *ExportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForAzureBadRequest) WithPayload(payload *models.Error) *ExportTKGConfigForAzureBadRequest
- func (o *ExportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForAzureHandler
- type ExportTKGConfigForAzureHandlerFunc
- type ExportTKGConfigForAzureInternalServerError
- func (o *ExportTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForAzureInternalServerError
- func (o *ExportTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForAzureOK
- type ExportTKGConfigForAzureParams
- type ExportTKGConfigForAzureURL
- func (o *ExportTKGConfigForAzureURL) Build() (*url.URL, error)
- func (o *ExportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportTKGConfigForAzureURL) SetBasePath(bp string)
- func (o *ExportTKGConfigForAzureURL) String() string
- func (o *ExportTKGConfigForAzureURL) StringFull(scheme, host string) string
- func (o *ExportTKGConfigForAzureURL) WithBasePath(bp string) *ExportTKGConfigForAzureURL
- type ExportTKGConfigForAzureUnauthorized
- func (o *ExportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ExportTKGConfigForAzureUnauthorized
- func (o *ExportTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureEndpoint
- type GetAzureEndpointBadRequest
- type GetAzureEndpointHandler
- type GetAzureEndpointHandlerFunc
- type GetAzureEndpointInternalServerError
- func (o *GetAzureEndpointInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAzureEndpointInternalServerError) WithPayload(payload *models.Error) *GetAzureEndpointInternalServerError
- func (o *GetAzureEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureEndpointOK
- type GetAzureEndpointParams
- type GetAzureEndpointURL
- func (o *GetAzureEndpointURL) Build() (*url.URL, error)
- func (o *GetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureEndpointURL) SetBasePath(bp string)
- func (o *GetAzureEndpointURL) String() string
- func (o *GetAzureEndpointURL) StringFull(scheme, host string) string
- func (o *GetAzureEndpointURL) WithBasePath(bp string) *GetAzureEndpointURL
- type GetAzureEndpointUnauthorized
- type GetAzureInstanceTypes
- type GetAzureInstanceTypesBadRequest
- type GetAzureInstanceTypesHandler
- type GetAzureInstanceTypesHandlerFunc
- type GetAzureInstanceTypesInternalServerError
- func (o *GetAzureInstanceTypesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAzureInstanceTypesInternalServerError) WithPayload(payload *models.Error) *GetAzureInstanceTypesInternalServerError
- func (o *GetAzureInstanceTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureInstanceTypesOK
- type GetAzureInstanceTypesParams
- type GetAzureInstanceTypesURL
- func (o *GetAzureInstanceTypesURL) Build() (*url.URL, error)
- func (o *GetAzureInstanceTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureInstanceTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureInstanceTypesURL) SetBasePath(bp string)
- func (o *GetAzureInstanceTypesURL) String() string
- func (o *GetAzureInstanceTypesURL) StringFull(scheme, host string) string
- func (o *GetAzureInstanceTypesURL) WithBasePath(bp string) *GetAzureInstanceTypesURL
- type GetAzureInstanceTypesUnauthorized
- func (o *GetAzureInstanceTypesUnauthorized) SetPayload(payload *models.Error)
- func (o *GetAzureInstanceTypesUnauthorized) WithPayload(payload *models.Error) *GetAzureInstanceTypesUnauthorized
- func (o *GetAzureInstanceTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureOSImages
- type GetAzureOSImagesBadRequest
- type GetAzureOSImagesHandler
- type GetAzureOSImagesHandlerFunc
- type GetAzureOSImagesInternalServerError
- func (o *GetAzureOSImagesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAzureOSImagesInternalServerError) WithPayload(payload *models.Error) *GetAzureOSImagesInternalServerError
- func (o *GetAzureOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureOSImagesOK
- type GetAzureOSImagesParams
- type GetAzureOSImagesURL
- func (o *GetAzureOSImagesURL) Build() (*url.URL, error)
- func (o *GetAzureOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureOSImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureOSImagesURL) SetBasePath(bp string)
- func (o *GetAzureOSImagesURL) String() string
- func (o *GetAzureOSImagesURL) StringFull(scheme, host string) string
- func (o *GetAzureOSImagesURL) WithBasePath(bp string) *GetAzureOSImagesURL
- type GetAzureOSImagesUnauthorized
- type GetAzureRegions
- type GetAzureRegionsBadRequest
- type GetAzureRegionsHandler
- type GetAzureRegionsHandlerFunc
- type GetAzureRegionsInternalServerError
- func (o *GetAzureRegionsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAzureRegionsInternalServerError) WithPayload(payload *models.Error) *GetAzureRegionsInternalServerError
- func (o *GetAzureRegionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureRegionsOK
- type GetAzureRegionsParams
- type GetAzureRegionsURL
- func (o *GetAzureRegionsURL) Build() (*url.URL, error)
- func (o *GetAzureRegionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureRegionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureRegionsURL) SetBasePath(bp string)
- func (o *GetAzureRegionsURL) String() string
- func (o *GetAzureRegionsURL) StringFull(scheme, host string) string
- func (o *GetAzureRegionsURL) WithBasePath(bp string) *GetAzureRegionsURL
- type GetAzureRegionsUnauthorized
- type GetAzureResourceGroups
- type GetAzureResourceGroupsBadRequest
- type GetAzureResourceGroupsHandler
- type GetAzureResourceGroupsHandlerFunc
- type GetAzureResourceGroupsInternalServerError
- func (o *GetAzureResourceGroupsInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAzureResourceGroupsInternalServerError) WithPayload(payload *models.Error) *GetAzureResourceGroupsInternalServerError
- func (o *GetAzureResourceGroupsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureResourceGroupsOK
- type GetAzureResourceGroupsParams
- type GetAzureResourceGroupsURL
- func (o *GetAzureResourceGroupsURL) Build() (*url.URL, error)
- func (o *GetAzureResourceGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureResourceGroupsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureResourceGroupsURL) SetBasePath(bp string)
- func (o *GetAzureResourceGroupsURL) String() string
- func (o *GetAzureResourceGroupsURL) StringFull(scheme, host string) string
- func (o *GetAzureResourceGroupsURL) WithBasePath(bp string) *GetAzureResourceGroupsURL
- type GetAzureResourceGroupsUnauthorized
- func (o *GetAzureResourceGroupsUnauthorized) SetPayload(payload *models.Error)
- func (o *GetAzureResourceGroupsUnauthorized) WithPayload(payload *models.Error) *GetAzureResourceGroupsUnauthorized
- func (o *GetAzureResourceGroupsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAzureVnets
- type GetAzureVnetsBadRequest
- type GetAzureVnetsHandler
- type GetAzureVnetsHandlerFunc
- type GetAzureVnetsInternalServerError
- type GetAzureVnetsOK
- type GetAzureVnetsParams
- type GetAzureVnetsURL
- func (o *GetAzureVnetsURL) Build() (*url.URL, error)
- func (o *GetAzureVnetsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAzureVnetsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAzureVnetsURL) SetBasePath(bp string)
- func (o *GetAzureVnetsURL) String() string
- func (o *GetAzureVnetsURL) StringFull(scheme, host string) string
- func (o *GetAzureVnetsURL) WithBasePath(bp string) *GetAzureVnetsURL
- type GetAzureVnetsUnauthorized
- type ImportTKGConfigForAzure
- type ImportTKGConfigForAzureBadRequest
- func (o *ImportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForAzureBadRequest) WithPayload(payload *models.Error) *ImportTKGConfigForAzureBadRequest
- func (o *ImportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForAzureHandler
- type ImportTKGConfigForAzureHandlerFunc
- type ImportTKGConfigForAzureInternalServerError
- func (o *ImportTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForAzureInternalServerError
- func (o *ImportTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForAzureOK
- func (o *ImportTKGConfigForAzureOK) SetPayload(payload *models.AzureRegionalClusterParams)
- func (o *ImportTKGConfigForAzureOK) WithPayload(payload *models.AzureRegionalClusterParams) *ImportTKGConfigForAzureOK
- func (o *ImportTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForAzureParams
- type ImportTKGConfigForAzureURL
- func (o *ImportTKGConfigForAzureURL) Build() (*url.URL, error)
- func (o *ImportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ImportTKGConfigForAzureURL) Must(u *url.URL, err error) *url.URL
- func (o *ImportTKGConfigForAzureURL) SetBasePath(bp string)
- func (o *ImportTKGConfigForAzureURL) String() string
- func (o *ImportTKGConfigForAzureURL) StringFull(scheme, host string) string
- func (o *ImportTKGConfigForAzureURL) WithBasePath(bp string) *ImportTKGConfigForAzureURL
- type ImportTKGConfigForAzureUnauthorized
- func (o *ImportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForAzureUnauthorized
- func (o *ImportTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetAzureEndpoint
- type SetAzureEndpointBadRequest
- type SetAzureEndpointCreated
- type SetAzureEndpointHandler
- type SetAzureEndpointHandlerFunc
- type SetAzureEndpointInternalServerError
- func (o *SetAzureEndpointInternalServerError) SetPayload(payload *models.Error)
- func (o *SetAzureEndpointInternalServerError) WithPayload(payload *models.Error) *SetAzureEndpointInternalServerError
- func (o *SetAzureEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetAzureEndpointParams
- type SetAzureEndpointURL
- func (o *SetAzureEndpointURL) Build() (*url.URL, error)
- func (o *SetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetAzureEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *SetAzureEndpointURL) SetBasePath(bp string)
- func (o *SetAzureEndpointURL) String() string
- func (o *SetAzureEndpointURL) StringFull(scheme, host string) string
- func (o *SetAzureEndpointURL) WithBasePath(bp string) *SetAzureEndpointURL
- type SetAzureEndpointUnauthorized
Constants ¶
const ApplyTKGConfigForAzureBadRequestCode int = 400
ApplyTKGConfigForAzureBadRequestCode is the HTTP code returned for type ApplyTKGConfigForAzureBadRequest
const ApplyTKGConfigForAzureInternalServerErrorCode int = 500
ApplyTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForAzureInternalServerError
const ApplyTKGConfigForAzureOKCode int = 200
ApplyTKGConfigForAzureOKCode is the HTTP code returned for type ApplyTKGConfigForAzureOK
ApplyTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ApplyTKGConfigForAzureUnauthorized
const CreateAzureRegionalClusterBadRequestCode int = 400
CreateAzureRegionalClusterBadRequestCode is the HTTP code returned for type CreateAzureRegionalClusterBadRequest
const CreateAzureRegionalClusterInternalServerErrorCode int = 500
CreateAzureRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateAzureRegionalClusterInternalServerError
const CreateAzureRegionalClusterOKCode int = 200
CreateAzureRegionalClusterOKCode is the HTTP code returned for type CreateAzureRegionalClusterOK
CreateAzureRegionalClusterUnauthorizedCode is the HTTP code returned for type CreateAzureRegionalClusterUnauthorized
const CreateAzureResourceGroupBadRequestCode int = 400
CreateAzureResourceGroupBadRequestCode is the HTTP code returned for type CreateAzureResourceGroupBadRequest
const CreateAzureResourceGroupCreatedCode int = 201
CreateAzureResourceGroupCreatedCode is the HTTP code returned for type CreateAzureResourceGroupCreated
const CreateAzureResourceGroupInternalServerErrorCode int = 500
CreateAzureResourceGroupInternalServerErrorCode is the HTTP code returned for type CreateAzureResourceGroupInternalServerError
CreateAzureResourceGroupUnauthorizedCode is the HTTP code returned for type CreateAzureResourceGroupUnauthorized
const CreateAzureVirtualNetworkBadRequestCode int = 400
CreateAzureVirtualNetworkBadRequestCode is the HTTP code returned for type CreateAzureVirtualNetworkBadRequest
const CreateAzureVirtualNetworkCreatedCode int = 201
CreateAzureVirtualNetworkCreatedCode is the HTTP code returned for type CreateAzureVirtualNetworkCreated
const CreateAzureVirtualNetworkInternalServerErrorCode int = 500
CreateAzureVirtualNetworkInternalServerErrorCode is the HTTP code returned for type CreateAzureVirtualNetworkInternalServerError
CreateAzureVirtualNetworkUnauthorizedCode is the HTTP code returned for type CreateAzureVirtualNetworkUnauthorized
const ExportTKGConfigForAzureBadRequestCode int = 400
ExportTKGConfigForAzureBadRequestCode is the HTTP code returned for type ExportTKGConfigForAzureBadRequest
const ExportTKGConfigForAzureInternalServerErrorCode int = 500
ExportTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ExportTKGConfigForAzureInternalServerError
const ExportTKGConfigForAzureOKCode int = 200
ExportTKGConfigForAzureOKCode is the HTTP code returned for type ExportTKGConfigForAzureOK
ExportTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ExportTKGConfigForAzureUnauthorized
const GetAzureEndpointBadRequestCode int = 400
GetAzureEndpointBadRequestCode is the HTTP code returned for type GetAzureEndpointBadRequest
const GetAzureEndpointInternalServerErrorCode int = 500
GetAzureEndpointInternalServerErrorCode is the HTTP code returned for type GetAzureEndpointInternalServerError
const GetAzureEndpointOKCode int = 200
GetAzureEndpointOKCode is the HTTP code returned for type GetAzureEndpointOK
GetAzureEndpointUnauthorizedCode is the HTTP code returned for type GetAzureEndpointUnauthorized
const GetAzureInstanceTypesBadRequestCode int = 400
GetAzureInstanceTypesBadRequestCode is the HTTP code returned for type GetAzureInstanceTypesBadRequest
const GetAzureInstanceTypesInternalServerErrorCode int = 500
GetAzureInstanceTypesInternalServerErrorCode is the HTTP code returned for type GetAzureInstanceTypesInternalServerError
const GetAzureInstanceTypesOKCode int = 200
GetAzureInstanceTypesOKCode is the HTTP code returned for type GetAzureInstanceTypesOK
GetAzureInstanceTypesUnauthorizedCode is the HTTP code returned for type GetAzureInstanceTypesUnauthorized
const GetAzureOSImagesBadRequestCode int = 400
GetAzureOSImagesBadRequestCode is the HTTP code returned for type GetAzureOSImagesBadRequest
const GetAzureOSImagesInternalServerErrorCode int = 500
GetAzureOSImagesInternalServerErrorCode is the HTTP code returned for type GetAzureOSImagesInternalServerError
const GetAzureOSImagesOKCode int = 200
GetAzureOSImagesOKCode is the HTTP code returned for type GetAzureOSImagesOK
GetAzureOSImagesUnauthorizedCode is the HTTP code returned for type GetAzureOSImagesUnauthorized
const GetAzureRegionsBadRequestCode int = 400
GetAzureRegionsBadRequestCode is the HTTP code returned for type GetAzureRegionsBadRequest
const GetAzureRegionsInternalServerErrorCode int = 500
GetAzureRegionsInternalServerErrorCode is the HTTP code returned for type GetAzureRegionsInternalServerError
const GetAzureRegionsOKCode int = 200
GetAzureRegionsOKCode is the HTTP code returned for type GetAzureRegionsOK
GetAzureRegionsUnauthorizedCode is the HTTP code returned for type GetAzureRegionsUnauthorized
const GetAzureResourceGroupsBadRequestCode int = 400
GetAzureResourceGroupsBadRequestCode is the HTTP code returned for type GetAzureResourceGroupsBadRequest
const GetAzureResourceGroupsInternalServerErrorCode int = 500
GetAzureResourceGroupsInternalServerErrorCode is the HTTP code returned for type GetAzureResourceGroupsInternalServerError
const GetAzureResourceGroupsOKCode int = 200
GetAzureResourceGroupsOKCode is the HTTP code returned for type GetAzureResourceGroupsOK
GetAzureResourceGroupsUnauthorizedCode is the HTTP code returned for type GetAzureResourceGroupsUnauthorized
const GetAzureVnetsBadRequestCode int = 400
GetAzureVnetsBadRequestCode is the HTTP code returned for type GetAzureVnetsBadRequest
const GetAzureVnetsInternalServerErrorCode int = 500
GetAzureVnetsInternalServerErrorCode is the HTTP code returned for type GetAzureVnetsInternalServerError
const GetAzureVnetsOKCode int = 200
GetAzureVnetsOKCode is the HTTP code returned for type GetAzureVnetsOK
GetAzureVnetsUnauthorizedCode is the HTTP code returned for type GetAzureVnetsUnauthorized
const ImportTKGConfigForAzureBadRequestCode int = 400
ImportTKGConfigForAzureBadRequestCode is the HTTP code returned for type ImportTKGConfigForAzureBadRequest
const ImportTKGConfigForAzureInternalServerErrorCode int = 500
ImportTKGConfigForAzureInternalServerErrorCode is the HTTP code returned for type ImportTKGConfigForAzureInternalServerError
const ImportTKGConfigForAzureOKCode int = 200
ImportTKGConfigForAzureOKCode is the HTTP code returned for type ImportTKGConfigForAzureOK
ImportTKGConfigForAzureUnauthorizedCode is the HTTP code returned for type ImportTKGConfigForAzureUnauthorized
const SetAzureEndpointBadRequestCode int = 400
SetAzureEndpointBadRequestCode is the HTTP code returned for type SetAzureEndpointBadRequest
const SetAzureEndpointCreatedCode int = 201
SetAzureEndpointCreatedCode is the HTTP code returned for type SetAzureEndpointCreated
const SetAzureEndpointInternalServerErrorCode int = 500
SetAzureEndpointInternalServerErrorCode is the HTTP code returned for type SetAzureEndpointInternalServerError
SetAzureEndpointUnauthorizedCode is the HTTP code returned for type SetAzureEndpointUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForAzure ¶
type ApplyTKGConfigForAzure struct { Context *middleware.Context Handler ApplyTKGConfigForAzureHandler }
ApplyTKGConfigForAzure swagger:route POST /api/providers/azure/tkgconfig azure applyTKGConfigForAzure
Apply the changes to TKG configuration file for Azure"
func NewApplyTKGConfigForAzure ¶
func NewApplyTKGConfigForAzure(ctx *middleware.Context, handler ApplyTKGConfigForAzureHandler) *ApplyTKGConfigForAzure
NewApplyTKGConfigForAzure creates a new http.Handler for the apply t k g config for azure operation
func (*ApplyTKGConfigForAzure) ServeHTTP ¶
func (o *ApplyTKGConfigForAzure) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApplyTKGConfigForAzureBadRequest ¶
type ApplyTKGConfigForAzureBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForAzureBadRequest Bad request
swagger:response applyTKGConfigForAzureBadRequest
func NewApplyTKGConfigForAzureBadRequest ¶
func NewApplyTKGConfigForAzureBadRequest() *ApplyTKGConfigForAzureBadRequest
NewApplyTKGConfigForAzureBadRequest creates ApplyTKGConfigForAzureBadRequest with default headers values
func (*ApplyTKGConfigForAzureBadRequest) SetPayload ¶
func (o *ApplyTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for azure bad request response
func (*ApplyTKGConfigForAzureBadRequest) WithPayload ¶
func (o *ApplyTKGConfigForAzureBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForAzureBadRequest
WithPayload adds the payload to the apply t k g config for azure bad request response
func (*ApplyTKGConfigForAzureBadRequest) WriteResponse ¶
func (o *ApplyTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAzureHandler ¶
type ApplyTKGConfigForAzureHandler interface {
Handle(ApplyTKGConfigForAzureParams) middleware.Responder
}
ApplyTKGConfigForAzureHandler interface for that can handle valid apply t k g config for azure params
type ApplyTKGConfigForAzureHandlerFunc ¶
type ApplyTKGConfigForAzureHandlerFunc func(ApplyTKGConfigForAzureParams) middleware.Responder
ApplyTKGConfigForAzureHandlerFunc turns a function with the right signature into a apply t k g config for azure handler
func (ApplyTKGConfigForAzureHandlerFunc) Handle ¶
func (fn ApplyTKGConfigForAzureHandlerFunc) Handle(params ApplyTKGConfigForAzureParams) middleware.Responder
Handle executing the request and returning a response
type ApplyTKGConfigForAzureInternalServerError ¶
type ApplyTKGConfigForAzureInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForAzureInternalServerError Internal server error
swagger:response applyTKGConfigForAzureInternalServerError
func NewApplyTKGConfigForAzureInternalServerError ¶
func NewApplyTKGConfigForAzureInternalServerError() *ApplyTKGConfigForAzureInternalServerError
NewApplyTKGConfigForAzureInternalServerError creates ApplyTKGConfigForAzureInternalServerError with default headers values
func (*ApplyTKGConfigForAzureInternalServerError) SetPayload ¶
func (o *ApplyTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for azure internal server error response
func (*ApplyTKGConfigForAzureInternalServerError) WithPayload ¶
func (o *ApplyTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForAzureInternalServerError
WithPayload adds the payload to the apply t k g config for azure internal server error response
func (*ApplyTKGConfigForAzureInternalServerError) WriteResponse ¶
func (o *ApplyTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAzureOK ¶
type ApplyTKGConfigForAzureOK struct { /* In: Body */ Payload *models.ConfigFileInfo `json:"body,omitempty"` }
ApplyTKGConfigForAzureOK Apply change to TKG configuration successfully
swagger:response applyTKGConfigForAzureOK
func NewApplyTKGConfigForAzureOK ¶
func NewApplyTKGConfigForAzureOK() *ApplyTKGConfigForAzureOK
NewApplyTKGConfigForAzureOK creates ApplyTKGConfigForAzureOK with default headers values
func (*ApplyTKGConfigForAzureOK) SetPayload ¶
func (o *ApplyTKGConfigForAzureOK) SetPayload(payload *models.ConfigFileInfo)
SetPayload sets the payload to the apply t k g config for azure o k response
func (*ApplyTKGConfigForAzureOK) WithPayload ¶
func (o *ApplyTKGConfigForAzureOK) WithPayload(payload *models.ConfigFileInfo) *ApplyTKGConfigForAzureOK
WithPayload adds the payload to the apply t k g config for azure o k response
func (*ApplyTKGConfigForAzureOK) WriteResponse ¶
func (o *ApplyTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAzureParams ¶
type ApplyTKGConfigForAzureParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to apply changes to TKG configuration file for Azure Required: true In: body */ Params *models.AzureRegionalClusterParams }
ApplyTKGConfigForAzureParams contains all the bound params for the apply t k g config for azure operation typically these are obtained from a http.Request
swagger:parameters applyTKGConfigForAzure
func NewApplyTKGConfigForAzureParams ¶
func NewApplyTKGConfigForAzureParams() ApplyTKGConfigForAzureParams
NewApplyTKGConfigForAzureParams creates a new ApplyTKGConfigForAzureParams object no default values defined in spec.
func (*ApplyTKGConfigForAzureParams) BindRequest ¶
func (o *ApplyTKGConfigForAzureParams) 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 NewApplyTKGConfigForAzureParams() beforehand.
type ApplyTKGConfigForAzureURL ¶
type ApplyTKGConfigForAzureURL struct {
// contains filtered or unexported fields
}
ApplyTKGConfigForAzureURL generates an URL for the apply t k g config for azure operation
func (*ApplyTKGConfigForAzureURL) Build ¶
func (o *ApplyTKGConfigForAzureURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApplyTKGConfigForAzureURL) BuildFull ¶
func (o *ApplyTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApplyTKGConfigForAzureURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApplyTKGConfigForAzureURL) SetBasePath ¶
func (o *ApplyTKGConfigForAzureURL) 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 (*ApplyTKGConfigForAzureURL) String ¶
func (o *ApplyTKGConfigForAzureURL) String() string
String returns the string representation of the path with query string
func (*ApplyTKGConfigForAzureURL) StringFull ¶
func (o *ApplyTKGConfigForAzureURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApplyTKGConfigForAzureURL) WithBasePath ¶
func (o *ApplyTKGConfigForAzureURL) WithBasePath(bp string) *ApplyTKGConfigForAzureURL
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 ApplyTKGConfigForAzureUnauthorized ¶
ApplyTKGConfigForAzureUnauthorized Incorrect credentials
swagger:response applyTKGConfigForAzureUnauthorized
func NewApplyTKGConfigForAzureUnauthorized ¶
func NewApplyTKGConfigForAzureUnauthorized() *ApplyTKGConfigForAzureUnauthorized
NewApplyTKGConfigForAzureUnauthorized creates ApplyTKGConfigForAzureUnauthorized with default headers values
func (*ApplyTKGConfigForAzureUnauthorized) SetPayload ¶
func (o *ApplyTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for azure unauthorized response
func (*ApplyTKGConfigForAzureUnauthorized) WithPayload ¶
func (o *ApplyTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ApplyTKGConfigForAzureUnauthorized
WithPayload adds the payload to the apply t k g config for azure unauthorized response
func (*ApplyTKGConfigForAzureUnauthorized) WriteResponse ¶
func (o *ApplyTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureRegionalCluster ¶
type CreateAzureRegionalCluster struct { Context *middleware.Context Handler CreateAzureRegionalClusterHandler }
CreateAzureRegionalCluster swagger:route POST /api/providers/azure/create azure createAzureRegionalCluster
Create Azure regional cluster
func NewCreateAzureRegionalCluster ¶
func NewCreateAzureRegionalCluster(ctx *middleware.Context, handler CreateAzureRegionalClusterHandler) *CreateAzureRegionalCluster
NewCreateAzureRegionalCluster creates a new http.Handler for the create azure regional cluster operation
func (*CreateAzureRegionalCluster) ServeHTTP ¶
func (o *CreateAzureRegionalCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAzureRegionalClusterBadRequest ¶
type CreateAzureRegionalClusterBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureRegionalClusterBadRequest Bad request
swagger:response createAzureRegionalClusterBadRequest
func NewCreateAzureRegionalClusterBadRequest ¶
func NewCreateAzureRegionalClusterBadRequest() *CreateAzureRegionalClusterBadRequest
NewCreateAzureRegionalClusterBadRequest creates CreateAzureRegionalClusterBadRequest with default headers values
func (*CreateAzureRegionalClusterBadRequest) SetPayload ¶
func (o *CreateAzureRegionalClusterBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure regional cluster bad request response
func (*CreateAzureRegionalClusterBadRequest) WithPayload ¶
func (o *CreateAzureRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateAzureRegionalClusterBadRequest
WithPayload adds the payload to the create azure regional cluster bad request response
func (*CreateAzureRegionalClusterBadRequest) WriteResponse ¶
func (o *CreateAzureRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureRegionalClusterHandler ¶
type CreateAzureRegionalClusterHandler interface {
Handle(CreateAzureRegionalClusterParams) middleware.Responder
}
CreateAzureRegionalClusterHandler interface for that can handle valid create azure regional cluster params
type CreateAzureRegionalClusterHandlerFunc ¶
type CreateAzureRegionalClusterHandlerFunc func(CreateAzureRegionalClusterParams) middleware.Responder
CreateAzureRegionalClusterHandlerFunc turns a function with the right signature into a create azure regional cluster handler
func (CreateAzureRegionalClusterHandlerFunc) Handle ¶
func (fn CreateAzureRegionalClusterHandlerFunc) Handle(params CreateAzureRegionalClusterParams) middleware.Responder
Handle executing the request and returning a response
type CreateAzureRegionalClusterInternalServerError ¶
type CreateAzureRegionalClusterInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureRegionalClusterInternalServerError Internal server error
swagger:response createAzureRegionalClusterInternalServerError
func NewCreateAzureRegionalClusterInternalServerError ¶
func NewCreateAzureRegionalClusterInternalServerError() *CreateAzureRegionalClusterInternalServerError
NewCreateAzureRegionalClusterInternalServerError creates CreateAzureRegionalClusterInternalServerError with default headers values
func (*CreateAzureRegionalClusterInternalServerError) SetPayload ¶
func (o *CreateAzureRegionalClusterInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure regional cluster internal server error response
func (*CreateAzureRegionalClusterInternalServerError) WithPayload ¶
func (o *CreateAzureRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateAzureRegionalClusterInternalServerError
WithPayload adds the payload to the create azure regional cluster internal server error response
func (*CreateAzureRegionalClusterInternalServerError) WriteResponse ¶
func (o *CreateAzureRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureRegionalClusterOK ¶
type CreateAzureRegionalClusterOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateAzureRegionalClusterOK Creating regional cluster started successfully
swagger:response createAzureRegionalClusterOK
func NewCreateAzureRegionalClusterOK ¶
func NewCreateAzureRegionalClusterOK() *CreateAzureRegionalClusterOK
NewCreateAzureRegionalClusterOK creates CreateAzureRegionalClusterOK with default headers values
func (*CreateAzureRegionalClusterOK) SetPayload ¶
func (o *CreateAzureRegionalClusterOK) SetPayload(payload string)
SetPayload sets the payload to the create azure regional cluster o k response
func (*CreateAzureRegionalClusterOK) WithPayload ¶
func (o *CreateAzureRegionalClusterOK) WithPayload(payload string) *CreateAzureRegionalClusterOK
WithPayload adds the payload to the create azure regional cluster o k response
func (*CreateAzureRegionalClusterOK) WriteResponse ¶
func (o *CreateAzureRegionalClusterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureRegionalClusterParams ¶
type CreateAzureRegionalClusterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to create a regional cluster Required: true In: body */ Params *models.AzureRegionalClusterParams }
CreateAzureRegionalClusterParams contains all the bound params for the create azure regional cluster operation typically these are obtained from a http.Request
swagger:parameters createAzureRegionalCluster
func NewCreateAzureRegionalClusterParams ¶
func NewCreateAzureRegionalClusterParams() CreateAzureRegionalClusterParams
NewCreateAzureRegionalClusterParams creates a new CreateAzureRegionalClusterParams object no default values defined in spec.
func (*CreateAzureRegionalClusterParams) BindRequest ¶
func (o *CreateAzureRegionalClusterParams) 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 NewCreateAzureRegionalClusterParams() beforehand.
type CreateAzureRegionalClusterURL ¶
type CreateAzureRegionalClusterURL struct {
// contains filtered or unexported fields
}
CreateAzureRegionalClusterURL generates an URL for the create azure regional cluster operation
func (*CreateAzureRegionalClusterURL) Build ¶
func (o *CreateAzureRegionalClusterURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAzureRegionalClusterURL) BuildFull ¶
func (o *CreateAzureRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAzureRegionalClusterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAzureRegionalClusterURL) SetBasePath ¶
func (o *CreateAzureRegionalClusterURL) 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 (*CreateAzureRegionalClusterURL) String ¶
func (o *CreateAzureRegionalClusterURL) String() string
String returns the string representation of the path with query string
func (*CreateAzureRegionalClusterURL) StringFull ¶
func (o *CreateAzureRegionalClusterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAzureRegionalClusterURL) WithBasePath ¶
func (o *CreateAzureRegionalClusterURL) WithBasePath(bp string) *CreateAzureRegionalClusterURL
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 CreateAzureRegionalClusterUnauthorized ¶
type CreateAzureRegionalClusterUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
CreateAzureRegionalClusterUnauthorized Incorrect credentials
swagger:response createAzureRegionalClusterUnauthorized
func NewCreateAzureRegionalClusterUnauthorized ¶
func NewCreateAzureRegionalClusterUnauthorized() *CreateAzureRegionalClusterUnauthorized
NewCreateAzureRegionalClusterUnauthorized creates CreateAzureRegionalClusterUnauthorized with default headers values
func (*CreateAzureRegionalClusterUnauthorized) SetPayload ¶
func (o *CreateAzureRegionalClusterUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure regional cluster unauthorized response
func (*CreateAzureRegionalClusterUnauthorized) WithPayload ¶
func (o *CreateAzureRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateAzureRegionalClusterUnauthorized
WithPayload adds the payload to the create azure regional cluster unauthorized response
func (*CreateAzureRegionalClusterUnauthorized) WriteResponse ¶
func (o *CreateAzureRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureResourceGroup ¶
type CreateAzureResourceGroup struct { Context *middleware.Context Handler CreateAzureResourceGroupHandler }
CreateAzureResourceGroup swagger:route POST /api/providers/azure/resourcegroups azure createAzureResourceGroup
Create a new Azure resource group
func NewCreateAzureResourceGroup ¶
func NewCreateAzureResourceGroup(ctx *middleware.Context, handler CreateAzureResourceGroupHandler) *CreateAzureResourceGroup
NewCreateAzureResourceGroup creates a new http.Handler for the create azure resource group operation
func (*CreateAzureResourceGroup) ServeHTTP ¶
func (o *CreateAzureResourceGroup) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAzureResourceGroupBadRequest ¶
type CreateAzureResourceGroupBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureResourceGroupBadRequest Bad request
swagger:response createAzureResourceGroupBadRequest
func NewCreateAzureResourceGroupBadRequest ¶
func NewCreateAzureResourceGroupBadRequest() *CreateAzureResourceGroupBadRequest
NewCreateAzureResourceGroupBadRequest creates CreateAzureResourceGroupBadRequest with default headers values
func (*CreateAzureResourceGroupBadRequest) SetPayload ¶
func (o *CreateAzureResourceGroupBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure resource group bad request response
func (*CreateAzureResourceGroupBadRequest) WithPayload ¶
func (o *CreateAzureResourceGroupBadRequest) WithPayload(payload *models.Error) *CreateAzureResourceGroupBadRequest
WithPayload adds the payload to the create azure resource group bad request response
func (*CreateAzureResourceGroupBadRequest) WriteResponse ¶
func (o *CreateAzureResourceGroupBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureResourceGroupCreated ¶
type CreateAzureResourceGroupCreated struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateAzureResourceGroupCreated Successfully created Azure resource group
swagger:response createAzureResourceGroupCreated
func NewCreateAzureResourceGroupCreated ¶
func NewCreateAzureResourceGroupCreated() *CreateAzureResourceGroupCreated
NewCreateAzureResourceGroupCreated creates CreateAzureResourceGroupCreated with default headers values
func (*CreateAzureResourceGroupCreated) SetPayload ¶
func (o *CreateAzureResourceGroupCreated) SetPayload(payload string)
SetPayload sets the payload to the create azure resource group created response
func (*CreateAzureResourceGroupCreated) WithPayload ¶
func (o *CreateAzureResourceGroupCreated) WithPayload(payload string) *CreateAzureResourceGroupCreated
WithPayload adds the payload to the create azure resource group created response
func (*CreateAzureResourceGroupCreated) WriteResponse ¶
func (o *CreateAzureResourceGroupCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureResourceGroupHandler ¶
type CreateAzureResourceGroupHandler interface {
Handle(CreateAzureResourceGroupParams) middleware.Responder
}
CreateAzureResourceGroupHandler interface for that can handle valid create azure resource group params
type CreateAzureResourceGroupHandlerFunc ¶
type CreateAzureResourceGroupHandlerFunc func(CreateAzureResourceGroupParams) middleware.Responder
CreateAzureResourceGroupHandlerFunc turns a function with the right signature into a create azure resource group handler
func (CreateAzureResourceGroupHandlerFunc) Handle ¶
func (fn CreateAzureResourceGroupHandlerFunc) Handle(params CreateAzureResourceGroupParams) middleware.Responder
Handle executing the request and returning a response
type CreateAzureResourceGroupInternalServerError ¶
type CreateAzureResourceGroupInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureResourceGroupInternalServerError Internal server error
swagger:response createAzureResourceGroupInternalServerError
func NewCreateAzureResourceGroupInternalServerError ¶
func NewCreateAzureResourceGroupInternalServerError() *CreateAzureResourceGroupInternalServerError
NewCreateAzureResourceGroupInternalServerError creates CreateAzureResourceGroupInternalServerError with default headers values
func (*CreateAzureResourceGroupInternalServerError) SetPayload ¶
func (o *CreateAzureResourceGroupInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure resource group internal server error response
func (*CreateAzureResourceGroupInternalServerError) WithPayload ¶
func (o *CreateAzureResourceGroupInternalServerError) WithPayload(payload *models.Error) *CreateAzureResourceGroupInternalServerError
WithPayload adds the payload to the create azure resource group internal server error response
func (*CreateAzureResourceGroupInternalServerError) WriteResponse ¶
func (o *CreateAzureResourceGroupInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureResourceGroupParams ¶
type CreateAzureResourceGroupParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to create a new Azure resource group Required: true In: body */ Params *models.AzureResourceGroup }
CreateAzureResourceGroupParams contains all the bound params for the create azure resource group operation typically these are obtained from a http.Request
swagger:parameters createAzureResourceGroup
func NewCreateAzureResourceGroupParams ¶
func NewCreateAzureResourceGroupParams() CreateAzureResourceGroupParams
NewCreateAzureResourceGroupParams creates a new CreateAzureResourceGroupParams object no default values defined in spec.
func (*CreateAzureResourceGroupParams) BindRequest ¶
func (o *CreateAzureResourceGroupParams) 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 NewCreateAzureResourceGroupParams() beforehand.
type CreateAzureResourceGroupURL ¶
type CreateAzureResourceGroupURL struct {
// contains filtered or unexported fields
}
CreateAzureResourceGroupURL generates an URL for the create azure resource group operation
func (*CreateAzureResourceGroupURL) Build ¶
func (o *CreateAzureResourceGroupURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAzureResourceGroupURL) BuildFull ¶
func (o *CreateAzureResourceGroupURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAzureResourceGroupURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAzureResourceGroupURL) SetBasePath ¶
func (o *CreateAzureResourceGroupURL) 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 (*CreateAzureResourceGroupURL) String ¶
func (o *CreateAzureResourceGroupURL) String() string
String returns the string representation of the path with query string
func (*CreateAzureResourceGroupURL) StringFull ¶
func (o *CreateAzureResourceGroupURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAzureResourceGroupURL) WithBasePath ¶
func (o *CreateAzureResourceGroupURL) WithBasePath(bp string) *CreateAzureResourceGroupURL
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 CreateAzureResourceGroupUnauthorized ¶
CreateAzureResourceGroupUnauthorized Incorrect credentials
swagger:response createAzureResourceGroupUnauthorized
func NewCreateAzureResourceGroupUnauthorized ¶
func NewCreateAzureResourceGroupUnauthorized() *CreateAzureResourceGroupUnauthorized
NewCreateAzureResourceGroupUnauthorized creates CreateAzureResourceGroupUnauthorized with default headers values
func (*CreateAzureResourceGroupUnauthorized) SetPayload ¶
func (o *CreateAzureResourceGroupUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure resource group unauthorized response
func (*CreateAzureResourceGroupUnauthorized) WithPayload ¶
func (o *CreateAzureResourceGroupUnauthorized) WithPayload(payload *models.Error) *CreateAzureResourceGroupUnauthorized
WithPayload adds the payload to the create azure resource group unauthorized response
func (*CreateAzureResourceGroupUnauthorized) WriteResponse ¶
func (o *CreateAzureResourceGroupUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureVirtualNetwork ¶
type CreateAzureVirtualNetwork struct { Context *middleware.Context Handler CreateAzureVirtualNetworkHandler }
CreateAzureVirtualNetwork swagger:route POST /api/providers/azure/resourcegroups/{resourceGroupName}/vnets azure createAzureVirtualNetwork
Create a new Azure Virtual Network
func NewCreateAzureVirtualNetwork ¶
func NewCreateAzureVirtualNetwork(ctx *middleware.Context, handler CreateAzureVirtualNetworkHandler) *CreateAzureVirtualNetwork
NewCreateAzureVirtualNetwork creates a new http.Handler for the create azure virtual network operation
func (*CreateAzureVirtualNetwork) ServeHTTP ¶
func (o *CreateAzureVirtualNetwork) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAzureVirtualNetworkBadRequest ¶
type CreateAzureVirtualNetworkBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureVirtualNetworkBadRequest Bad request
swagger:response createAzureVirtualNetworkBadRequest
func NewCreateAzureVirtualNetworkBadRequest ¶
func NewCreateAzureVirtualNetworkBadRequest() *CreateAzureVirtualNetworkBadRequest
NewCreateAzureVirtualNetworkBadRequest creates CreateAzureVirtualNetworkBadRequest with default headers values
func (*CreateAzureVirtualNetworkBadRequest) SetPayload ¶
func (o *CreateAzureVirtualNetworkBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure virtual network bad request response
func (*CreateAzureVirtualNetworkBadRequest) WithPayload ¶
func (o *CreateAzureVirtualNetworkBadRequest) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkBadRequest
WithPayload adds the payload to the create azure virtual network bad request response
func (*CreateAzureVirtualNetworkBadRequest) WriteResponse ¶
func (o *CreateAzureVirtualNetworkBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureVirtualNetworkCreated ¶
type CreateAzureVirtualNetworkCreated struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateAzureVirtualNetworkCreated Successfully created Azure Virtual network
swagger:response createAzureVirtualNetworkCreated
func NewCreateAzureVirtualNetworkCreated ¶
func NewCreateAzureVirtualNetworkCreated() *CreateAzureVirtualNetworkCreated
NewCreateAzureVirtualNetworkCreated creates CreateAzureVirtualNetworkCreated with default headers values
func (*CreateAzureVirtualNetworkCreated) SetPayload ¶
func (o *CreateAzureVirtualNetworkCreated) SetPayload(payload string)
SetPayload sets the payload to the create azure virtual network created response
func (*CreateAzureVirtualNetworkCreated) WithPayload ¶
func (o *CreateAzureVirtualNetworkCreated) WithPayload(payload string) *CreateAzureVirtualNetworkCreated
WithPayload adds the payload to the create azure virtual network created response
func (*CreateAzureVirtualNetworkCreated) WriteResponse ¶
func (o *CreateAzureVirtualNetworkCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureVirtualNetworkHandler ¶
type CreateAzureVirtualNetworkHandler interface {
Handle(CreateAzureVirtualNetworkParams) middleware.Responder
}
CreateAzureVirtualNetworkHandler interface for that can handle valid create azure virtual network params
type CreateAzureVirtualNetworkHandlerFunc ¶
type CreateAzureVirtualNetworkHandlerFunc func(CreateAzureVirtualNetworkParams) middleware.Responder
CreateAzureVirtualNetworkHandlerFunc turns a function with the right signature into a create azure virtual network handler
func (CreateAzureVirtualNetworkHandlerFunc) Handle ¶
func (fn CreateAzureVirtualNetworkHandlerFunc) Handle(params CreateAzureVirtualNetworkParams) middleware.Responder
Handle executing the request and returning a response
type CreateAzureVirtualNetworkInternalServerError ¶
type CreateAzureVirtualNetworkInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAzureVirtualNetworkInternalServerError Internal server error
swagger:response createAzureVirtualNetworkInternalServerError
func NewCreateAzureVirtualNetworkInternalServerError ¶
func NewCreateAzureVirtualNetworkInternalServerError() *CreateAzureVirtualNetworkInternalServerError
NewCreateAzureVirtualNetworkInternalServerError creates CreateAzureVirtualNetworkInternalServerError with default headers values
func (*CreateAzureVirtualNetworkInternalServerError) SetPayload ¶
func (o *CreateAzureVirtualNetworkInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure virtual network internal server error response
func (*CreateAzureVirtualNetworkInternalServerError) WithPayload ¶
func (o *CreateAzureVirtualNetworkInternalServerError) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkInternalServerError
WithPayload adds the payload to the create azure virtual network internal server error response
func (*CreateAzureVirtualNetworkInternalServerError) WriteResponse ¶
func (o *CreateAzureVirtualNetworkInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAzureVirtualNetworkParams ¶
type CreateAzureVirtualNetworkParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to create a new Azure Virtual network Required: true In: body */ Params *models.AzureVirtualNetwork /*Name of the Azure resource group Required: true In: path */ ResourceGroupName string }
CreateAzureVirtualNetworkParams contains all the bound params for the create azure virtual network operation typically these are obtained from a http.Request
swagger:parameters createAzureVirtualNetwork
func NewCreateAzureVirtualNetworkParams ¶
func NewCreateAzureVirtualNetworkParams() CreateAzureVirtualNetworkParams
NewCreateAzureVirtualNetworkParams creates a new CreateAzureVirtualNetworkParams object no default values defined in spec.
func (*CreateAzureVirtualNetworkParams) BindRequest ¶
func (o *CreateAzureVirtualNetworkParams) 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 NewCreateAzureVirtualNetworkParams() beforehand.
type CreateAzureVirtualNetworkURL ¶
type CreateAzureVirtualNetworkURL struct { ResourceGroupName string // contains filtered or unexported fields }
CreateAzureVirtualNetworkURL generates an URL for the create azure virtual network operation
func (*CreateAzureVirtualNetworkURL) Build ¶
func (o *CreateAzureVirtualNetworkURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAzureVirtualNetworkURL) BuildFull ¶
func (o *CreateAzureVirtualNetworkURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAzureVirtualNetworkURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAzureVirtualNetworkURL) SetBasePath ¶
func (o *CreateAzureVirtualNetworkURL) 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 (*CreateAzureVirtualNetworkURL) String ¶
func (o *CreateAzureVirtualNetworkURL) String() string
String returns the string representation of the path with query string
func (*CreateAzureVirtualNetworkURL) StringFull ¶
func (o *CreateAzureVirtualNetworkURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAzureVirtualNetworkURL) WithBasePath ¶
func (o *CreateAzureVirtualNetworkURL) WithBasePath(bp string) *CreateAzureVirtualNetworkURL
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 CreateAzureVirtualNetworkUnauthorized ¶
type CreateAzureVirtualNetworkUnauthorized struct { models.Error `json:"body,omitempty"` }Payload *
CreateAzureVirtualNetworkUnauthorized Incorrect credentials
swagger:response createAzureVirtualNetworkUnauthorized
func NewCreateAzureVirtualNetworkUnauthorized ¶
func NewCreateAzureVirtualNetworkUnauthorized() *CreateAzureVirtualNetworkUnauthorized
NewCreateAzureVirtualNetworkUnauthorized creates CreateAzureVirtualNetworkUnauthorized with default headers values
func (*CreateAzureVirtualNetworkUnauthorized) SetPayload ¶
func (o *CreateAzureVirtualNetworkUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the create azure virtual network unauthorized response
func (*CreateAzureVirtualNetworkUnauthorized) WithPayload ¶
func (o *CreateAzureVirtualNetworkUnauthorized) WithPayload(payload *models.Error) *CreateAzureVirtualNetworkUnauthorized
WithPayload adds the payload to the create azure virtual network unauthorized response
func (*CreateAzureVirtualNetworkUnauthorized) WriteResponse ¶
func (o *CreateAzureVirtualNetworkUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAzure ¶
type ExportTKGConfigForAzure struct { Context *middleware.Context Handler ExportTKGConfigForAzureHandler }
ExportTKGConfigForAzure swagger:route POST /api/providers/azure/config/export azure exportTKGConfigForAzure
Generate TKG configuration file for Azure"
func NewExportTKGConfigForAzure ¶
func NewExportTKGConfigForAzure(ctx *middleware.Context, handler ExportTKGConfigForAzureHandler) *ExportTKGConfigForAzure
NewExportTKGConfigForAzure creates a new http.Handler for the export t k g config for azure operation
func (*ExportTKGConfigForAzure) ServeHTTP ¶
func (o *ExportTKGConfigForAzure) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportTKGConfigForAzureBadRequest ¶
type ExportTKGConfigForAzureBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForAzureBadRequest Bad request
swagger:response exportTKGConfigForAzureBadRequest
func NewExportTKGConfigForAzureBadRequest ¶
func NewExportTKGConfigForAzureBadRequest() *ExportTKGConfigForAzureBadRequest
NewExportTKGConfigForAzureBadRequest creates ExportTKGConfigForAzureBadRequest with default headers values
func (*ExportTKGConfigForAzureBadRequest) SetPayload ¶
func (o *ExportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for azure bad request response
func (*ExportTKGConfigForAzureBadRequest) WithPayload ¶
func (o *ExportTKGConfigForAzureBadRequest) WithPayload(payload *models.Error) *ExportTKGConfigForAzureBadRequest
WithPayload adds the payload to the export t k g config for azure bad request response
func (*ExportTKGConfigForAzureBadRequest) WriteResponse ¶
func (o *ExportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAzureHandler ¶
type ExportTKGConfigForAzureHandler interface {
Handle(ExportTKGConfigForAzureParams) middleware.Responder
}
ExportTKGConfigForAzureHandler interface for that can handle valid export t k g config for azure params
type ExportTKGConfigForAzureHandlerFunc ¶
type ExportTKGConfigForAzureHandlerFunc func(ExportTKGConfigForAzureParams) middleware.Responder
ExportTKGConfigForAzureHandlerFunc turns a function with the right signature into a export t k g config for azure handler
func (ExportTKGConfigForAzureHandlerFunc) Handle ¶
func (fn ExportTKGConfigForAzureHandlerFunc) Handle(params ExportTKGConfigForAzureParams) middleware.Responder
Handle executing the request and returning a response
type ExportTKGConfigForAzureInternalServerError ¶
type ExportTKGConfigForAzureInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForAzureInternalServerError Internal server error
swagger:response exportTKGConfigForAzureInternalServerError
func NewExportTKGConfigForAzureInternalServerError ¶
func NewExportTKGConfigForAzureInternalServerError() *ExportTKGConfigForAzureInternalServerError
NewExportTKGConfigForAzureInternalServerError creates ExportTKGConfigForAzureInternalServerError with default headers values
func (*ExportTKGConfigForAzureInternalServerError) SetPayload ¶
func (o *ExportTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for azure internal server error response
func (*ExportTKGConfigForAzureInternalServerError) WithPayload ¶
func (o *ExportTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForAzureInternalServerError
WithPayload adds the payload to the export t k g config for azure internal server error response
func (*ExportTKGConfigForAzureInternalServerError) WriteResponse ¶
func (o *ExportTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAzureOK ¶
type ExportTKGConfigForAzureOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
ExportTKGConfigForAzureOK Generated TKG configuration successfully
swagger:response exportTKGConfigForAzureOK
func NewExportTKGConfigForAzureOK ¶
func NewExportTKGConfigForAzureOK() *ExportTKGConfigForAzureOK
NewExportTKGConfigForAzureOK creates ExportTKGConfigForAzureOK with default headers values
func (*ExportTKGConfigForAzureOK) SetPayload ¶
func (o *ExportTKGConfigForAzureOK) SetPayload(payload string)
SetPayload sets the payload to the export t k g config for azure o k response
func (*ExportTKGConfigForAzureOK) WithPayload ¶
func (o *ExportTKGConfigForAzureOK) WithPayload(payload string) *ExportTKGConfigForAzureOK
WithPayload adds the payload to the export t k g config for azure o k response
func (*ExportTKGConfigForAzureOK) WriteResponse ¶
func (o *ExportTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAzureParams ¶
type ExportTKGConfigForAzureParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to generate TKG configuration file for Azure Required: true In: body */ Params *models.AzureRegionalClusterParams }
ExportTKGConfigForAzureParams contains all the bound params for the export t k g config for azure operation typically these are obtained from a http.Request
swagger:parameters exportTKGConfigForAzure
func NewExportTKGConfigForAzureParams ¶
func NewExportTKGConfigForAzureParams() ExportTKGConfigForAzureParams
NewExportTKGConfigForAzureParams creates a new ExportTKGConfigForAzureParams object no default values defined in spec.
func (*ExportTKGConfigForAzureParams) BindRequest ¶
func (o *ExportTKGConfigForAzureParams) 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 NewExportTKGConfigForAzureParams() beforehand.
type ExportTKGConfigForAzureURL ¶
type ExportTKGConfigForAzureURL struct {
// contains filtered or unexported fields
}
ExportTKGConfigForAzureURL generates an URL for the export t k g config for azure operation
func (*ExportTKGConfigForAzureURL) Build ¶
func (o *ExportTKGConfigForAzureURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportTKGConfigForAzureURL) BuildFull ¶
func (o *ExportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportTKGConfigForAzureURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ExportTKGConfigForAzureURL) SetBasePath ¶
func (o *ExportTKGConfigForAzureURL) 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 (*ExportTKGConfigForAzureURL) String ¶
func (o *ExportTKGConfigForAzureURL) String() string
String returns the string representation of the path with query string
func (*ExportTKGConfigForAzureURL) StringFull ¶
func (o *ExportTKGConfigForAzureURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportTKGConfigForAzureURL) WithBasePath ¶
func (o *ExportTKGConfigForAzureURL) WithBasePath(bp string) *ExportTKGConfigForAzureURL
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 ExportTKGConfigForAzureUnauthorized ¶
ExportTKGConfigForAzureUnauthorized Incorrect credentials
swagger:response exportTKGConfigForAzureUnauthorized
func NewExportTKGConfigForAzureUnauthorized ¶
func NewExportTKGConfigForAzureUnauthorized() *ExportTKGConfigForAzureUnauthorized
NewExportTKGConfigForAzureUnauthorized creates ExportTKGConfigForAzureUnauthorized with default headers values
func (*ExportTKGConfigForAzureUnauthorized) SetPayload ¶
func (o *ExportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for azure unauthorized response
func (*ExportTKGConfigForAzureUnauthorized) WithPayload ¶
func (o *ExportTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ExportTKGConfigForAzureUnauthorized
WithPayload adds the payload to the export t k g config for azure unauthorized response
func (*ExportTKGConfigForAzureUnauthorized) WriteResponse ¶
func (o *ExportTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureEndpoint ¶
type GetAzureEndpoint struct { Context *middleware.Context Handler GetAzureEndpointHandler }
GetAzureEndpoint swagger:route GET /api/providers/azure azure getAzureEndpoint
Retrieve azure account params from environment variables
func NewGetAzureEndpoint ¶
func NewGetAzureEndpoint(ctx *middleware.Context, handler GetAzureEndpointHandler) *GetAzureEndpoint
NewGetAzureEndpoint creates a new http.Handler for the get azure endpoint operation
func (*GetAzureEndpoint) ServeHTTP ¶
func (o *GetAzureEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureEndpointBadRequest ¶
type GetAzureEndpointBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureEndpointBadRequest Bad Request
swagger:response getAzureEndpointBadRequest
func NewGetAzureEndpointBadRequest ¶
func NewGetAzureEndpointBadRequest() *GetAzureEndpointBadRequest
NewGetAzureEndpointBadRequest creates GetAzureEndpointBadRequest with default headers values
func (*GetAzureEndpointBadRequest) SetPayload ¶
func (o *GetAzureEndpointBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure endpoint bad request response
func (*GetAzureEndpointBadRequest) WithPayload ¶
func (o *GetAzureEndpointBadRequest) WithPayload(payload *models.Error) *GetAzureEndpointBadRequest
WithPayload adds the payload to the get azure endpoint bad request response
func (*GetAzureEndpointBadRequest) WriteResponse ¶
func (o *GetAzureEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureEndpointHandler ¶
type GetAzureEndpointHandler interface {
Handle(GetAzureEndpointParams) middleware.Responder
}
GetAzureEndpointHandler interface for that can handle valid get azure endpoint params
type GetAzureEndpointHandlerFunc ¶
type GetAzureEndpointHandlerFunc func(GetAzureEndpointParams) middleware.Responder
GetAzureEndpointHandlerFunc turns a function with the right signature into a get azure endpoint handler
func (GetAzureEndpointHandlerFunc) Handle ¶
func (fn GetAzureEndpointHandlerFunc) Handle(params GetAzureEndpointParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureEndpointInternalServerError ¶
type GetAzureEndpointInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureEndpointInternalServerError Internal server error
swagger:response getAzureEndpointInternalServerError
func NewGetAzureEndpointInternalServerError ¶
func NewGetAzureEndpointInternalServerError() *GetAzureEndpointInternalServerError
NewGetAzureEndpointInternalServerError creates GetAzureEndpointInternalServerError with default headers values
func (*GetAzureEndpointInternalServerError) SetPayload ¶
func (o *GetAzureEndpointInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure endpoint internal server error response
func (*GetAzureEndpointInternalServerError) WithPayload ¶
func (o *GetAzureEndpointInternalServerError) WithPayload(payload *models.Error) *GetAzureEndpointInternalServerError
WithPayload adds the payload to the get azure endpoint internal server error response
func (*GetAzureEndpointInternalServerError) WriteResponse ¶
func (o *GetAzureEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureEndpointOK ¶
type GetAzureEndpointOK struct { /* In: Body */ Payload *models.AzureAccountParams `json:"body,omitempty"` }
GetAzureEndpointOK Successful retrieval of Azure account parameters
swagger:response getAzureEndpointOK
func NewGetAzureEndpointOK ¶
func NewGetAzureEndpointOK() *GetAzureEndpointOK
NewGetAzureEndpointOK creates GetAzureEndpointOK with default headers values
func (*GetAzureEndpointOK) SetPayload ¶
func (o *GetAzureEndpointOK) SetPayload(payload *models.AzureAccountParams)
SetPayload sets the payload to the get azure endpoint o k response
func (*GetAzureEndpointOK) WithPayload ¶
func (o *GetAzureEndpointOK) WithPayload(payload *models.AzureAccountParams) *GetAzureEndpointOK
WithPayload adds the payload to the get azure endpoint o k response
func (*GetAzureEndpointOK) WriteResponse ¶
func (o *GetAzureEndpointOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureEndpointParams ¶
GetAzureEndpointParams contains all the bound params for the get azure endpoint operation typically these are obtained from a http.Request
swagger:parameters getAzureEndpoint
func NewGetAzureEndpointParams ¶
func NewGetAzureEndpointParams() GetAzureEndpointParams
NewGetAzureEndpointParams creates a new GetAzureEndpointParams object no default values defined in spec.
func (*GetAzureEndpointParams) BindRequest ¶
func (o *GetAzureEndpointParams) 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 NewGetAzureEndpointParams() beforehand.
type GetAzureEndpointURL ¶
type GetAzureEndpointURL struct {
// contains filtered or unexported fields
}
GetAzureEndpointURL generates an URL for the get azure endpoint operation
func (*GetAzureEndpointURL) Build ¶
func (o *GetAzureEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureEndpointURL) BuildFull ¶
func (o *GetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureEndpointURL) SetBasePath ¶
func (o *GetAzureEndpointURL) 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 (*GetAzureEndpointURL) String ¶
func (o *GetAzureEndpointURL) String() string
String returns the string representation of the path with query string
func (*GetAzureEndpointURL) StringFull ¶
func (o *GetAzureEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureEndpointURL) WithBasePath ¶
func (o *GetAzureEndpointURL) WithBasePath(bp string) *GetAzureEndpointURL
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 GetAzureEndpointUnauthorized ¶
GetAzureEndpointUnauthorized Incorrect credentials
swagger:response getAzureEndpointUnauthorized
func NewGetAzureEndpointUnauthorized ¶
func NewGetAzureEndpointUnauthorized() *GetAzureEndpointUnauthorized
NewGetAzureEndpointUnauthorized creates GetAzureEndpointUnauthorized with default headers values
func (*GetAzureEndpointUnauthorized) SetPayload ¶
func (o *GetAzureEndpointUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure endpoint unauthorized response
func (*GetAzureEndpointUnauthorized) WithPayload ¶
func (o *GetAzureEndpointUnauthorized) WithPayload(payload *models.Error) *GetAzureEndpointUnauthorized
WithPayload adds the payload to the get azure endpoint unauthorized response
func (*GetAzureEndpointUnauthorized) WriteResponse ¶
func (o *GetAzureEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureInstanceTypes ¶
type GetAzureInstanceTypes struct { Context *middleware.Context Handler GetAzureInstanceTypesHandler }
GetAzureInstanceTypes swagger:route GET /api/providers/azure/regions/{location}/instanceTypes azure getAzureInstanceTypes
Retrieve list of supported Azure instance types for a region
func NewGetAzureInstanceTypes ¶
func NewGetAzureInstanceTypes(ctx *middleware.Context, handler GetAzureInstanceTypesHandler) *GetAzureInstanceTypes
NewGetAzureInstanceTypes creates a new http.Handler for the get azure instance types operation
func (*GetAzureInstanceTypes) ServeHTTP ¶
func (o *GetAzureInstanceTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureInstanceTypesBadRequest ¶
type GetAzureInstanceTypesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureInstanceTypesBadRequest Bad Request
swagger:response getAzureInstanceTypesBadRequest
func NewGetAzureInstanceTypesBadRequest ¶
func NewGetAzureInstanceTypesBadRequest() *GetAzureInstanceTypesBadRequest
NewGetAzureInstanceTypesBadRequest creates GetAzureInstanceTypesBadRequest with default headers values
func (*GetAzureInstanceTypesBadRequest) SetPayload ¶
func (o *GetAzureInstanceTypesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure instance types bad request response
func (*GetAzureInstanceTypesBadRequest) WithPayload ¶
func (o *GetAzureInstanceTypesBadRequest) WithPayload(payload *models.Error) *GetAzureInstanceTypesBadRequest
WithPayload adds the payload to the get azure instance types bad request response
func (*GetAzureInstanceTypesBadRequest) WriteResponse ¶
func (o *GetAzureInstanceTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureInstanceTypesHandler ¶
type GetAzureInstanceTypesHandler interface {
Handle(GetAzureInstanceTypesParams) middleware.Responder
}
GetAzureInstanceTypesHandler interface for that can handle valid get azure instance types params
type GetAzureInstanceTypesHandlerFunc ¶
type GetAzureInstanceTypesHandlerFunc func(GetAzureInstanceTypesParams) middleware.Responder
GetAzureInstanceTypesHandlerFunc turns a function with the right signature into a get azure instance types handler
func (GetAzureInstanceTypesHandlerFunc) Handle ¶
func (fn GetAzureInstanceTypesHandlerFunc) Handle(params GetAzureInstanceTypesParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureInstanceTypesInternalServerError ¶
type GetAzureInstanceTypesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureInstanceTypesInternalServerError Internal server error
swagger:response getAzureInstanceTypesInternalServerError
func NewGetAzureInstanceTypesInternalServerError ¶
func NewGetAzureInstanceTypesInternalServerError() *GetAzureInstanceTypesInternalServerError
NewGetAzureInstanceTypesInternalServerError creates GetAzureInstanceTypesInternalServerError with default headers values
func (*GetAzureInstanceTypesInternalServerError) SetPayload ¶
func (o *GetAzureInstanceTypesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure instance types internal server error response
func (*GetAzureInstanceTypesInternalServerError) WithPayload ¶
func (o *GetAzureInstanceTypesInternalServerError) WithPayload(payload *models.Error) *GetAzureInstanceTypesInternalServerError
WithPayload adds the payload to the get azure instance types internal server error response
func (*GetAzureInstanceTypesInternalServerError) WriteResponse ¶
func (o *GetAzureInstanceTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureInstanceTypesOK ¶
type GetAzureInstanceTypesOK struct { /* In: Body */ Payload []*models.AzureInstanceType `json:"body,omitempty"` }
GetAzureInstanceTypesOK Successful retrieval of Azure instance Types
swagger:response getAzureInstanceTypesOK
func NewGetAzureInstanceTypesOK ¶
func NewGetAzureInstanceTypesOK() *GetAzureInstanceTypesOK
NewGetAzureInstanceTypesOK creates GetAzureInstanceTypesOK with default headers values
func (*GetAzureInstanceTypesOK) SetPayload ¶
func (o *GetAzureInstanceTypesOK) SetPayload(payload []*models.AzureInstanceType)
SetPayload sets the payload to the get azure instance types o k response
func (*GetAzureInstanceTypesOK) WithPayload ¶
func (o *GetAzureInstanceTypesOK) WithPayload(payload []*models.AzureInstanceType) *GetAzureInstanceTypesOK
WithPayload adds the payload to the get azure instance types o k response
func (*GetAzureInstanceTypesOK) WriteResponse ¶
func (o *GetAzureInstanceTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureInstanceTypesParams ¶
type GetAzureInstanceTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Azure region name Required: true In: path */ Location string }
GetAzureInstanceTypesParams contains all the bound params for the get azure instance types operation typically these are obtained from a http.Request
swagger:parameters getAzureInstanceTypes
func NewGetAzureInstanceTypesParams ¶
func NewGetAzureInstanceTypesParams() GetAzureInstanceTypesParams
NewGetAzureInstanceTypesParams creates a new GetAzureInstanceTypesParams object no default values defined in spec.
func (*GetAzureInstanceTypesParams) BindRequest ¶
func (o *GetAzureInstanceTypesParams) 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 NewGetAzureInstanceTypesParams() beforehand.
type GetAzureInstanceTypesURL ¶
type GetAzureInstanceTypesURL struct { Location string // contains filtered or unexported fields }
GetAzureInstanceTypesURL generates an URL for the get azure instance types operation
func (*GetAzureInstanceTypesURL) Build ¶
func (o *GetAzureInstanceTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureInstanceTypesURL) BuildFull ¶
func (o *GetAzureInstanceTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureInstanceTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureInstanceTypesURL) SetBasePath ¶
func (o *GetAzureInstanceTypesURL) 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 (*GetAzureInstanceTypesURL) String ¶
func (o *GetAzureInstanceTypesURL) String() string
String returns the string representation of the path with query string
func (*GetAzureInstanceTypesURL) StringFull ¶
func (o *GetAzureInstanceTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureInstanceTypesURL) WithBasePath ¶
func (o *GetAzureInstanceTypesURL) WithBasePath(bp string) *GetAzureInstanceTypesURL
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 GetAzureInstanceTypesUnauthorized ¶
GetAzureInstanceTypesUnauthorized Incorrect credentials
swagger:response getAzureInstanceTypesUnauthorized
func NewGetAzureInstanceTypesUnauthorized ¶
func NewGetAzureInstanceTypesUnauthorized() *GetAzureInstanceTypesUnauthorized
NewGetAzureInstanceTypesUnauthorized creates GetAzureInstanceTypesUnauthorized with default headers values
func (*GetAzureInstanceTypesUnauthorized) SetPayload ¶
func (o *GetAzureInstanceTypesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure instance types unauthorized response
func (*GetAzureInstanceTypesUnauthorized) WithPayload ¶
func (o *GetAzureInstanceTypesUnauthorized) WithPayload(payload *models.Error) *GetAzureInstanceTypesUnauthorized
WithPayload adds the payload to the get azure instance types unauthorized response
func (*GetAzureInstanceTypesUnauthorized) WriteResponse ¶
func (o *GetAzureInstanceTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureOSImages ¶
type GetAzureOSImages struct { Context *middleware.Context Handler GetAzureOSImagesHandler }
GetAzureOSImages swagger:route GET /api/providers/azure/osimages azure getAzureOSImages
Retrieve Azure supported os images
func NewGetAzureOSImages ¶
func NewGetAzureOSImages(ctx *middleware.Context, handler GetAzureOSImagesHandler) *GetAzureOSImages
NewGetAzureOSImages creates a new http.Handler for the get azure o s images operation
func (*GetAzureOSImages) ServeHTTP ¶
func (o *GetAzureOSImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureOSImagesBadRequest ¶
type GetAzureOSImagesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureOSImagesBadRequest Bad request
swagger:response getAzureOSImagesBadRequest
func NewGetAzureOSImagesBadRequest ¶
func NewGetAzureOSImagesBadRequest() *GetAzureOSImagesBadRequest
NewGetAzureOSImagesBadRequest creates GetAzureOSImagesBadRequest with default headers values
func (*GetAzureOSImagesBadRequest) SetPayload ¶
func (o *GetAzureOSImagesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure o s images bad request response
func (*GetAzureOSImagesBadRequest) WithPayload ¶
func (o *GetAzureOSImagesBadRequest) WithPayload(payload *models.Error) *GetAzureOSImagesBadRequest
WithPayload adds the payload to the get azure o s images bad request response
func (*GetAzureOSImagesBadRequest) WriteResponse ¶
func (o *GetAzureOSImagesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureOSImagesHandler ¶
type GetAzureOSImagesHandler interface {
Handle(GetAzureOSImagesParams) middleware.Responder
}
GetAzureOSImagesHandler interface for that can handle valid get azure o s images params
type GetAzureOSImagesHandlerFunc ¶
type GetAzureOSImagesHandlerFunc func(GetAzureOSImagesParams) middleware.Responder
GetAzureOSImagesHandlerFunc turns a function with the right signature into a get azure o s images handler
func (GetAzureOSImagesHandlerFunc) Handle ¶
func (fn GetAzureOSImagesHandlerFunc) Handle(params GetAzureOSImagesParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureOSImagesInternalServerError ¶
type GetAzureOSImagesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureOSImagesInternalServerError Internal server error
swagger:response getAzureOSImagesInternalServerError
func NewGetAzureOSImagesInternalServerError ¶
func NewGetAzureOSImagesInternalServerError() *GetAzureOSImagesInternalServerError
NewGetAzureOSImagesInternalServerError creates GetAzureOSImagesInternalServerError with default headers values
func (*GetAzureOSImagesInternalServerError) SetPayload ¶
func (o *GetAzureOSImagesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure o s images internal server error response
func (*GetAzureOSImagesInternalServerError) WithPayload ¶
func (o *GetAzureOSImagesInternalServerError) WithPayload(payload *models.Error) *GetAzureOSImagesInternalServerError
WithPayload adds the payload to the get azure o s images internal server error response
func (*GetAzureOSImagesInternalServerError) WriteResponse ¶
func (o *GetAzureOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureOSImagesOK ¶
type GetAzureOSImagesOK struct { /* In: Body */ Payload []*models.AzureVirtualMachine `json:"body,omitempty"` }
GetAzureOSImagesOK Successful retrieval of Azure supported os images
swagger:response getAzureOSImagesOK
func NewGetAzureOSImagesOK ¶
func NewGetAzureOSImagesOK() *GetAzureOSImagesOK
NewGetAzureOSImagesOK creates GetAzureOSImagesOK with default headers values
func (*GetAzureOSImagesOK) SetPayload ¶
func (o *GetAzureOSImagesOK) SetPayload(payload []*models.AzureVirtualMachine)
SetPayload sets the payload to the get azure o s images o k response
func (*GetAzureOSImagesOK) WithPayload ¶
func (o *GetAzureOSImagesOK) WithPayload(payload []*models.AzureVirtualMachine) *GetAzureOSImagesOK
WithPayload adds the payload to the get azure o s images o k response
func (*GetAzureOSImagesOK) WriteResponse ¶
func (o *GetAzureOSImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureOSImagesParams ¶
GetAzureOSImagesParams contains all the bound params for the get azure o s images operation typically these are obtained from a http.Request
swagger:parameters getAzureOSImages
func NewGetAzureOSImagesParams ¶
func NewGetAzureOSImagesParams() GetAzureOSImagesParams
NewGetAzureOSImagesParams creates a new GetAzureOSImagesParams object no default values defined in spec.
func (*GetAzureOSImagesParams) BindRequest ¶
func (o *GetAzureOSImagesParams) 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 NewGetAzureOSImagesParams() beforehand.
type GetAzureOSImagesURL ¶
type GetAzureOSImagesURL struct {
// contains filtered or unexported fields
}
GetAzureOSImagesURL generates an URL for the get azure o s images operation
func (*GetAzureOSImagesURL) Build ¶
func (o *GetAzureOSImagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureOSImagesURL) BuildFull ¶
func (o *GetAzureOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureOSImagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureOSImagesURL) SetBasePath ¶
func (o *GetAzureOSImagesURL) 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 (*GetAzureOSImagesURL) String ¶
func (o *GetAzureOSImagesURL) String() string
String returns the string representation of the path with query string
func (*GetAzureOSImagesURL) StringFull ¶
func (o *GetAzureOSImagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureOSImagesURL) WithBasePath ¶
func (o *GetAzureOSImagesURL) WithBasePath(bp string) *GetAzureOSImagesURL
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 GetAzureOSImagesUnauthorized ¶
GetAzureOSImagesUnauthorized Incorrect credentials
swagger:response getAzureOSImagesUnauthorized
func NewGetAzureOSImagesUnauthorized ¶
func NewGetAzureOSImagesUnauthorized() *GetAzureOSImagesUnauthorized
NewGetAzureOSImagesUnauthorized creates GetAzureOSImagesUnauthorized with default headers values
func (*GetAzureOSImagesUnauthorized) SetPayload ¶
func (o *GetAzureOSImagesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure o s images unauthorized response
func (*GetAzureOSImagesUnauthorized) WithPayload ¶
func (o *GetAzureOSImagesUnauthorized) WithPayload(payload *models.Error) *GetAzureOSImagesUnauthorized
WithPayload adds the payload to the get azure o s images unauthorized response
func (*GetAzureOSImagesUnauthorized) WriteResponse ¶
func (o *GetAzureOSImagesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureRegions ¶
type GetAzureRegions struct { Context *middleware.Context Handler GetAzureRegionsHandler }
GetAzureRegions swagger:route GET /api/providers/azure/regions azure getAzureRegions
Retrieve list of supported Azure regions
func NewGetAzureRegions ¶
func NewGetAzureRegions(ctx *middleware.Context, handler GetAzureRegionsHandler) *GetAzureRegions
NewGetAzureRegions creates a new http.Handler for the get azure regions operation
func (*GetAzureRegions) ServeHTTP ¶
func (o *GetAzureRegions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureRegionsBadRequest ¶
type GetAzureRegionsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureRegionsBadRequest Bad Request
swagger:response getAzureRegionsBadRequest
func NewGetAzureRegionsBadRequest ¶
func NewGetAzureRegionsBadRequest() *GetAzureRegionsBadRequest
NewGetAzureRegionsBadRequest creates GetAzureRegionsBadRequest with default headers values
func (*GetAzureRegionsBadRequest) SetPayload ¶
func (o *GetAzureRegionsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure regions bad request response
func (*GetAzureRegionsBadRequest) WithPayload ¶
func (o *GetAzureRegionsBadRequest) WithPayload(payload *models.Error) *GetAzureRegionsBadRequest
WithPayload adds the payload to the get azure regions bad request response
func (*GetAzureRegionsBadRequest) WriteResponse ¶
func (o *GetAzureRegionsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureRegionsHandler ¶
type GetAzureRegionsHandler interface {
Handle(GetAzureRegionsParams) middleware.Responder
}
GetAzureRegionsHandler interface for that can handle valid get azure regions params
type GetAzureRegionsHandlerFunc ¶
type GetAzureRegionsHandlerFunc func(GetAzureRegionsParams) middleware.Responder
GetAzureRegionsHandlerFunc turns a function with the right signature into a get azure regions handler
func (GetAzureRegionsHandlerFunc) Handle ¶
func (fn GetAzureRegionsHandlerFunc) Handle(params GetAzureRegionsParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureRegionsInternalServerError ¶
type GetAzureRegionsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureRegionsInternalServerError Internal server error
swagger:response getAzureRegionsInternalServerError
func NewGetAzureRegionsInternalServerError ¶
func NewGetAzureRegionsInternalServerError() *GetAzureRegionsInternalServerError
NewGetAzureRegionsInternalServerError creates GetAzureRegionsInternalServerError with default headers values
func (*GetAzureRegionsInternalServerError) SetPayload ¶
func (o *GetAzureRegionsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure regions internal server error response
func (*GetAzureRegionsInternalServerError) WithPayload ¶
func (o *GetAzureRegionsInternalServerError) WithPayload(payload *models.Error) *GetAzureRegionsInternalServerError
WithPayload adds the payload to the get azure regions internal server error response
func (*GetAzureRegionsInternalServerError) WriteResponse ¶
func (o *GetAzureRegionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureRegionsOK ¶
type GetAzureRegionsOK struct { /* In: Body */ Payload []*models.AzureLocation `json:"body,omitempty"` }
GetAzureRegionsOK Successful retrieval of Azure regions
swagger:response getAzureRegionsOK
func NewGetAzureRegionsOK ¶
func NewGetAzureRegionsOK() *GetAzureRegionsOK
NewGetAzureRegionsOK creates GetAzureRegionsOK with default headers values
func (*GetAzureRegionsOK) SetPayload ¶
func (o *GetAzureRegionsOK) SetPayload(payload []*models.AzureLocation)
SetPayload sets the payload to the get azure regions o k response
func (*GetAzureRegionsOK) WithPayload ¶
func (o *GetAzureRegionsOK) WithPayload(payload []*models.AzureLocation) *GetAzureRegionsOK
WithPayload adds the payload to the get azure regions o k response
func (*GetAzureRegionsOK) WriteResponse ¶
func (o *GetAzureRegionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureRegionsParams ¶
GetAzureRegionsParams contains all the bound params for the get azure regions operation typically these are obtained from a http.Request
swagger:parameters getAzureRegions
func NewGetAzureRegionsParams ¶
func NewGetAzureRegionsParams() GetAzureRegionsParams
NewGetAzureRegionsParams creates a new GetAzureRegionsParams object no default values defined in spec.
func (*GetAzureRegionsParams) BindRequest ¶
func (o *GetAzureRegionsParams) 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 NewGetAzureRegionsParams() beforehand.
type GetAzureRegionsURL ¶
type GetAzureRegionsURL struct {
// contains filtered or unexported fields
}
GetAzureRegionsURL generates an URL for the get azure regions operation
func (*GetAzureRegionsURL) Build ¶
func (o *GetAzureRegionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureRegionsURL) BuildFull ¶
func (o *GetAzureRegionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureRegionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureRegionsURL) SetBasePath ¶
func (o *GetAzureRegionsURL) 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 (*GetAzureRegionsURL) String ¶
func (o *GetAzureRegionsURL) String() string
String returns the string representation of the path with query string
func (*GetAzureRegionsURL) StringFull ¶
func (o *GetAzureRegionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureRegionsURL) WithBasePath ¶
func (o *GetAzureRegionsURL) WithBasePath(bp string) *GetAzureRegionsURL
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 GetAzureRegionsUnauthorized ¶
GetAzureRegionsUnauthorized Incorrect credentials
swagger:response getAzureRegionsUnauthorized
func NewGetAzureRegionsUnauthorized ¶
func NewGetAzureRegionsUnauthorized() *GetAzureRegionsUnauthorized
NewGetAzureRegionsUnauthorized creates GetAzureRegionsUnauthorized with default headers values
func (*GetAzureRegionsUnauthorized) SetPayload ¶
func (o *GetAzureRegionsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure regions unauthorized response
func (*GetAzureRegionsUnauthorized) WithPayload ¶
func (o *GetAzureRegionsUnauthorized) WithPayload(payload *models.Error) *GetAzureRegionsUnauthorized
WithPayload adds the payload to the get azure regions unauthorized response
func (*GetAzureRegionsUnauthorized) WriteResponse ¶
func (o *GetAzureRegionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureResourceGroups ¶
type GetAzureResourceGroups struct { Context *middleware.Context Handler GetAzureResourceGroupsHandler }
GetAzureResourceGroups swagger:route GET /api/providers/azure/resourcegroups azure getAzureResourceGroups
Retrieve list of Azure resource groups for a subscription
func NewGetAzureResourceGroups ¶
func NewGetAzureResourceGroups(ctx *middleware.Context, handler GetAzureResourceGroupsHandler) *GetAzureResourceGroups
NewGetAzureResourceGroups creates a new http.Handler for the get azure resource groups operation
func (*GetAzureResourceGroups) ServeHTTP ¶
func (o *GetAzureResourceGroups) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureResourceGroupsBadRequest ¶
type GetAzureResourceGroupsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureResourceGroupsBadRequest Bad Request
swagger:response getAzureResourceGroupsBadRequest
func NewGetAzureResourceGroupsBadRequest ¶
func NewGetAzureResourceGroupsBadRequest() *GetAzureResourceGroupsBadRequest
NewGetAzureResourceGroupsBadRequest creates GetAzureResourceGroupsBadRequest with default headers values
func (*GetAzureResourceGroupsBadRequest) SetPayload ¶
func (o *GetAzureResourceGroupsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure resource groups bad request response
func (*GetAzureResourceGroupsBadRequest) WithPayload ¶
func (o *GetAzureResourceGroupsBadRequest) WithPayload(payload *models.Error) *GetAzureResourceGroupsBadRequest
WithPayload adds the payload to the get azure resource groups bad request response
func (*GetAzureResourceGroupsBadRequest) WriteResponse ¶
func (o *GetAzureResourceGroupsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureResourceGroupsHandler ¶
type GetAzureResourceGroupsHandler interface {
Handle(GetAzureResourceGroupsParams) middleware.Responder
}
GetAzureResourceGroupsHandler interface for that can handle valid get azure resource groups params
type GetAzureResourceGroupsHandlerFunc ¶
type GetAzureResourceGroupsHandlerFunc func(GetAzureResourceGroupsParams) middleware.Responder
GetAzureResourceGroupsHandlerFunc turns a function with the right signature into a get azure resource groups handler
func (GetAzureResourceGroupsHandlerFunc) Handle ¶
func (fn GetAzureResourceGroupsHandlerFunc) Handle(params GetAzureResourceGroupsParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureResourceGroupsInternalServerError ¶
type GetAzureResourceGroupsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureResourceGroupsInternalServerError Internal server error
swagger:response getAzureResourceGroupsInternalServerError
func NewGetAzureResourceGroupsInternalServerError ¶
func NewGetAzureResourceGroupsInternalServerError() *GetAzureResourceGroupsInternalServerError
NewGetAzureResourceGroupsInternalServerError creates GetAzureResourceGroupsInternalServerError with default headers values
func (*GetAzureResourceGroupsInternalServerError) SetPayload ¶
func (o *GetAzureResourceGroupsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure resource groups internal server error response
func (*GetAzureResourceGroupsInternalServerError) WithPayload ¶
func (o *GetAzureResourceGroupsInternalServerError) WithPayload(payload *models.Error) *GetAzureResourceGroupsInternalServerError
WithPayload adds the payload to the get azure resource groups internal server error response
func (*GetAzureResourceGroupsInternalServerError) WriteResponse ¶
func (o *GetAzureResourceGroupsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureResourceGroupsOK ¶
type GetAzureResourceGroupsOK struct { /* In: Body */ Payload []*models.AzureResourceGroup `json:"body,omitempty"` }
GetAzureResourceGroupsOK Successful retrieval of Azure resource groups
swagger:response getAzureResourceGroupsOK
func NewGetAzureResourceGroupsOK ¶
func NewGetAzureResourceGroupsOK() *GetAzureResourceGroupsOK
NewGetAzureResourceGroupsOK creates GetAzureResourceGroupsOK with default headers values
func (*GetAzureResourceGroupsOK) SetPayload ¶
func (o *GetAzureResourceGroupsOK) SetPayload(payload []*models.AzureResourceGroup)
SetPayload sets the payload to the get azure resource groups o k response
func (*GetAzureResourceGroupsOK) WithPayload ¶
func (o *GetAzureResourceGroupsOK) WithPayload(payload []*models.AzureResourceGroup) *GetAzureResourceGroupsOK
WithPayload adds the payload to the get azure resource groups o k response
func (*GetAzureResourceGroupsOK) WriteResponse ¶
func (o *GetAzureResourceGroupsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureResourceGroupsParams ¶
type GetAzureResourceGroupsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Azure region Required: true In: query */ Location string }
GetAzureResourceGroupsParams contains all the bound params for the get azure resource groups operation typically these are obtained from a http.Request
swagger:parameters getAzureResourceGroups
func NewGetAzureResourceGroupsParams ¶
func NewGetAzureResourceGroupsParams() GetAzureResourceGroupsParams
NewGetAzureResourceGroupsParams creates a new GetAzureResourceGroupsParams object no default values defined in spec.
func (*GetAzureResourceGroupsParams) BindRequest ¶
func (o *GetAzureResourceGroupsParams) 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 NewGetAzureResourceGroupsParams() beforehand.
type GetAzureResourceGroupsURL ¶
type GetAzureResourceGroupsURL struct { Location string // contains filtered or unexported fields }
GetAzureResourceGroupsURL generates an URL for the get azure resource groups operation
func (*GetAzureResourceGroupsURL) Build ¶
func (o *GetAzureResourceGroupsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureResourceGroupsURL) BuildFull ¶
func (o *GetAzureResourceGroupsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureResourceGroupsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureResourceGroupsURL) SetBasePath ¶
func (o *GetAzureResourceGroupsURL) 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 (*GetAzureResourceGroupsURL) String ¶
func (o *GetAzureResourceGroupsURL) String() string
String returns the string representation of the path with query string
func (*GetAzureResourceGroupsURL) StringFull ¶
func (o *GetAzureResourceGroupsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureResourceGroupsURL) WithBasePath ¶
func (o *GetAzureResourceGroupsURL) WithBasePath(bp string) *GetAzureResourceGroupsURL
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 GetAzureResourceGroupsUnauthorized ¶
GetAzureResourceGroupsUnauthorized Incorrect credentials
swagger:response getAzureResourceGroupsUnauthorized
func NewGetAzureResourceGroupsUnauthorized ¶
func NewGetAzureResourceGroupsUnauthorized() *GetAzureResourceGroupsUnauthorized
NewGetAzureResourceGroupsUnauthorized creates GetAzureResourceGroupsUnauthorized with default headers values
func (*GetAzureResourceGroupsUnauthorized) SetPayload ¶
func (o *GetAzureResourceGroupsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure resource groups unauthorized response
func (*GetAzureResourceGroupsUnauthorized) WithPayload ¶
func (o *GetAzureResourceGroupsUnauthorized) WithPayload(payload *models.Error) *GetAzureResourceGroupsUnauthorized
WithPayload adds the payload to the get azure resource groups unauthorized response
func (*GetAzureResourceGroupsUnauthorized) WriteResponse ¶
func (o *GetAzureResourceGroupsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureVnets ¶
type GetAzureVnets struct { Context *middleware.Context Handler GetAzureVnetsHandler }
GetAzureVnets swagger:route GET /api/providers/azure/resourcegroups/{resourceGroupName}/vnets azure getAzureVnets
Retrieve list of Azure virtual networks in a resource group
func NewGetAzureVnets ¶
func NewGetAzureVnets(ctx *middleware.Context, handler GetAzureVnetsHandler) *GetAzureVnets
NewGetAzureVnets creates a new http.Handler for the get azure vnets operation
func (*GetAzureVnets) ServeHTTP ¶
func (o *GetAzureVnets) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAzureVnetsBadRequest ¶
type GetAzureVnetsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureVnetsBadRequest Bad Request
swagger:response getAzureVnetsBadRequest
func NewGetAzureVnetsBadRequest ¶
func NewGetAzureVnetsBadRequest() *GetAzureVnetsBadRequest
NewGetAzureVnetsBadRequest creates GetAzureVnetsBadRequest with default headers values
func (*GetAzureVnetsBadRequest) SetPayload ¶
func (o *GetAzureVnetsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure vnets bad request response
func (*GetAzureVnetsBadRequest) WithPayload ¶
func (o *GetAzureVnetsBadRequest) WithPayload(payload *models.Error) *GetAzureVnetsBadRequest
WithPayload adds the payload to the get azure vnets bad request response
func (*GetAzureVnetsBadRequest) WriteResponse ¶
func (o *GetAzureVnetsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureVnetsHandler ¶
type GetAzureVnetsHandler interface {
Handle(GetAzureVnetsParams) middleware.Responder
}
GetAzureVnetsHandler interface for that can handle valid get azure vnets params
type GetAzureVnetsHandlerFunc ¶
type GetAzureVnetsHandlerFunc func(GetAzureVnetsParams) middleware.Responder
GetAzureVnetsHandlerFunc turns a function with the right signature into a get azure vnets handler
func (GetAzureVnetsHandlerFunc) Handle ¶
func (fn GetAzureVnetsHandlerFunc) Handle(params GetAzureVnetsParams) middleware.Responder
Handle executing the request and returning a response
type GetAzureVnetsInternalServerError ¶
type GetAzureVnetsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAzureVnetsInternalServerError Internal server error
swagger:response getAzureVnetsInternalServerError
func NewGetAzureVnetsInternalServerError ¶
func NewGetAzureVnetsInternalServerError() *GetAzureVnetsInternalServerError
NewGetAzureVnetsInternalServerError creates GetAzureVnetsInternalServerError with default headers values
func (*GetAzureVnetsInternalServerError) SetPayload ¶
func (o *GetAzureVnetsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure vnets internal server error response
func (*GetAzureVnetsInternalServerError) WithPayload ¶
func (o *GetAzureVnetsInternalServerError) WithPayload(payload *models.Error) *GetAzureVnetsInternalServerError
WithPayload adds the payload to the get azure vnets internal server error response
func (*GetAzureVnetsInternalServerError) WriteResponse ¶
func (o *GetAzureVnetsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureVnetsOK ¶
type GetAzureVnetsOK struct { /* In: Body */ Payload []*models.AzureVirtualNetwork `json:"body,omitempty"` }
GetAzureVnetsOK Successful retrieval of Azure virtual networks
swagger:response getAzureVnetsOK
func NewGetAzureVnetsOK ¶
func NewGetAzureVnetsOK() *GetAzureVnetsOK
NewGetAzureVnetsOK creates GetAzureVnetsOK with default headers values
func (*GetAzureVnetsOK) SetPayload ¶
func (o *GetAzureVnetsOK) SetPayload(payload []*models.AzureVirtualNetwork)
SetPayload sets the payload to the get azure vnets o k response
func (*GetAzureVnetsOK) WithPayload ¶
func (o *GetAzureVnetsOK) WithPayload(payload []*models.AzureVirtualNetwork) *GetAzureVnetsOK
WithPayload adds the payload to the get azure vnets o k response
func (*GetAzureVnetsOK) WriteResponse ¶
func (o *GetAzureVnetsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAzureVnetsParams ¶
type GetAzureVnetsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Azure region Required: true In: query */ Location string /*Name of the Azure resource group Required: true In: path */ ResourceGroupName string }
GetAzureVnetsParams contains all the bound params for the get azure vnets operation typically these are obtained from a http.Request
swagger:parameters getAzureVnets
func NewGetAzureVnetsParams ¶
func NewGetAzureVnetsParams() GetAzureVnetsParams
NewGetAzureVnetsParams creates a new GetAzureVnetsParams object no default values defined in spec.
func (*GetAzureVnetsParams) BindRequest ¶
func (o *GetAzureVnetsParams) 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 NewGetAzureVnetsParams() beforehand.
type GetAzureVnetsURL ¶
type GetAzureVnetsURL struct { ResourceGroupName string Location string // contains filtered or unexported fields }
GetAzureVnetsURL generates an URL for the get azure vnets operation
func (*GetAzureVnetsURL) Build ¶
func (o *GetAzureVnetsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAzureVnetsURL) BuildFull ¶
func (o *GetAzureVnetsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAzureVnetsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAzureVnetsURL) SetBasePath ¶
func (o *GetAzureVnetsURL) 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 (*GetAzureVnetsURL) String ¶
func (o *GetAzureVnetsURL) String() string
String returns the string representation of the path with query string
func (*GetAzureVnetsURL) StringFull ¶
func (o *GetAzureVnetsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAzureVnetsURL) WithBasePath ¶
func (o *GetAzureVnetsURL) WithBasePath(bp string) *GetAzureVnetsURL
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 GetAzureVnetsUnauthorized ¶
GetAzureVnetsUnauthorized Incorrect credentials
swagger:response getAzureVnetsUnauthorized
func NewGetAzureVnetsUnauthorized ¶
func NewGetAzureVnetsUnauthorized() *GetAzureVnetsUnauthorized
NewGetAzureVnetsUnauthorized creates GetAzureVnetsUnauthorized with default headers values
func (*GetAzureVnetsUnauthorized) SetPayload ¶
func (o *GetAzureVnetsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get azure vnets unauthorized response
func (*GetAzureVnetsUnauthorized) WithPayload ¶
func (o *GetAzureVnetsUnauthorized) WithPayload(payload *models.Error) *GetAzureVnetsUnauthorized
WithPayload adds the payload to the get azure vnets unauthorized response
func (*GetAzureVnetsUnauthorized) WriteResponse ¶
func (o *GetAzureVnetsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAzure ¶
type ImportTKGConfigForAzure struct { Context *middleware.Context Handler ImportTKGConfigForAzureHandler }
ImportTKGConfigForAzure swagger:route POST /api/providers/azure/config/import azure importTKGConfigForAzure
Generate TKG configuration object for azure
func NewImportTKGConfigForAzure ¶
func NewImportTKGConfigForAzure(ctx *middleware.Context, handler ImportTKGConfigForAzureHandler) *ImportTKGConfigForAzure
NewImportTKGConfigForAzure creates a new http.Handler for the import t k g config for azure operation
func (*ImportTKGConfigForAzure) ServeHTTP ¶
func (o *ImportTKGConfigForAzure) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ImportTKGConfigForAzureBadRequest ¶
type ImportTKGConfigForAzureBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForAzureBadRequest Bad request
swagger:response importTKGConfigForAzureBadRequest
func NewImportTKGConfigForAzureBadRequest ¶
func NewImportTKGConfigForAzureBadRequest() *ImportTKGConfigForAzureBadRequest
NewImportTKGConfigForAzureBadRequest creates ImportTKGConfigForAzureBadRequest with default headers values
func (*ImportTKGConfigForAzureBadRequest) SetPayload ¶
func (o *ImportTKGConfigForAzureBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for azure bad request response
func (*ImportTKGConfigForAzureBadRequest) WithPayload ¶
func (o *ImportTKGConfigForAzureBadRequest) WithPayload(payload *models.Error) *ImportTKGConfigForAzureBadRequest
WithPayload adds the payload to the import t k g config for azure bad request response
func (*ImportTKGConfigForAzureBadRequest) WriteResponse ¶
func (o *ImportTKGConfigForAzureBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAzureHandler ¶
type ImportTKGConfigForAzureHandler interface {
Handle(ImportTKGConfigForAzureParams) middleware.Responder
}
ImportTKGConfigForAzureHandler interface for that can handle valid import t k g config for azure params
type ImportTKGConfigForAzureHandlerFunc ¶
type ImportTKGConfigForAzureHandlerFunc func(ImportTKGConfigForAzureParams) middleware.Responder
ImportTKGConfigForAzureHandlerFunc turns a function with the right signature into a import t k g config for azure handler
func (ImportTKGConfigForAzureHandlerFunc) Handle ¶
func (fn ImportTKGConfigForAzureHandlerFunc) Handle(params ImportTKGConfigForAzureParams) middleware.Responder
Handle executing the request and returning a response
type ImportTKGConfigForAzureInternalServerError ¶
type ImportTKGConfigForAzureInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForAzureInternalServerError Internal server error
swagger:response importTKGConfigForAzureInternalServerError
func NewImportTKGConfigForAzureInternalServerError ¶
func NewImportTKGConfigForAzureInternalServerError() *ImportTKGConfigForAzureInternalServerError
NewImportTKGConfigForAzureInternalServerError creates ImportTKGConfigForAzureInternalServerError with default headers values
func (*ImportTKGConfigForAzureInternalServerError) SetPayload ¶
func (o *ImportTKGConfigForAzureInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for azure internal server error response
func (*ImportTKGConfigForAzureInternalServerError) WithPayload ¶
func (o *ImportTKGConfigForAzureInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForAzureInternalServerError
WithPayload adds the payload to the import t k g config for azure internal server error response
func (*ImportTKGConfigForAzureInternalServerError) WriteResponse ¶
func (o *ImportTKGConfigForAzureInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAzureOK ¶
type ImportTKGConfigForAzureOK struct { /* In: Body */ Payload *models.AzureRegionalClusterParams `json:"body,omitempty"` }
ImportTKGConfigForAzureOK Generated TKG configuration successfully
swagger:response importTKGConfigForAzureOK
func NewImportTKGConfigForAzureOK ¶
func NewImportTKGConfigForAzureOK() *ImportTKGConfigForAzureOK
NewImportTKGConfigForAzureOK creates ImportTKGConfigForAzureOK with default headers values
func (*ImportTKGConfigForAzureOK) SetPayload ¶
func (o *ImportTKGConfigForAzureOK) SetPayload(payload *models.AzureRegionalClusterParams)
SetPayload sets the payload to the import t k g config for azure o k response
func (*ImportTKGConfigForAzureOK) WithPayload ¶
func (o *ImportTKGConfigForAzureOK) WithPayload(payload *models.AzureRegionalClusterParams) *ImportTKGConfigForAzureOK
WithPayload adds the payload to the import t k g config for azure o k response
func (*ImportTKGConfigForAzureOK) WriteResponse ¶
func (o *ImportTKGConfigForAzureOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAzureParams ¶
type ImportTKGConfigForAzureParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*config file from which to generate tkg configuration for azure Required: true In: body */ Params *models.ConfigFile }
ImportTKGConfigForAzureParams contains all the bound params for the import t k g config for azure operation typically these are obtained from a http.Request
swagger:parameters importTKGConfigForAzure
func NewImportTKGConfigForAzureParams ¶
func NewImportTKGConfigForAzureParams() ImportTKGConfigForAzureParams
NewImportTKGConfigForAzureParams creates a new ImportTKGConfigForAzureParams object no default values defined in spec.
func (*ImportTKGConfigForAzureParams) BindRequest ¶
func (o *ImportTKGConfigForAzureParams) 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 NewImportTKGConfigForAzureParams() beforehand.
type ImportTKGConfigForAzureURL ¶
type ImportTKGConfigForAzureURL struct {
// contains filtered or unexported fields
}
ImportTKGConfigForAzureURL generates an URL for the import t k g config for azure operation
func (*ImportTKGConfigForAzureURL) Build ¶
func (o *ImportTKGConfigForAzureURL) Build() (*url.URL, error)
Build a url path and query string
func (*ImportTKGConfigForAzureURL) BuildFull ¶
func (o *ImportTKGConfigForAzureURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ImportTKGConfigForAzureURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ImportTKGConfigForAzureURL) SetBasePath ¶
func (o *ImportTKGConfigForAzureURL) 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 (*ImportTKGConfigForAzureURL) String ¶
func (o *ImportTKGConfigForAzureURL) String() string
String returns the string representation of the path with query string
func (*ImportTKGConfigForAzureURL) StringFull ¶
func (o *ImportTKGConfigForAzureURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ImportTKGConfigForAzureURL) WithBasePath ¶
func (o *ImportTKGConfigForAzureURL) WithBasePath(bp string) *ImportTKGConfigForAzureURL
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 ImportTKGConfigForAzureUnauthorized ¶
ImportTKGConfigForAzureUnauthorized Incorrect credentials
swagger:response importTKGConfigForAzureUnauthorized
func NewImportTKGConfigForAzureUnauthorized ¶
func NewImportTKGConfigForAzureUnauthorized() *ImportTKGConfigForAzureUnauthorized
NewImportTKGConfigForAzureUnauthorized creates ImportTKGConfigForAzureUnauthorized with default headers values
func (*ImportTKGConfigForAzureUnauthorized) SetPayload ¶
func (o *ImportTKGConfigForAzureUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for azure unauthorized response
func (*ImportTKGConfigForAzureUnauthorized) WithPayload ¶
func (o *ImportTKGConfigForAzureUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForAzureUnauthorized
WithPayload adds the payload to the import t k g config for azure unauthorized response
func (*ImportTKGConfigForAzureUnauthorized) WriteResponse ¶
func (o *ImportTKGConfigForAzureUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAzureEndpoint ¶
type SetAzureEndpoint struct { Context *middleware.Context Handler SetAzureEndpointHandler }
SetAzureEndpoint swagger:route POST /api/providers/azure azure setAzureEndpoint
Validate and set azure credentials
func NewSetAzureEndpoint ¶
func NewSetAzureEndpoint(ctx *middleware.Context, handler SetAzureEndpointHandler) *SetAzureEndpoint
NewSetAzureEndpoint creates a new http.Handler for the set azure endpoint operation
func (*SetAzureEndpoint) ServeHTTP ¶
func (o *SetAzureEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetAzureEndpointBadRequest ¶
type SetAzureEndpointBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetAzureEndpointBadRequest Bad request
swagger:response setAzureEndpointBadRequest
func NewSetAzureEndpointBadRequest ¶
func NewSetAzureEndpointBadRequest() *SetAzureEndpointBadRequest
NewSetAzureEndpointBadRequest creates SetAzureEndpointBadRequest with default headers values
func (*SetAzureEndpointBadRequest) SetPayload ¶
func (o *SetAzureEndpointBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the set azure endpoint bad request response
func (*SetAzureEndpointBadRequest) WithPayload ¶
func (o *SetAzureEndpointBadRequest) WithPayload(payload *models.Error) *SetAzureEndpointBadRequest
WithPayload adds the payload to the set azure endpoint bad request response
func (*SetAzureEndpointBadRequest) WriteResponse ¶
func (o *SetAzureEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAzureEndpointCreated ¶
type SetAzureEndpointCreated struct { }
SetAzureEndpointCreated Connection successful
swagger:response setAzureEndpointCreated
func NewSetAzureEndpointCreated ¶
func NewSetAzureEndpointCreated() *SetAzureEndpointCreated
NewSetAzureEndpointCreated creates SetAzureEndpointCreated with default headers values
func (*SetAzureEndpointCreated) WriteResponse ¶
func (o *SetAzureEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAzureEndpointHandler ¶
type SetAzureEndpointHandler interface {
Handle(SetAzureEndpointParams) middleware.Responder
}
SetAzureEndpointHandler interface for that can handle valid set azure endpoint params
type SetAzureEndpointHandlerFunc ¶
type SetAzureEndpointHandlerFunc func(SetAzureEndpointParams) middleware.Responder
SetAzureEndpointHandlerFunc turns a function with the right signature into a set azure endpoint handler
func (SetAzureEndpointHandlerFunc) Handle ¶
func (fn SetAzureEndpointHandlerFunc) Handle(params SetAzureEndpointParams) middleware.Responder
Handle executing the request and returning a response
type SetAzureEndpointInternalServerError ¶
type SetAzureEndpointInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetAzureEndpointInternalServerError Internal server error
swagger:response setAzureEndpointInternalServerError
func NewSetAzureEndpointInternalServerError ¶
func NewSetAzureEndpointInternalServerError() *SetAzureEndpointInternalServerError
NewSetAzureEndpointInternalServerError creates SetAzureEndpointInternalServerError with default headers values
func (*SetAzureEndpointInternalServerError) SetPayload ¶
func (o *SetAzureEndpointInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the set azure endpoint internal server error response
func (*SetAzureEndpointInternalServerError) WithPayload ¶
func (o *SetAzureEndpointInternalServerError) WithPayload(payload *models.Error) *SetAzureEndpointInternalServerError
WithPayload adds the payload to the set azure endpoint internal server error response
func (*SetAzureEndpointInternalServerError) WriteResponse ¶
func (o *SetAzureEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAzureEndpointParams ¶
type SetAzureEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Azure account parameters In: body */ AccountParams *models.AzureAccountParams }
SetAzureEndpointParams contains all the bound params for the set azure endpoint operation typically these are obtained from a http.Request
swagger:parameters setAzureEndpoint
func NewSetAzureEndpointParams ¶
func NewSetAzureEndpointParams() SetAzureEndpointParams
NewSetAzureEndpointParams creates a new SetAzureEndpointParams object no default values defined in spec.
func (*SetAzureEndpointParams) BindRequest ¶
func (o *SetAzureEndpointParams) 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 NewSetAzureEndpointParams() beforehand.
type SetAzureEndpointURL ¶
type SetAzureEndpointURL struct {
// contains filtered or unexported fields
}
SetAzureEndpointURL generates an URL for the set azure endpoint operation
func (*SetAzureEndpointURL) Build ¶
func (o *SetAzureEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetAzureEndpointURL) BuildFull ¶
func (o *SetAzureEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetAzureEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetAzureEndpointURL) SetBasePath ¶
func (o *SetAzureEndpointURL) 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 (*SetAzureEndpointURL) String ¶
func (o *SetAzureEndpointURL) String() string
String returns the string representation of the path with query string
func (*SetAzureEndpointURL) StringFull ¶
func (o *SetAzureEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetAzureEndpointURL) WithBasePath ¶
func (o *SetAzureEndpointURL) WithBasePath(bp string) *SetAzureEndpointURL
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 SetAzureEndpointUnauthorized ¶
SetAzureEndpointUnauthorized Incorrect credentials
swagger:response setAzureEndpointUnauthorized
func NewSetAzureEndpointUnauthorized ¶
func NewSetAzureEndpointUnauthorized() *SetAzureEndpointUnauthorized
NewSetAzureEndpointUnauthorized creates SetAzureEndpointUnauthorized with default headers values
func (*SetAzureEndpointUnauthorized) SetPayload ¶
func (o *SetAzureEndpointUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the set azure endpoint unauthorized response
func (*SetAzureEndpointUnauthorized) WithPayload ¶
func (o *SetAzureEndpointUnauthorized) WithPayload(payload *models.Error) *SetAzureEndpointUnauthorized
WithPayload adds the payload to the set azure endpoint unauthorized response
func (*SetAzureEndpointUnauthorized) WriteResponse ¶
func (o *SetAzureEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- apply_t_k_g_config_for_azure.go
- apply_t_k_g_config_for_azure_parameters.go
- apply_t_k_g_config_for_azure_responses.go
- apply_t_k_g_config_for_azure_urlbuilder.go
- create_azure_regional_cluster.go
- create_azure_regional_cluster_parameters.go
- create_azure_regional_cluster_responses.go
- create_azure_regional_cluster_urlbuilder.go
- create_azure_resource_group.go
- create_azure_resource_group_parameters.go
- create_azure_resource_group_responses.go
- create_azure_resource_group_urlbuilder.go
- create_azure_virtual_network.go
- create_azure_virtual_network_parameters.go
- create_azure_virtual_network_responses.go
- create_azure_virtual_network_urlbuilder.go
- export_t_k_g_config_for_azure.go
- export_t_k_g_config_for_azure_parameters.go
- export_t_k_g_config_for_azure_responses.go
- export_t_k_g_config_for_azure_urlbuilder.go
- get_azure_endpoint.go
- get_azure_endpoint_parameters.go
- get_azure_endpoint_responses.go
- get_azure_endpoint_urlbuilder.go
- get_azure_instance_types.go
- get_azure_instance_types_parameters.go
- get_azure_instance_types_responses.go
- get_azure_instance_types_urlbuilder.go
- get_azure_o_s_images.go
- get_azure_o_s_images_parameters.go
- get_azure_o_s_images_responses.go
- get_azure_o_s_images_urlbuilder.go
- get_azure_regions.go
- get_azure_regions_parameters.go
- get_azure_regions_responses.go
- get_azure_regions_urlbuilder.go
- get_azure_resource_groups.go
- get_azure_resource_groups_parameters.go
- get_azure_resource_groups_responses.go
- get_azure_resource_groups_urlbuilder.go
- get_azure_vnets.go
- get_azure_vnets_parameters.go
- get_azure_vnets_responses.go
- get_azure_vnets_urlbuilder.go
- import_t_k_g_config_for_azure.go
- import_t_k_g_config_for_azure_parameters.go
- import_t_k_g_config_for_azure_responses.go
- import_t_k_g_config_for_azure_urlbuilder.go
- set_azure_endpoint.go
- set_azure_endpoint_parameters.go
- set_azure_endpoint_responses.go
- set_azure_endpoint_urlbuilder.go