Documentation ¶
Index ¶
- Constants
- type GetTanzuEdition
- type GetTanzuEditionBadRequest
- type GetTanzuEditionHandler
- type GetTanzuEditionHandlerFunc
- type GetTanzuEditionInternalServerError
- func (o *GetTanzuEditionInternalServerError) SetPayload(payload *models.Error)
- func (o *GetTanzuEditionInternalServerError) WithPayload(payload *models.Error) *GetTanzuEditionInternalServerError
- func (o *GetTanzuEditionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type GetTanzuEditionOK
- type GetTanzuEditionParams
- type GetTanzuEditionURL
- func (o *GetTanzuEditionURL) Build() (*url.URL, error)
- func (o *GetTanzuEditionURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetTanzuEditionURL) Must(u *url.URL, err error) *url.URL
- func (o *GetTanzuEditionURL) SetBasePath(bp string)
- func (o *GetTanzuEditionURL) String() string
- func (o *GetTanzuEditionURL) StringFull(scheme, host string) string
- func (o *GetTanzuEditionURL) WithBasePath(bp string) *GetTanzuEditionURL
- type GetTanzuEditionUnauthorized
Constants ¶
const GetTanzuEditionBadRequestCode int = 400
GetTanzuEditionBadRequestCode is the HTTP code returned for type GetTanzuEditionBadRequest
const GetTanzuEditionInternalServerErrorCode int = 500
GetTanzuEditionInternalServerErrorCode is the HTTP code returned for type GetTanzuEditionInternalServerError
const GetTanzuEditionOKCode int = 200
GetTanzuEditionOKCode is the HTTP code returned for type GetTanzuEditionOK
GetTanzuEditionUnauthorizedCode is the HTTP code returned for type GetTanzuEditionUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTanzuEdition ¶
type GetTanzuEdition struct { Context *middleware.Context Handler GetTanzuEditionHandler }
GetTanzuEdition swagger:route GET /api/edition edition getTanzuEdition
Retrieve Tanzu edition
func NewGetTanzuEdition ¶
func NewGetTanzuEdition(ctx *middleware.Context, handler GetTanzuEditionHandler) *GetTanzuEdition
NewGetTanzuEdition creates a new http.Handler for the get tanzu edition operation
func (*GetTanzuEdition) ServeHTTP ¶
func (o *GetTanzuEdition) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetTanzuEditionBadRequest ¶
type GetTanzuEditionBadRequest struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTanzuEditionBadRequest Bad Request
swagger:response getTanzuEditionBadRequest
func NewGetTanzuEditionBadRequest ¶
func NewGetTanzuEditionBadRequest() *GetTanzuEditionBadRequest
NewGetTanzuEditionBadRequest creates GetTanzuEditionBadRequest with default headers values
func (*GetTanzuEditionBadRequest) SetPayload ¶
func (o *GetTanzuEditionBadRequest) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tanzu edition bad request response
func (*GetTanzuEditionBadRequest) WithPayload ¶
func (o *GetTanzuEditionBadRequest) WithPayload(payload *models.Error) *GetTanzuEditionBadRequest
WithPayload adds the payload to the get tanzu edition bad request response
func (*GetTanzuEditionBadRequest) WriteResponse ¶
func (o *GetTanzuEditionBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTanzuEditionHandler ¶
type GetTanzuEditionHandler interface {
Handle(GetTanzuEditionParams) middleware.Responder
}
GetTanzuEditionHandler interface for that can handle valid get tanzu edition params
type GetTanzuEditionHandlerFunc ¶
type GetTanzuEditionHandlerFunc func(GetTanzuEditionParams) middleware.Responder
GetTanzuEditionHandlerFunc turns a function with the right signature into a get tanzu edition handler
func (GetTanzuEditionHandlerFunc) Handle ¶
func (fn GetTanzuEditionHandlerFunc) Handle(params GetTanzuEditionParams) middleware.Responder
Handle executing the request and returning a response
type GetTanzuEditionInternalServerError ¶
type GetTanzuEditionInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
GetTanzuEditionInternalServerError Internal server error
swagger:response getTanzuEditionInternalServerError
func NewGetTanzuEditionInternalServerError ¶
func NewGetTanzuEditionInternalServerError() *GetTanzuEditionInternalServerError
NewGetTanzuEditionInternalServerError creates GetTanzuEditionInternalServerError with default headers values
func (*GetTanzuEditionInternalServerError) SetPayload ¶
func (o *GetTanzuEditionInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tanzu edition internal server error response
func (*GetTanzuEditionInternalServerError) WithPayload ¶
func (o *GetTanzuEditionInternalServerError) WithPayload(payload *models.Error) *GetTanzuEditionInternalServerError
WithPayload adds the payload to the get tanzu edition internal server error response
func (*GetTanzuEditionInternalServerError) WriteResponse ¶
func (o *GetTanzuEditionInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTanzuEditionOK ¶
type GetTanzuEditionOK struct { /* In: Body */ Payload string `json:"body,omitempty"` }
GetTanzuEditionOK Successful retrieval of tanzu edition
swagger:response getTanzuEditionOK
func NewGetTanzuEditionOK ¶
func NewGetTanzuEditionOK() *GetTanzuEditionOK
NewGetTanzuEditionOK creates GetTanzuEditionOK with default headers values
func (*GetTanzuEditionOK) SetPayload ¶
func (o *GetTanzuEditionOK) SetPayload(payload string)
SetPayload sets the payload to the get tanzu edition o k response
func (*GetTanzuEditionOK) WithPayload ¶
func (o *GetTanzuEditionOK) WithPayload(payload string) *GetTanzuEditionOK
WithPayload adds the payload to the get tanzu edition o k response
func (*GetTanzuEditionOK) WriteResponse ¶
func (o *GetTanzuEditionOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetTanzuEditionParams ¶
GetTanzuEditionParams contains all the bound params for the get tanzu edition operation typically these are obtained from a http.Request
swagger:parameters getTanzuEdition
func NewGetTanzuEditionParams ¶
func NewGetTanzuEditionParams() GetTanzuEditionParams
NewGetTanzuEditionParams creates a new GetTanzuEditionParams object no default values defined in spec.
func (*GetTanzuEditionParams) BindRequest ¶
func (o *GetTanzuEditionParams) 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 NewGetTanzuEditionParams() beforehand.
type GetTanzuEditionURL ¶
type GetTanzuEditionURL struct {
// contains filtered or unexported fields
}
GetTanzuEditionURL generates an URL for the get tanzu edition operation
func (*GetTanzuEditionURL) Build ¶
func (o *GetTanzuEditionURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetTanzuEditionURL) BuildFull ¶
func (o *GetTanzuEditionURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetTanzuEditionURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetTanzuEditionURL) SetBasePath ¶
func (o *GetTanzuEditionURL) 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 (*GetTanzuEditionURL) String ¶
func (o *GetTanzuEditionURL) String() string
String returns the string representation of the path with query string
func (*GetTanzuEditionURL) StringFull ¶
func (o *GetTanzuEditionURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetTanzuEditionURL) WithBasePath ¶
func (o *GetTanzuEditionURL) WithBasePath(bp string) *GetTanzuEditionURL
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 GetTanzuEditionUnauthorized ¶
GetTanzuEditionUnauthorized Incorrect credentials
swagger:response getTanzuEditionUnauthorized
func NewGetTanzuEditionUnauthorized ¶
func NewGetTanzuEditionUnauthorized() *GetTanzuEditionUnauthorized
NewGetTanzuEditionUnauthorized creates GetTanzuEditionUnauthorized with default headers values
func (*GetTanzuEditionUnauthorized) SetPayload ¶
func (o *GetTanzuEditionUnauthorized) SetPayload(payload *models.Error)
SetPayload sets the payload to the get tanzu edition unauthorized response
func (*GetTanzuEditionUnauthorized) WithPayload ¶
func (o *GetTanzuEditionUnauthorized) WithPayload(payload *models.Error) *GetTanzuEditionUnauthorized
WithPayload adds the payload to the get tanzu edition unauthorized response
func (*GetTanzuEditionUnauthorized) WriteResponse ¶
func (o *GetTanzuEditionUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client