resource_pools

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 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 resource pools API

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) VcsResourcePoolsGetUsingGET

func (a *Client) VcsResourcePoolsGetUsingGET(params *VcsResourcePoolsGetUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsGetUsingGETOK, error)

VcsResourcePoolsGetUsingGET gets

Get resource pools

func (*Client) VcsResourcePoolsListUsingGET

func (a *Client) VcsResourcePoolsListUsingGET(params *VcsResourcePoolsListUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsListUsingGETOK, error)

VcsResourcePoolsListUsingGET lists

List resource pools

type ClientOption added in v1.2.4

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	VcsResourcePoolsGetUsingGET(params *VcsResourcePoolsGetUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsGetUsingGETOK, error)

	VcsResourcePoolsListUsingGET(params *VcsResourcePoolsListUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsListUsingGETOK, 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 resource pools API client.

type VcsResourcePoolsGetUsingGETBadRequest

type VcsResourcePoolsGetUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
VcsResourcePoolsGetUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewVcsResourcePoolsGetUsingGETBadRequest

func NewVcsResourcePoolsGetUsingGETBadRequest() *VcsResourcePoolsGetUsingGETBadRequest

NewVcsResourcePoolsGetUsingGETBadRequest creates a VcsResourcePoolsGetUsingGETBadRequest with default headers values

func (*VcsResourcePoolsGetUsingGETBadRequest) Error

func (*VcsResourcePoolsGetUsingGETBadRequest) GetPayload added in v1.2.0

type VcsResourcePoolsGetUsingGETNotFound

type VcsResourcePoolsGetUsingGETNotFound struct {
}
VcsResourcePoolsGetUsingGETNotFound describes a response with status code 404, with default header values.

Entity not found.

func NewVcsResourcePoolsGetUsingGETNotFound

func NewVcsResourcePoolsGetUsingGETNotFound() *VcsResourcePoolsGetUsingGETNotFound

NewVcsResourcePoolsGetUsingGETNotFound creates a VcsResourcePoolsGetUsingGETNotFound with default headers values

func (*VcsResourcePoolsGetUsingGETNotFound) Error

type VcsResourcePoolsGetUsingGETOK

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

OK

func NewVcsResourcePoolsGetUsingGETOK

func NewVcsResourcePoolsGetUsingGETOK() *VcsResourcePoolsGetUsingGETOK

NewVcsResourcePoolsGetUsingGETOK creates a VcsResourcePoolsGetUsingGETOK with default headers values

func (*VcsResourcePoolsGetUsingGETOK) Error

func (*VcsResourcePoolsGetUsingGETOK) GetPayload

type VcsResourcePoolsGetUsingGETParams

type VcsResourcePoolsGetUsingGETParams struct {

	/* ResourcePoolID.

	   resourcePoolId
	*/
	ResourcePoolID string

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

VcsResourcePoolsGetUsingGETParams contains all the parameters to send to the API endpoint

for the vcs resource pools get using g e t operation.

Typically these are written to a http.Request.

func NewVcsResourcePoolsGetUsingGETParams

func NewVcsResourcePoolsGetUsingGETParams() *VcsResourcePoolsGetUsingGETParams

NewVcsResourcePoolsGetUsingGETParams creates a new VcsResourcePoolsGetUsingGETParams 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 NewVcsResourcePoolsGetUsingGETParamsWithContext

func NewVcsResourcePoolsGetUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsGetUsingGETParams

NewVcsResourcePoolsGetUsingGETParamsWithContext creates a new VcsResourcePoolsGetUsingGETParams object with the ability to set a context for a request.

func NewVcsResourcePoolsGetUsingGETParamsWithHTTPClient

func NewVcsResourcePoolsGetUsingGETParamsWithHTTPClient(client *http.Client) *VcsResourcePoolsGetUsingGETParams

NewVcsResourcePoolsGetUsingGETParamsWithHTTPClient creates a new VcsResourcePoolsGetUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewVcsResourcePoolsGetUsingGETParamsWithTimeout

func NewVcsResourcePoolsGetUsingGETParamsWithTimeout(timeout time.Duration) *VcsResourcePoolsGetUsingGETParams

NewVcsResourcePoolsGetUsingGETParamsWithTimeout creates a new VcsResourcePoolsGetUsingGETParams object with the ability to set a timeout on a request.

func (*VcsResourcePoolsGetUsingGETParams) SetContext

SetContext adds the context to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) SetDefaults added in v1.2.4

func (o *VcsResourcePoolsGetUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the vcs resource pools get using g e t params (not the query body).

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

func (*VcsResourcePoolsGetUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) SetResourcePoolID

func (o *VcsResourcePoolsGetUsingGETParams) SetResourcePoolID(resourcePoolID string)

SetResourcePoolID adds the resourcePoolId to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) WithContext

WithContext adds the context to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs resource pools get using g e t params (not the query body).

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

func (*VcsResourcePoolsGetUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) WithResourcePoolID

func (o *VcsResourcePoolsGetUsingGETParams) WithResourcePoolID(resourcePoolID string) *VcsResourcePoolsGetUsingGETParams

WithResourcePoolID adds the resourcePoolID to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) WithTimeout

WithTimeout adds the timeout to the vcs resource pools get using g e t params

func (*VcsResourcePoolsGetUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VcsResourcePoolsGetUsingGETReader

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

VcsResourcePoolsGetUsingGETReader is a Reader for the VcsResourcePoolsGetUsingGET structure.

func (*VcsResourcePoolsGetUsingGETReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type VcsResourcePoolsListUsingGETBadRequest

type VcsResourcePoolsListUsingGETBadRequest struct {
	Payload *models.ProxyResponseMessage
}
VcsResourcePoolsListUsingGETBadRequest describes a response with status code 400, with default header values.

Bad request, error occurred. For more details see log messages.

func NewVcsResourcePoolsListUsingGETBadRequest

func NewVcsResourcePoolsListUsingGETBadRequest() *VcsResourcePoolsListUsingGETBadRequest

NewVcsResourcePoolsListUsingGETBadRequest creates a VcsResourcePoolsListUsingGETBadRequest with default headers values

func (*VcsResourcePoolsListUsingGETBadRequest) Error

func (*VcsResourcePoolsListUsingGETBadRequest) GetPayload added in v1.2.0

type VcsResourcePoolsListUsingGETOK

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

OK

func NewVcsResourcePoolsListUsingGETOK

func NewVcsResourcePoolsListUsingGETOK() *VcsResourcePoolsListUsingGETOK

NewVcsResourcePoolsListUsingGETOK creates a VcsResourcePoolsListUsingGETOK with default headers values

func (*VcsResourcePoolsListUsingGETOK) Error

func (*VcsResourcePoolsListUsingGETOK) GetPayload

type VcsResourcePoolsListUsingGETParams

type VcsResourcePoolsListUsingGETParams struct {

	/* ResourcePoolName.

	   resourcePoolName
	*/
	ResourcePoolName *string

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

VcsResourcePoolsListUsingGETParams contains all the parameters to send to the API endpoint

for the vcs resource pools list using g e t operation.

Typically these are written to a http.Request.

func NewVcsResourcePoolsListUsingGETParams

func NewVcsResourcePoolsListUsingGETParams() *VcsResourcePoolsListUsingGETParams

NewVcsResourcePoolsListUsingGETParams creates a new VcsResourcePoolsListUsingGETParams 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 NewVcsResourcePoolsListUsingGETParamsWithContext

func NewVcsResourcePoolsListUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsListUsingGETParams

NewVcsResourcePoolsListUsingGETParamsWithContext creates a new VcsResourcePoolsListUsingGETParams object with the ability to set a context for a request.

func NewVcsResourcePoolsListUsingGETParamsWithHTTPClient

func NewVcsResourcePoolsListUsingGETParamsWithHTTPClient(client *http.Client) *VcsResourcePoolsListUsingGETParams

NewVcsResourcePoolsListUsingGETParamsWithHTTPClient creates a new VcsResourcePoolsListUsingGETParams object with the ability to set a custom HTTPClient for a request.

func NewVcsResourcePoolsListUsingGETParamsWithTimeout

func NewVcsResourcePoolsListUsingGETParamsWithTimeout(timeout time.Duration) *VcsResourcePoolsListUsingGETParams

NewVcsResourcePoolsListUsingGETParamsWithTimeout creates a new VcsResourcePoolsListUsingGETParams object with the ability to set a timeout on a request.

func (*VcsResourcePoolsListUsingGETParams) SetContext

SetContext adds the context to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) SetDefaults added in v1.2.4

func (o *VcsResourcePoolsListUsingGETParams) SetDefaults()

SetDefaults hydrates default values in the vcs resource pools list using g e t params (not the query body).

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

func (*VcsResourcePoolsListUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) SetResourcePoolName

func (o *VcsResourcePoolsListUsingGETParams) SetResourcePoolName(resourcePoolName *string)

SetResourcePoolName adds the resourcePoolName to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) WithContext

WithContext adds the context to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) WithDefaults added in v1.2.4

WithDefaults hydrates default values in the vcs resource pools list using g e t params (not the query body).

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

func (*VcsResourcePoolsListUsingGETParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) WithResourcePoolName

func (o *VcsResourcePoolsListUsingGETParams) WithResourcePoolName(resourcePoolName *string) *VcsResourcePoolsListUsingGETParams

WithResourcePoolName adds the resourcePoolName to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) WithTimeout

WithTimeout adds the timeout to the vcs resource pools list using g e t params

func (*VcsResourcePoolsListUsingGETParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type VcsResourcePoolsListUsingGETReader

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

VcsResourcePoolsListUsingGETReader is a Reader for the VcsResourcePoolsListUsingGET structure.

func (*VcsResourcePoolsListUsingGETReader) ReadResponse

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