resource_pools

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 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 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) (*VcsResourcePoolsGetUsingGETOK, error)

VcsResourcePoolsGetUsingGET gets

Get resource pools

func (*Client) VcsResourcePoolsListUsingGET

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

VcsResourcePoolsListUsingGET lists

List resource pools

type ClientService

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

	VcsResourcePoolsListUsingGET(params *VcsResourcePoolsListUsingGETParams) (*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 handles this case 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 handles this case 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 handles this case 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 values initialized.

func NewVcsResourcePoolsGetUsingGETParamsWithContext

func NewVcsResourcePoolsGetUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsGetUsingGETParams

NewVcsResourcePoolsGetUsingGETParamsWithContext creates a new VcsResourcePoolsGetUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 values initialized.

func NewVcsResourcePoolsListUsingGETParamsWithContext

func NewVcsResourcePoolsListUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsListUsingGETParams

NewVcsResourcePoolsListUsingGETParamsWithContext creates a new VcsResourcePoolsListUsingGETParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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