edition

package
v0.0.0-...-b25b198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GetTanzuEditionBadRequestCode int = 400

GetTanzuEditionBadRequestCode is the HTTP code returned for type GetTanzuEditionBadRequest

View Source
const GetTanzuEditionInternalServerErrorCode int = 500

GetTanzuEditionInternalServerErrorCode is the HTTP code returned for type GetTanzuEditionInternalServerError

View Source
const GetTanzuEditionOKCode int = 200

GetTanzuEditionOKCode is the HTTP code returned for type GetTanzuEditionOK

View Source
const GetTanzuEditionUnauthorizedCode int = 401

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

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

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

WithPayload adds the payload to the get tanzu edition internal server error response

func (*GetTanzuEditionInternalServerError) WriteResponse

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

type GetTanzuEditionParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

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

func (o *GetTanzuEditionURL) Must(u *url.URL, err error) *url.URL

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

type GetTanzuEditionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL