tmc

package
v0.5.0-dev Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for tmc API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new tmc API client.

func (*Client) RetrieveTMCInstallYml

func (a *Client) RetrieveTMCInstallYml(params *RetrieveTMCInstallYmlParams) (*RetrieveTMCInstallYmlOK, error)

RetrieveTMCInstallYml retrieves t m c install yml from provided URL

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type RetrieveTMCInstallYmlBadGateway

type RetrieveTMCInstallYmlBadGateway struct {
	Payload *models.Error
}

RetrieveTMCInstallYmlBadGateway handles this case with default header values.

Bad Gateway

func NewRetrieveTMCInstallYmlBadGateway

func NewRetrieveTMCInstallYmlBadGateway() *RetrieveTMCInstallYmlBadGateway

NewRetrieveTMCInstallYmlBadGateway creates a RetrieveTMCInstallYmlBadGateway with default headers values

func (*RetrieveTMCInstallYmlBadGateway) Error

func (*RetrieveTMCInstallYmlBadGateway) GetPayload

func (o *RetrieveTMCInstallYmlBadGateway) GetPayload() *models.Error

type RetrieveTMCInstallYmlBadRequest

type RetrieveTMCInstallYmlBadRequest struct {
	Payload *models.Error
}

RetrieveTMCInstallYmlBadRequest handles this case with default header values.

Bad request

func NewRetrieveTMCInstallYmlBadRequest

func NewRetrieveTMCInstallYmlBadRequest() *RetrieveTMCInstallYmlBadRequest

NewRetrieveTMCInstallYmlBadRequest creates a RetrieveTMCInstallYmlBadRequest with default headers values

func (*RetrieveTMCInstallYmlBadRequest) Error

func (*RetrieveTMCInstallYmlBadRequest) GetPayload

func (o *RetrieveTMCInstallYmlBadRequest) GetPayload() *models.Error

type RetrieveTMCInstallYmlInternalServerError

type RetrieveTMCInstallYmlInternalServerError struct {
	Payload *models.Error
}

RetrieveTMCInstallYmlInternalServerError handles this case with default header values.

Internal server error

func NewRetrieveTMCInstallYmlInternalServerError

func NewRetrieveTMCInstallYmlInternalServerError() *RetrieveTMCInstallYmlInternalServerError

NewRetrieveTMCInstallYmlInternalServerError creates a RetrieveTMCInstallYmlInternalServerError with default headers values

func (*RetrieveTMCInstallYmlInternalServerError) Error

func (*RetrieveTMCInstallYmlInternalServerError) GetPayload

type RetrieveTMCInstallYmlOK

type RetrieveTMCInstallYmlOK struct {
	Payload string
}

RetrieveTMCInstallYmlOK handles this case with default header values.

Successfully retrieved TMC install yml.

func NewRetrieveTMCInstallYmlOK

func NewRetrieveTMCInstallYmlOK() *RetrieveTMCInstallYmlOK

NewRetrieveTMCInstallYmlOK creates a RetrieveTMCInstallYmlOK with default headers values

func (*RetrieveTMCInstallYmlOK) Error

func (o *RetrieveTMCInstallYmlOK) Error() string

func (*RetrieveTMCInstallYmlOK) GetPayload

func (o *RetrieveTMCInstallYmlOK) GetPayload() string

type RetrieveTMCInstallYmlParams

type RetrieveTMCInstallYmlParams struct {

	/*URL
	  The URL to retrieve the TMC install yml from.

	*/
	URL string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RetrieveTMCInstallYmlParams contains all the parameters to send to the API endpoint for the retrieve t m c install yml operation typically these are written to a http.Request

func NewRetrieveTMCInstallYmlParams

func NewRetrieveTMCInstallYmlParams() *RetrieveTMCInstallYmlParams

NewRetrieveTMCInstallYmlParams creates a new RetrieveTMCInstallYmlParams object with the default values initialized.

func NewRetrieveTMCInstallYmlParamsWithContext

func NewRetrieveTMCInstallYmlParamsWithContext(ctx context.Context) *RetrieveTMCInstallYmlParams

NewRetrieveTMCInstallYmlParamsWithContext creates a new RetrieveTMCInstallYmlParams object with the default values initialized, and the ability to set a context for a request

func NewRetrieveTMCInstallYmlParamsWithHTTPClient

func NewRetrieveTMCInstallYmlParamsWithHTTPClient(client *http.Client) *RetrieveTMCInstallYmlParams

NewRetrieveTMCInstallYmlParamsWithHTTPClient creates a new RetrieveTMCInstallYmlParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRetrieveTMCInstallYmlParamsWithTimeout

func NewRetrieveTMCInstallYmlParamsWithTimeout(timeout time.Duration) *RetrieveTMCInstallYmlParams

NewRetrieveTMCInstallYmlParamsWithTimeout creates a new RetrieveTMCInstallYmlParams object with the default values initialized, and the ability to set a timeout on a request

func (*RetrieveTMCInstallYmlParams) SetContext

func (o *RetrieveTMCInstallYmlParams) SetContext(ctx context.Context)

SetContext adds the context to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) SetHTTPClient

func (o *RetrieveTMCInstallYmlParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) SetTimeout

func (o *RetrieveTMCInstallYmlParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) SetURL

func (o *RetrieveTMCInstallYmlParams) SetURL(url string)

SetURL adds the url to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) WithContext

WithContext adds the context to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) WithTimeout

WithTimeout adds the timeout to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) WithURL

WithURL adds the url to the retrieve t m c install yml params

func (*RetrieveTMCInstallYmlParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type RetrieveTMCInstallYmlReader

type RetrieveTMCInstallYmlReader struct {
	// contains filtered or unexported fields
}

RetrieveTMCInstallYmlReader is a Reader for the RetrieveTMCInstallYml structure.

func (*RetrieveTMCInstallYmlReader) ReadResponse

func (o *RetrieveTMCInstallYmlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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