Documentation ¶
Index ¶
- type Client
- type ClientService
- type DeleteRdmaipamRdmaipsDisabled
- type DeleteRdmaipamRdmaipsFailure
- type DeleteRdmaipamRdmaipsInvalid
- type DeleteRdmaipamRdmaipsNotFound
- type DeleteRdmaipamRdmaipsOK
- type DeleteRdmaipamRdmaipsParams
- func NewDeleteRdmaipamRdmaipsParams() *DeleteRdmaipamRdmaipsParams
- func NewDeleteRdmaipamRdmaipsParamsWithContext(ctx context.Context) *DeleteRdmaipamRdmaipsParams
- func NewDeleteRdmaipamRdmaipsParamsWithHTTPClient(client *http.Client) *DeleteRdmaipamRdmaipsParams
- func NewDeleteRdmaipamRdmaipsParamsWithTimeout(timeout time.Duration) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) SetContainerID(containerID *string)
- func (o *DeleteRdmaipamRdmaipsParams) SetContext(ctx context.Context)
- func (o *DeleteRdmaipamRdmaipsParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRdmaipamRdmaipsParams) SetNetns(netns *string)
- func (o *DeleteRdmaipamRdmaipsParams) SetOwner(owner *string)
- func (o *DeleteRdmaipamRdmaipsParams) SetRdmaIfnames(rdmaIfnames *string)
- func (o *DeleteRdmaipamRdmaipsParams) SetRdmaips(rdmaips string)
- func (o *DeleteRdmaipamRdmaipsParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRdmaipamRdmaipsParams) WithContainerID(containerID *string) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithContext(ctx context.Context) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithHTTPClient(client *http.Client) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithNetns(netns *string) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithOwner(owner *string) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithRdmaIfnames(rdmaIfnames *string) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithRdmaips(rdmaips string) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WithTimeout(timeout time.Duration) *DeleteRdmaipamRdmaipsParams
- func (o *DeleteRdmaipamRdmaipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRdmaipamRdmaipsReader
- type PostRdmaipamCreated
- type PostRdmaipamFailure
- type PostRdmaipamParams
- func (o *PostRdmaipamParams) SetContainerID(containerID *string)
- func (o *PostRdmaipamParams) SetContext(ctx context.Context)
- func (o *PostRdmaipamParams) SetExpiration(expiration *bool)
- func (o *PostRdmaipamParams) SetFamily(family *string)
- func (o *PostRdmaipamParams) SetHTTPClient(client *http.Client)
- func (o *PostRdmaipamParams) SetNetns(netns *string)
- func (o *PostRdmaipamParams) SetOwner(owner *string)
- func (o *PostRdmaipamParams) SetRdmaIfnames(rdmaIfnames *string)
- func (o *PostRdmaipamParams) SetTimeout(timeout time.Duration)
- func (o *PostRdmaipamParams) WithContainerID(containerID *string) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithContext(ctx context.Context) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithExpiration(expiration *bool) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithFamily(family *string) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithHTTPClient(client *http.Client) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithNetns(netns *string) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithOwner(owner *string) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithRdmaIfnames(rdmaIfnames *string) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WithTimeout(timeout time.Duration) *PostRdmaipamParams
- func (o *PostRdmaipamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostRdmaipamReader
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 rdmaipam API
func (*Client) DeleteRdmaipamRdmaips ¶
func (a *Client) DeleteRdmaipamRdmaips(params *DeleteRdmaipamRdmaipsParams) (*DeleteRdmaipamRdmaipsOK, error)
DeleteRdmaipamRdmaips releases allocated r d m a IP addresses
func (*Client) PostRdmaipam ¶
func (a *Client) PostRdmaipam(params *PostRdmaipamParams) (*PostRdmaipamCreated, error)
PostRdmaipam allocates r d m a IP addresses
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteRdmaipamRdmaips(params *DeleteRdmaipamRdmaipsParams) (*DeleteRdmaipamRdmaipsOK, error) PostRdmaipam(params *PostRdmaipamParams) (*PostRdmaipamCreated, 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 rdmaipam API client.
type DeleteRdmaipamRdmaipsDisabled ¶
type DeleteRdmaipamRdmaipsDisabled struct { }
DeleteRdmaipamRdmaipsDisabled handles this case with default header values.
Allocation for address family disabled
func NewDeleteRdmaipamRdmaipsDisabled ¶
func NewDeleteRdmaipamRdmaipsDisabled() *DeleteRdmaipamRdmaipsDisabled
NewDeleteRdmaipamRdmaipsDisabled creates a DeleteRdmaipamRdmaipsDisabled with default headers values
func (*DeleteRdmaipamRdmaipsDisabled) Error ¶
func (o *DeleteRdmaipamRdmaipsDisabled) Error() string
type DeleteRdmaipamRdmaipsFailure ¶
DeleteRdmaipamRdmaipsFailure handles this case with default header values.
Address release failure
func NewDeleteRdmaipamRdmaipsFailure ¶
func NewDeleteRdmaipamRdmaipsFailure() *DeleteRdmaipamRdmaipsFailure
NewDeleteRdmaipamRdmaipsFailure creates a DeleteRdmaipamRdmaipsFailure with default headers values
func (*DeleteRdmaipamRdmaipsFailure) Error ¶
func (o *DeleteRdmaipamRdmaipsFailure) Error() string
func (*DeleteRdmaipamRdmaipsFailure) GetPayload ¶
func (o *DeleteRdmaipamRdmaipsFailure) GetPayload() models.Error
type DeleteRdmaipamRdmaipsInvalid ¶
type DeleteRdmaipamRdmaipsInvalid struct { }
DeleteRdmaipamRdmaipsInvalid handles this case with default header values.
Invalid IP address
func NewDeleteRdmaipamRdmaipsInvalid ¶
func NewDeleteRdmaipamRdmaipsInvalid() *DeleteRdmaipamRdmaipsInvalid
NewDeleteRdmaipamRdmaipsInvalid creates a DeleteRdmaipamRdmaipsInvalid with default headers values
func (*DeleteRdmaipamRdmaipsInvalid) Error ¶
func (o *DeleteRdmaipamRdmaipsInvalid) Error() string
type DeleteRdmaipamRdmaipsNotFound ¶
type DeleteRdmaipamRdmaipsNotFound struct { }
DeleteRdmaipamRdmaipsNotFound handles this case with default header values.
IP address not found
func NewDeleteRdmaipamRdmaipsNotFound ¶
func NewDeleteRdmaipamRdmaipsNotFound() *DeleteRdmaipamRdmaipsNotFound
NewDeleteRdmaipamRdmaipsNotFound creates a DeleteRdmaipamRdmaipsNotFound with default headers values
func (*DeleteRdmaipamRdmaipsNotFound) Error ¶
func (o *DeleteRdmaipamRdmaipsNotFound) Error() string
type DeleteRdmaipamRdmaipsOK ¶
type DeleteRdmaipamRdmaipsOK struct { }
DeleteRdmaipamRdmaipsOK handles this case with default header values.
Success
func NewDeleteRdmaipamRdmaipsOK ¶
func NewDeleteRdmaipamRdmaipsOK() *DeleteRdmaipamRdmaipsOK
NewDeleteRdmaipamRdmaipsOK creates a DeleteRdmaipamRdmaipsOK with default headers values
func (*DeleteRdmaipamRdmaipsOK) Error ¶
func (o *DeleteRdmaipamRdmaipsOK) Error() string
type DeleteRdmaipamRdmaipsParams ¶
type DeleteRdmaipamRdmaipsParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string /*RdmaIfnames rdma ifnames provider by cni */ RdmaIfnames *string /*Rdmaips RDMA IP addresses or owner name */ Rdmaips string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRdmaipamRdmaipsParams contains all the parameters to send to the API endpoint for the delete rdmaipam rdmaips operation typically these are written to a http.Request
func NewDeleteRdmaipamRdmaipsParams ¶
func NewDeleteRdmaipamRdmaipsParams() *DeleteRdmaipamRdmaipsParams
NewDeleteRdmaipamRdmaipsParams creates a new DeleteRdmaipamRdmaipsParams object with the default values initialized.
func NewDeleteRdmaipamRdmaipsParamsWithContext ¶
func NewDeleteRdmaipamRdmaipsParamsWithContext(ctx context.Context) *DeleteRdmaipamRdmaipsParams
NewDeleteRdmaipamRdmaipsParamsWithContext creates a new DeleteRdmaipamRdmaipsParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteRdmaipamRdmaipsParamsWithHTTPClient ¶
func NewDeleteRdmaipamRdmaipsParamsWithHTTPClient(client *http.Client) *DeleteRdmaipamRdmaipsParams
NewDeleteRdmaipamRdmaipsParamsWithHTTPClient creates a new DeleteRdmaipamRdmaipsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteRdmaipamRdmaipsParamsWithTimeout ¶
func NewDeleteRdmaipamRdmaipsParamsWithTimeout(timeout time.Duration) *DeleteRdmaipamRdmaipsParams
NewDeleteRdmaipamRdmaipsParamsWithTimeout creates a new DeleteRdmaipamRdmaipsParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteRdmaipamRdmaipsParams) SetContainerID ¶
func (o *DeleteRdmaipamRdmaipsParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetContext ¶
func (o *DeleteRdmaipamRdmaipsParams) SetContext(ctx context.Context)
SetContext adds the context to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetHTTPClient ¶
func (o *DeleteRdmaipamRdmaipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetNetns ¶
func (o *DeleteRdmaipamRdmaipsParams) SetNetns(netns *string)
SetNetns adds the netns to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetOwner ¶
func (o *DeleteRdmaipamRdmaipsParams) SetOwner(owner *string)
SetOwner adds the owner to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetRdmaIfnames ¶
func (o *DeleteRdmaipamRdmaipsParams) SetRdmaIfnames(rdmaIfnames *string)
SetRdmaIfnames adds the rdmaIfnames to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetRdmaips ¶
func (o *DeleteRdmaipamRdmaipsParams) SetRdmaips(rdmaips string)
SetRdmaips adds the rdmaips to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) SetTimeout ¶
func (o *DeleteRdmaipamRdmaipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithContainerID ¶
func (o *DeleteRdmaipamRdmaipsParams) WithContainerID(containerID *string) *DeleteRdmaipamRdmaipsParams
WithContainerID adds the containerID to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithContext ¶
func (o *DeleteRdmaipamRdmaipsParams) WithContext(ctx context.Context) *DeleteRdmaipamRdmaipsParams
WithContext adds the context to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithHTTPClient ¶
func (o *DeleteRdmaipamRdmaipsParams) WithHTTPClient(client *http.Client) *DeleteRdmaipamRdmaipsParams
WithHTTPClient adds the HTTPClient to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithNetns ¶
func (o *DeleteRdmaipamRdmaipsParams) WithNetns(netns *string) *DeleteRdmaipamRdmaipsParams
WithNetns adds the netns to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithOwner ¶
func (o *DeleteRdmaipamRdmaipsParams) WithOwner(owner *string) *DeleteRdmaipamRdmaipsParams
WithOwner adds the owner to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithRdmaIfnames ¶
func (o *DeleteRdmaipamRdmaipsParams) WithRdmaIfnames(rdmaIfnames *string) *DeleteRdmaipamRdmaipsParams
WithRdmaIfnames adds the rdmaIfnames to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithRdmaips ¶
func (o *DeleteRdmaipamRdmaipsParams) WithRdmaips(rdmaips string) *DeleteRdmaipamRdmaipsParams
WithRdmaips adds the rdmaips to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WithTimeout ¶
func (o *DeleteRdmaipamRdmaipsParams) WithTimeout(timeout time.Duration) *DeleteRdmaipamRdmaipsParams
WithTimeout adds the timeout to the delete rdmaipam rdmaips params
func (*DeleteRdmaipamRdmaipsParams) WriteToRequest ¶
func (o *DeleteRdmaipamRdmaipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRdmaipamRdmaipsReader ¶
type DeleteRdmaipamRdmaipsReader struct {
// contains filtered or unexported fields
}
DeleteRdmaipamRdmaipsReader is a Reader for the DeleteRdmaipamRdmaips structure.
func (*DeleteRdmaipamRdmaipsReader) ReadResponse ¶
func (o *DeleteRdmaipamRdmaipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostRdmaipamCreated ¶
type PostRdmaipamCreated struct {
Payload []*models.RDMAIPAMResponse
}
PostRdmaipamCreated handles this case with default header values.
Success
func NewPostRdmaipamCreated ¶
func NewPostRdmaipamCreated() *PostRdmaipamCreated
NewPostRdmaipamCreated creates a PostRdmaipamCreated with default headers values
func (*PostRdmaipamCreated) Error ¶
func (o *PostRdmaipamCreated) Error() string
func (*PostRdmaipamCreated) GetPayload ¶
func (o *PostRdmaipamCreated) GetPayload() []*models.RDMAIPAMResponse
type PostRdmaipamFailure ¶
PostRdmaipamFailure handles this case with default header values.
Allocation failure
func NewPostRdmaipamFailure ¶
func NewPostRdmaipamFailure() *PostRdmaipamFailure
NewPostRdmaipamFailure creates a PostRdmaipamFailure with default headers values
func (*PostRdmaipamFailure) Error ¶
func (o *PostRdmaipamFailure) Error() string
func (*PostRdmaipamFailure) GetPayload ¶
func (o *PostRdmaipamFailure) GetPayload() models.Error
type PostRdmaipamParams ¶
type PostRdmaipamParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Expiration*/ Expiration *bool /*Family*/ Family *string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string /*RdmaIfnames rdma ifnames provider by cni */ RdmaIfnames *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostRdmaipamParams contains all the parameters to send to the API endpoint for the post rdmaipam operation typically these are written to a http.Request
func NewPostRdmaipamParams ¶
func NewPostRdmaipamParams() *PostRdmaipamParams
NewPostRdmaipamParams creates a new PostRdmaipamParams object with the default values initialized.
func NewPostRdmaipamParamsWithContext ¶
func NewPostRdmaipamParamsWithContext(ctx context.Context) *PostRdmaipamParams
NewPostRdmaipamParamsWithContext creates a new PostRdmaipamParams object with the default values initialized, and the ability to set a context for a request
func NewPostRdmaipamParamsWithHTTPClient ¶
func NewPostRdmaipamParamsWithHTTPClient(client *http.Client) *PostRdmaipamParams
NewPostRdmaipamParamsWithHTTPClient creates a new PostRdmaipamParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostRdmaipamParamsWithTimeout ¶
func NewPostRdmaipamParamsWithTimeout(timeout time.Duration) *PostRdmaipamParams
NewPostRdmaipamParamsWithTimeout creates a new PostRdmaipamParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostRdmaipamParams) SetContainerID ¶
func (o *PostRdmaipamParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the post rdmaipam params
func (*PostRdmaipamParams) SetContext ¶
func (o *PostRdmaipamParams) SetContext(ctx context.Context)
SetContext adds the context to the post rdmaipam params
func (*PostRdmaipamParams) SetExpiration ¶
func (o *PostRdmaipamParams) SetExpiration(expiration *bool)
SetExpiration adds the expiration to the post rdmaipam params
func (*PostRdmaipamParams) SetFamily ¶
func (o *PostRdmaipamParams) SetFamily(family *string)
SetFamily adds the family to the post rdmaipam params
func (*PostRdmaipamParams) SetHTTPClient ¶
func (o *PostRdmaipamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post rdmaipam params
func (*PostRdmaipamParams) SetNetns ¶
func (o *PostRdmaipamParams) SetNetns(netns *string)
SetNetns adds the netns to the post rdmaipam params
func (*PostRdmaipamParams) SetOwner ¶
func (o *PostRdmaipamParams) SetOwner(owner *string)
SetOwner adds the owner to the post rdmaipam params
func (*PostRdmaipamParams) SetRdmaIfnames ¶
func (o *PostRdmaipamParams) SetRdmaIfnames(rdmaIfnames *string)
SetRdmaIfnames adds the rdmaIfnames to the post rdmaipam params
func (*PostRdmaipamParams) SetTimeout ¶
func (o *PostRdmaipamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post rdmaipam params
func (*PostRdmaipamParams) WithContainerID ¶
func (o *PostRdmaipamParams) WithContainerID(containerID *string) *PostRdmaipamParams
WithContainerID adds the containerID to the post rdmaipam params
func (*PostRdmaipamParams) WithContext ¶
func (o *PostRdmaipamParams) WithContext(ctx context.Context) *PostRdmaipamParams
WithContext adds the context to the post rdmaipam params
func (*PostRdmaipamParams) WithExpiration ¶
func (o *PostRdmaipamParams) WithExpiration(expiration *bool) *PostRdmaipamParams
WithExpiration adds the expiration to the post rdmaipam params
func (*PostRdmaipamParams) WithFamily ¶
func (o *PostRdmaipamParams) WithFamily(family *string) *PostRdmaipamParams
WithFamily adds the family to the post rdmaipam params
func (*PostRdmaipamParams) WithHTTPClient ¶
func (o *PostRdmaipamParams) WithHTTPClient(client *http.Client) *PostRdmaipamParams
WithHTTPClient adds the HTTPClient to the post rdmaipam params
func (*PostRdmaipamParams) WithNetns ¶
func (o *PostRdmaipamParams) WithNetns(netns *string) *PostRdmaipamParams
WithNetns adds the netns to the post rdmaipam params
func (*PostRdmaipamParams) WithOwner ¶
func (o *PostRdmaipamParams) WithOwner(owner *string) *PostRdmaipamParams
WithOwner adds the owner to the post rdmaipam params
func (*PostRdmaipamParams) WithRdmaIfnames ¶
func (o *PostRdmaipamParams) WithRdmaIfnames(rdmaIfnames *string) *PostRdmaipamParams
WithRdmaIfnames adds the rdmaIfnames to the post rdmaipam params
func (*PostRdmaipamParams) WithTimeout ¶
func (o *PostRdmaipamParams) WithTimeout(timeout time.Duration) *PostRdmaipamParams
WithTimeout adds the timeout to the post rdmaipam params
func (*PostRdmaipamParams) WriteToRequest ¶
func (o *PostRdmaipamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostRdmaipamReader ¶
type PostRdmaipamReader struct {
// contains filtered or unexported fields
}
PostRdmaipamReader is a Reader for the PostRdmaipam structure.
func (*PostRdmaipamReader) ReadResponse ¶
func (o *PostRdmaipamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.