Documentation ¶
Index ¶
- type Client
- type GetTanzuEditionBadRequest
- type GetTanzuEditionInternalServerError
- type GetTanzuEditionOK
- type GetTanzuEditionParams
- func NewGetTanzuEditionParams() *GetTanzuEditionParams
- func NewGetTanzuEditionParamsWithContext(ctx context.Context) *GetTanzuEditionParams
- func NewGetTanzuEditionParamsWithHTTPClient(client *http.Client) *GetTanzuEditionParams
- func NewGetTanzuEditionParamsWithTimeout(timeout time.Duration) *GetTanzuEditionParams
- func (o *GetTanzuEditionParams) SetContext(ctx context.Context)
- func (o *GetTanzuEditionParams) SetHTTPClient(client *http.Client)
- func (o *GetTanzuEditionParams) SetTimeout(timeout time.Duration)
- func (o *GetTanzuEditionParams) WithContext(ctx context.Context) *GetTanzuEditionParams
- func (o *GetTanzuEditionParams) WithHTTPClient(client *http.Client) *GetTanzuEditionParams
- func (o *GetTanzuEditionParams) WithTimeout(timeout time.Duration) *GetTanzuEditionParams
- func (o *GetTanzuEditionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTanzuEditionReader
- type GetTanzuEditionUnauthorized
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 ¶
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 ¶
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 (o *GetTanzuEditionInternalServerError) Error() string
func (*GetTanzuEditionInternalServerError) GetPayload ¶
func (o *GetTanzuEditionInternalServerError) GetPayload() *models.Error
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 ¶
func (o *GetTanzuEditionParams) WithContext(ctx context.Context) *GetTanzuEditionParams
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 {
}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 (o *GetTanzuEditionUnauthorized) Error() string
func (*GetTanzuEditionUnauthorized) GetPayload ¶
func (o *GetTanzuEditionUnauthorized) GetPayload() *models.Error