connections

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 11 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 connections API

func (*Client) DeleteAPI24Connections

func (a *Client) DeleteAPI24Connections(params *DeleteAPI24ConnectionsParams) (*DeleteApi24ConnectionsOK, error)

DeleteAPI24Connections deletes a connection between a volume and its host or host group

Deletes the connection between a volume and its associated host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required.

func (*Client) GetAPI24Connections

func (a *Client) GetAPI24Connections(params *GetAPI24ConnectionsParams) (*GetApi24ConnectionsOK, error)

GetAPI24Connections lists volume connections

Displays a list of connections between a volume and its hosts and host groups, and the logical unit numbers (LUNs) used by the associated hosts to address these volumes.

func (*Client) PostAPI24Connections

func (a *Client) PostAPI24Connections(params *PostAPI24ConnectionsParams) (*PostApi24ConnectionsOK, error)

PostAPI24Connections creates a connection between a volume and host or host group

Creates a connection between a volume and a host or host group. The `volume_names` and `host_names` or `host_group_names` query parameters are required.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DeleteAPI24Connections(params *DeleteAPI24ConnectionsParams) (*DeleteApi24ConnectionsOK, error)

	GetAPI24Connections(params *GetAPI24ConnectionsParams) (*GetApi24ConnectionsOK, error)

	PostAPI24Connections(params *PostAPI24ConnectionsParams) (*PostApi24ConnectionsOK, 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 connections API client.

type DeleteAPI24ConnectionsParams

type DeleteAPI24ConnectionsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*HostGroupNames
	  Performs the operation on the host group specified. Enter multiple names in comma-separated format. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host group names and volume names; instead, at least one of the objects (e.g., `host_group_names`) must be set to only one name (e.g., `hgroup01`).

	*/
	HostGroupNames []string
	/*HostNames
	  Performs the operation on the hosts specified. Enter multiple names in comma-separated format. For example, `host01,host02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host names and volume names; instead, at least one of the objects (e.g., `host_names`) must be set to only one name (e.g., `host01`).

	*/
	HostNames []string
	/*VolumeNames
	  Performs the operation on the volume specified. Enter multiple names in comma-separated format. For example, `vol01,vol02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., `volume_names`) must be set to only one name (e.g., `vol01`).

	*/
	VolumeNames []string

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

DeleteAPI24ConnectionsParams contains all the parameters to send to the API endpoint for the delete API 24 connections operation typically these are written to a http.Request

func NewDeleteAPI24ConnectionsParams

func NewDeleteAPI24ConnectionsParams() *DeleteAPI24ConnectionsParams

NewDeleteAPI24ConnectionsParams creates a new DeleteAPI24ConnectionsParams object with the default values initialized.

func NewDeleteAPI24ConnectionsParamsWithContext

func NewDeleteAPI24ConnectionsParamsWithContext(ctx context.Context) *DeleteAPI24ConnectionsParams

NewDeleteAPI24ConnectionsParamsWithContext creates a new DeleteAPI24ConnectionsParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAPI24ConnectionsParamsWithHTTPClient

func NewDeleteAPI24ConnectionsParamsWithHTTPClient(client *http.Client) *DeleteAPI24ConnectionsParams

NewDeleteAPI24ConnectionsParamsWithHTTPClient creates a new DeleteAPI24ConnectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAPI24ConnectionsParamsWithTimeout

func NewDeleteAPI24ConnectionsParamsWithTimeout(timeout time.Duration) *DeleteAPI24ConnectionsParams

NewDeleteAPI24ConnectionsParamsWithTimeout creates a new DeleteAPI24ConnectionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAPI24ConnectionsParams) SetAuthorization

func (o *DeleteAPI24ConnectionsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetContext

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

SetContext adds the context to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetHostGroupNames

func (o *DeleteAPI24ConnectionsParams) SetHostGroupNames(hostGroupNames []string)

SetHostGroupNames adds the hostGroupNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetHostNames

func (o *DeleteAPI24ConnectionsParams) SetHostNames(hostNames []string)

SetHostNames adds the hostNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetVolumeNames

func (o *DeleteAPI24ConnectionsParams) SetVolumeNames(volumeNames []string)

SetVolumeNames adds the volumeNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) SetXRequestID

func (o *DeleteAPI24ConnectionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithAuthorization

func (o *DeleteAPI24ConnectionsParams) WithAuthorization(authorization *string) *DeleteAPI24ConnectionsParams

WithAuthorization adds the authorization to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithContext

WithContext adds the context to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithHostGroupNames

func (o *DeleteAPI24ConnectionsParams) WithHostGroupNames(hostGroupNames []string) *DeleteAPI24ConnectionsParams

WithHostGroupNames adds the hostGroupNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithHostNames

func (o *DeleteAPI24ConnectionsParams) WithHostNames(hostNames []string) *DeleteAPI24ConnectionsParams

WithHostNames adds the hostNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithTimeout

WithTimeout adds the timeout to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithVolumeNames

func (o *DeleteAPI24ConnectionsParams) WithVolumeNames(volumeNames []string) *DeleteAPI24ConnectionsParams

WithVolumeNames adds the volumeNames to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WithXRequestID

func (o *DeleteAPI24ConnectionsParams) WithXRequestID(xRequestID *string) *DeleteAPI24ConnectionsParams

WithXRequestID adds the xRequestID to the delete API 24 connections params

func (*DeleteAPI24ConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteAPI24ConnectionsReader

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

DeleteAPI24ConnectionsReader is a Reader for the DeleteAPI24Connections structure.

func (*DeleteAPI24ConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteApi24ConnectionsBadRequest

type DeleteApi24ConnectionsBadRequest struct {
	Payload *models.Error
}

DeleteApi24ConnectionsBadRequest handles this case with default header values.

BadRequest

func NewDeleteApi24ConnectionsBadRequest

func NewDeleteApi24ConnectionsBadRequest() *DeleteApi24ConnectionsBadRequest

NewDeleteApi24ConnectionsBadRequest creates a DeleteApi24ConnectionsBadRequest with default headers values

func (*DeleteApi24ConnectionsBadRequest) Error

func (*DeleteApi24ConnectionsBadRequest) GetPayload

type DeleteApi24ConnectionsOK

type DeleteApi24ConnectionsOK struct {
}

DeleteApi24ConnectionsOK handles this case with default header values.

OK

func NewDeleteApi24ConnectionsOK

func NewDeleteApi24ConnectionsOK() *DeleteApi24ConnectionsOK

NewDeleteApi24ConnectionsOK creates a DeleteApi24ConnectionsOK with default headers values

func (*DeleteApi24ConnectionsOK) Error

func (o *DeleteApi24ConnectionsOK) Error() string

type GetAPI24ConnectionsParams

type GetAPI24ConnectionsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*ContinuationToken
	  A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set `continuation_token` to the system-generated token taken from the `x-next-token` header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the `limit` and `continuation_token` query parameters.

	*/
	ContinuationToken *string
	/*Filter
	  Narrows down the results to only the response objects that satisfy the filter criteria.

	*/
	Filter *string
	/*HostGroupNames
	  Performs the operation on the host group specified. Enter multiple names in comma-separated format. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host group names and volume names; instead, at least one of the objects (e.g., `host_group_names`) must be set to only one name (e.g., `hgroup01`).

	*/
	HostGroupNames []string
	/*HostNames
	  Performs the operation on the hosts specified. Enter multiple names in comma-separated format. For example, `host01,host02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host names and volume names; instead, at least one of the objects (e.g., `host_names`) must be set to only one name (e.g., `host01`).

	*/
	HostNames []string
	/*Limit
	  Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set `limit=0`. The total number of resources is returned as a `total_item_count` value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

	*/
	Limit *int32
	/*Offset
	  The starting position based on the results of the query in relation to the full set of response objects returned.

	*/
	Offset *int32
	/*ProtocolEndpointNames
	  Performs the operation on the protocol endpoints specified. Enter multiple names in comma-separated format. For example, `pe01,pe02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple protocol endpoint names and host names; instead, at least one of the objects (e.g., `protocol_endpoint_names`) must be set to one name (e.g., `pe01`).

	*/
	ProtocolEndpointNames []string
	/*Sort
	  Returns the response objects in the order specified. Set `sort` to the name in the response by which to sort. Sorting can be performed on any of the names in the response, and the objects can be sorted in ascending or descending order. By default, the response objects are sorted in ascending order. To sort in descending order, append the minus sign (`-`) to the name. A single request can be sorted on multiple objects. For example, you can sort all volumes from largest to smallest volume size, and then sort volumes of the same size in ascending order by volume name. To sort on multiple names, list the names as comma-separated values.

	*/
	Sort []string
	/*TotalItemCount
	  If set to `true`, the `total_item_count` matching the specified query parameters is calculated and returned in the response. If set to `false`, the `total_item_count` is `null` in the response. This may speed up queries where the `total_item_count` is large. If not specified, defaults to `false`.

	*/
	TotalItemCount *bool
	/*VolumeNames
	  Performs the operation on the volume specified. Enter multiple names in comma-separated format. For example, `vol01,vol02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., `volume_names`) must be set to only one name (e.g., `vol01`).

	*/
	VolumeNames []string

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

GetAPI24ConnectionsParams contains all the parameters to send to the API endpoint for the get API 24 connections operation typically these are written to a http.Request

func NewGetAPI24ConnectionsParams

func NewGetAPI24ConnectionsParams() *GetAPI24ConnectionsParams

NewGetAPI24ConnectionsParams creates a new GetAPI24ConnectionsParams object with the default values initialized.

func NewGetAPI24ConnectionsParamsWithContext

func NewGetAPI24ConnectionsParamsWithContext(ctx context.Context) *GetAPI24ConnectionsParams

NewGetAPI24ConnectionsParamsWithContext creates a new GetAPI24ConnectionsParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPI24ConnectionsParamsWithHTTPClient

func NewGetAPI24ConnectionsParamsWithHTTPClient(client *http.Client) *GetAPI24ConnectionsParams

NewGetAPI24ConnectionsParamsWithHTTPClient creates a new GetAPI24ConnectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPI24ConnectionsParamsWithTimeout

func NewGetAPI24ConnectionsParamsWithTimeout(timeout time.Duration) *GetAPI24ConnectionsParams

NewGetAPI24ConnectionsParamsWithTimeout creates a new GetAPI24ConnectionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPI24ConnectionsParams) SetAuthorization

func (o *GetAPI24ConnectionsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetContext

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

SetContext adds the context to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetContinuationToken

func (o *GetAPI24ConnectionsParams) SetContinuationToken(continuationToken *string)

SetContinuationToken adds the continuationToken to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetFilter

func (o *GetAPI24ConnectionsParams) SetFilter(filter *string)

SetFilter adds the filter to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetHostGroupNames

func (o *GetAPI24ConnectionsParams) SetHostGroupNames(hostGroupNames []string)

SetHostGroupNames adds the hostGroupNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetHostNames

func (o *GetAPI24ConnectionsParams) SetHostNames(hostNames []string)

SetHostNames adds the hostNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetLimit

func (o *GetAPI24ConnectionsParams) SetLimit(limit *int32)

SetLimit adds the limit to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetOffset

func (o *GetAPI24ConnectionsParams) SetOffset(offset *int32)

SetOffset adds the offset to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetProtocolEndpointNames

func (o *GetAPI24ConnectionsParams) SetProtocolEndpointNames(protocolEndpointNames []string)

SetProtocolEndpointNames adds the protocolEndpointNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetSort

func (o *GetAPI24ConnectionsParams) SetSort(sort []string)

SetSort adds the sort to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetTotalItemCount

func (o *GetAPI24ConnectionsParams) SetTotalItemCount(totalItemCount *bool)

SetTotalItemCount adds the totalItemCount to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetVolumeNames

func (o *GetAPI24ConnectionsParams) SetVolumeNames(volumeNames []string)

SetVolumeNames adds the volumeNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) SetXRequestID

func (o *GetAPI24ConnectionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithAuthorization

func (o *GetAPI24ConnectionsParams) WithAuthorization(authorization *string) *GetAPI24ConnectionsParams

WithAuthorization adds the authorization to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithContext

WithContext adds the context to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithContinuationToken

func (o *GetAPI24ConnectionsParams) WithContinuationToken(continuationToken *string) *GetAPI24ConnectionsParams

WithContinuationToken adds the continuationToken to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithFilter

WithFilter adds the filter to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithHostGroupNames

func (o *GetAPI24ConnectionsParams) WithHostGroupNames(hostGroupNames []string) *GetAPI24ConnectionsParams

WithHostGroupNames adds the hostGroupNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithHostNames

func (o *GetAPI24ConnectionsParams) WithHostNames(hostNames []string) *GetAPI24ConnectionsParams

WithHostNames adds the hostNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithLimit

WithLimit adds the limit to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithOffset

WithOffset adds the offset to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithProtocolEndpointNames

func (o *GetAPI24ConnectionsParams) WithProtocolEndpointNames(protocolEndpointNames []string) *GetAPI24ConnectionsParams

WithProtocolEndpointNames adds the protocolEndpointNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithSort

WithSort adds the sort to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithTimeout

WithTimeout adds the timeout to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithTotalItemCount

func (o *GetAPI24ConnectionsParams) WithTotalItemCount(totalItemCount *bool) *GetAPI24ConnectionsParams

WithTotalItemCount adds the totalItemCount to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithVolumeNames

func (o *GetAPI24ConnectionsParams) WithVolumeNames(volumeNames []string) *GetAPI24ConnectionsParams

WithVolumeNames adds the volumeNames to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WithXRequestID

func (o *GetAPI24ConnectionsParams) WithXRequestID(xRequestID *string) *GetAPI24ConnectionsParams

WithXRequestID adds the xRequestID to the get API 24 connections params

func (*GetAPI24ConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAPI24ConnectionsReader

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

GetAPI24ConnectionsReader is a Reader for the GetAPI24Connections structure.

func (*GetAPI24ConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetApi24ConnectionsBadRequest

type GetApi24ConnectionsBadRequest struct {
	Payload *models.Error
}

GetApi24ConnectionsBadRequest handles this case with default header values.

BadRequest

func NewGetApi24ConnectionsBadRequest

func NewGetApi24ConnectionsBadRequest() *GetApi24ConnectionsBadRequest

NewGetApi24ConnectionsBadRequest creates a GetApi24ConnectionsBadRequest with default headers values

func (*GetApi24ConnectionsBadRequest) Error

func (*GetApi24ConnectionsBadRequest) GetPayload

func (o *GetApi24ConnectionsBadRequest) GetPayload() *models.Error

type GetApi24ConnectionsOK

type GetApi24ConnectionsOK struct {
	Payload *models.ConnectionGetResponse
}

GetApi24ConnectionsOK handles this case with default header values.

OK

func NewGetApi24ConnectionsOK

func NewGetApi24ConnectionsOK() *GetApi24ConnectionsOK

NewGetApi24ConnectionsOK creates a GetApi24ConnectionsOK with default headers values

func (*GetApi24ConnectionsOK) Error

func (o *GetApi24ConnectionsOK) Error() string

func (*GetApi24ConnectionsOK) GetPayload

type PostAPI24ConnectionsParams

type PostAPI24ConnectionsParams struct {

	/*Authorization
	  Access token (in JWT format) required to use any API endpoint (except `/oauth2`, `/login`, and `/logout`)

	*/
	Authorization *string
	/*XRequestID
	  Supplied by client during request or generated by server.

	*/
	XRequestID *string
	/*Connection*/
	Connection *models.ConnectionPost
	/*HostGroupNames
	  Performs the operation on the host group specified. Enter multiple names in comma-separated format. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host group names and volume names; instead, at least one of the objects (e.g., `host_group_names`) must be set to only one name (e.g., `hgroup01`).

	*/
	HostGroupNames []string
	/*HostNames
	  Performs the operation on the hosts specified. Enter multiple names in comma-separated format. For example, `host01,host02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host names and volume names; instead, at least one of the objects (e.g., `host_names`) must be set to only one name (e.g., `host01`).

	*/
	HostNames []string
	/*VolumeNames
	  Performs the operation on the volume specified. Enter multiple names in comma-separated format. For example, `vol01,vol02`. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., `volume_names`) must be set to only one name (e.g., `vol01`).

	*/
	VolumeNames []string

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

PostAPI24ConnectionsParams contains all the parameters to send to the API endpoint for the post API 24 connections operation typically these are written to a http.Request

func NewPostAPI24ConnectionsParams

func NewPostAPI24ConnectionsParams() *PostAPI24ConnectionsParams

NewPostAPI24ConnectionsParams creates a new PostAPI24ConnectionsParams object with the default values initialized.

func NewPostAPI24ConnectionsParamsWithContext

func NewPostAPI24ConnectionsParamsWithContext(ctx context.Context) *PostAPI24ConnectionsParams

NewPostAPI24ConnectionsParamsWithContext creates a new PostAPI24ConnectionsParams object with the default values initialized, and the ability to set a context for a request

func NewPostAPI24ConnectionsParamsWithHTTPClient

func NewPostAPI24ConnectionsParamsWithHTTPClient(client *http.Client) *PostAPI24ConnectionsParams

NewPostAPI24ConnectionsParamsWithHTTPClient creates a new PostAPI24ConnectionsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPostAPI24ConnectionsParamsWithTimeout

func NewPostAPI24ConnectionsParamsWithTimeout(timeout time.Duration) *PostAPI24ConnectionsParams

NewPostAPI24ConnectionsParamsWithTimeout creates a new PostAPI24ConnectionsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PostAPI24ConnectionsParams) SetAuthorization

func (o *PostAPI24ConnectionsParams) SetAuthorization(authorization *string)

SetAuthorization adds the authorization to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetConnection

func (o *PostAPI24ConnectionsParams) SetConnection(connection *models.ConnectionPost)

SetConnection adds the connection to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetContext

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

SetContext adds the context to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetHostGroupNames

func (o *PostAPI24ConnectionsParams) SetHostGroupNames(hostGroupNames []string)

SetHostGroupNames adds the hostGroupNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetHostNames

func (o *PostAPI24ConnectionsParams) SetHostNames(hostNames []string)

SetHostNames adds the hostNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetTimeout

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

SetTimeout adds the timeout to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetVolumeNames

func (o *PostAPI24ConnectionsParams) SetVolumeNames(volumeNames []string)

SetVolumeNames adds the volumeNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) SetXRequestID

func (o *PostAPI24ConnectionsParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithAuthorization

func (o *PostAPI24ConnectionsParams) WithAuthorization(authorization *string) *PostAPI24ConnectionsParams

WithAuthorization adds the authorization to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithConnection

WithConnection adds the connection to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithContext

WithContext adds the context to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithHostGroupNames

func (o *PostAPI24ConnectionsParams) WithHostGroupNames(hostGroupNames []string) *PostAPI24ConnectionsParams

WithHostGroupNames adds the hostGroupNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithHostNames

func (o *PostAPI24ConnectionsParams) WithHostNames(hostNames []string) *PostAPI24ConnectionsParams

WithHostNames adds the hostNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithTimeout

WithTimeout adds the timeout to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithVolumeNames

func (o *PostAPI24ConnectionsParams) WithVolumeNames(volumeNames []string) *PostAPI24ConnectionsParams

WithVolumeNames adds the volumeNames to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WithXRequestID

func (o *PostAPI24ConnectionsParams) WithXRequestID(xRequestID *string) *PostAPI24ConnectionsParams

WithXRequestID adds the xRequestID to the post API 24 connections params

func (*PostAPI24ConnectionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PostAPI24ConnectionsReader

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

PostAPI24ConnectionsReader is a Reader for the PostAPI24Connections structure.

func (*PostAPI24ConnectionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type PostApi24ConnectionsBadRequest

type PostApi24ConnectionsBadRequest struct {
	Payload *models.Error
}

PostApi24ConnectionsBadRequest handles this case with default header values.

BadRequest

func NewPostApi24ConnectionsBadRequest

func NewPostApi24ConnectionsBadRequest() *PostApi24ConnectionsBadRequest

NewPostApi24ConnectionsBadRequest creates a PostApi24ConnectionsBadRequest with default headers values

func (*PostApi24ConnectionsBadRequest) Error

func (*PostApi24ConnectionsBadRequest) GetPayload

func (o *PostApi24ConnectionsBadRequest) GetPayload() *models.Error

type PostApi24ConnectionsOK

type PostApi24ConnectionsOK struct {
	Payload *models.ConnectionResponse
}

PostApi24ConnectionsOK handles this case with default header values.

OK

func NewPostApi24ConnectionsOK

func NewPostApi24ConnectionsOK() *PostApi24ConnectionsOK

NewPostApi24ConnectionsOK creates a PostApi24ConnectionsOK with default headers values

func (*PostApi24ConnectionsOK) Error

func (o *PostApi24ConnectionsOK) Error() string

func (*PostApi24ConnectionsOK) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL