tmc

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RetrieveTMCInstallYmlBadGatewayCode int = 502

RetrieveTMCInstallYmlBadGatewayCode is the HTTP code returned for type RetrieveTMCInstallYmlBadGateway

View Source
const RetrieveTMCInstallYmlBadRequestCode int = 400

RetrieveTMCInstallYmlBadRequestCode is the HTTP code returned for type RetrieveTMCInstallYmlBadRequest

View Source
const RetrieveTMCInstallYmlInternalServerErrorCode int = 500

RetrieveTMCInstallYmlInternalServerErrorCode is the HTTP code returned for type RetrieveTMCInstallYmlInternalServerError

View Source
const RetrieveTMCInstallYmlOKCode int = 200

RetrieveTMCInstallYmlOKCode is the HTTP code returned for type RetrieveTMCInstallYmlOK

Variables

This section is empty.

Functions

This section is empty.

Types

type RetrieveTMCInstallYml

type RetrieveTMCInstallYml struct {
	Context *middleware.Context
	Handler RetrieveTMCInstallYmlHandler
}

RetrieveTMCInstallYml swagger:route GET /api/integration/tmc tmc retrieveTMCInstallYml

Retrieves TMC install yml from provided URL

func NewRetrieveTMCInstallYml

func NewRetrieveTMCInstallYml(ctx *middleware.Context, handler RetrieveTMCInstallYmlHandler) *RetrieveTMCInstallYml

NewRetrieveTMCInstallYml creates a new http.Handler for the retrieve t m c install yml operation

func (*RetrieveTMCInstallYml) ServeHTTP

func (o *RetrieveTMCInstallYml) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type RetrieveTMCInstallYmlBadGateway

type RetrieveTMCInstallYmlBadGateway struct {

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

RetrieveTMCInstallYmlBadGateway Bad Gateway

swagger:response retrieveTMCInstallYmlBadGateway

func NewRetrieveTMCInstallYmlBadGateway

func NewRetrieveTMCInstallYmlBadGateway() *RetrieveTMCInstallYmlBadGateway

NewRetrieveTMCInstallYmlBadGateway creates RetrieveTMCInstallYmlBadGateway with default headers values

func (*RetrieveTMCInstallYmlBadGateway) SetPayload

func (o *RetrieveTMCInstallYmlBadGateway) SetPayload(payload *models.Error)

SetPayload sets the payload to the retrieve t m c install yml bad gateway response

func (*RetrieveTMCInstallYmlBadGateway) WithPayload

WithPayload adds the payload to the retrieve t m c install yml bad gateway response

func (*RetrieveTMCInstallYmlBadGateway) WriteResponse

func (o *RetrieveTMCInstallYmlBadGateway) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveTMCInstallYmlBadRequest

type RetrieveTMCInstallYmlBadRequest struct {

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

RetrieveTMCInstallYmlBadRequest Bad request

swagger:response retrieveTMCInstallYmlBadRequest

func NewRetrieveTMCInstallYmlBadRequest

func NewRetrieveTMCInstallYmlBadRequest() *RetrieveTMCInstallYmlBadRequest

NewRetrieveTMCInstallYmlBadRequest creates RetrieveTMCInstallYmlBadRequest with default headers values

func (*RetrieveTMCInstallYmlBadRequest) SetPayload

func (o *RetrieveTMCInstallYmlBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the retrieve t m c install yml bad request response

func (*RetrieveTMCInstallYmlBadRequest) WithPayload

WithPayload adds the payload to the retrieve t m c install yml bad request response

func (*RetrieveTMCInstallYmlBadRequest) WriteResponse

func (o *RetrieveTMCInstallYmlBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveTMCInstallYmlHandler

type RetrieveTMCInstallYmlHandler interface {
	Handle(RetrieveTMCInstallYmlParams) middleware.Responder
}

RetrieveTMCInstallYmlHandler interface for that can handle valid retrieve t m c install yml params

type RetrieveTMCInstallYmlHandlerFunc

type RetrieveTMCInstallYmlHandlerFunc func(RetrieveTMCInstallYmlParams) middleware.Responder

RetrieveTMCInstallYmlHandlerFunc turns a function with the right signature into a retrieve t m c install yml handler

func (RetrieveTMCInstallYmlHandlerFunc) Handle

Handle executing the request and returning a response

type RetrieveTMCInstallYmlInternalServerError

type RetrieveTMCInstallYmlInternalServerError struct {

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

RetrieveTMCInstallYmlInternalServerError Internal server error

swagger:response retrieveTMCInstallYmlInternalServerError

func NewRetrieveTMCInstallYmlInternalServerError

func NewRetrieveTMCInstallYmlInternalServerError() *RetrieveTMCInstallYmlInternalServerError

NewRetrieveTMCInstallYmlInternalServerError creates RetrieveTMCInstallYmlInternalServerError with default headers values

func (*RetrieveTMCInstallYmlInternalServerError) SetPayload

func (o *RetrieveTMCInstallYmlInternalServerError) SetPayload(payload *models.Error)

SetPayload sets the payload to the retrieve t m c install yml internal server error response

func (*RetrieveTMCInstallYmlInternalServerError) WithPayload

WithPayload adds the payload to the retrieve t m c install yml internal server error response

func (*RetrieveTMCInstallYmlInternalServerError) WriteResponse

WriteResponse to the client

type RetrieveTMCInstallYmlOK

type RetrieveTMCInstallYmlOK struct {

	/*
	  In: Body
	*/
	Payload string `json:"body,omitempty"`
}

RetrieveTMCInstallYmlOK Successfully retrieved TMC install yml.

swagger:response retrieveTMCInstallYmlOK

func NewRetrieveTMCInstallYmlOK

func NewRetrieveTMCInstallYmlOK() *RetrieveTMCInstallYmlOK

NewRetrieveTMCInstallYmlOK creates RetrieveTMCInstallYmlOK with default headers values

func (*RetrieveTMCInstallYmlOK) SetPayload

func (o *RetrieveTMCInstallYmlOK) SetPayload(payload string)

SetPayload sets the payload to the retrieve t m c install yml o k response

func (*RetrieveTMCInstallYmlOK) WithPayload

func (o *RetrieveTMCInstallYmlOK) WithPayload(payload string) *RetrieveTMCInstallYmlOK

WithPayload adds the payload to the retrieve t m c install yml o k response

func (*RetrieveTMCInstallYmlOK) WriteResponse

func (o *RetrieveTMCInstallYmlOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type RetrieveTMCInstallYmlParams

type RetrieveTMCInstallYmlParams struct {

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

	/*The URL to retrieve the TMC install yml from.
	  Required: true
	  In: query
	*/
	URL string
}

RetrieveTMCInstallYmlParams contains all the bound params for the retrieve t m c install yml operation typically these are obtained from a http.Request

swagger:parameters retrieveTMCInstallYml

func NewRetrieveTMCInstallYmlParams

func NewRetrieveTMCInstallYmlParams() RetrieveTMCInstallYmlParams

NewRetrieveTMCInstallYmlParams creates a new RetrieveTMCInstallYmlParams object no default values defined in spec.

func (*RetrieveTMCInstallYmlParams) BindRequest

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 NewRetrieveTMCInstallYmlParams() beforehand.

type RetrieveTMCInstallYmlURL

type RetrieveTMCInstallYmlURL struct {
	URL string
	// contains filtered or unexported fields
}

RetrieveTMCInstallYmlURL generates an URL for the retrieve t m c install yml operation

func (*RetrieveTMCInstallYmlURL) Build

func (o *RetrieveTMCInstallYmlURL) Build() (*url.URL, error)

Build a url path and query string

func (*RetrieveTMCInstallYmlURL) BuildFull

func (o *RetrieveTMCInstallYmlURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*RetrieveTMCInstallYmlURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*RetrieveTMCInstallYmlURL) SetBasePath

func (o *RetrieveTMCInstallYmlURL) 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 (*RetrieveTMCInstallYmlURL) String

func (o *RetrieveTMCInstallYmlURL) String() string

String returns the string representation of the path with query string

func (*RetrieveTMCInstallYmlURL) StringFull

func (o *RetrieveTMCInstallYmlURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*RetrieveTMCInstallYmlURL) WithBasePath

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

Jump to

Keyboard shortcuts

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