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: 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 edition API

func New

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

New creates a new edition API client.

func (*Client) GetTanzuEdition

func (a *Client) GetTanzuEdition(params *GetTanzuEditionParams) (*GetTanzuEditionOK, error)

GetTanzuEdition retrieves tanzu edition

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetTanzuEditionBadRequest

type GetTanzuEditionBadRequest struct {
	Payload *models.Error
}

GetTanzuEditionBadRequest handles this case with default header values.

Bad Request

func NewGetTanzuEditionBadRequest

func NewGetTanzuEditionBadRequest() *GetTanzuEditionBadRequest

NewGetTanzuEditionBadRequest creates a GetTanzuEditionBadRequest with default headers values

func (*GetTanzuEditionBadRequest) Error

func (o *GetTanzuEditionBadRequest) Error() string

func (*GetTanzuEditionBadRequest) GetPayload

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

type GetTanzuEditionInternalServerError

type GetTanzuEditionInternalServerError struct {
	Payload *models.Error
}

GetTanzuEditionInternalServerError handles this case with default header values.

Internal server error

func NewGetTanzuEditionInternalServerError

func NewGetTanzuEditionInternalServerError() *GetTanzuEditionInternalServerError

NewGetTanzuEditionInternalServerError creates a GetTanzuEditionInternalServerError with default headers values

func (*GetTanzuEditionInternalServerError) Error

func (*GetTanzuEditionInternalServerError) GetPayload

type GetTanzuEditionOK

type GetTanzuEditionOK struct {
	Payload string
}

GetTanzuEditionOK handles this case with default header values.

Successful retrieval of tanzu edition

func NewGetTanzuEditionOK

func NewGetTanzuEditionOK() *GetTanzuEditionOK

NewGetTanzuEditionOK creates a GetTanzuEditionOK with default headers values

func (*GetTanzuEditionOK) Error

func (o *GetTanzuEditionOK) Error() string

func (*GetTanzuEditionOK) GetPayload

func (o *GetTanzuEditionOK) GetPayload() string

type GetTanzuEditionParams

type GetTanzuEditionParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetTanzuEditionParams contains all the parameters to send to the API endpoint for the get tanzu edition operation typically these are written to a http.Request

func NewGetTanzuEditionParams

func NewGetTanzuEditionParams() *GetTanzuEditionParams

NewGetTanzuEditionParams creates a new GetTanzuEditionParams object with the default values initialized.

func NewGetTanzuEditionParamsWithContext

func NewGetTanzuEditionParamsWithContext(ctx context.Context) *GetTanzuEditionParams

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

func NewGetTanzuEditionParamsWithHTTPClient

func NewGetTanzuEditionParamsWithHTTPClient(client *http.Client) *GetTanzuEditionParams

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

func NewGetTanzuEditionParamsWithTimeout

func NewGetTanzuEditionParamsWithTimeout(timeout time.Duration) *GetTanzuEditionParams

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

func (*GetTanzuEditionParams) SetContext

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

SetContext adds the context to the get tanzu edition params

func (*GetTanzuEditionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get tanzu edition params

func (*GetTanzuEditionParams) SetTimeout

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

SetTimeout adds the timeout to the get tanzu edition params

func (*GetTanzuEditionParams) WithContext

WithContext adds the context to the get tanzu edition params

func (*GetTanzuEditionParams) WithHTTPClient

func (o *GetTanzuEditionParams) WithHTTPClient(client *http.Client) *GetTanzuEditionParams

WithHTTPClient adds the HTTPClient to the get tanzu edition params

func (*GetTanzuEditionParams) WithTimeout

func (o *GetTanzuEditionParams) WithTimeout(timeout time.Duration) *GetTanzuEditionParams

WithTimeout adds the timeout to the get tanzu edition params

func (*GetTanzuEditionParams) WriteToRequest

func (o *GetTanzuEditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetTanzuEditionReader

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

GetTanzuEditionReader is a Reader for the GetTanzuEdition structure.

func (*GetTanzuEditionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetTanzuEditionUnauthorized

type GetTanzuEditionUnauthorized struct {
	Payload *models.Error
}

GetTanzuEditionUnauthorized handles this case with default header values.

Incorrect credentials

func NewGetTanzuEditionUnauthorized

func NewGetTanzuEditionUnauthorized() *GetTanzuEditionUnauthorized

NewGetTanzuEditionUnauthorized creates a GetTanzuEditionUnauthorized with default headers values

func (*GetTanzuEditionUnauthorized) Error

func (*GetTanzuEditionUnauthorized) GetPayload

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

Jump to

Keyboard shortcuts

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