Documentation ¶
Index ¶
- Constants
- type ApplyTKGConfigForAWS
- type ApplyTKGConfigForAWSBadRequest
- type ApplyTKGConfigForAWSHandler
- type ApplyTKGConfigForAWSHandlerFunc
- type ApplyTKGConfigForAWSInternalServerError
- func (o *ApplyTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
- func (o *ApplyTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForAWSInternalServerError
- func (o *ApplyTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ApplyTKGConfigForAWSOK
- type ApplyTKGConfigForAWSParams
- type ApplyTKGConfigForAWSURL
- func (o *ApplyTKGConfigForAWSURL) Build() (*url.URL, error)
- func (o *ApplyTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ApplyTKGConfigForAWSURL) Must(u *url.URL, err error) *url.URL
- func (o *ApplyTKGConfigForAWSURL) SetBasePath(bp string)
- func (o *ApplyTKGConfigForAWSURL) String() string
- func (o *ApplyTKGConfigForAWSURL) StringFull(scheme, host string) string
- func (o *ApplyTKGConfigForAWSURL) WithBasePath(bp string) *ApplyTKGConfigForAWSURL
- type ApplyTKGConfigForAWSUnauthorized
- type CreateAWSRegionalCluster
- type CreateAWSRegionalClusterBadRequest
- func (o *CreateAWSRegionalClusterBadRequest) SetPayload(payload *models.Error)
- func (o *CreateAWSRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateAWSRegionalClusterBadRequest
- func (o *CreateAWSRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAWSRegionalClusterHandler
- type CreateAWSRegionalClusterHandlerFunc
- type CreateAWSRegionalClusterInternalServerError
- func (o *CreateAWSRegionalClusterInternalServerError) SetPayload(payload *models.Error)
- func (o *CreateAWSRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateAWSRegionalClusterInternalServerError
- func (o *CreateAWSRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateAWSRegionalClusterOK
- type CreateAWSRegionalClusterParams
- type CreateAWSRegionalClusterURL
- func (o *CreateAWSRegionalClusterURL) Build() (*url.URL, error)
- func (o *CreateAWSRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateAWSRegionalClusterURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateAWSRegionalClusterURL) SetBasePath(bp string)
- func (o *CreateAWSRegionalClusterURL) String() string
- func (o *CreateAWSRegionalClusterURL) StringFull(scheme, host string) string
- func (o *CreateAWSRegionalClusterURL) WithBasePath(bp string) *CreateAWSRegionalClusterURL
- type CreateAWSRegionalClusterUnauthorized
- func (o *CreateAWSRegionalClusterUnauthorized) SetPayload(payload *models.Error)
- func (o *CreateAWSRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateAWSRegionalClusterUnauthorized
- func (o *CreateAWSRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForAWS
- type ExportTKGConfigForAWSBadRequest
- type ExportTKGConfigForAWSHandler
- type ExportTKGConfigForAWSHandlerFunc
- type ExportTKGConfigForAWSInternalServerError
- func (o *ExportTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForAWSInternalServerError
- func (o *ExportTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ExportTKGConfigForAWSOK
- type ExportTKGConfigForAWSParams
- type ExportTKGConfigForAWSURL
- func (o *ExportTKGConfigForAWSURL) Build() (*url.URL, error)
- func (o *ExportTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ExportTKGConfigForAWSURL) Must(u *url.URL, err error) *url.URL
- func (o *ExportTKGConfigForAWSURL) SetBasePath(bp string)
- func (o *ExportTKGConfigForAWSURL) String() string
- func (o *ExportTKGConfigForAWSURL) StringFull(scheme, host string) string
- func (o *ExportTKGConfigForAWSURL) WithBasePath(bp string) *ExportTKGConfigForAWSURL
- type ExportTKGConfigForAWSUnauthorized
- func (o *ExportTKGConfigForAWSUnauthorized) SetPayload(payload *models.Error)
- func (o *ExportTKGConfigForAWSUnauthorized) WithPayload(payload *models.Error) *ExportTKGConfigForAWSUnauthorized
- func (o *ExportTKGConfigForAWSUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSAvailabilityZones
- type GetAWSAvailabilityZonesBadRequest
- func (o *GetAWSAvailabilityZonesBadRequest) SetPayload(payload *models.Error)
- func (o *GetAWSAvailabilityZonesBadRequest) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesBadRequest
- func (o *GetAWSAvailabilityZonesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSAvailabilityZonesHandler
- type GetAWSAvailabilityZonesHandlerFunc
- type GetAWSAvailabilityZonesInternalServerError
- func (o *GetAWSAvailabilityZonesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAWSAvailabilityZonesInternalServerError) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesInternalServerError
- func (o *GetAWSAvailabilityZonesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSAvailabilityZonesOK
- func (o *GetAWSAvailabilityZonesOK) SetPayload(payload []*models.AWSAvailabilityZone)
- func (o *GetAWSAvailabilityZonesOK) WithPayload(payload []*models.AWSAvailabilityZone) *GetAWSAvailabilityZonesOK
- func (o *GetAWSAvailabilityZonesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSAvailabilityZonesParams
- type GetAWSAvailabilityZonesURL
- func (o *GetAWSAvailabilityZonesURL) Build() (*url.URL, error)
- func (o *GetAWSAvailabilityZonesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSAvailabilityZonesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSAvailabilityZonesURL) SetBasePath(bp string)
- func (o *GetAWSAvailabilityZonesURL) String() string
- func (o *GetAWSAvailabilityZonesURL) StringFull(scheme, host string) string
- func (o *GetAWSAvailabilityZonesURL) WithBasePath(bp string) *GetAWSAvailabilityZonesURL
- type GetAWSAvailabilityZonesUnauthorized
- func (o *GetAWSAvailabilityZonesUnauthorized) SetPayload(payload *models.Error)
- func (o *GetAWSAvailabilityZonesUnauthorized) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesUnauthorized
- func (o *GetAWSAvailabilityZonesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSCredentialProfiles
- type GetAWSCredentialProfilesBadRequest
- func (o *GetAWSCredentialProfilesBadRequest) SetPayload(payload *models.Error)
- func (o *GetAWSCredentialProfilesBadRequest) WithPayload(payload *models.Error) *GetAWSCredentialProfilesBadRequest
- func (o *GetAWSCredentialProfilesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSCredentialProfilesHandler
- type GetAWSCredentialProfilesHandlerFunc
- type GetAWSCredentialProfilesInternalServerError
- func (o *GetAWSCredentialProfilesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAWSCredentialProfilesInternalServerError) WithPayload(payload *models.Error) *GetAWSCredentialProfilesInternalServerError
- func (o *GetAWSCredentialProfilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSCredentialProfilesOK
- type GetAWSCredentialProfilesParams
- type GetAWSCredentialProfilesURL
- func (o *GetAWSCredentialProfilesURL) Build() (*url.URL, error)
- func (o *GetAWSCredentialProfilesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSCredentialProfilesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSCredentialProfilesURL) SetBasePath(bp string)
- func (o *GetAWSCredentialProfilesURL) String() string
- func (o *GetAWSCredentialProfilesURL) StringFull(scheme, host string) string
- func (o *GetAWSCredentialProfilesURL) WithBasePath(bp string) *GetAWSCredentialProfilesURL
- type GetAWSCredentialProfilesUnauthorized
- func (o *GetAWSCredentialProfilesUnauthorized) SetPayload(payload *models.Error)
- func (o *GetAWSCredentialProfilesUnauthorized) WithPayload(payload *models.Error) *GetAWSCredentialProfilesUnauthorized
- func (o *GetAWSCredentialProfilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSNodeTypes
- type GetAWSNodeTypesBadRequest
- type GetAWSNodeTypesHandler
- type GetAWSNodeTypesHandlerFunc
- type GetAWSNodeTypesInternalServerError
- func (o *GetAWSNodeTypesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAWSNodeTypesInternalServerError) WithPayload(payload *models.Error) *GetAWSNodeTypesInternalServerError
- func (o *GetAWSNodeTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSNodeTypesOK
- type GetAWSNodeTypesParams
- type GetAWSNodeTypesURL
- func (o *GetAWSNodeTypesURL) Build() (*url.URL, error)
- func (o *GetAWSNodeTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSNodeTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSNodeTypesURL) SetBasePath(bp string)
- func (o *GetAWSNodeTypesURL) String() string
- func (o *GetAWSNodeTypesURL) StringFull(scheme, host string) string
- func (o *GetAWSNodeTypesURL) WithBasePath(bp string) *GetAWSNodeTypesURL
- type GetAWSNodeTypesUnauthorized
- type GetAWSOSImages
- type GetAWSOSImagesBadRequest
- type GetAWSOSImagesHandler
- type GetAWSOSImagesHandlerFunc
- type GetAWSOSImagesInternalServerError
- func (o *GetAWSOSImagesInternalServerError) SetPayload(payload *models.Error)
- func (o *GetAWSOSImagesInternalServerError) WithPayload(payload *models.Error) *GetAWSOSImagesInternalServerError
- func (o *GetAWSOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetAWSOSImagesOK
- type GetAWSOSImagesParams
- type GetAWSOSImagesURL
- func (o *GetAWSOSImagesURL) Build() (*url.URL, error)
- func (o *GetAWSOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSOSImagesURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSOSImagesURL) SetBasePath(bp string)
- func (o *GetAWSOSImagesURL) String() string
- func (o *GetAWSOSImagesURL) StringFull(scheme, host string) string
- func (o *GetAWSOSImagesURL) WithBasePath(bp string) *GetAWSOSImagesURL
- type GetAWSOSImagesUnauthorized
- type GetAWSRegions
- type GetAWSRegionsBadRequest
- type GetAWSRegionsHandler
- type GetAWSRegionsHandlerFunc
- type GetAWSRegionsInternalServerError
- type GetAWSRegionsOK
- type GetAWSRegionsParams
- type GetAWSRegionsURL
- func (o *GetAWSRegionsURL) Build() (*url.URL, error)
- func (o *GetAWSRegionsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSRegionsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSRegionsURL) SetBasePath(bp string)
- func (o *GetAWSRegionsURL) String() string
- func (o *GetAWSRegionsURL) StringFull(scheme, host string) string
- func (o *GetAWSRegionsURL) WithBasePath(bp string) *GetAWSRegionsURL
- type GetAWSRegionsUnauthorized
- type GetAWSSubnets
- type GetAWSSubnetsBadRequest
- type GetAWSSubnetsHandler
- type GetAWSSubnetsHandlerFunc
- type GetAWSSubnetsInternalServerError
- type GetAWSSubnetsOK
- type GetAWSSubnetsParams
- type GetAWSSubnetsURL
- func (o *GetAWSSubnetsURL) Build() (*url.URL, error)
- func (o *GetAWSSubnetsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetAWSSubnetsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetAWSSubnetsURL) SetBasePath(bp string)
- func (o *GetAWSSubnetsURL) String() string
- func (o *GetAWSSubnetsURL) StringFull(scheme, host string) string
- func (o *GetAWSSubnetsURL) WithBasePath(bp string) *GetAWSSubnetsURL
- type GetAWSSubnetsUnauthorized
- type GetVPCs
- type GetVPCsBadRequest
- type GetVPCsHandler
- type GetVPCsHandlerFunc
- type GetVPCsInternalServerError
- type GetVPCsOK
- type GetVPCsParams
- type GetVPCsURL
- func (o *GetVPCsURL) Build() (*url.URL, error)
- func (o *GetVPCsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetVPCsURL) Must(u *url.URL, err error) *url.URL
- func (o *GetVPCsURL) SetBasePath(bp string)
- func (o *GetVPCsURL) String() string
- func (o *GetVPCsURL) StringFull(scheme, host string) string
- func (o *GetVPCsURL) WithBasePath(bp string) *GetVPCsURL
- type GetVPCsUnauthorized
- type ImportTKGConfigForAWS
- type ImportTKGConfigForAWSBadRequest
- type ImportTKGConfigForAWSHandler
- type ImportTKGConfigForAWSHandlerFunc
- type ImportTKGConfigForAWSInternalServerError
- func (o *ImportTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForAWSInternalServerError
- func (o *ImportTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ImportTKGConfigForAWSOK
- type ImportTKGConfigForAWSParams
- type ImportTKGConfigForAWSURL
- func (o *ImportTKGConfigForAWSURL) Build() (*url.URL, error)
- func (o *ImportTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ImportTKGConfigForAWSURL) Must(u *url.URL, err error) *url.URL
- func (o *ImportTKGConfigForAWSURL) SetBasePath(bp string)
- func (o *ImportTKGConfigForAWSURL) String() string
- func (o *ImportTKGConfigForAWSURL) StringFull(scheme, host string) string
- func (o *ImportTKGConfigForAWSURL) WithBasePath(bp string) *ImportTKGConfigForAWSURL
- type ImportTKGConfigForAWSUnauthorized
- func (o *ImportTKGConfigForAWSUnauthorized) SetPayload(payload *models.Error)
- func (o *ImportTKGConfigForAWSUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForAWSUnauthorized
- func (o *ImportTKGConfigForAWSUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetAWSEndpoint
- type SetAWSEndpointBadRequest
- type SetAWSEndpointCreated
- type SetAWSEndpointHandler
- type SetAWSEndpointHandlerFunc
- type SetAWSEndpointInternalServerError
- func (o *SetAWSEndpointInternalServerError) SetPayload(payload *models.Error)
- func (o *SetAWSEndpointInternalServerError) WithPayload(payload *models.Error) *SetAWSEndpointInternalServerError
- func (o *SetAWSEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetAWSEndpointParams
- type SetAWSEndpointURL
- func (o *SetAWSEndpointURL) Build() (*url.URL, error)
- func (o *SetAWSEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetAWSEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *SetAWSEndpointURL) SetBasePath(bp string)
- func (o *SetAWSEndpointURL) String() string
- func (o *SetAWSEndpointURL) StringFull(scheme, host string) string
- func (o *SetAWSEndpointURL) WithBasePath(bp string) *SetAWSEndpointURL
- type SetAWSEndpointUnauthorized
Constants ¶
const ApplyTKGConfigForAWSBadRequestCode int = 400
ApplyTKGConfigForAWSBadRequestCode is the HTTP code returned for type ApplyTKGConfigForAWSBadRequest
const ApplyTKGConfigForAWSInternalServerErrorCode int = 500
ApplyTKGConfigForAWSInternalServerErrorCode is the HTTP code returned for type ApplyTKGConfigForAWSInternalServerError
const ApplyTKGConfigForAWSOKCode int = 200
ApplyTKGConfigForAWSOKCode is the HTTP code returned for type ApplyTKGConfigForAWSOK
ApplyTKGConfigForAWSUnauthorizedCode is the HTTP code returned for type ApplyTKGConfigForAWSUnauthorized
const CreateAWSRegionalClusterBadRequestCode int = 400
CreateAWSRegionalClusterBadRequestCode is the HTTP code returned for type CreateAWSRegionalClusterBadRequest
const CreateAWSRegionalClusterInternalServerErrorCode int = 500
CreateAWSRegionalClusterInternalServerErrorCode is the HTTP code returned for type CreateAWSRegionalClusterInternalServerError
const CreateAWSRegionalClusterOKCode int = 200
CreateAWSRegionalClusterOKCode is the HTTP code returned for type CreateAWSRegionalClusterOK
CreateAWSRegionalClusterUnauthorizedCode is the HTTP code returned for type CreateAWSRegionalClusterUnauthorized
const ExportTKGConfigForAWSBadRequestCode int = 400
ExportTKGConfigForAWSBadRequestCode is the HTTP code returned for type ExportTKGConfigForAWSBadRequest
const ExportTKGConfigForAWSInternalServerErrorCode int = 500
ExportTKGConfigForAWSInternalServerErrorCode is the HTTP code returned for type ExportTKGConfigForAWSInternalServerError
const ExportTKGConfigForAWSOKCode int = 200
ExportTKGConfigForAWSOKCode is the HTTP code returned for type ExportTKGConfigForAWSOK
ExportTKGConfigForAWSUnauthorizedCode is the HTTP code returned for type ExportTKGConfigForAWSUnauthorized
const GetAWSAvailabilityZonesBadRequestCode int = 400
GetAWSAvailabilityZonesBadRequestCode is the HTTP code returned for type GetAWSAvailabilityZonesBadRequest
const GetAWSAvailabilityZonesInternalServerErrorCode int = 500
GetAWSAvailabilityZonesInternalServerErrorCode is the HTTP code returned for type GetAWSAvailabilityZonesInternalServerError
const GetAWSAvailabilityZonesOKCode int = 200
GetAWSAvailabilityZonesOKCode is the HTTP code returned for type GetAWSAvailabilityZonesOK
GetAWSAvailabilityZonesUnauthorizedCode is the HTTP code returned for type GetAWSAvailabilityZonesUnauthorized
const GetAWSCredentialProfilesBadRequestCode int = 400
GetAWSCredentialProfilesBadRequestCode is the HTTP code returned for type GetAWSCredentialProfilesBadRequest
const GetAWSCredentialProfilesInternalServerErrorCode int = 500
GetAWSCredentialProfilesInternalServerErrorCode is the HTTP code returned for type GetAWSCredentialProfilesInternalServerError
const GetAWSCredentialProfilesOKCode int = 200
GetAWSCredentialProfilesOKCode is the HTTP code returned for type GetAWSCredentialProfilesOK
GetAWSCredentialProfilesUnauthorizedCode is the HTTP code returned for type GetAWSCredentialProfilesUnauthorized
const GetAWSNodeTypesBadRequestCode int = 400
GetAWSNodeTypesBadRequestCode is the HTTP code returned for type GetAWSNodeTypesBadRequest
const GetAWSNodeTypesInternalServerErrorCode int = 500
GetAWSNodeTypesInternalServerErrorCode is the HTTP code returned for type GetAWSNodeTypesInternalServerError
const GetAWSNodeTypesOKCode int = 200
GetAWSNodeTypesOKCode is the HTTP code returned for type GetAWSNodeTypesOK
GetAWSNodeTypesUnauthorizedCode is the HTTP code returned for type GetAWSNodeTypesUnauthorized
const GetAWSOSImagesBadRequestCode int = 400
GetAWSOSImagesBadRequestCode is the HTTP code returned for type GetAWSOSImagesBadRequest
const GetAWSOSImagesInternalServerErrorCode int = 500
GetAWSOSImagesInternalServerErrorCode is the HTTP code returned for type GetAWSOSImagesInternalServerError
const GetAWSOSImagesOKCode int = 200
GetAWSOSImagesOKCode is the HTTP code returned for type GetAWSOSImagesOK
GetAWSOSImagesUnauthorizedCode is the HTTP code returned for type GetAWSOSImagesUnauthorized
const GetAWSRegionsBadRequestCode int = 400
GetAWSRegionsBadRequestCode is the HTTP code returned for type GetAWSRegionsBadRequest
const GetAWSRegionsInternalServerErrorCode int = 500
GetAWSRegionsInternalServerErrorCode is the HTTP code returned for type GetAWSRegionsInternalServerError
const GetAWSRegionsOKCode int = 200
GetAWSRegionsOKCode is the HTTP code returned for type GetAWSRegionsOK
GetAWSRegionsUnauthorizedCode is the HTTP code returned for type GetAWSRegionsUnauthorized
const GetAWSSubnetsBadRequestCode int = 400
GetAWSSubnetsBadRequestCode is the HTTP code returned for type GetAWSSubnetsBadRequest
const GetAWSSubnetsInternalServerErrorCode int = 500
GetAWSSubnetsInternalServerErrorCode is the HTTP code returned for type GetAWSSubnetsInternalServerError
const GetAWSSubnetsOKCode int = 200
GetAWSSubnetsOKCode is the HTTP code returned for type GetAWSSubnetsOK
GetAWSSubnetsUnauthorizedCode is the HTTP code returned for type GetAWSSubnetsUnauthorized
const GetVPCsBadRequestCode int = 400
GetVPCsBadRequestCode is the HTTP code returned for type GetVPCsBadRequest
const GetVPCsInternalServerErrorCode int = 500
GetVPCsInternalServerErrorCode is the HTTP code returned for type GetVPCsInternalServerError
const GetVPCsOKCode int = 200
GetVPCsOKCode is the HTTP code returned for type GetVPCsOK
GetVPCsUnauthorizedCode is the HTTP code returned for type GetVPCsUnauthorized
const ImportTKGConfigForAWSBadRequestCode int = 400
ImportTKGConfigForAWSBadRequestCode is the HTTP code returned for type ImportTKGConfigForAWSBadRequest
const ImportTKGConfigForAWSInternalServerErrorCode int = 500
ImportTKGConfigForAWSInternalServerErrorCode is the HTTP code returned for type ImportTKGConfigForAWSInternalServerError
const ImportTKGConfigForAWSOKCode int = 200
ImportTKGConfigForAWSOKCode is the HTTP code returned for type ImportTKGConfigForAWSOK
ImportTKGConfigForAWSUnauthorizedCode is the HTTP code returned for type ImportTKGConfigForAWSUnauthorized
const SetAWSEndpointBadRequestCode int = 400
SetAWSEndpointBadRequestCode is the HTTP code returned for type SetAWSEndpointBadRequest
const SetAWSEndpointCreatedCode int = 201
SetAWSEndpointCreatedCode is the HTTP code returned for type SetAWSEndpointCreated
const SetAWSEndpointInternalServerErrorCode int = 500
SetAWSEndpointInternalServerErrorCode is the HTTP code returned for type SetAWSEndpointInternalServerError
SetAWSEndpointUnauthorizedCode is the HTTP code returned for type SetAWSEndpointUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyTKGConfigForAWS ¶
type ApplyTKGConfigForAWS struct { Context *middleware.Context Handler ApplyTKGConfigForAWSHandler }
ApplyTKGConfigForAWS swagger:route POST /api/providers/aws/tkgconfig aws applyTKGConfigForAWS
Apply the changes to TKG configuration file for AWS"
func NewApplyTKGConfigForAWS ¶
func NewApplyTKGConfigForAWS(ctx *middleware.Context, handler ApplyTKGConfigForAWSHandler) *ApplyTKGConfigForAWS
NewApplyTKGConfigForAWS creates a new http.Handler for the apply t k g config for a w s operation
func (*ApplyTKGConfigForAWS) ServeHTTP ¶
func (o *ApplyTKGConfigForAWS) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ApplyTKGConfigForAWSBadRequest ¶
type ApplyTKGConfigForAWSBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForAWSBadRequest Bad request
swagger:response applyTKGConfigForAWSBadRequest
func NewApplyTKGConfigForAWSBadRequest ¶
func NewApplyTKGConfigForAWSBadRequest() *ApplyTKGConfigForAWSBadRequest
NewApplyTKGConfigForAWSBadRequest creates ApplyTKGConfigForAWSBadRequest with default headers values
func (*ApplyTKGConfigForAWSBadRequest) SetPayload ¶
func (o *ApplyTKGConfigForAWSBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for a w s bad request response
func (*ApplyTKGConfigForAWSBadRequest) WithPayload ¶
func (o *ApplyTKGConfigForAWSBadRequest) WithPayload(payload *models.Error) *ApplyTKGConfigForAWSBadRequest
WithPayload adds the payload to the apply t k g config for a w s bad request response
func (*ApplyTKGConfigForAWSBadRequest) WriteResponse ¶
func (o *ApplyTKGConfigForAWSBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAWSHandler ¶
type ApplyTKGConfigForAWSHandler interface {
Handle(ApplyTKGConfigForAWSParams) middleware.Responder
}
ApplyTKGConfigForAWSHandler interface for that can handle valid apply t k g config for a w s params
type ApplyTKGConfigForAWSHandlerFunc ¶
type ApplyTKGConfigForAWSHandlerFunc func(ApplyTKGConfigForAWSParams) middleware.Responder
ApplyTKGConfigForAWSHandlerFunc turns a function with the right signature into a apply t k g config for a w s handler
func (ApplyTKGConfigForAWSHandlerFunc) Handle ¶
func (fn ApplyTKGConfigForAWSHandlerFunc) Handle(params ApplyTKGConfigForAWSParams) middleware.Responder
Handle executing the request and returning a response
type ApplyTKGConfigForAWSInternalServerError ¶
type ApplyTKGConfigForAWSInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ApplyTKGConfigForAWSInternalServerError Internal server error
swagger:response applyTKGConfigForAWSInternalServerError
func NewApplyTKGConfigForAWSInternalServerError ¶
func NewApplyTKGConfigForAWSInternalServerError() *ApplyTKGConfigForAWSInternalServerError
NewApplyTKGConfigForAWSInternalServerError creates ApplyTKGConfigForAWSInternalServerError with default headers values
func (*ApplyTKGConfigForAWSInternalServerError) SetPayload ¶
func (o *ApplyTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for a w s internal server error response
func (*ApplyTKGConfigForAWSInternalServerError) WithPayload ¶
func (o *ApplyTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ApplyTKGConfigForAWSInternalServerError
WithPayload adds the payload to the apply t k g config for a w s internal server error response
func (*ApplyTKGConfigForAWSInternalServerError) WriteResponse ¶
func (o *ApplyTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAWSOK ¶
type ApplyTKGConfigForAWSOK struct { /* In: Body */ Payload *models.ConfigFileInfo `json:"body,omitempty"` }
ApplyTKGConfigForAWSOK Apply change to TKG configuration successfully
swagger:response applyTKGConfigForAWSOK
func NewApplyTKGConfigForAWSOK ¶
func NewApplyTKGConfigForAWSOK() *ApplyTKGConfigForAWSOK
NewApplyTKGConfigForAWSOK creates ApplyTKGConfigForAWSOK with default headers values
func (*ApplyTKGConfigForAWSOK) SetPayload ¶
func (o *ApplyTKGConfigForAWSOK) SetPayload(payload *models.ConfigFileInfo)
SetPayload sets the payload to the apply t k g config for a w s o k response
func (*ApplyTKGConfigForAWSOK) WithPayload ¶
func (o *ApplyTKGConfigForAWSOK) WithPayload(payload *models.ConfigFileInfo) *ApplyTKGConfigForAWSOK
WithPayload adds the payload to the apply t k g config for a w s o k response
func (*ApplyTKGConfigForAWSOK) WriteResponse ¶
func (o *ApplyTKGConfigForAWSOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ApplyTKGConfigForAWSParams ¶
type ApplyTKGConfigForAWSParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to apply changes to TKG configuration file for AWS Required: true In: body */ Params *models.AWSRegionalClusterParams }
ApplyTKGConfigForAWSParams contains all the bound params for the apply t k g config for a w s operation typically these are obtained from a http.Request
swagger:parameters applyTKGConfigForAWS
func NewApplyTKGConfigForAWSParams ¶
func NewApplyTKGConfigForAWSParams() ApplyTKGConfigForAWSParams
NewApplyTKGConfigForAWSParams creates a new ApplyTKGConfigForAWSParams object no default values defined in spec.
func (*ApplyTKGConfigForAWSParams) BindRequest ¶
func (o *ApplyTKGConfigForAWSParams) 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 NewApplyTKGConfigForAWSParams() beforehand.
type ApplyTKGConfigForAWSURL ¶
type ApplyTKGConfigForAWSURL struct {
// contains filtered or unexported fields
}
ApplyTKGConfigForAWSURL generates an URL for the apply t k g config for a w s operation
func (*ApplyTKGConfigForAWSURL) Build ¶
func (o *ApplyTKGConfigForAWSURL) Build() (*url.URL, error)
Build a url path and query string
func (*ApplyTKGConfigForAWSURL) BuildFull ¶
func (o *ApplyTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ApplyTKGConfigForAWSURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ApplyTKGConfigForAWSURL) SetBasePath ¶
func (o *ApplyTKGConfigForAWSURL) 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 (*ApplyTKGConfigForAWSURL) String ¶
func (o *ApplyTKGConfigForAWSURL) String() string
String returns the string representation of the path with query string
func (*ApplyTKGConfigForAWSURL) StringFull ¶
func (o *ApplyTKGConfigForAWSURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ApplyTKGConfigForAWSURL) WithBasePath ¶
func (o *ApplyTKGConfigForAWSURL) WithBasePath(bp string) *ApplyTKGConfigForAWSURL
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 ApplyTKGConfigForAWSUnauthorized ¶
ApplyTKGConfigForAWSUnauthorized Incorrect credentials
swagger:response applyTKGConfigForAWSUnauthorized
func NewApplyTKGConfigForAWSUnauthorized ¶
func NewApplyTKGConfigForAWSUnauthorized() *ApplyTKGConfigForAWSUnauthorized
NewApplyTKGConfigForAWSUnauthorized creates ApplyTKGConfigForAWSUnauthorized with default headers values
func (*ApplyTKGConfigForAWSUnauthorized) SetPayload ¶
func (o *ApplyTKGConfigForAWSUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the apply t k g config for a w s unauthorized response
func (*ApplyTKGConfigForAWSUnauthorized) WithPayload ¶
func (o *ApplyTKGConfigForAWSUnauthorized) WithPayload(payload *models.Error) *ApplyTKGConfigForAWSUnauthorized
WithPayload adds the payload to the apply t k g config for a w s unauthorized response
func (*ApplyTKGConfigForAWSUnauthorized) WriteResponse ¶
func (o *ApplyTKGConfigForAWSUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAWSRegionalCluster ¶
type CreateAWSRegionalCluster struct { Context *middleware.Context Handler CreateAWSRegionalClusterHandler }
CreateAWSRegionalCluster swagger:route POST /api/providers/aws/create aws createAWSRegionalCluster
Create AWS regional cluster
func NewCreateAWSRegionalCluster ¶
func NewCreateAWSRegionalCluster(ctx *middleware.Context, handler CreateAWSRegionalClusterHandler) *CreateAWSRegionalCluster
NewCreateAWSRegionalCluster creates a new http.Handler for the create a w s regional cluster operation
func (*CreateAWSRegionalCluster) ServeHTTP ¶
func (o *CreateAWSRegionalCluster) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateAWSRegionalClusterBadRequest ¶
type CreateAWSRegionalClusterBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAWSRegionalClusterBadRequest Bad request
swagger:response createAWSRegionalClusterBadRequest
func NewCreateAWSRegionalClusterBadRequest ¶
func NewCreateAWSRegionalClusterBadRequest() *CreateAWSRegionalClusterBadRequest
NewCreateAWSRegionalClusterBadRequest creates CreateAWSRegionalClusterBadRequest with default headers values
func (*CreateAWSRegionalClusterBadRequest) SetPayload ¶
func (o *CreateAWSRegionalClusterBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the create a w s regional cluster bad request response
func (*CreateAWSRegionalClusterBadRequest) WithPayload ¶
func (o *CreateAWSRegionalClusterBadRequest) WithPayload(payload *models.Error) *CreateAWSRegionalClusterBadRequest
WithPayload adds the payload to the create a w s regional cluster bad request response
func (*CreateAWSRegionalClusterBadRequest) WriteResponse ¶
func (o *CreateAWSRegionalClusterBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAWSRegionalClusterHandler ¶
type CreateAWSRegionalClusterHandler interface {
Handle(CreateAWSRegionalClusterParams) middleware.Responder
}
CreateAWSRegionalClusterHandler interface for that can handle valid create a w s regional cluster params
type CreateAWSRegionalClusterHandlerFunc ¶
type CreateAWSRegionalClusterHandlerFunc func(CreateAWSRegionalClusterParams) middleware.Responder
CreateAWSRegionalClusterHandlerFunc turns a function with the right signature into a create a w s regional cluster handler
func (CreateAWSRegionalClusterHandlerFunc) Handle ¶
func (fn CreateAWSRegionalClusterHandlerFunc) Handle(params CreateAWSRegionalClusterParams) middleware.Responder
Handle executing the request and returning a response
type CreateAWSRegionalClusterInternalServerError ¶
type CreateAWSRegionalClusterInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
CreateAWSRegionalClusterInternalServerError Internal server error
swagger:response createAWSRegionalClusterInternalServerError
func NewCreateAWSRegionalClusterInternalServerError ¶
func NewCreateAWSRegionalClusterInternalServerError() *CreateAWSRegionalClusterInternalServerError
NewCreateAWSRegionalClusterInternalServerError creates CreateAWSRegionalClusterInternalServerError with default headers values
func (*CreateAWSRegionalClusterInternalServerError) SetPayload ¶
func (o *CreateAWSRegionalClusterInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the create a w s regional cluster internal server error response
func (*CreateAWSRegionalClusterInternalServerError) WithPayload ¶
func (o *CreateAWSRegionalClusterInternalServerError) WithPayload(payload *models.Error) *CreateAWSRegionalClusterInternalServerError
WithPayload adds the payload to the create a w s regional cluster internal server error response
func (*CreateAWSRegionalClusterInternalServerError) WriteResponse ¶
func (o *CreateAWSRegionalClusterInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAWSRegionalClusterOK ¶
type CreateAWSRegionalClusterOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
CreateAWSRegionalClusterOK Creating regional cluster started successfully
swagger:response createAWSRegionalClusterOK
func NewCreateAWSRegionalClusterOK ¶
func NewCreateAWSRegionalClusterOK() *CreateAWSRegionalClusterOK
NewCreateAWSRegionalClusterOK creates CreateAWSRegionalClusterOK with default headers values
func (*CreateAWSRegionalClusterOK) SetPayload ¶
func (o *CreateAWSRegionalClusterOK) SetPayload(payload string)
SetPayload sets the payload to the create a w s regional cluster o k response
func (*CreateAWSRegionalClusterOK) WithPayload ¶
func (o *CreateAWSRegionalClusterOK) WithPayload(payload string) *CreateAWSRegionalClusterOK
WithPayload adds the payload to the create a w s regional cluster o k response
func (*CreateAWSRegionalClusterOK) WriteResponse ¶
func (o *CreateAWSRegionalClusterOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateAWSRegionalClusterParams ¶
type CreateAWSRegionalClusterParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to create a regional cluster Required: true In: body */ Params *models.AWSRegionalClusterParams }
CreateAWSRegionalClusterParams contains all the bound params for the create a w s regional cluster operation typically these are obtained from a http.Request
swagger:parameters createAWSRegionalCluster
func NewCreateAWSRegionalClusterParams ¶
func NewCreateAWSRegionalClusterParams() CreateAWSRegionalClusterParams
NewCreateAWSRegionalClusterParams creates a new CreateAWSRegionalClusterParams object no default values defined in spec.
func (*CreateAWSRegionalClusterParams) BindRequest ¶
func (o *CreateAWSRegionalClusterParams) 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 NewCreateAWSRegionalClusterParams() beforehand.
type CreateAWSRegionalClusterURL ¶
type CreateAWSRegionalClusterURL struct {
// contains filtered or unexported fields
}
CreateAWSRegionalClusterURL generates an URL for the create a w s regional cluster operation
func (*CreateAWSRegionalClusterURL) Build ¶
func (o *CreateAWSRegionalClusterURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateAWSRegionalClusterURL) BuildFull ¶
func (o *CreateAWSRegionalClusterURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateAWSRegionalClusterURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateAWSRegionalClusterURL) SetBasePath ¶
func (o *CreateAWSRegionalClusterURL) 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 (*CreateAWSRegionalClusterURL) String ¶
func (o *CreateAWSRegionalClusterURL) String() string
String returns the string representation of the path with query string
func (*CreateAWSRegionalClusterURL) StringFull ¶
func (o *CreateAWSRegionalClusterURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateAWSRegionalClusterURL) WithBasePath ¶
func (o *CreateAWSRegionalClusterURL) WithBasePath(bp string) *CreateAWSRegionalClusterURL
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 CreateAWSRegionalClusterUnauthorized ¶
CreateAWSRegionalClusterUnauthorized Incorrect credentials
swagger:response createAWSRegionalClusterUnauthorized
func NewCreateAWSRegionalClusterUnauthorized ¶
func NewCreateAWSRegionalClusterUnauthorized() *CreateAWSRegionalClusterUnauthorized
NewCreateAWSRegionalClusterUnauthorized creates CreateAWSRegionalClusterUnauthorized with default headers values
func (*CreateAWSRegionalClusterUnauthorized) SetPayload ¶
func (o *CreateAWSRegionalClusterUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the create a w s regional cluster unauthorized response
func (*CreateAWSRegionalClusterUnauthorized) WithPayload ¶
func (o *CreateAWSRegionalClusterUnauthorized) WithPayload(payload *models.Error) *CreateAWSRegionalClusterUnauthorized
WithPayload adds the payload to the create a w s regional cluster unauthorized response
func (*CreateAWSRegionalClusterUnauthorized) WriteResponse ¶
func (o *CreateAWSRegionalClusterUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAWS ¶ added in v0.9.0
type ExportTKGConfigForAWS struct { Context *middleware.Context Handler ExportTKGConfigForAWSHandler }
ExportTKGConfigForAWS swagger:route POST /api/providers/aws/config/export aws exportTKGConfigForAWS
Generate TKG configuration file for AWS"
func NewExportTKGConfigForAWS ¶ added in v0.9.0
func NewExportTKGConfigForAWS(ctx *middleware.Context, handler ExportTKGConfigForAWSHandler) *ExportTKGConfigForAWS
NewExportTKGConfigForAWS creates a new http.Handler for the export t k g config for a w s operation
func (*ExportTKGConfigForAWS) ServeHTTP ¶ added in v0.9.0
func (o *ExportTKGConfigForAWS) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ExportTKGConfigForAWSBadRequest ¶ added in v0.9.0
type ExportTKGConfigForAWSBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForAWSBadRequest Bad request
swagger:response exportTKGConfigForAWSBadRequest
func NewExportTKGConfigForAWSBadRequest ¶ added in v0.9.0
func NewExportTKGConfigForAWSBadRequest() *ExportTKGConfigForAWSBadRequest
NewExportTKGConfigForAWSBadRequest creates ExportTKGConfigForAWSBadRequest with default headers values
func (*ExportTKGConfigForAWSBadRequest) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for a w s bad request response
func (*ExportTKGConfigForAWSBadRequest) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSBadRequest) WithPayload(payload *models.Error) *ExportTKGConfigForAWSBadRequest
WithPayload adds the payload to the export t k g config for a w s bad request response
func (*ExportTKGConfigForAWSBadRequest) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAWSHandler ¶ added in v0.9.0
type ExportTKGConfigForAWSHandler interface {
Handle(ExportTKGConfigForAWSParams) middleware.Responder
}
ExportTKGConfigForAWSHandler interface for that can handle valid export t k g config for a w s params
type ExportTKGConfigForAWSHandlerFunc ¶ added in v0.9.0
type ExportTKGConfigForAWSHandlerFunc func(ExportTKGConfigForAWSParams) middleware.Responder
ExportTKGConfigForAWSHandlerFunc turns a function with the right signature into a export t k g config for a w s handler
func (ExportTKGConfigForAWSHandlerFunc) Handle ¶ added in v0.9.0
func (fn ExportTKGConfigForAWSHandlerFunc) Handle(params ExportTKGConfigForAWSParams) middleware.Responder
Handle executing the request and returning a response
type ExportTKGConfigForAWSInternalServerError ¶ added in v0.9.0
type ExportTKGConfigForAWSInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ExportTKGConfigForAWSInternalServerError Internal server error
swagger:response exportTKGConfigForAWSInternalServerError
func NewExportTKGConfigForAWSInternalServerError ¶ added in v0.9.0
func NewExportTKGConfigForAWSInternalServerError() *ExportTKGConfigForAWSInternalServerError
NewExportTKGConfigForAWSInternalServerError creates ExportTKGConfigForAWSInternalServerError with default headers values
func (*ExportTKGConfigForAWSInternalServerError) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for a w s internal server error response
func (*ExportTKGConfigForAWSInternalServerError) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ExportTKGConfigForAWSInternalServerError
WithPayload adds the payload to the export t k g config for a w s internal server error response
func (*ExportTKGConfigForAWSInternalServerError) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAWSOK ¶ added in v0.9.0
type ExportTKGConfigForAWSOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
ExportTKGConfigForAWSOK Generated TKG configuration successfully
swagger:response exportTKGConfigForAWSOK
func NewExportTKGConfigForAWSOK ¶ added in v0.9.0
func NewExportTKGConfigForAWSOK() *ExportTKGConfigForAWSOK
NewExportTKGConfigForAWSOK creates ExportTKGConfigForAWSOK with default headers values
func (*ExportTKGConfigForAWSOK) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSOK) SetPayload(payload string)
SetPayload sets the payload to the export t k g config for a w s o k response
func (*ExportTKGConfigForAWSOK) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSOK) WithPayload(payload string) *ExportTKGConfigForAWSOK
WithPayload adds the payload to the export t k g config for a w s o k response
func (*ExportTKGConfigForAWSOK) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ExportTKGConfigForAWSParams ¶ added in v0.9.0
type ExportTKGConfigForAWSParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*parameters to generate TKG configuration file for AWS Required: true In: body */ Params *models.AWSRegionalClusterParams }
ExportTKGConfigForAWSParams contains all the bound params for the export t k g config for a w s operation typically these are obtained from a http.Request
swagger:parameters exportTKGConfigForAWS
func NewExportTKGConfigForAWSParams ¶ added in v0.9.0
func NewExportTKGConfigForAWSParams() ExportTKGConfigForAWSParams
NewExportTKGConfigForAWSParams creates a new ExportTKGConfigForAWSParams object no default values defined in spec.
func (*ExportTKGConfigForAWSParams) BindRequest ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSParams) 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 NewExportTKGConfigForAWSParams() beforehand.
type ExportTKGConfigForAWSURL ¶ added in v0.9.0
type ExportTKGConfigForAWSURL struct {
// contains filtered or unexported fields
}
ExportTKGConfigForAWSURL generates an URL for the export t k g config for a w s operation
func (*ExportTKGConfigForAWSURL) Build ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) Build() (*url.URL, error)
Build a url path and query string
func (*ExportTKGConfigForAWSURL) BuildFull ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ExportTKGConfigForAWSURL) Must ¶ added in v0.9.0
Must is a helper function to panic when the url builder returns an error
func (*ExportTKGConfigForAWSURL) SetBasePath ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) 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 (*ExportTKGConfigForAWSURL) String ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) String() string
String returns the string representation of the path with query string
func (*ExportTKGConfigForAWSURL) StringFull ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ExportTKGConfigForAWSURL) WithBasePath ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSURL) WithBasePath(bp string) *ExportTKGConfigForAWSURL
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 ExportTKGConfigForAWSUnauthorized ¶ added in v0.9.0
ExportTKGConfigForAWSUnauthorized Incorrect credentials
swagger:response exportTKGConfigForAWSUnauthorized
func NewExportTKGConfigForAWSUnauthorized ¶ added in v0.9.0
func NewExportTKGConfigForAWSUnauthorized() *ExportTKGConfigForAWSUnauthorized
NewExportTKGConfigForAWSUnauthorized creates ExportTKGConfigForAWSUnauthorized with default headers values
func (*ExportTKGConfigForAWSUnauthorized) SetPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the export t k g config for a w s unauthorized response
func (*ExportTKGConfigForAWSUnauthorized) WithPayload ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSUnauthorized) WithPayload(payload *models.Error) *ExportTKGConfigForAWSUnauthorized
WithPayload adds the payload to the export t k g config for a w s unauthorized response
func (*ExportTKGConfigForAWSUnauthorized) WriteResponse ¶ added in v0.9.0
func (o *ExportTKGConfigForAWSUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSAvailabilityZones ¶
type GetAWSAvailabilityZones struct { Context *middleware.Context Handler GetAWSAvailabilityZonesHandler }
GetAWSAvailabilityZones swagger:route GET /api/providers/aws/AvailabilityZones aws getAWSAvailabilityZones
Retrieve AWS availability zones of current region
func NewGetAWSAvailabilityZones ¶
func NewGetAWSAvailabilityZones(ctx *middleware.Context, handler GetAWSAvailabilityZonesHandler) *GetAWSAvailabilityZones
NewGetAWSAvailabilityZones creates a new http.Handler for the get a w s availability zones operation
func (*GetAWSAvailabilityZones) ServeHTTP ¶
func (o *GetAWSAvailabilityZones) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSAvailabilityZonesBadRequest ¶
type GetAWSAvailabilityZonesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSAvailabilityZonesBadRequest Bad request
swagger:response getAWSAvailabilityZonesBadRequest
func NewGetAWSAvailabilityZonesBadRequest ¶
func NewGetAWSAvailabilityZonesBadRequest() *GetAWSAvailabilityZonesBadRequest
NewGetAWSAvailabilityZonesBadRequest creates GetAWSAvailabilityZonesBadRequest with default headers values
func (*GetAWSAvailabilityZonesBadRequest) SetPayload ¶
func (o *GetAWSAvailabilityZonesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s availability zones bad request response
func (*GetAWSAvailabilityZonesBadRequest) WithPayload ¶
func (o *GetAWSAvailabilityZonesBadRequest) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesBadRequest
WithPayload adds the payload to the get a w s availability zones bad request response
func (*GetAWSAvailabilityZonesBadRequest) WriteResponse ¶
func (o *GetAWSAvailabilityZonesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSAvailabilityZonesHandler ¶
type GetAWSAvailabilityZonesHandler interface {
Handle(GetAWSAvailabilityZonesParams) middleware.Responder
}
GetAWSAvailabilityZonesHandler interface for that can handle valid get a w s availability zones params
type GetAWSAvailabilityZonesHandlerFunc ¶
type GetAWSAvailabilityZonesHandlerFunc func(GetAWSAvailabilityZonesParams) middleware.Responder
GetAWSAvailabilityZonesHandlerFunc turns a function with the right signature into a get a w s availability zones handler
func (GetAWSAvailabilityZonesHandlerFunc) Handle ¶
func (fn GetAWSAvailabilityZonesHandlerFunc) Handle(params GetAWSAvailabilityZonesParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSAvailabilityZonesInternalServerError ¶
type GetAWSAvailabilityZonesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSAvailabilityZonesInternalServerError Internal server error
swagger:response getAWSAvailabilityZonesInternalServerError
func NewGetAWSAvailabilityZonesInternalServerError ¶
func NewGetAWSAvailabilityZonesInternalServerError() *GetAWSAvailabilityZonesInternalServerError
NewGetAWSAvailabilityZonesInternalServerError creates GetAWSAvailabilityZonesInternalServerError with default headers values
func (*GetAWSAvailabilityZonesInternalServerError) SetPayload ¶
func (o *GetAWSAvailabilityZonesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s availability zones internal server error response
func (*GetAWSAvailabilityZonesInternalServerError) WithPayload ¶
func (o *GetAWSAvailabilityZonesInternalServerError) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesInternalServerError
WithPayload adds the payload to the get a w s availability zones internal server error response
func (*GetAWSAvailabilityZonesInternalServerError) WriteResponse ¶
func (o *GetAWSAvailabilityZonesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSAvailabilityZonesOK ¶
type GetAWSAvailabilityZonesOK struct { /* In: Body */ Payload []*models.AWSAvailabilityZone `json:"body,omitempty"` }
GetAWSAvailabilityZonesOK Successful retrieval of AWS availability zones
swagger:response getAWSAvailabilityZonesOK
func NewGetAWSAvailabilityZonesOK ¶
func NewGetAWSAvailabilityZonesOK() *GetAWSAvailabilityZonesOK
NewGetAWSAvailabilityZonesOK creates GetAWSAvailabilityZonesOK with default headers values
func (*GetAWSAvailabilityZonesOK) SetPayload ¶
func (o *GetAWSAvailabilityZonesOK) SetPayload(payload []*models.AWSAvailabilityZone)
SetPayload sets the payload to the get a w s availability zones o k response
func (*GetAWSAvailabilityZonesOK) WithPayload ¶
func (o *GetAWSAvailabilityZonesOK) WithPayload(payload []*models.AWSAvailabilityZone) *GetAWSAvailabilityZonesOK
WithPayload adds the payload to the get a w s availability zones o k response
func (*GetAWSAvailabilityZonesOK) WriteResponse ¶
func (o *GetAWSAvailabilityZonesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSAvailabilityZonesParams ¶
type GetAWSAvailabilityZonesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetAWSAvailabilityZonesParams contains all the bound params for the get a w s availability zones operation typically these are obtained from a http.Request
swagger:parameters getAWSAvailabilityZones
func NewGetAWSAvailabilityZonesParams ¶
func NewGetAWSAvailabilityZonesParams() GetAWSAvailabilityZonesParams
NewGetAWSAvailabilityZonesParams creates a new GetAWSAvailabilityZonesParams object no default values defined in spec.
func (*GetAWSAvailabilityZonesParams) BindRequest ¶
func (o *GetAWSAvailabilityZonesParams) 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 NewGetAWSAvailabilityZonesParams() beforehand.
type GetAWSAvailabilityZonesURL ¶
type GetAWSAvailabilityZonesURL struct {
// contains filtered or unexported fields
}
GetAWSAvailabilityZonesURL generates an URL for the get a w s availability zones operation
func (*GetAWSAvailabilityZonesURL) Build ¶
func (o *GetAWSAvailabilityZonesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSAvailabilityZonesURL) BuildFull ¶
func (o *GetAWSAvailabilityZonesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSAvailabilityZonesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSAvailabilityZonesURL) SetBasePath ¶
func (o *GetAWSAvailabilityZonesURL) 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 (*GetAWSAvailabilityZonesURL) String ¶
func (o *GetAWSAvailabilityZonesURL) String() string
String returns the string representation of the path with query string
func (*GetAWSAvailabilityZonesURL) StringFull ¶
func (o *GetAWSAvailabilityZonesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSAvailabilityZonesURL) WithBasePath ¶
func (o *GetAWSAvailabilityZonesURL) WithBasePath(bp string) *GetAWSAvailabilityZonesURL
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 GetAWSAvailabilityZonesUnauthorized ¶
GetAWSAvailabilityZonesUnauthorized Incorrect credentials
swagger:response getAWSAvailabilityZonesUnauthorized
func NewGetAWSAvailabilityZonesUnauthorized ¶
func NewGetAWSAvailabilityZonesUnauthorized() *GetAWSAvailabilityZonesUnauthorized
NewGetAWSAvailabilityZonesUnauthorized creates GetAWSAvailabilityZonesUnauthorized with default headers values
func (*GetAWSAvailabilityZonesUnauthorized) SetPayload ¶
func (o *GetAWSAvailabilityZonesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s availability zones unauthorized response
func (*GetAWSAvailabilityZonesUnauthorized) WithPayload ¶
func (o *GetAWSAvailabilityZonesUnauthorized) WithPayload(payload *models.Error) *GetAWSAvailabilityZonesUnauthorized
WithPayload adds the payload to the get a w s availability zones unauthorized response
func (*GetAWSAvailabilityZonesUnauthorized) WriteResponse ¶
func (o *GetAWSAvailabilityZonesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSCredentialProfiles ¶
type GetAWSCredentialProfiles struct { Context *middleware.Context Handler GetAWSCredentialProfilesHandler }
GetAWSCredentialProfiles swagger:route GET /api/providers/aws/profiles aws getAWSCredentialProfiles
Retrieve AWS credential profiles
func NewGetAWSCredentialProfiles ¶
func NewGetAWSCredentialProfiles(ctx *middleware.Context, handler GetAWSCredentialProfilesHandler) *GetAWSCredentialProfiles
NewGetAWSCredentialProfiles creates a new http.Handler for the get a w s credential profiles operation
func (*GetAWSCredentialProfiles) ServeHTTP ¶
func (o *GetAWSCredentialProfiles) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSCredentialProfilesBadRequest ¶
type GetAWSCredentialProfilesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSCredentialProfilesBadRequest Bad request
swagger:response getAWSCredentialProfilesBadRequest
func NewGetAWSCredentialProfilesBadRequest ¶
func NewGetAWSCredentialProfilesBadRequest() *GetAWSCredentialProfilesBadRequest
NewGetAWSCredentialProfilesBadRequest creates GetAWSCredentialProfilesBadRequest with default headers values
func (*GetAWSCredentialProfilesBadRequest) SetPayload ¶
func (o *GetAWSCredentialProfilesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s credential profiles bad request response
func (*GetAWSCredentialProfilesBadRequest) WithPayload ¶
func (o *GetAWSCredentialProfilesBadRequest) WithPayload(payload *models.Error) *GetAWSCredentialProfilesBadRequest
WithPayload adds the payload to the get a w s credential profiles bad request response
func (*GetAWSCredentialProfilesBadRequest) WriteResponse ¶
func (o *GetAWSCredentialProfilesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSCredentialProfilesHandler ¶
type GetAWSCredentialProfilesHandler interface {
Handle(GetAWSCredentialProfilesParams) middleware.Responder
}
GetAWSCredentialProfilesHandler interface for that can handle valid get a w s credential profiles params
type GetAWSCredentialProfilesHandlerFunc ¶
type GetAWSCredentialProfilesHandlerFunc func(GetAWSCredentialProfilesParams) middleware.Responder
GetAWSCredentialProfilesHandlerFunc turns a function with the right signature into a get a w s credential profiles handler
func (GetAWSCredentialProfilesHandlerFunc) Handle ¶
func (fn GetAWSCredentialProfilesHandlerFunc) Handle(params GetAWSCredentialProfilesParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSCredentialProfilesInternalServerError ¶
type GetAWSCredentialProfilesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSCredentialProfilesInternalServerError Internal server error
swagger:response getAWSCredentialProfilesInternalServerError
func NewGetAWSCredentialProfilesInternalServerError ¶
func NewGetAWSCredentialProfilesInternalServerError() *GetAWSCredentialProfilesInternalServerError
NewGetAWSCredentialProfilesInternalServerError creates GetAWSCredentialProfilesInternalServerError with default headers values
func (*GetAWSCredentialProfilesInternalServerError) SetPayload ¶
func (o *GetAWSCredentialProfilesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s credential profiles internal server error response
func (*GetAWSCredentialProfilesInternalServerError) WithPayload ¶
func (o *GetAWSCredentialProfilesInternalServerError) WithPayload(payload *models.Error) *GetAWSCredentialProfilesInternalServerError
WithPayload adds the payload to the get a w s credential profiles internal server error response
func (*GetAWSCredentialProfilesInternalServerError) WriteResponse ¶
func (o *GetAWSCredentialProfilesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSCredentialProfilesOK ¶
type GetAWSCredentialProfilesOK struct { /* In: Body */ Payload []string `json:"body,omitempty"` }
GetAWSCredentialProfilesOK Successful retrieval of AWS credentials profiles
swagger:response getAWSCredentialProfilesOK
func NewGetAWSCredentialProfilesOK ¶
func NewGetAWSCredentialProfilesOK() *GetAWSCredentialProfilesOK
NewGetAWSCredentialProfilesOK creates GetAWSCredentialProfilesOK with default headers values
func (*GetAWSCredentialProfilesOK) SetPayload ¶
func (o *GetAWSCredentialProfilesOK) SetPayload(payload []string)
SetPayload sets the payload to the get a w s credential profiles o k response
func (*GetAWSCredentialProfilesOK) WithPayload ¶
func (o *GetAWSCredentialProfilesOK) WithPayload(payload []string) *GetAWSCredentialProfilesOK
WithPayload adds the payload to the get a w s credential profiles o k response
func (*GetAWSCredentialProfilesOK) WriteResponse ¶
func (o *GetAWSCredentialProfilesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSCredentialProfilesParams ¶
type GetAWSCredentialProfilesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
GetAWSCredentialProfilesParams contains all the bound params for the get a w s credential profiles operation typically these are obtained from a http.Request
swagger:parameters getAWSCredentialProfiles
func NewGetAWSCredentialProfilesParams ¶
func NewGetAWSCredentialProfilesParams() GetAWSCredentialProfilesParams
NewGetAWSCredentialProfilesParams creates a new GetAWSCredentialProfilesParams object no default values defined in spec.
func (*GetAWSCredentialProfilesParams) BindRequest ¶
func (o *GetAWSCredentialProfilesParams) 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 NewGetAWSCredentialProfilesParams() beforehand.
type GetAWSCredentialProfilesURL ¶
type GetAWSCredentialProfilesURL struct {
// contains filtered or unexported fields
}
GetAWSCredentialProfilesURL generates an URL for the get a w s credential profiles operation
func (*GetAWSCredentialProfilesURL) Build ¶
func (o *GetAWSCredentialProfilesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSCredentialProfilesURL) BuildFull ¶
func (o *GetAWSCredentialProfilesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSCredentialProfilesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSCredentialProfilesURL) SetBasePath ¶
func (o *GetAWSCredentialProfilesURL) 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 (*GetAWSCredentialProfilesURL) String ¶
func (o *GetAWSCredentialProfilesURL) String() string
String returns the string representation of the path with query string
func (*GetAWSCredentialProfilesURL) StringFull ¶
func (o *GetAWSCredentialProfilesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSCredentialProfilesURL) WithBasePath ¶
func (o *GetAWSCredentialProfilesURL) WithBasePath(bp string) *GetAWSCredentialProfilesURL
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 GetAWSCredentialProfilesUnauthorized ¶
GetAWSCredentialProfilesUnauthorized Incorrect credentials
swagger:response getAWSCredentialProfilesUnauthorized
func NewGetAWSCredentialProfilesUnauthorized ¶
func NewGetAWSCredentialProfilesUnauthorized() *GetAWSCredentialProfilesUnauthorized
NewGetAWSCredentialProfilesUnauthorized creates GetAWSCredentialProfilesUnauthorized with default headers values
func (*GetAWSCredentialProfilesUnauthorized) SetPayload ¶
func (o *GetAWSCredentialProfilesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s credential profiles unauthorized response
func (*GetAWSCredentialProfilesUnauthorized) WithPayload ¶
func (o *GetAWSCredentialProfilesUnauthorized) WithPayload(payload *models.Error) *GetAWSCredentialProfilesUnauthorized
WithPayload adds the payload to the get a w s credential profiles unauthorized response
func (*GetAWSCredentialProfilesUnauthorized) WriteResponse ¶
func (o *GetAWSCredentialProfilesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSNodeTypes ¶
type GetAWSNodeTypes struct { Context *middleware.Context Handler GetAWSNodeTypesHandler }
GetAWSNodeTypes swagger:route GET /api/providers/aws/nodetypes aws getAWSNodeTypes
Retrieve AWS supported node types
func NewGetAWSNodeTypes ¶
func NewGetAWSNodeTypes(ctx *middleware.Context, handler GetAWSNodeTypesHandler) *GetAWSNodeTypes
NewGetAWSNodeTypes creates a new http.Handler for the get a w s node types operation
func (*GetAWSNodeTypes) ServeHTTP ¶
func (o *GetAWSNodeTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSNodeTypesBadRequest ¶
type GetAWSNodeTypesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSNodeTypesBadRequest Bad request
swagger:response getAWSNodeTypesBadRequest
func NewGetAWSNodeTypesBadRequest ¶
func NewGetAWSNodeTypesBadRequest() *GetAWSNodeTypesBadRequest
NewGetAWSNodeTypesBadRequest creates GetAWSNodeTypesBadRequest with default headers values
func (*GetAWSNodeTypesBadRequest) SetPayload ¶
func (o *GetAWSNodeTypesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s node types bad request response
func (*GetAWSNodeTypesBadRequest) WithPayload ¶
func (o *GetAWSNodeTypesBadRequest) WithPayload(payload *models.Error) *GetAWSNodeTypesBadRequest
WithPayload adds the payload to the get a w s node types bad request response
func (*GetAWSNodeTypesBadRequest) WriteResponse ¶
func (o *GetAWSNodeTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSNodeTypesHandler ¶
type GetAWSNodeTypesHandler interface {
Handle(GetAWSNodeTypesParams) middleware.Responder
}
GetAWSNodeTypesHandler interface for that can handle valid get a w s node types params
type GetAWSNodeTypesHandlerFunc ¶
type GetAWSNodeTypesHandlerFunc func(GetAWSNodeTypesParams) middleware.Responder
GetAWSNodeTypesHandlerFunc turns a function with the right signature into a get a w s node types handler
func (GetAWSNodeTypesHandlerFunc) Handle ¶
func (fn GetAWSNodeTypesHandlerFunc) Handle(params GetAWSNodeTypesParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSNodeTypesInternalServerError ¶
type GetAWSNodeTypesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSNodeTypesInternalServerError Internal server error
swagger:response getAWSNodeTypesInternalServerError
func NewGetAWSNodeTypesInternalServerError ¶
func NewGetAWSNodeTypesInternalServerError() *GetAWSNodeTypesInternalServerError
NewGetAWSNodeTypesInternalServerError creates GetAWSNodeTypesInternalServerError with default headers values
func (*GetAWSNodeTypesInternalServerError) SetPayload ¶
func (o *GetAWSNodeTypesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s node types internal server error response
func (*GetAWSNodeTypesInternalServerError) WithPayload ¶
func (o *GetAWSNodeTypesInternalServerError) WithPayload(payload *models.Error) *GetAWSNodeTypesInternalServerError
WithPayload adds the payload to the get a w s node types internal server error response
func (*GetAWSNodeTypesInternalServerError) WriteResponse ¶
func (o *GetAWSNodeTypesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSNodeTypesOK ¶
type GetAWSNodeTypesOK struct { /* In: Body */ Payload []string `json:"body,omitempty"` }
GetAWSNodeTypesOK Successful retrieval of AWS node types
swagger:response getAWSNodeTypesOK
func NewGetAWSNodeTypesOK ¶
func NewGetAWSNodeTypesOK() *GetAWSNodeTypesOK
NewGetAWSNodeTypesOK creates GetAWSNodeTypesOK with default headers values
func (*GetAWSNodeTypesOK) SetPayload ¶
func (o *GetAWSNodeTypesOK) SetPayload(payload []string)
SetPayload sets the payload to the get a w s node types o k response
func (*GetAWSNodeTypesOK) WithPayload ¶
func (o *GetAWSNodeTypesOK) WithPayload(payload []string) *GetAWSNodeTypesOK
WithPayload adds the payload to the get a w s node types o k response
func (*GetAWSNodeTypesOK) WriteResponse ¶
func (o *GetAWSNodeTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSNodeTypesParams ¶
type GetAWSNodeTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*AWS availability zone, e.g. us-west-2 In: query */ Az *string }
GetAWSNodeTypesParams contains all the bound params for the get a w s node types operation typically these are obtained from a http.Request
swagger:parameters getAWSNodeTypes
func NewGetAWSNodeTypesParams ¶
func NewGetAWSNodeTypesParams() GetAWSNodeTypesParams
NewGetAWSNodeTypesParams creates a new GetAWSNodeTypesParams object no default values defined in spec.
func (*GetAWSNodeTypesParams) BindRequest ¶
func (o *GetAWSNodeTypesParams) 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 NewGetAWSNodeTypesParams() beforehand.
type GetAWSNodeTypesURL ¶
type GetAWSNodeTypesURL struct { Az *string // contains filtered or unexported fields }
GetAWSNodeTypesURL generates an URL for the get a w s node types operation
func (*GetAWSNodeTypesURL) Build ¶
func (o *GetAWSNodeTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSNodeTypesURL) BuildFull ¶
func (o *GetAWSNodeTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSNodeTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSNodeTypesURL) SetBasePath ¶
func (o *GetAWSNodeTypesURL) 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 (*GetAWSNodeTypesURL) String ¶
func (o *GetAWSNodeTypesURL) String() string
String returns the string representation of the path with query string
func (*GetAWSNodeTypesURL) StringFull ¶
func (o *GetAWSNodeTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSNodeTypesURL) WithBasePath ¶
func (o *GetAWSNodeTypesURL) WithBasePath(bp string) *GetAWSNodeTypesURL
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 GetAWSNodeTypesUnauthorized ¶
GetAWSNodeTypesUnauthorized Incorrect credentials
swagger:response getAWSNodeTypesUnauthorized
func NewGetAWSNodeTypesUnauthorized ¶
func NewGetAWSNodeTypesUnauthorized() *GetAWSNodeTypesUnauthorized
NewGetAWSNodeTypesUnauthorized creates GetAWSNodeTypesUnauthorized with default headers values
func (*GetAWSNodeTypesUnauthorized) SetPayload ¶
func (o *GetAWSNodeTypesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s node types unauthorized response
func (*GetAWSNodeTypesUnauthorized) WithPayload ¶
func (o *GetAWSNodeTypesUnauthorized) WithPayload(payload *models.Error) *GetAWSNodeTypesUnauthorized
WithPayload adds the payload to the get a w s node types unauthorized response
func (*GetAWSNodeTypesUnauthorized) WriteResponse ¶
func (o *GetAWSNodeTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSOSImages ¶
type GetAWSOSImages struct { Context *middleware.Context Handler GetAWSOSImagesHandler }
GetAWSOSImages swagger:route GET /api/providers/aws/osimages aws getAWSOSImages
Retrieve AWS supported os images
func NewGetAWSOSImages ¶
func NewGetAWSOSImages(ctx *middleware.Context, handler GetAWSOSImagesHandler) *GetAWSOSImages
NewGetAWSOSImages creates a new http.Handler for the get a w s o s images operation
func (*GetAWSOSImages) ServeHTTP ¶
func (o *GetAWSOSImages) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSOSImagesBadRequest ¶
type GetAWSOSImagesBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSOSImagesBadRequest Bad request
swagger:response getAWSOSImagesBadRequest
func NewGetAWSOSImagesBadRequest ¶
func NewGetAWSOSImagesBadRequest() *GetAWSOSImagesBadRequest
NewGetAWSOSImagesBadRequest creates GetAWSOSImagesBadRequest with default headers values
func (*GetAWSOSImagesBadRequest) SetPayload ¶
func (o *GetAWSOSImagesBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s o s images bad request response
func (*GetAWSOSImagesBadRequest) WithPayload ¶
func (o *GetAWSOSImagesBadRequest) WithPayload(payload *models.Error) *GetAWSOSImagesBadRequest
WithPayload adds the payload to the get a w s o s images bad request response
func (*GetAWSOSImagesBadRequest) WriteResponse ¶
func (o *GetAWSOSImagesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSOSImagesHandler ¶
type GetAWSOSImagesHandler interface {
Handle(GetAWSOSImagesParams) middleware.Responder
}
GetAWSOSImagesHandler interface for that can handle valid get a w s o s images params
type GetAWSOSImagesHandlerFunc ¶
type GetAWSOSImagesHandlerFunc func(GetAWSOSImagesParams) middleware.Responder
GetAWSOSImagesHandlerFunc turns a function with the right signature into a get a w s o s images handler
func (GetAWSOSImagesHandlerFunc) Handle ¶
func (fn GetAWSOSImagesHandlerFunc) Handle(params GetAWSOSImagesParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSOSImagesInternalServerError ¶
type GetAWSOSImagesInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSOSImagesInternalServerError Internal server error
swagger:response getAWSOSImagesInternalServerError
func NewGetAWSOSImagesInternalServerError ¶
func NewGetAWSOSImagesInternalServerError() *GetAWSOSImagesInternalServerError
NewGetAWSOSImagesInternalServerError creates GetAWSOSImagesInternalServerError with default headers values
func (*GetAWSOSImagesInternalServerError) SetPayload ¶
func (o *GetAWSOSImagesInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s o s images internal server error response
func (*GetAWSOSImagesInternalServerError) WithPayload ¶
func (o *GetAWSOSImagesInternalServerError) WithPayload(payload *models.Error) *GetAWSOSImagesInternalServerError
WithPayload adds the payload to the get a w s o s images internal server error response
func (*GetAWSOSImagesInternalServerError) WriteResponse ¶
func (o *GetAWSOSImagesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSOSImagesOK ¶
type GetAWSOSImagesOK struct { /* In: Body */ Payload []*models.AWSVirtualMachine `json:"body,omitempty"` }
GetAWSOSImagesOK Successful retrieval of AWS supported os images
swagger:response getAWSOSImagesOK
func NewGetAWSOSImagesOK ¶
func NewGetAWSOSImagesOK() *GetAWSOSImagesOK
NewGetAWSOSImagesOK creates GetAWSOSImagesOK with default headers values
func (*GetAWSOSImagesOK) SetPayload ¶
func (o *GetAWSOSImagesOK) SetPayload(payload []*models.AWSVirtualMachine)
SetPayload sets the payload to the get a w s o s images o k response
func (*GetAWSOSImagesOK) WithPayload ¶
func (o *GetAWSOSImagesOK) WithPayload(payload []*models.AWSVirtualMachine) *GetAWSOSImagesOK
WithPayload adds the payload to the get a w s o s images o k response
func (*GetAWSOSImagesOK) WriteResponse ¶
func (o *GetAWSOSImagesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSOSImagesParams ¶
type GetAWSOSImagesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*AWS region, e.g. us-west-2 Required: true In: query */ Region string }
GetAWSOSImagesParams contains all the bound params for the get a w s o s images operation typically these are obtained from a http.Request
swagger:parameters getAWSOSImages
func NewGetAWSOSImagesParams ¶
func NewGetAWSOSImagesParams() GetAWSOSImagesParams
NewGetAWSOSImagesParams creates a new GetAWSOSImagesParams object no default values defined in spec.
func (*GetAWSOSImagesParams) BindRequest ¶
func (o *GetAWSOSImagesParams) 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 NewGetAWSOSImagesParams() beforehand.
type GetAWSOSImagesURL ¶
type GetAWSOSImagesURL struct { Region string // contains filtered or unexported fields }
GetAWSOSImagesURL generates an URL for the get a w s o s images operation
func (*GetAWSOSImagesURL) Build ¶
func (o *GetAWSOSImagesURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSOSImagesURL) BuildFull ¶
func (o *GetAWSOSImagesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSOSImagesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSOSImagesURL) SetBasePath ¶
func (o *GetAWSOSImagesURL) 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 (*GetAWSOSImagesURL) String ¶
func (o *GetAWSOSImagesURL) String() string
String returns the string representation of the path with query string
func (*GetAWSOSImagesURL) StringFull ¶
func (o *GetAWSOSImagesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSOSImagesURL) WithBasePath ¶
func (o *GetAWSOSImagesURL) WithBasePath(bp string) *GetAWSOSImagesURL
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 GetAWSOSImagesUnauthorized ¶
GetAWSOSImagesUnauthorized Incorrect credentials
swagger:response getAWSOSImagesUnauthorized
func NewGetAWSOSImagesUnauthorized ¶
func NewGetAWSOSImagesUnauthorized() *GetAWSOSImagesUnauthorized
NewGetAWSOSImagesUnauthorized creates GetAWSOSImagesUnauthorized with default headers values
func (*GetAWSOSImagesUnauthorized) SetPayload ¶
func (o *GetAWSOSImagesUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s o s images unauthorized response
func (*GetAWSOSImagesUnauthorized) WithPayload ¶
func (o *GetAWSOSImagesUnauthorized) WithPayload(payload *models.Error) *GetAWSOSImagesUnauthorized
WithPayload adds the payload to the get a w s o s images unauthorized response
func (*GetAWSOSImagesUnauthorized) WriteResponse ¶
func (o *GetAWSOSImagesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSRegions ¶
type GetAWSRegions struct { Context *middleware.Context Handler GetAWSRegionsHandler }
GetAWSRegions swagger:route GET /api/providers/aws/regions aws getAWSRegions
Retrieve AWS regions
func NewGetAWSRegions ¶
func NewGetAWSRegions(ctx *middleware.Context, handler GetAWSRegionsHandler) *GetAWSRegions
NewGetAWSRegions creates a new http.Handler for the get a w s regions operation
func (*GetAWSRegions) ServeHTTP ¶
func (o *GetAWSRegions) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSRegionsBadRequest ¶
type GetAWSRegionsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSRegionsBadRequest Bad request
swagger:response getAWSRegionsBadRequest
func NewGetAWSRegionsBadRequest ¶
func NewGetAWSRegionsBadRequest() *GetAWSRegionsBadRequest
NewGetAWSRegionsBadRequest creates GetAWSRegionsBadRequest with default headers values
func (*GetAWSRegionsBadRequest) SetPayload ¶
func (o *GetAWSRegionsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s regions bad request response
func (*GetAWSRegionsBadRequest) WithPayload ¶
func (o *GetAWSRegionsBadRequest) WithPayload(payload *models.Error) *GetAWSRegionsBadRequest
WithPayload adds the payload to the get a w s regions bad request response
func (*GetAWSRegionsBadRequest) WriteResponse ¶
func (o *GetAWSRegionsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSRegionsHandler ¶
type GetAWSRegionsHandler interface {
Handle(GetAWSRegionsParams) middleware.Responder
}
GetAWSRegionsHandler interface for that can handle valid get a w s regions params
type GetAWSRegionsHandlerFunc ¶
type GetAWSRegionsHandlerFunc func(GetAWSRegionsParams) middleware.Responder
GetAWSRegionsHandlerFunc turns a function with the right signature into a get a w s regions handler
func (GetAWSRegionsHandlerFunc) Handle ¶
func (fn GetAWSRegionsHandlerFunc) Handle(params GetAWSRegionsParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSRegionsInternalServerError ¶
type GetAWSRegionsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSRegionsInternalServerError Internal server error
swagger:response getAWSRegionsInternalServerError
func NewGetAWSRegionsInternalServerError ¶
func NewGetAWSRegionsInternalServerError() *GetAWSRegionsInternalServerError
NewGetAWSRegionsInternalServerError creates GetAWSRegionsInternalServerError with default headers values
func (*GetAWSRegionsInternalServerError) SetPayload ¶
func (o *GetAWSRegionsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s regions internal server error response
func (*GetAWSRegionsInternalServerError) WithPayload ¶
func (o *GetAWSRegionsInternalServerError) WithPayload(payload *models.Error) *GetAWSRegionsInternalServerError
WithPayload adds the payload to the get a w s regions internal server error response
func (*GetAWSRegionsInternalServerError) WriteResponse ¶
func (o *GetAWSRegionsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSRegionsOK ¶
type GetAWSRegionsOK struct { /* In: Body */ Payload []string `json:"body,omitempty"` }
GetAWSRegionsOK Successful retrieval of AWS regions
swagger:response getAWSRegionsOK
func NewGetAWSRegionsOK ¶
func NewGetAWSRegionsOK() *GetAWSRegionsOK
NewGetAWSRegionsOK creates GetAWSRegionsOK with default headers values
func (*GetAWSRegionsOK) SetPayload ¶
func (o *GetAWSRegionsOK) SetPayload(payload []string)
SetPayload sets the payload to the get a w s regions o k response
func (*GetAWSRegionsOK) WithPayload ¶
func (o *GetAWSRegionsOK) WithPayload(payload []string) *GetAWSRegionsOK
WithPayload adds the payload to the get a w s regions o k response
func (*GetAWSRegionsOK) WriteResponse ¶
func (o *GetAWSRegionsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSRegionsParams ¶
GetAWSRegionsParams contains all the bound params for the get a w s regions operation typically these are obtained from a http.Request
swagger:parameters getAWSRegions
func NewGetAWSRegionsParams ¶
func NewGetAWSRegionsParams() GetAWSRegionsParams
NewGetAWSRegionsParams creates a new GetAWSRegionsParams object no default values defined in spec.
func (*GetAWSRegionsParams) BindRequest ¶
func (o *GetAWSRegionsParams) 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 NewGetAWSRegionsParams() beforehand.
type GetAWSRegionsURL ¶
type GetAWSRegionsURL struct {
// contains filtered or unexported fields
}
GetAWSRegionsURL generates an URL for the get a w s regions operation
func (*GetAWSRegionsURL) Build ¶
func (o *GetAWSRegionsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSRegionsURL) BuildFull ¶
func (o *GetAWSRegionsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSRegionsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSRegionsURL) SetBasePath ¶
func (o *GetAWSRegionsURL) 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 (*GetAWSRegionsURL) String ¶
func (o *GetAWSRegionsURL) String() string
String returns the string representation of the path with query string
func (*GetAWSRegionsURL) StringFull ¶
func (o *GetAWSRegionsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSRegionsURL) WithBasePath ¶
func (o *GetAWSRegionsURL) WithBasePath(bp string) *GetAWSRegionsURL
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 GetAWSRegionsUnauthorized ¶
GetAWSRegionsUnauthorized Incorrect credentials
swagger:response getAWSRegionsUnauthorized
func NewGetAWSRegionsUnauthorized ¶
func NewGetAWSRegionsUnauthorized() *GetAWSRegionsUnauthorized
NewGetAWSRegionsUnauthorized creates GetAWSRegionsUnauthorized with default headers values
func (*GetAWSRegionsUnauthorized) SetPayload ¶
func (o *GetAWSRegionsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s regions unauthorized response
func (*GetAWSRegionsUnauthorized) WithPayload ¶
func (o *GetAWSRegionsUnauthorized) WithPayload(payload *models.Error) *GetAWSRegionsUnauthorized
WithPayload adds the payload to the get a w s regions unauthorized response
func (*GetAWSRegionsUnauthorized) WriteResponse ¶
func (o *GetAWSRegionsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSSubnets ¶
type GetAWSSubnets struct { Context *middleware.Context Handler GetAWSSubnetsHandler }
GetAWSSubnets swagger:route GET /api/providers/aws/subnets aws getAWSSubnets
Retrieve AWS Subnets info under a VPC
func NewGetAWSSubnets ¶
func NewGetAWSSubnets(ctx *middleware.Context, handler GetAWSSubnetsHandler) *GetAWSSubnets
NewGetAWSSubnets creates a new http.Handler for the get a w s subnets operation
func (*GetAWSSubnets) ServeHTTP ¶
func (o *GetAWSSubnets) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetAWSSubnetsBadRequest ¶
type GetAWSSubnetsBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSSubnetsBadRequest Bad request
swagger:response getAWSSubnetsBadRequest
func NewGetAWSSubnetsBadRequest ¶
func NewGetAWSSubnetsBadRequest() *GetAWSSubnetsBadRequest
NewGetAWSSubnetsBadRequest creates GetAWSSubnetsBadRequest with default headers values
func (*GetAWSSubnetsBadRequest) SetPayload ¶
func (o *GetAWSSubnetsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s subnets bad request response
func (*GetAWSSubnetsBadRequest) WithPayload ¶
func (o *GetAWSSubnetsBadRequest) WithPayload(payload *models.Error) *GetAWSSubnetsBadRequest
WithPayload adds the payload to the get a w s subnets bad request response
func (*GetAWSSubnetsBadRequest) WriteResponse ¶
func (o *GetAWSSubnetsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSSubnetsHandler ¶
type GetAWSSubnetsHandler interface {
Handle(GetAWSSubnetsParams) middleware.Responder
}
GetAWSSubnetsHandler interface for that can handle valid get a w s subnets params
type GetAWSSubnetsHandlerFunc ¶
type GetAWSSubnetsHandlerFunc func(GetAWSSubnetsParams) middleware.Responder
GetAWSSubnetsHandlerFunc turns a function with the right signature into a get a w s subnets handler
func (GetAWSSubnetsHandlerFunc) Handle ¶
func (fn GetAWSSubnetsHandlerFunc) Handle(params GetAWSSubnetsParams) middleware.Responder
Handle executing the request and returning a response
type GetAWSSubnetsInternalServerError ¶
type GetAWSSubnetsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetAWSSubnetsInternalServerError Internal server error
swagger:response getAWSSubnetsInternalServerError
func NewGetAWSSubnetsInternalServerError ¶
func NewGetAWSSubnetsInternalServerError() *GetAWSSubnetsInternalServerError
NewGetAWSSubnetsInternalServerError creates GetAWSSubnetsInternalServerError with default headers values
func (*GetAWSSubnetsInternalServerError) SetPayload ¶
func (o *GetAWSSubnetsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s subnets internal server error response
func (*GetAWSSubnetsInternalServerError) WithPayload ¶
func (o *GetAWSSubnetsInternalServerError) WithPayload(payload *models.Error) *GetAWSSubnetsInternalServerError
WithPayload adds the payload to the get a w s subnets internal server error response
func (*GetAWSSubnetsInternalServerError) WriteResponse ¶
func (o *GetAWSSubnetsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSSubnetsOK ¶
GetAWSSubnetsOK Successful retrieval of AWS subnets
swagger:response getAWSSubnetsOK
func NewGetAWSSubnetsOK ¶
func NewGetAWSSubnetsOK() *GetAWSSubnetsOK
NewGetAWSSubnetsOK creates GetAWSSubnetsOK with default headers values
func (*GetAWSSubnetsOK) SetPayload ¶
func (o *GetAWSSubnetsOK) SetPayload(payload []*models.AWSSubnet)
SetPayload sets the payload to the get a w s subnets o k response
func (*GetAWSSubnetsOK) WithPayload ¶
func (o *GetAWSSubnetsOK) WithPayload(payload []*models.AWSSubnet) *GetAWSSubnetsOK
WithPayload adds the payload to the get a w s subnets o k response
func (*GetAWSSubnetsOK) WriteResponse ¶
func (o *GetAWSSubnetsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetAWSSubnetsParams ¶
type GetAWSSubnetsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*VPC Id Required: true In: query */ VpcID string }
GetAWSSubnetsParams contains all the bound params for the get a w s subnets operation typically these are obtained from a http.Request
swagger:parameters getAWSSubnets
func NewGetAWSSubnetsParams ¶
func NewGetAWSSubnetsParams() GetAWSSubnetsParams
NewGetAWSSubnetsParams creates a new GetAWSSubnetsParams object no default values defined in spec.
func (*GetAWSSubnetsParams) BindRequest ¶
func (o *GetAWSSubnetsParams) 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 NewGetAWSSubnetsParams() beforehand.
type GetAWSSubnetsURL ¶
type GetAWSSubnetsURL struct { VpcID string // contains filtered or unexported fields }
GetAWSSubnetsURL generates an URL for the get a w s subnets operation
func (*GetAWSSubnetsURL) Build ¶
func (o *GetAWSSubnetsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetAWSSubnetsURL) BuildFull ¶
func (o *GetAWSSubnetsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetAWSSubnetsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetAWSSubnetsURL) SetBasePath ¶
func (o *GetAWSSubnetsURL) 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 (*GetAWSSubnetsURL) String ¶
func (o *GetAWSSubnetsURL) String() string
String returns the string representation of the path with query string
func (*GetAWSSubnetsURL) StringFull ¶
func (o *GetAWSSubnetsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetAWSSubnetsURL) WithBasePath ¶
func (o *GetAWSSubnetsURL) WithBasePath(bp string) *GetAWSSubnetsURL
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 GetAWSSubnetsUnauthorized ¶
GetAWSSubnetsUnauthorized Incorrect credentials
swagger:response getAWSSubnetsUnauthorized
func NewGetAWSSubnetsUnauthorized ¶
func NewGetAWSSubnetsUnauthorized() *GetAWSSubnetsUnauthorized
NewGetAWSSubnetsUnauthorized creates GetAWSSubnetsUnauthorized with default headers values
func (*GetAWSSubnetsUnauthorized) SetPayload ¶
func (o *GetAWSSubnetsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get a w s subnets unauthorized response
func (*GetAWSSubnetsUnauthorized) WithPayload ¶
func (o *GetAWSSubnetsUnauthorized) WithPayload(payload *models.Error) *GetAWSSubnetsUnauthorized
WithPayload adds the payload to the get a w s subnets unauthorized response
func (*GetAWSSubnetsUnauthorized) WriteResponse ¶
func (o *GetAWSSubnetsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVPCs ¶
type GetVPCs struct { Context *middleware.Context Handler GetVPCsHandler }
GetVPCs swagger:route GET /api/providers/aws/vpc aws getVPCs
Retrieve AWS VPCs
func NewGetVPCs ¶
func NewGetVPCs(ctx *middleware.Context, handler GetVPCsHandler) *GetVPCs
NewGetVPCs creates a new http.Handler for the get v p cs operation
type GetVPCsBadRequest ¶
GetVPCsBadRequest Bad request
swagger:response getVPCsBadRequest
func NewGetVPCsBadRequest ¶
func NewGetVPCsBadRequest() *GetVPCsBadRequest
NewGetVPCsBadRequest creates GetVPCsBadRequest with default headers values
func (*GetVPCsBadRequest) SetPayload ¶
func (o *GetVPCsBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v p cs bad request response
func (*GetVPCsBadRequest) WithPayload ¶
func (o *GetVPCsBadRequest) WithPayload(payload *models.Error) *GetVPCsBadRequest
WithPayload adds the payload to the get v p cs bad request response
func (*GetVPCsBadRequest) WriteResponse ¶
func (o *GetVPCsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVPCsHandler ¶
type GetVPCsHandler interface {
Handle(GetVPCsParams) middleware.Responder
}
GetVPCsHandler interface for that can handle valid get v p cs params
type GetVPCsHandlerFunc ¶
type GetVPCsHandlerFunc func(GetVPCsParams) middleware.Responder
GetVPCsHandlerFunc turns a function with the right signature into a get v p cs handler
func (GetVPCsHandlerFunc) Handle ¶
func (fn GetVPCsHandlerFunc) Handle(params GetVPCsParams) middleware.Responder
Handle executing the request and returning a response
type GetVPCsInternalServerError ¶
type GetVPCsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetVPCsInternalServerError Internal server error
swagger:response getVPCsInternalServerError
func NewGetVPCsInternalServerError ¶
func NewGetVPCsInternalServerError() *GetVPCsInternalServerError
NewGetVPCsInternalServerError creates GetVPCsInternalServerError with default headers values
func (*GetVPCsInternalServerError) SetPayload ¶
func (o *GetVPCsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v p cs internal server error response
func (*GetVPCsInternalServerError) WithPayload ¶
func (o *GetVPCsInternalServerError) WithPayload(payload *models.Error) *GetVPCsInternalServerError
WithPayload adds the payload to the get v p cs internal server error response
func (*GetVPCsInternalServerError) WriteResponse ¶
func (o *GetVPCsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVPCsOK ¶
GetVPCsOK Successful retrieval of AWS VPCs
swagger:response getVPCsOK
func NewGetVPCsOK ¶
func NewGetVPCsOK() *GetVPCsOK
NewGetVPCsOK creates GetVPCsOK with default headers values
func (*GetVPCsOK) SetPayload ¶
SetPayload sets the payload to the get v p cs o k response
func (*GetVPCsOK) WithPayload ¶
WithPayload adds the payload to the get v p cs o k response
func (*GetVPCsOK) WriteResponse ¶
func (o *GetVPCsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetVPCsParams ¶
GetVPCsParams contains all the bound params for the get v p cs operation typically these are obtained from a http.Request
swagger:parameters getVPCs
func NewGetVPCsParams ¶
func NewGetVPCsParams() GetVPCsParams
NewGetVPCsParams creates a new GetVPCsParams object no default values defined in spec.
func (*GetVPCsParams) BindRequest ¶
func (o *GetVPCsParams) 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 NewGetVPCsParams() beforehand.
type GetVPCsURL ¶
type GetVPCsURL struct {
// contains filtered or unexported fields
}
GetVPCsURL generates an URL for the get v p cs operation
func (*GetVPCsURL) Build ¶
func (o *GetVPCsURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetVPCsURL) BuildFull ¶
func (o *GetVPCsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetVPCsURL) SetBasePath ¶
func (o *GetVPCsURL) 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 (*GetVPCsURL) String ¶
func (o *GetVPCsURL) String() string
String returns the string representation of the path with query string
func (*GetVPCsURL) StringFull ¶
func (o *GetVPCsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetVPCsURL) WithBasePath ¶
func (o *GetVPCsURL) WithBasePath(bp string) *GetVPCsURL
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 GetVPCsUnauthorized ¶
GetVPCsUnauthorized Incorrect credentials
swagger:response getVPCsUnauthorized
func NewGetVPCsUnauthorized ¶
func NewGetVPCsUnauthorized() *GetVPCsUnauthorized
NewGetVPCsUnauthorized creates GetVPCsUnauthorized with default headers values
func (*GetVPCsUnauthorized) SetPayload ¶
func (o *GetVPCsUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get v p cs unauthorized response
func (*GetVPCsUnauthorized) WithPayload ¶
func (o *GetVPCsUnauthorized) WithPayload(payload *models.Error) *GetVPCsUnauthorized
WithPayload adds the payload to the get v p cs unauthorized response
func (*GetVPCsUnauthorized) WriteResponse ¶
func (o *GetVPCsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAWS ¶ added in v0.14.0
type ImportTKGConfigForAWS struct { Context *middleware.Context Handler ImportTKGConfigForAWSHandler }
ImportTKGConfigForAWS swagger:route POST /api/providers/aws/config/import aws importTKGConfigForAWS
Generate TKG configuration object for AWS
func NewImportTKGConfigForAWS ¶ added in v0.14.0
func NewImportTKGConfigForAWS(ctx *middleware.Context, handler ImportTKGConfigForAWSHandler) *ImportTKGConfigForAWS
NewImportTKGConfigForAWS creates a new http.Handler for the import t k g config for a w s operation
func (*ImportTKGConfigForAWS) ServeHTTP ¶ added in v0.14.0
func (o *ImportTKGConfigForAWS) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ImportTKGConfigForAWSBadRequest ¶ added in v0.14.0
type ImportTKGConfigForAWSBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForAWSBadRequest Bad request
swagger:response importTKGConfigForAWSBadRequest
func NewImportTKGConfigForAWSBadRequest ¶ added in v0.14.0
func NewImportTKGConfigForAWSBadRequest() *ImportTKGConfigForAWSBadRequest
NewImportTKGConfigForAWSBadRequest creates ImportTKGConfigForAWSBadRequest with default headers values
func (*ImportTKGConfigForAWSBadRequest) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for a w s bad request response
func (*ImportTKGConfigForAWSBadRequest) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSBadRequest) WithPayload(payload *models.Error) *ImportTKGConfigForAWSBadRequest
WithPayload adds the payload to the import t k g config for a w s bad request response
func (*ImportTKGConfigForAWSBadRequest) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAWSHandler ¶ added in v0.14.0
type ImportTKGConfigForAWSHandler interface {
Handle(ImportTKGConfigForAWSParams) middleware.Responder
}
ImportTKGConfigForAWSHandler interface for that can handle valid import t k g config for a w s params
type ImportTKGConfigForAWSHandlerFunc ¶ added in v0.14.0
type ImportTKGConfigForAWSHandlerFunc func(ImportTKGConfigForAWSParams) middleware.Responder
ImportTKGConfigForAWSHandlerFunc turns a function with the right signature into a import t k g config for a w s handler
func (ImportTKGConfigForAWSHandlerFunc) Handle ¶ added in v0.14.0
func (fn ImportTKGConfigForAWSHandlerFunc) Handle(params ImportTKGConfigForAWSParams) middleware.Responder
Handle executing the request and returning a response
type ImportTKGConfigForAWSInternalServerError ¶ added in v0.14.0
type ImportTKGConfigForAWSInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ImportTKGConfigForAWSInternalServerError Internal server error
swagger:response importTKGConfigForAWSInternalServerError
func NewImportTKGConfigForAWSInternalServerError ¶ added in v0.14.0
func NewImportTKGConfigForAWSInternalServerError() *ImportTKGConfigForAWSInternalServerError
NewImportTKGConfigForAWSInternalServerError creates ImportTKGConfigForAWSInternalServerError with default headers values
func (*ImportTKGConfigForAWSInternalServerError) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for a w s internal server error response
func (*ImportTKGConfigForAWSInternalServerError) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSInternalServerError) WithPayload(payload *models.Error) *ImportTKGConfigForAWSInternalServerError
WithPayload adds the payload to the import t k g config for a w s internal server error response
func (*ImportTKGConfigForAWSInternalServerError) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAWSOK ¶ added in v0.14.0
type ImportTKGConfigForAWSOK struct { /* In: Body */ Payload *models.AWSRegionalClusterParams `json:"body,omitempty"` }
ImportTKGConfigForAWSOK Generated TKG configuration successfully
swagger:response importTKGConfigForAWSOK
func NewImportTKGConfigForAWSOK ¶ added in v0.14.0
func NewImportTKGConfigForAWSOK() *ImportTKGConfigForAWSOK
NewImportTKGConfigForAWSOK creates ImportTKGConfigForAWSOK with default headers values
func (*ImportTKGConfigForAWSOK) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSOK) SetPayload(payload *models.AWSRegionalClusterParams)
SetPayload sets the payload to the import t k g config for a w s o k response
func (*ImportTKGConfigForAWSOK) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSOK) WithPayload(payload *models.AWSRegionalClusterParams) *ImportTKGConfigForAWSOK
WithPayload adds the payload to the import t k g config for a w s o k response
func (*ImportTKGConfigForAWSOK) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ImportTKGConfigForAWSParams ¶ added in v0.14.0
type ImportTKGConfigForAWSParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*config file from which to generate tkg configuration for aws Required: true In: body */ Params *models.ConfigFile }
ImportTKGConfigForAWSParams contains all the bound params for the import t k g config for a w s operation typically these are obtained from a http.Request
swagger:parameters importTKGConfigForAWS
func NewImportTKGConfigForAWSParams ¶ added in v0.14.0
func NewImportTKGConfigForAWSParams() ImportTKGConfigForAWSParams
NewImportTKGConfigForAWSParams creates a new ImportTKGConfigForAWSParams object no default values defined in spec.
func (*ImportTKGConfigForAWSParams) BindRequest ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSParams) 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 NewImportTKGConfigForAWSParams() beforehand.
type ImportTKGConfigForAWSURL ¶ added in v0.14.0
type ImportTKGConfigForAWSURL struct {
// contains filtered or unexported fields
}
ImportTKGConfigForAWSURL generates an URL for the import t k g config for a w s operation
func (*ImportTKGConfigForAWSURL) Build ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) Build() (*url.URL, error)
Build a url path and query string
func (*ImportTKGConfigForAWSURL) BuildFull ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ImportTKGConfigForAWSURL) Must ¶ added in v0.14.0
Must is a helper function to panic when the url builder returns an error
func (*ImportTKGConfigForAWSURL) SetBasePath ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) 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 (*ImportTKGConfigForAWSURL) String ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) String() string
String returns the string representation of the path with query string
func (*ImportTKGConfigForAWSURL) StringFull ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ImportTKGConfigForAWSURL) WithBasePath ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSURL) WithBasePath(bp string) *ImportTKGConfigForAWSURL
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 ImportTKGConfigForAWSUnauthorized ¶ added in v0.14.0
ImportTKGConfigForAWSUnauthorized Incorrect credentials
swagger:response importTKGConfigForAWSUnauthorized
func NewImportTKGConfigForAWSUnauthorized ¶ added in v0.14.0
func NewImportTKGConfigForAWSUnauthorized() *ImportTKGConfigForAWSUnauthorized
NewImportTKGConfigForAWSUnauthorized creates ImportTKGConfigForAWSUnauthorized with default headers values
func (*ImportTKGConfigForAWSUnauthorized) SetPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the import t k g config for a w s unauthorized response
func (*ImportTKGConfigForAWSUnauthorized) WithPayload ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSUnauthorized) WithPayload(payload *models.Error) *ImportTKGConfigForAWSUnauthorized
WithPayload adds the payload to the import t k g config for a w s unauthorized response
func (*ImportTKGConfigForAWSUnauthorized) WriteResponse ¶ added in v0.14.0
func (o *ImportTKGConfigForAWSUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAWSEndpoint ¶
type SetAWSEndpoint struct { Context *middleware.Context Handler SetAWSEndpointHandler }
SetAWSEndpoint swagger:route POST /api/providers/aws aws setAWSEndpoint
Validate and set aws credentials
func NewSetAWSEndpoint ¶
func NewSetAWSEndpoint(ctx *middleware.Context, handler SetAWSEndpointHandler) *SetAWSEndpoint
NewSetAWSEndpoint creates a new http.Handler for the set a w s endpoint operation
func (*SetAWSEndpoint) ServeHTTP ¶
func (o *SetAWSEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type SetAWSEndpointBadRequest ¶
type SetAWSEndpointBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetAWSEndpointBadRequest Bad request
swagger:response setAWSEndpointBadRequest
func NewSetAWSEndpointBadRequest ¶
func NewSetAWSEndpointBadRequest() *SetAWSEndpointBadRequest
NewSetAWSEndpointBadRequest creates SetAWSEndpointBadRequest with default headers values
func (*SetAWSEndpointBadRequest) SetPayload ¶
func (o *SetAWSEndpointBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the set a w s endpoint bad request response
func (*SetAWSEndpointBadRequest) WithPayload ¶
func (o *SetAWSEndpointBadRequest) WithPayload(payload *models.Error) *SetAWSEndpointBadRequest
WithPayload adds the payload to the set a w s endpoint bad request response
func (*SetAWSEndpointBadRequest) WriteResponse ¶
func (o *SetAWSEndpointBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAWSEndpointCreated ¶
type SetAWSEndpointCreated struct { }
SetAWSEndpointCreated Connection successful
swagger:response setAWSEndpointCreated
func NewSetAWSEndpointCreated ¶
func NewSetAWSEndpointCreated() *SetAWSEndpointCreated
NewSetAWSEndpointCreated creates SetAWSEndpointCreated with default headers values
func (*SetAWSEndpointCreated) WriteResponse ¶
func (o *SetAWSEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAWSEndpointHandler ¶
type SetAWSEndpointHandler interface {
Handle(SetAWSEndpointParams) middleware.Responder
}
SetAWSEndpointHandler interface for that can handle valid set a w s endpoint params
type SetAWSEndpointHandlerFunc ¶
type SetAWSEndpointHandlerFunc func(SetAWSEndpointParams) middleware.Responder
SetAWSEndpointHandlerFunc turns a function with the right signature into a set a w s endpoint handler
func (SetAWSEndpointHandlerFunc) Handle ¶
func (fn SetAWSEndpointHandlerFunc) Handle(params SetAWSEndpointParams) middleware.Responder
Handle executing the request and returning a response
type SetAWSEndpointInternalServerError ¶
type SetAWSEndpointInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
SetAWSEndpointInternalServerError Internal server error
swagger:response setAWSEndpointInternalServerError
func NewSetAWSEndpointInternalServerError ¶
func NewSetAWSEndpointInternalServerError() *SetAWSEndpointInternalServerError
NewSetAWSEndpointInternalServerError creates SetAWSEndpointInternalServerError with default headers values
func (*SetAWSEndpointInternalServerError) SetPayload ¶
func (o *SetAWSEndpointInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the set a w s endpoint internal server error response
func (*SetAWSEndpointInternalServerError) WithPayload ¶
func (o *SetAWSEndpointInternalServerError) WithPayload(payload *models.Error) *SetAWSEndpointInternalServerError
WithPayload adds the payload to the set a w s endpoint internal server error response
func (*SetAWSEndpointInternalServerError) WriteResponse ¶
func (o *SetAWSEndpointInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetAWSEndpointParams ¶
type SetAWSEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*AWS account parameters In: body */ AccountParams *models.AWSAccountParams }
SetAWSEndpointParams contains all the bound params for the set a w s endpoint operation typically these are obtained from a http.Request
swagger:parameters setAWSEndpoint
func NewSetAWSEndpointParams ¶
func NewSetAWSEndpointParams() SetAWSEndpointParams
NewSetAWSEndpointParams creates a new SetAWSEndpointParams object no default values defined in spec.
func (*SetAWSEndpointParams) BindRequest ¶
func (o *SetAWSEndpointParams) 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 NewSetAWSEndpointParams() beforehand.
type SetAWSEndpointURL ¶
type SetAWSEndpointURL struct {
// contains filtered or unexported fields
}
SetAWSEndpointURL generates an URL for the set a w s endpoint operation
func (*SetAWSEndpointURL) Build ¶
func (o *SetAWSEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetAWSEndpointURL) BuildFull ¶
func (o *SetAWSEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetAWSEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetAWSEndpointURL) SetBasePath ¶
func (o *SetAWSEndpointURL) 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 (*SetAWSEndpointURL) String ¶
func (o *SetAWSEndpointURL) String() string
String returns the string representation of the path with query string
func (*SetAWSEndpointURL) StringFull ¶
func (o *SetAWSEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetAWSEndpointURL) WithBasePath ¶
func (o *SetAWSEndpointURL) WithBasePath(bp string) *SetAWSEndpointURL
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 SetAWSEndpointUnauthorized ¶
SetAWSEndpointUnauthorized Incorrect credentials
swagger:response setAWSEndpointUnauthorized
func NewSetAWSEndpointUnauthorized ¶
func NewSetAWSEndpointUnauthorized() *SetAWSEndpointUnauthorized
NewSetAWSEndpointUnauthorized creates SetAWSEndpointUnauthorized with default headers values
func (*SetAWSEndpointUnauthorized) SetPayload ¶
func (o *SetAWSEndpointUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the set a w s endpoint unauthorized response
func (*SetAWSEndpointUnauthorized) WithPayload ¶
func (o *SetAWSEndpointUnauthorized) WithPayload(payload *models.Error) *SetAWSEndpointUnauthorized
WithPayload adds the payload to the set a w s endpoint unauthorized response
func (*SetAWSEndpointUnauthorized) WriteResponse ¶
func (o *SetAWSEndpointUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- apply_t_k_g_config_for_a_w_s.go
- apply_t_k_g_config_for_a_w_s_parameters.go
- apply_t_k_g_config_for_a_w_s_responses.go
- apply_t_k_g_config_for_a_w_s_urlbuilder.go
- create_a_w_s_regional_cluster.go
- create_a_w_s_regional_cluster_parameters.go
- create_a_w_s_regional_cluster_responses.go
- create_a_w_s_regional_cluster_urlbuilder.go
- export_t_k_g_config_for_a_w_s.go
- export_t_k_g_config_for_a_w_s_parameters.go
- export_t_k_g_config_for_a_w_s_responses.go
- export_t_k_g_config_for_a_w_s_urlbuilder.go
- get_a_w_s_availability_zones.go
- get_a_w_s_availability_zones_parameters.go
- get_a_w_s_availability_zones_responses.go
- get_a_w_s_availability_zones_urlbuilder.go
- get_a_w_s_credential_profiles.go
- get_a_w_s_credential_profiles_parameters.go
- get_a_w_s_credential_profiles_responses.go
- get_a_w_s_credential_profiles_urlbuilder.go
- get_a_w_s_node_types.go
- get_a_w_s_node_types_parameters.go
- get_a_w_s_node_types_responses.go
- get_a_w_s_node_types_urlbuilder.go
- get_a_w_s_o_s_images.go
- get_a_w_s_o_s_images_parameters.go
- get_a_w_s_o_s_images_responses.go
- get_a_w_s_o_s_images_urlbuilder.go
- get_a_w_s_regions.go
- get_a_w_s_regions_parameters.go
- get_a_w_s_regions_responses.go
- get_a_w_s_regions_urlbuilder.go
- get_a_w_s_subnets.go
- get_a_w_s_subnets_parameters.go
- get_a_w_s_subnets_responses.go
- get_a_w_s_subnets_urlbuilder.go
- get_v_p_cs.go
- get_v_p_cs_parameters.go
- get_v_p_cs_responses.go
- get_v_p_cs_urlbuilder.go
- import_t_k_g_config_for_a_w_s.go
- import_t_k_g_config_for_a_w_s_parameters.go
- import_t_k_g_config_for_a_w_s_responses.go
- import_t_k_g_config_for_a_w_s_urlbuilder.go
- set_a_w_s_endpoint.go
- set_a_w_s_endpoint_parameters.go
- set_a_w_s_endpoint_responses.go
- set_a_w_s_endpoint_urlbuilder.go