hardware_platforms

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 hardware platforms API

func (*Client) ServiceBrokerHardwareplatformsGet

func (a *Client) ServiceBrokerHardwareplatformsGet(params *ServiceBrokerHardwareplatformsGetParams, opts ...ClientOption) (*ServiceBrokerHardwareplatformsGetOK, error)

ServiceBrokerHardwareplatformsGet availables hardware statistics and limits

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v1.1.0

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v1.1.0

type ClientService interface {
	ServiceBrokerHardwareplatformsGet(params *ServiceBrokerHardwareplatformsGetParams, opts ...ClientOption) (*ServiceBrokerHardwareplatformsGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new hardware platforms API client.

type ServiceBrokerHardwareplatformsGetInternalServerError

type ServiceBrokerHardwareplatformsGetInternalServerError struct {
	Payload *models.Error
}

ServiceBrokerHardwareplatformsGetInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewServiceBrokerHardwareplatformsGetInternalServerError

func NewServiceBrokerHardwareplatformsGetInternalServerError() *ServiceBrokerHardwareplatformsGetInternalServerError

NewServiceBrokerHardwareplatformsGetInternalServerError creates a ServiceBrokerHardwareplatformsGetInternalServerError with default headers values

func (*ServiceBrokerHardwareplatformsGetInternalServerError) Code added in v1.2.4

Code gets the status code for the service broker hardwareplatforms get internal server error response

func (*ServiceBrokerHardwareplatformsGetInternalServerError) Error

func (*ServiceBrokerHardwareplatformsGetInternalServerError) GetPayload added in v1.1.0

func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsClientError added in v1.2.2

IsClientError returns true when this service broker hardwareplatforms get internal server error response has a 4xx status code

func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsCode added in v1.2.2

IsCode returns true when this service broker hardwareplatforms get internal server error response a status code equal to that given

func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsRedirect added in v1.2.2

IsRedirect returns true when this service broker hardwareplatforms get internal server error response has a 3xx status code

func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsServerError added in v1.2.2

IsServerError returns true when this service broker hardwareplatforms get internal server error response has a 5xx status code

func (*ServiceBrokerHardwareplatformsGetInternalServerError) IsSuccess added in v1.2.2

IsSuccess returns true when this service broker hardwareplatforms get internal server error response has a 2xx status code

func (*ServiceBrokerHardwareplatformsGetInternalServerError) String added in v1.2.2

type ServiceBrokerHardwareplatformsGetOK

type ServiceBrokerHardwareplatformsGetOK struct {
	Payload models.HardwarePlatforms
}

ServiceBrokerHardwareplatformsGetOK describes a response with status code 200, with default header values.

OK

func NewServiceBrokerHardwareplatformsGetOK

func NewServiceBrokerHardwareplatformsGetOK() *ServiceBrokerHardwareplatformsGetOK

NewServiceBrokerHardwareplatformsGetOK creates a ServiceBrokerHardwareplatformsGetOK with default headers values

func (*ServiceBrokerHardwareplatformsGetOK) Code added in v1.2.4

Code gets the status code for the service broker hardwareplatforms get o k response

func (*ServiceBrokerHardwareplatformsGetOK) Error

func (*ServiceBrokerHardwareplatformsGetOK) GetPayload added in v1.1.0

func (*ServiceBrokerHardwareplatformsGetOK) IsClientError added in v1.2.2

func (o *ServiceBrokerHardwareplatformsGetOK) IsClientError() bool

IsClientError returns true when this service broker hardwareplatforms get o k response has a 4xx status code

func (*ServiceBrokerHardwareplatformsGetOK) IsCode added in v1.2.2

IsCode returns true when this service broker hardwareplatforms get o k response a status code equal to that given

func (*ServiceBrokerHardwareplatformsGetOK) IsRedirect added in v1.2.2

func (o *ServiceBrokerHardwareplatformsGetOK) IsRedirect() bool

IsRedirect returns true when this service broker hardwareplatforms get o k response has a 3xx status code

func (*ServiceBrokerHardwareplatformsGetOK) IsServerError added in v1.2.2

func (o *ServiceBrokerHardwareplatformsGetOK) IsServerError() bool

IsServerError returns true when this service broker hardwareplatforms get o k response has a 5xx status code

func (*ServiceBrokerHardwareplatformsGetOK) IsSuccess added in v1.2.2

IsSuccess returns true when this service broker hardwareplatforms get o k response has a 2xx status code

func (*ServiceBrokerHardwareplatformsGetOK) String added in v1.2.2

type ServiceBrokerHardwareplatformsGetParams

type ServiceBrokerHardwareplatformsGetParams struct {

	/* RegionZone.

	   The region zone of the cloud instance
	*/
	RegionZone *string

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

ServiceBrokerHardwareplatformsGetParams contains all the parameters to send to the API endpoint

for the service broker hardwareplatforms get operation.

Typically these are written to a http.Request.

func NewServiceBrokerHardwareplatformsGetParams

func NewServiceBrokerHardwareplatformsGetParams() *ServiceBrokerHardwareplatformsGetParams

NewServiceBrokerHardwareplatformsGetParams creates a new ServiceBrokerHardwareplatformsGetParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewServiceBrokerHardwareplatformsGetParamsWithContext

func NewServiceBrokerHardwareplatformsGetParamsWithContext(ctx context.Context) *ServiceBrokerHardwareplatformsGetParams

NewServiceBrokerHardwareplatformsGetParamsWithContext creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a context for a request.

func NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient

func NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient(client *http.Client) *ServiceBrokerHardwareplatformsGetParams

NewServiceBrokerHardwareplatformsGetParamsWithHTTPClient creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a custom HTTPClient for a request.

func NewServiceBrokerHardwareplatformsGetParamsWithTimeout

func NewServiceBrokerHardwareplatformsGetParamsWithTimeout(timeout time.Duration) *ServiceBrokerHardwareplatformsGetParams

NewServiceBrokerHardwareplatformsGetParamsWithTimeout creates a new ServiceBrokerHardwareplatformsGetParams object with the ability to set a timeout on a request.

func (*ServiceBrokerHardwareplatformsGetParams) SetContext

SetContext adds the context to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) SetDefaults added in v1.1.0

func (o *ServiceBrokerHardwareplatformsGetParams) SetDefaults()

SetDefaults hydrates default values in the service broker hardwareplatforms get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerHardwareplatformsGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) SetRegionZone

func (o *ServiceBrokerHardwareplatformsGetParams) SetRegionZone(regionZone *string)

SetRegionZone adds the regionZone to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) SetTimeout

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

SetTimeout adds the timeout to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) WithContext

WithContext adds the context to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) WithDefaults added in v1.1.0

WithDefaults hydrates default values in the service broker hardwareplatforms get params (not the query body).

All values with no default are reset to their zero value.

func (*ServiceBrokerHardwareplatformsGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) WithRegionZone

WithRegionZone adds the regionZone to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) WithTimeout

WithTimeout adds the timeout to the service broker hardwareplatforms get params

func (*ServiceBrokerHardwareplatformsGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ServiceBrokerHardwareplatformsGetReader

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

ServiceBrokerHardwareplatformsGetReader is a Reader for the ServiceBrokerHardwareplatformsGet structure.

func (*ServiceBrokerHardwareplatformsGetReader) ReadResponse

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