about

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 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 about API

func (*Client) GetAboutPage

func (a *Client) GetAboutPage(params *GetAboutPageParams, opts ...ClientOption) (*GetAboutPageOK, error)
GetAboutPage gets about page

The page contains information about the supported API versions and the latest API version. The version parameter is optional but highly recommended.

If you do not specify explicitly an exact version, you will be calling the latest supported API version. Here is an example of a call which specifies the exact version you are using: `GET /iaas/api/network-profiles?apiVersion=2019-01-15`

func (*Client) GetAboutUsingGET added in v0.2.8

func (a *Client) GetAboutUsingGET(params *GetAboutUsingGETParams, opts ...ClientOption) (*GetAboutUsingGETOK, error)
GetAboutUsingGET returns content API information

The page contains information about the supported API versions and the latest API version. The version parameter is optional but highly recommended.

If you do not specify explicitly an exact version, you will be calling the latest supported API version. Here is an example of a call which specifies the exact version you are using: GET /content/api/sources?apiVersion=2019-01-15

func (*Client) GetAboutUsingGET1 added in v0.2.0

func (a *Client) GetAboutUsingGET1(params *GetAboutUsingGET1Params, opts ...ClientOption) (*GetAboutUsingGET1OK, error)
GetAboutUsingGET1 returns blueprint API information

The page contains information about the supported API versions and the latest API version. The version parameter is optional but highly recommended.

If you do not specify explicitly an exact version, you will be calling the latest supported API version. Here is an example of a call which specifies the exact version you are using: GET /blueprint/api/blueprints?apiVersion=2019-09-12

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption added in v0.2.20

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService added in v0.2.18

type ClientService interface {
	GetAboutPage(params *GetAboutPageParams, opts ...ClientOption) (*GetAboutPageOK, error)

	GetAboutUsingGET(params *GetAboutUsingGETParams, opts ...ClientOption) (*GetAboutUsingGETOK, error)

	GetAboutUsingGET1(params *GetAboutUsingGET1Params, opts ...ClientOption) (*GetAboutUsingGET1OK, 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 about API client.

type GetAboutPageForbidden

type GetAboutPageForbidden struct {
	Payload *models.ServiceErrorResponse
}
GetAboutPageForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetAboutPageForbidden

func NewGetAboutPageForbidden() *GetAboutPageForbidden

NewGetAboutPageForbidden creates a GetAboutPageForbidden with default headers values

func (*GetAboutPageForbidden) Error

func (o *GetAboutPageForbidden) Error() string

func (*GetAboutPageForbidden) GetPayload added in v0.2.20

type GetAboutPageOK

type GetAboutPageOK struct {
	Payload *models.IaaSAbout
}
GetAboutPageOK describes a response with status code 200, with default header values.

successful operation

func NewGetAboutPageOK

func NewGetAboutPageOK() *GetAboutPageOK

NewGetAboutPageOK creates a GetAboutPageOK with default headers values

func (*GetAboutPageOK) Error

func (o *GetAboutPageOK) Error() string

func (*GetAboutPageOK) GetPayload

func (o *GetAboutPageOK) GetPayload() *models.IaaSAbout

type GetAboutPageParams

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

GetAboutPageParams contains all the parameters to send to the API endpoint

for the get about page operation.

Typically these are written to a http.Request.

func NewGetAboutPageParams

func NewGetAboutPageParams() *GetAboutPageParams

NewGetAboutPageParams creates a new GetAboutPageParams 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 NewGetAboutPageParamsWithContext

func NewGetAboutPageParamsWithContext(ctx context.Context) *GetAboutPageParams

NewGetAboutPageParamsWithContext creates a new GetAboutPageParams object with the ability to set a context for a request.

func NewGetAboutPageParamsWithHTTPClient

func NewGetAboutPageParamsWithHTTPClient(client *http.Client) *GetAboutPageParams

NewGetAboutPageParamsWithHTTPClient creates a new GetAboutPageParams object with the ability to set a custom HTTPClient for a request.

func NewGetAboutPageParamsWithTimeout

func NewGetAboutPageParamsWithTimeout(timeout time.Duration) *GetAboutPageParams

NewGetAboutPageParamsWithTimeout creates a new GetAboutPageParams object with the ability to set a timeout on a request.

func (*GetAboutPageParams) SetContext

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

SetContext adds the context to the get about page params

func (*GetAboutPageParams) SetDefaults added in v0.2.20

func (o *GetAboutPageParams) SetDefaults()

SetDefaults hydrates default values in the get about page params (not the query body).

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

func (*GetAboutPageParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get about page params

func (*GetAboutPageParams) SetTimeout

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

SetTimeout adds the timeout to the get about page params

func (*GetAboutPageParams) WithContext

WithContext adds the context to the get about page params

func (*GetAboutPageParams) WithDefaults added in v0.2.20

func (o *GetAboutPageParams) WithDefaults() *GetAboutPageParams

WithDefaults hydrates default values in the get about page params (not the query body).

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

func (*GetAboutPageParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get about page params

func (*GetAboutPageParams) WithTimeout

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

WithTimeout adds the timeout to the get about page params

func (*GetAboutPageParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAboutPageReader

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

GetAboutPageReader is a Reader for the GetAboutPage structure.

func (*GetAboutPageReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAboutUsingGET1OK added in v0.2.0

type GetAboutUsingGET1OK struct {
	Payload *models.BlueprintAbout
}
GetAboutUsingGET1OK describes a response with status code 200, with default header values.

OK

func NewGetAboutUsingGET1OK added in v0.2.0

func NewGetAboutUsingGET1OK() *GetAboutUsingGET1OK

NewGetAboutUsingGET1OK creates a GetAboutUsingGET1OK with default headers values

func (*GetAboutUsingGET1OK) Error added in v0.2.0

func (o *GetAboutUsingGET1OK) Error() string

func (*GetAboutUsingGET1OK) GetPayload added in v0.2.0

func (o *GetAboutUsingGET1OK) GetPayload() *models.BlueprintAbout

type GetAboutUsingGET1Params added in v0.2.0

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

GetAboutUsingGET1Params contains all the parameters to send to the API endpoint

for the get about using get1 operation.

Typically these are written to a http.Request.

func NewGetAboutUsingGET1Params added in v0.2.0

func NewGetAboutUsingGET1Params() *GetAboutUsingGET1Params

NewGetAboutUsingGET1Params creates a new GetAboutUsingGET1Params 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 NewGetAboutUsingGET1ParamsWithContext added in v0.2.0

func NewGetAboutUsingGET1ParamsWithContext(ctx context.Context) *GetAboutUsingGET1Params

NewGetAboutUsingGET1ParamsWithContext creates a new GetAboutUsingGET1Params object with the ability to set a context for a request.

func NewGetAboutUsingGET1ParamsWithHTTPClient added in v0.2.0

func NewGetAboutUsingGET1ParamsWithHTTPClient(client *http.Client) *GetAboutUsingGET1Params

NewGetAboutUsingGET1ParamsWithHTTPClient creates a new GetAboutUsingGET1Params object with the ability to set a custom HTTPClient for a request.

func NewGetAboutUsingGET1ParamsWithTimeout added in v0.2.0

func NewGetAboutUsingGET1ParamsWithTimeout(timeout time.Duration) *GetAboutUsingGET1Params

NewGetAboutUsingGET1ParamsWithTimeout creates a new GetAboutUsingGET1Params object with the ability to set a timeout on a request.

func (*GetAboutUsingGET1Params) SetContext added in v0.2.0

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

SetContext adds the context to the get about using get1 params

func (*GetAboutUsingGET1Params) SetDefaults added in v0.2.20

func (o *GetAboutUsingGET1Params) SetDefaults()

SetDefaults hydrates default values in the get about using get1 params (not the query body).

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

func (*GetAboutUsingGET1Params) SetHTTPClient added in v0.2.0

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

SetHTTPClient adds the HTTPClient to the get about using get1 params

func (*GetAboutUsingGET1Params) SetTimeout added in v0.2.0

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

SetTimeout adds the timeout to the get about using get1 params

func (*GetAboutUsingGET1Params) WithContext added in v0.2.0

WithContext adds the context to the get about using get1 params

func (*GetAboutUsingGET1Params) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get about using get1 params (not the query body).

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

func (*GetAboutUsingGET1Params) WithHTTPClient added in v0.2.0

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

WithHTTPClient adds the HTTPClient to the get about using get1 params

func (*GetAboutUsingGET1Params) WithTimeout added in v0.2.0

WithTimeout adds the timeout to the get about using get1 params

func (*GetAboutUsingGET1Params) WriteToRequest added in v0.2.0

WriteToRequest writes these params to a swagger request

type GetAboutUsingGET1Reader added in v0.2.0

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

GetAboutUsingGET1Reader is a Reader for the GetAboutUsingGET1 structure.

func (*GetAboutUsingGET1Reader) ReadResponse added in v0.2.0

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

ReadResponse reads a server response into the received o.

type GetAboutUsingGETOK added in v0.2.7

type GetAboutUsingGETOK struct {
	Payload *models.ContentAbout
}
GetAboutUsingGETOK describes a response with status code 200, with default header values.

OK

func NewGetAboutUsingGETOK added in v0.2.7

func NewGetAboutUsingGETOK() *GetAboutUsingGETOK

NewGetAboutUsingGETOK creates a GetAboutUsingGETOK with default headers values

func (*GetAboutUsingGETOK) Error added in v0.2.7

func (o *GetAboutUsingGETOK) Error() string

func (*GetAboutUsingGETOK) GetPayload added in v0.2.7

func (o *GetAboutUsingGETOK) GetPayload() *models.ContentAbout

type GetAboutUsingGETParams added in v0.2.7

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

GetAboutUsingGETParams contains all the parameters to send to the API endpoint

for the get about using g e t operation.

Typically these are written to a http.Request.

func NewGetAboutUsingGETParams added in v0.2.7

func NewGetAboutUsingGETParams() *GetAboutUsingGETParams

NewGetAboutUsingGETParams creates a new GetAboutUsingGETParams 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 NewGetAboutUsingGETParamsWithContext added in v0.2.7

func NewGetAboutUsingGETParamsWithContext(ctx context.Context) *GetAboutUsingGETParams

NewGetAboutUsingGETParamsWithContext creates a new GetAboutUsingGETParams object with the ability to set a context for a request.

func NewGetAboutUsingGETParamsWithHTTPClient added in v0.2.7

func NewGetAboutUsingGETParamsWithHTTPClient(client *http.Client) *GetAboutUsingGETParams

NewGetAboutUsingGETParamsWithHTTPClient creates a new GetAboutUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewGetAboutUsingGETParamsWithTimeout added in v0.2.7

func NewGetAboutUsingGETParamsWithTimeout(timeout time.Duration) *GetAboutUsingGETParams

NewGetAboutUsingGETParamsWithTimeout creates a new GetAboutUsingGETParams object with the ability to set a timeout on a request.

func (*GetAboutUsingGETParams) SetContext added in v0.2.7

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

SetContext adds the context to the get about using get params

func (*GetAboutUsingGETParams) SetDefaults added in v0.2.20

func (o *GetAboutUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the get about using get params (not the query body).

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

func (*GetAboutUsingGETParams) SetHTTPClient added in v0.2.7

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

SetHTTPClient adds the HTTPClient to the get about using get params

func (*GetAboutUsingGETParams) SetTimeout added in v0.2.7

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

SetTimeout adds the timeout to the get about using get params

func (*GetAboutUsingGETParams) WithContext added in v0.2.7

WithContext adds the context to the get about using get params

func (*GetAboutUsingGETParams) WithDefaults added in v0.2.20

WithDefaults hydrates default values in the get about using get params (not the query body).

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

func (*GetAboutUsingGETParams) WithHTTPClient added in v0.2.7

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

WithHTTPClient adds the HTTPClient to the get about using get params

func (*GetAboutUsingGETParams) WithTimeout added in v0.2.7

WithTimeout adds the timeout to the get about using get params

func (*GetAboutUsingGETParams) WriteToRequest added in v0.2.7

WriteToRequest writes these params to a swagger request

type GetAboutUsingGETReader added in v0.2.7

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

GetAboutUsingGETReader is a Reader for the GetAboutUsingGET structure.

func (*GetAboutUsingGETReader) ReadResponse added in v0.2.7

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