Documentation
¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) VcsResourcePoolsGetUsingGET(params *VcsResourcePoolsGetUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsGetUsingGETOK, error)
- func (a *Client) VcsResourcePoolsListUsingGET(params *VcsResourcePoolsListUsingGETParams, opts ...ClientOption) (*VcsResourcePoolsListUsingGETOK, error)
- type ClientOption
- type ClientService
- type VcsResourcePoolsGetUsingGETBadRequest
- type VcsResourcePoolsGetUsingGETNotFound
- type VcsResourcePoolsGetUsingGETOK
- type VcsResourcePoolsGetUsingGETParams
- func NewVcsResourcePoolsGetUsingGETParams() *VcsResourcePoolsGetUsingGETParams
- func NewVcsResourcePoolsGetUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsGetUsingGETParams
- func NewVcsResourcePoolsGetUsingGETParamsWithHTTPClient(client *http.Client) *VcsResourcePoolsGetUsingGETParams
- func NewVcsResourcePoolsGetUsingGETParamsWithTimeout(timeout time.Duration) *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) SetContext(ctx context.Context)
- func (o *VcsResourcePoolsGetUsingGETParams) SetDefaults()
- func (o *VcsResourcePoolsGetUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *VcsResourcePoolsGetUsingGETParams) SetResourcePoolID(resourcePoolID string)
- func (o *VcsResourcePoolsGetUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *VcsResourcePoolsGetUsingGETParams) WithContext(ctx context.Context) *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) WithDefaults() *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) WithHTTPClient(client *http.Client) *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) WithResourcePoolID(resourcePoolID string) *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) WithTimeout(timeout time.Duration) *VcsResourcePoolsGetUsingGETParams
- func (o *VcsResourcePoolsGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsResourcePoolsGetUsingGETReader
- type VcsResourcePoolsListUsingGETBadRequest
- type VcsResourcePoolsListUsingGETOK
- type VcsResourcePoolsListUsingGETParams
- func NewVcsResourcePoolsListUsingGETParams() *VcsResourcePoolsListUsingGETParams
- func NewVcsResourcePoolsListUsingGETParamsWithContext(ctx context.Context) *VcsResourcePoolsListUsingGETParams
- func NewVcsResourcePoolsListUsingGETParamsWithHTTPClient(client *http.Client) *VcsResourcePoolsListUsingGETParams
- func NewVcsResourcePoolsListUsingGETParamsWithTimeout(timeout time.Duration) *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) SetContext(ctx context.Context)
- func (o *VcsResourcePoolsListUsingGETParams) SetDefaults()
- func (o *VcsResourcePoolsListUsingGETParams) SetHTTPClient(client *http.Client)
- func (o *VcsResourcePoolsListUsingGETParams) SetResourcePoolName(resourcePoolName *string)
- func (o *VcsResourcePoolsListUsingGETParams) SetTimeout(timeout time.Duration)
- func (o *VcsResourcePoolsListUsingGETParams) WithContext(ctx context.Context) *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) WithDefaults() *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) WithHTTPClient(client *http.Client) *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) WithResourcePoolName(resourcePoolName *string) *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) WithTimeout(timeout time.Duration) *VcsResourcePoolsListUsingGETParams
- func (o *VcsResourcePoolsListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type VcsResourcePoolsListUsingGETReader
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 (o *VcsResourcePoolsGetUsingGETBadRequest) Error() string
func (*VcsResourcePoolsGetUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsResourcePoolsGetUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 ¶
func (o *VcsResourcePoolsGetUsingGETNotFound) Error() string
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 (o *VcsResourcePoolsGetUsingGETOK) Error() string
func (*VcsResourcePoolsGetUsingGETOK) GetPayload ¶
func (o *VcsResourcePoolsGetUsingGETOK) GetPayload() *models.VcsResourcePoolsGetResponse
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 ¶
func (o *VcsResourcePoolsGetUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *VcsResourcePoolsGetUsingGETParams) WithContext(ctx context.Context) *VcsResourcePoolsGetUsingGETParams
WithContext adds the context to the vcs resource pools get using g e t params
func (*VcsResourcePoolsGetUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *VcsResourcePoolsGetUsingGETParams) WithDefaults() *VcsResourcePoolsGetUsingGETParams
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 ¶
func (o *VcsResourcePoolsGetUsingGETParams) WithHTTPClient(client *http.Client) *VcsResourcePoolsGetUsingGETParams
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 ¶
func (o *VcsResourcePoolsGetUsingGETParams) WithTimeout(timeout time.Duration) *VcsResourcePoolsGetUsingGETParams
WithTimeout adds the timeout to the vcs resource pools get using g e t params
func (*VcsResourcePoolsGetUsingGETParams) WriteToRequest ¶
func (o *VcsResourcePoolsGetUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *VcsResourcePoolsListUsingGETBadRequest) Error() string
func (*VcsResourcePoolsListUsingGETBadRequest) GetPayload ¶ added in v1.2.0
func (o *VcsResourcePoolsListUsingGETBadRequest) GetPayload() *models.ProxyResponseMessage
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 (o *VcsResourcePoolsListUsingGETOK) Error() string
func (*VcsResourcePoolsListUsingGETOK) GetPayload ¶
func (o *VcsResourcePoolsListUsingGETOK) GetPayload() *models.VcsResourcePoolsListResponse
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 ¶
func (o *VcsResourcePoolsListUsingGETParams) SetContext(ctx context.Context)
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 ¶
func (o *VcsResourcePoolsListUsingGETParams) WithContext(ctx context.Context) *VcsResourcePoolsListUsingGETParams
WithContext adds the context to the vcs resource pools list using g e t params
func (*VcsResourcePoolsListUsingGETParams) WithDefaults ¶ added in v1.2.4
func (o *VcsResourcePoolsListUsingGETParams) WithDefaults() *VcsResourcePoolsListUsingGETParams
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 ¶
func (o *VcsResourcePoolsListUsingGETParams) WithHTTPClient(client *http.Client) *VcsResourcePoolsListUsingGETParams
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 ¶
func (o *VcsResourcePoolsListUsingGETParams) WithTimeout(timeout time.Duration) *VcsResourcePoolsListUsingGETParams
WithTimeout adds the timeout to the vcs resource pools list using g e t params
func (*VcsResourcePoolsListUsingGETParams) WriteToRequest ¶
func (o *VcsResourcePoolsListUsingGETParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.