Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams) (*DeleteIpamIPOK, error)
- func (a *Client) PostIpam(params *PostIpamParams) (*PostIpamCreated, error)
- func (a *Client) PostIpamIP(params *PostIpamIPParams) (*PostIpamIPOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteEniDisabled
- type DeleteEniFailure
- type DeleteEniInvalid
- type DeleteEniNotFound
- type DeleteEniOK
- type DeleteEniParams
- func (o *DeleteEniParams) SetContainerID(containerID *string)
- func (o *DeleteEniParams) SetContext(ctx context.Context)
- func (o *DeleteEniParams) SetHTTPClient(client *http.Client)
- func (o *DeleteEniParams) SetIfname(ifname *string)
- func (o *DeleteEniParams) SetNetns(netns *string)
- func (o *DeleteEniParams) SetOwner(owner *string)
- func (o *DeleteEniParams) SetTimeout(timeout time.Duration)
- func (o *DeleteEniParams) WithContainerID(containerID *string) *DeleteEniParams
- func (o *DeleteEniParams) WithContext(ctx context.Context) *DeleteEniParams
- func (o *DeleteEniParams) WithHTTPClient(client *http.Client) *DeleteEniParams
- func (o *DeleteEniParams) WithIfname(ifname *string) *DeleteEniParams
- func (o *DeleteEniParams) WithNetns(netns *string) *DeleteEniParams
- func (o *DeleteEniParams) WithOwner(owner *string) *DeleteEniParams
- func (o *DeleteEniParams) WithTimeout(timeout time.Duration) *DeleteEniParams
- func (o *DeleteEniParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteEniReader
- type DeleteIpamIPDisabled
- type DeleteIpamIPFailure
- type DeleteIpamIPInvalid
- type DeleteIpamIPNotFound
- type DeleteIpamIPOK
- type DeleteIpamIPParams
- func (o *DeleteIpamIPParams) SetContainerID(containerID *string)
- func (o *DeleteIpamIPParams) SetContext(ctx context.Context)
- func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *DeleteIpamIPParams) SetIP(ip string)
- func (o *DeleteIpamIPParams) SetIfname(ifname *string)
- func (o *DeleteIpamIPParams) SetNetns(netns *string)
- func (o *DeleteIpamIPParams) SetOwner(owner *string)
- func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *DeleteIpamIPParams) WithContainerID(containerID *string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithIP(ip string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithIfname(ifname *string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithNetns(netns *string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithOwner(owner *string) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
- func (o *DeleteIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteIpamIPReader
- type PostIpamCreated
- type PostIpamFailure
- type PostIpamIPDisabled
- type PostIpamIPExists
- type PostIpamIPFailure
- type PostIpamIPInvalid
- type PostIpamIPOK
- type PostIpamIPParams
- func (o *PostIpamIPParams) SetContainerID(containerID *string)
- func (o *PostIpamIPParams) SetContext(ctx context.Context)
- func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamIPParams) SetIP(ip string)
- func (o *PostIpamIPParams) SetIfname(ifname *string)
- func (o *PostIpamIPParams) SetNetns(netns *string)
- func (o *PostIpamIPParams) SetOwner(owner *string)
- func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamIPParams) WithContainerID(containerID *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
- func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
- func (o *PostIpamIPParams) WithIP(ip string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithIfname(ifname *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithNetns(netns *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithOwner(owner *string) *PostIpamIPParams
- func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
- func (o *PostIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamIPReader
- type PostIpamParams
- func (o *PostIpamParams) SetContainerID(containerID *string)
- func (o *PostIpamParams) SetContext(ctx context.Context)
- func (o *PostIpamParams) SetExpiration(expiration *bool)
- func (o *PostIpamParams) SetFamily(family *string)
- func (o *PostIpamParams) SetHTTPClient(client *http.Client)
- func (o *PostIpamParams) SetIfname(ifname *string)
- func (o *PostIpamParams) SetNetns(netns *string)
- func (o *PostIpamParams) SetOwner(owner *string)
- func (o *PostIpamParams) SetTimeout(timeout time.Duration)
- func (o *PostIpamParams) WithContainerID(containerID *string) *PostIpamParams
- func (o *PostIpamParams) WithContext(ctx context.Context) *PostIpamParams
- func (o *PostIpamParams) WithExpiration(expiration *bool) *PostIpamParams
- func (o *PostIpamParams) WithFamily(family *string) *PostIpamParams
- func (o *PostIpamParams) WithHTTPClient(client *http.Client) *PostIpamParams
- func (o *PostIpamParams) WithIfname(ifname *string) *PostIpamParams
- func (o *PostIpamParams) WithNetns(netns *string) *PostIpamParams
- func (o *PostIpamParams) WithOwner(owner *string) *PostIpamParams
- func (o *PostIpamParams) WithTimeout(timeout time.Duration) *PostIpamParams
- func (o *PostIpamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostIpamReader
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 ipam API
func (*Client) DeleteIpamIP ¶
func (a *Client) DeleteIpamIP(params *DeleteIpamIPParams) (*DeleteIpamIPOK, error)
DeleteIpamIP releases an allocated IP address
func (*Client) PostIpam ¶
func (a *Client) PostIpam(params *PostIpamParams) (*PostIpamCreated, error)
PostIpam allocates an IP address
func (*Client) PostIpamIP ¶
func (a *Client) PostIpamIP(params *PostIpamIPParams) (*PostIpamIPOK, error)
PostIpamIP allocates an IP address
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { DeleteIpamIP(params *DeleteIpamIPParams) (*DeleteIpamIPOK, error) PostIpam(params *PostIpamParams) (*PostIpamCreated, error) PostIpamIP(params *PostIpamIPParams) (*PostIpamIPOK, 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 ipam API client.
type DeleteEniDisabled ¶
type DeleteEniDisabled struct { }
DeleteEniDisabled handles this case with default header values.
Allocation for address family disabled
func NewDeleteEniDisabled ¶
func NewDeleteEniDisabled() *DeleteEniDisabled
NewDeleteEniDisabled creates a DeleteEniDisabled with default headers values
func (*DeleteEniDisabled) Error ¶
func (o *DeleteEniDisabled) Error() string
type DeleteEniFailure ¶
DeleteEniFailure handles this case with default header values.
Address release failure
func NewDeleteEniFailure ¶
func NewDeleteEniFailure() *DeleteEniFailure
NewDeleteEniFailure creates a DeleteEniFailure with default headers values
func (*DeleteEniFailure) Error ¶
func (o *DeleteEniFailure) Error() string
func (*DeleteEniFailure) GetPayload ¶
func (o *DeleteEniFailure) GetPayload() models.Error
type DeleteEniInvalid ¶
type DeleteEniInvalid struct { }
DeleteEniInvalid handles this case with default header values.
Invalid IP address
func NewDeleteEniInvalid ¶
func NewDeleteEniInvalid() *DeleteEniInvalid
NewDeleteEniInvalid creates a DeleteEniInvalid with default headers values
func (*DeleteEniInvalid) Error ¶
func (o *DeleteEniInvalid) Error() string
type DeleteEniNotFound ¶
type DeleteEniNotFound struct { }
DeleteEniNotFound handles this case with default header values.
IP address not found
func NewDeleteEniNotFound ¶
func NewDeleteEniNotFound() *DeleteEniNotFound
NewDeleteEniNotFound creates a DeleteEniNotFound with default headers values
func (*DeleteEniNotFound) Error ¶
func (o *DeleteEniNotFound) Error() string
type DeleteEniOK ¶
type DeleteEniOK struct { }
DeleteEniOK handles this case with default header values.
Success
func NewDeleteEniOK ¶
func NewDeleteEniOK() *DeleteEniOK
NewDeleteEniOK creates a DeleteEniOK with default headers values
func (*DeleteEniOK) Error ¶
func (o *DeleteEniOK) Error() string
type DeleteEniParams ¶
type DeleteEniParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Ifname ifname provider by cni */ Ifname *string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteEniParams contains all the parameters to send to the API endpoint for the delete eni operation typically these are written to a http.Request
func NewDeleteEniParams ¶
func NewDeleteEniParams() *DeleteEniParams
NewDeleteEniParams creates a new DeleteEniParams object with the default values initialized.
func NewDeleteEniParamsWithContext ¶
func NewDeleteEniParamsWithContext(ctx context.Context) *DeleteEniParams
NewDeleteEniParamsWithContext creates a new DeleteEniParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteEniParamsWithHTTPClient ¶
func NewDeleteEniParamsWithHTTPClient(client *http.Client) *DeleteEniParams
NewDeleteEniParamsWithHTTPClient creates a new DeleteEniParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteEniParamsWithTimeout ¶
func NewDeleteEniParamsWithTimeout(timeout time.Duration) *DeleteEniParams
NewDeleteEniParamsWithTimeout creates a new DeleteEniParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteEniParams) SetContainerID ¶
func (o *DeleteEniParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the delete eni params
func (*DeleteEniParams) SetContext ¶
func (o *DeleteEniParams) SetContext(ctx context.Context)
SetContext adds the context to the delete eni params
func (*DeleteEniParams) SetHTTPClient ¶
func (o *DeleteEniParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete eni params
func (*DeleteEniParams) SetIfname ¶
func (o *DeleteEniParams) SetIfname(ifname *string)
SetIfname adds the ifname to the delete eni params
func (*DeleteEniParams) SetNetns ¶
func (o *DeleteEniParams) SetNetns(netns *string)
SetNetns adds the netns to the delete eni params
func (*DeleteEniParams) SetOwner ¶
func (o *DeleteEniParams) SetOwner(owner *string)
SetOwner adds the owner to the delete eni params
func (*DeleteEniParams) SetTimeout ¶
func (o *DeleteEniParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete eni params
func (*DeleteEniParams) WithContainerID ¶
func (o *DeleteEniParams) WithContainerID(containerID *string) *DeleteEniParams
WithContainerID adds the containerID to the delete eni params
func (*DeleteEniParams) WithContext ¶
func (o *DeleteEniParams) WithContext(ctx context.Context) *DeleteEniParams
WithContext adds the context to the delete eni params
func (*DeleteEniParams) WithHTTPClient ¶
func (o *DeleteEniParams) WithHTTPClient(client *http.Client) *DeleteEniParams
WithHTTPClient adds the HTTPClient to the delete eni params
func (*DeleteEniParams) WithIfname ¶
func (o *DeleteEniParams) WithIfname(ifname *string) *DeleteEniParams
WithIfname adds the ifname to the delete eni params
func (*DeleteEniParams) WithNetns ¶
func (o *DeleteEniParams) WithNetns(netns *string) *DeleteEniParams
WithNetns adds the netns to the delete eni params
func (*DeleteEniParams) WithOwner ¶
func (o *DeleteEniParams) WithOwner(owner *string) *DeleteEniParams
WithOwner adds the owner to the delete eni params
func (*DeleteEniParams) WithTimeout ¶
func (o *DeleteEniParams) WithTimeout(timeout time.Duration) *DeleteEniParams
WithTimeout adds the timeout to the delete eni params
func (*DeleteEniParams) WriteToRequest ¶
func (o *DeleteEniParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteEniReader ¶
type DeleteEniReader struct {
// contains filtered or unexported fields
}
DeleteEniReader is a Reader for the DeleteEni structure.
func (*DeleteEniReader) ReadResponse ¶
func (o *DeleteEniReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteIpamIPDisabled ¶
type DeleteIpamIPDisabled struct { }
DeleteIpamIPDisabled handles this case with default header values.
Allocation for address family disabled
func NewDeleteIpamIPDisabled ¶
func NewDeleteIpamIPDisabled() *DeleteIpamIPDisabled
NewDeleteIpamIPDisabled creates a DeleteIpamIPDisabled with default headers values
func (*DeleteIpamIPDisabled) Error ¶
func (o *DeleteIpamIPDisabled) Error() string
type DeleteIpamIPFailure ¶
DeleteIpamIPFailure handles this case with default header values.
Address release failure
func NewDeleteIpamIPFailure ¶
func NewDeleteIpamIPFailure() *DeleteIpamIPFailure
NewDeleteIpamIPFailure creates a DeleteIpamIPFailure with default headers values
func (*DeleteIpamIPFailure) Error ¶
func (o *DeleteIpamIPFailure) Error() string
func (*DeleteIpamIPFailure) GetPayload ¶
func (o *DeleteIpamIPFailure) GetPayload() models.Error
type DeleteIpamIPInvalid ¶
type DeleteIpamIPInvalid struct { }
DeleteIpamIPInvalid handles this case with default header values.
Invalid IP address
func NewDeleteIpamIPInvalid ¶
func NewDeleteIpamIPInvalid() *DeleteIpamIPInvalid
NewDeleteIpamIPInvalid creates a DeleteIpamIPInvalid with default headers values
func (*DeleteIpamIPInvalid) Error ¶
func (o *DeleteIpamIPInvalid) Error() string
type DeleteIpamIPNotFound ¶
type DeleteIpamIPNotFound struct { }
DeleteIpamIPNotFound handles this case with default header values.
IP address not found
func NewDeleteIpamIPNotFound ¶
func NewDeleteIpamIPNotFound() *DeleteIpamIPNotFound
NewDeleteIpamIPNotFound creates a DeleteIpamIPNotFound with default headers values
func (*DeleteIpamIPNotFound) Error ¶
func (o *DeleteIpamIPNotFound) Error() string
type DeleteIpamIPOK ¶
type DeleteIpamIPOK struct { }
DeleteIpamIPOK handles this case with default header values.
Success
func NewDeleteIpamIPOK ¶
func NewDeleteIpamIPOK() *DeleteIpamIPOK
NewDeleteIpamIPOK creates a DeleteIpamIPOK with default headers values
func (*DeleteIpamIPOK) Error ¶
func (o *DeleteIpamIPOK) Error() string
type DeleteIpamIPParams ¶
type DeleteIpamIPParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Ifname ifname provider by cni */ Ifname *string /*IP IP address or owner name */ IP string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteIpamIPParams contains all the parameters to send to the API endpoint for the delete ipam IP operation typically these are written to a http.Request
func NewDeleteIpamIPParams ¶
func NewDeleteIpamIPParams() *DeleteIpamIPParams
NewDeleteIpamIPParams creates a new DeleteIpamIPParams object with the default values initialized.
func NewDeleteIpamIPParamsWithContext ¶
func NewDeleteIpamIPParamsWithContext(ctx context.Context) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithContext creates a new DeleteIpamIPParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteIpamIPParamsWithHTTPClient ¶
func NewDeleteIpamIPParamsWithHTTPClient(client *http.Client) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithHTTPClient creates a new DeleteIpamIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteIpamIPParamsWithTimeout ¶
func NewDeleteIpamIPParamsWithTimeout(timeout time.Duration) *DeleteIpamIPParams
NewDeleteIpamIPParamsWithTimeout creates a new DeleteIpamIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteIpamIPParams) SetContainerID ¶
func (o *DeleteIpamIPParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the delete ipam IP params
func (*DeleteIpamIPParams) SetContext ¶
func (o *DeleteIpamIPParams) SetContext(ctx context.Context)
SetContext adds the context to the delete ipam IP params
func (*DeleteIpamIPParams) SetHTTPClient ¶
func (o *DeleteIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) SetIP ¶
func (o *DeleteIpamIPParams) SetIP(ip string)
SetIP adds the ip to the delete ipam IP params
func (*DeleteIpamIPParams) SetIfname ¶
func (o *DeleteIpamIPParams) SetIfname(ifname *string)
SetIfname adds the ifname to the delete ipam IP params
func (*DeleteIpamIPParams) SetNetns ¶
func (o *DeleteIpamIPParams) SetNetns(netns *string)
SetNetns adds the netns to the delete ipam IP params
func (*DeleteIpamIPParams) SetOwner ¶
func (o *DeleteIpamIPParams) SetOwner(owner *string)
SetOwner adds the owner to the delete ipam IP params
func (*DeleteIpamIPParams) SetTimeout ¶
func (o *DeleteIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete ipam IP params
func (*DeleteIpamIPParams) WithContainerID ¶
func (o *DeleteIpamIPParams) WithContainerID(containerID *string) *DeleteIpamIPParams
WithContainerID adds the containerID to the delete ipam IP params
func (*DeleteIpamIPParams) WithContext ¶
func (o *DeleteIpamIPParams) WithContext(ctx context.Context) *DeleteIpamIPParams
WithContext adds the context to the delete ipam IP params
func (*DeleteIpamIPParams) WithHTTPClient ¶
func (o *DeleteIpamIPParams) WithHTTPClient(client *http.Client) *DeleteIpamIPParams
WithHTTPClient adds the HTTPClient to the delete ipam IP params
func (*DeleteIpamIPParams) WithIP ¶
func (o *DeleteIpamIPParams) WithIP(ip string) *DeleteIpamIPParams
WithIP adds the ip to the delete ipam IP params
func (*DeleteIpamIPParams) WithIfname ¶
func (o *DeleteIpamIPParams) WithIfname(ifname *string) *DeleteIpamIPParams
WithIfname adds the ifname to the delete ipam IP params
func (*DeleteIpamIPParams) WithNetns ¶
func (o *DeleteIpamIPParams) WithNetns(netns *string) *DeleteIpamIPParams
WithNetns adds the netns to the delete ipam IP params
func (*DeleteIpamIPParams) WithOwner ¶
func (o *DeleteIpamIPParams) WithOwner(owner *string) *DeleteIpamIPParams
WithOwner adds the owner to the delete ipam IP params
func (*DeleteIpamIPParams) WithTimeout ¶
func (o *DeleteIpamIPParams) WithTimeout(timeout time.Duration) *DeleteIpamIPParams
WithTimeout adds the timeout to the delete ipam IP params
func (*DeleteIpamIPParams) WriteToRequest ¶
func (o *DeleteIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteIpamIPReader ¶
type DeleteIpamIPReader struct {
// contains filtered or unexported fields
}
DeleteIpamIPReader is a Reader for the DeleteIpamIP structure.
func (*DeleteIpamIPReader) ReadResponse ¶
func (o *DeleteIpamIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIpamCreated ¶
type PostIpamCreated struct {
Payload *models.IPAMResponse
}
PostIpamCreated handles this case with default header values.
Success
func NewPostIpamCreated ¶
func NewPostIpamCreated() *PostIpamCreated
NewPostIpamCreated creates a PostIpamCreated with default headers values
func (*PostIpamCreated) Error ¶
func (o *PostIpamCreated) Error() string
func (*PostIpamCreated) GetPayload ¶
func (o *PostIpamCreated) GetPayload() *models.IPAMResponse
type PostIpamFailure ¶
PostIpamFailure handles this case with default header values.
Allocation failure
func NewPostIpamFailure ¶
func NewPostIpamFailure() *PostIpamFailure
NewPostIpamFailure creates a PostIpamFailure with default headers values
func (*PostIpamFailure) Error ¶
func (o *PostIpamFailure) Error() string
func (*PostIpamFailure) GetPayload ¶
func (o *PostIpamFailure) GetPayload() models.Error
type PostIpamIPDisabled ¶
type PostIpamIPDisabled struct { }
PostIpamIPDisabled handles this case with default header values.
Allocation for address family disabled
func NewPostIpamIPDisabled ¶
func NewPostIpamIPDisabled() *PostIpamIPDisabled
NewPostIpamIPDisabled creates a PostIpamIPDisabled with default headers values
func (*PostIpamIPDisabled) Error ¶
func (o *PostIpamIPDisabled) Error() string
type PostIpamIPExists ¶
type PostIpamIPExists struct { }
PostIpamIPExists handles this case with default header values.
IP already allocated
func NewPostIpamIPExists ¶
func NewPostIpamIPExists() *PostIpamIPExists
NewPostIpamIPExists creates a PostIpamIPExists with default headers values
func (*PostIpamIPExists) Error ¶
func (o *PostIpamIPExists) Error() string
type PostIpamIPFailure ¶
PostIpamIPFailure handles this case with default header values.
IP allocation failure. Details in message.
func NewPostIpamIPFailure ¶
func NewPostIpamIPFailure() *PostIpamIPFailure
NewPostIpamIPFailure creates a PostIpamIPFailure with default headers values
func (*PostIpamIPFailure) Error ¶
func (o *PostIpamIPFailure) Error() string
func (*PostIpamIPFailure) GetPayload ¶
func (o *PostIpamIPFailure) GetPayload() models.Error
type PostIpamIPInvalid ¶
type PostIpamIPInvalid struct { }
PostIpamIPInvalid handles this case with default header values.
Invalid IP address
func NewPostIpamIPInvalid ¶
func NewPostIpamIPInvalid() *PostIpamIPInvalid
NewPostIpamIPInvalid creates a PostIpamIPInvalid with default headers values
func (*PostIpamIPInvalid) Error ¶
func (o *PostIpamIPInvalid) Error() string
type PostIpamIPOK ¶
type PostIpamIPOK struct { }
PostIpamIPOK handles this case with default header values.
Success
func NewPostIpamIPOK ¶
func NewPostIpamIPOK() *PostIpamIPOK
NewPostIpamIPOK creates a PostIpamIPOK with default headers values
func (*PostIpamIPOK) Error ¶
func (o *PostIpamIPOK) Error() string
type PostIpamIPParams ¶
type PostIpamIPParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Ifname ifname provider by cni */ Ifname *string /*IP IP address */ IP string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostIpamIPParams contains all the parameters to send to the API endpoint for the post ipam IP operation typically these are written to a http.Request
func NewPostIpamIPParams ¶
func NewPostIpamIPParams() *PostIpamIPParams
NewPostIpamIPParams creates a new PostIpamIPParams object with the default values initialized.
func NewPostIpamIPParamsWithContext ¶
func NewPostIpamIPParamsWithContext(ctx context.Context) *PostIpamIPParams
NewPostIpamIPParamsWithContext creates a new PostIpamIPParams object with the default values initialized, and the ability to set a context for a request
func NewPostIpamIPParamsWithHTTPClient ¶
func NewPostIpamIPParamsWithHTTPClient(client *http.Client) *PostIpamIPParams
NewPostIpamIPParamsWithHTTPClient creates a new PostIpamIPParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostIpamIPParamsWithTimeout ¶
func NewPostIpamIPParamsWithTimeout(timeout time.Duration) *PostIpamIPParams
NewPostIpamIPParamsWithTimeout creates a new PostIpamIPParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostIpamIPParams) SetContainerID ¶
func (o *PostIpamIPParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the post ipam IP params
func (*PostIpamIPParams) SetContext ¶
func (o *PostIpamIPParams) SetContext(ctx context.Context)
SetContext adds the context to the post ipam IP params
func (*PostIpamIPParams) SetHTTPClient ¶
func (o *PostIpamIPParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) SetIP ¶
func (o *PostIpamIPParams) SetIP(ip string)
SetIP adds the ip to the post ipam IP params
func (*PostIpamIPParams) SetIfname ¶
func (o *PostIpamIPParams) SetIfname(ifname *string)
SetIfname adds the ifname to the post ipam IP params
func (*PostIpamIPParams) SetNetns ¶
func (o *PostIpamIPParams) SetNetns(netns *string)
SetNetns adds the netns to the post ipam IP params
func (*PostIpamIPParams) SetOwner ¶
func (o *PostIpamIPParams) SetOwner(owner *string)
SetOwner adds the owner to the post ipam IP params
func (*PostIpamIPParams) SetTimeout ¶
func (o *PostIpamIPParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam IP params
func (*PostIpamIPParams) WithContainerID ¶
func (o *PostIpamIPParams) WithContainerID(containerID *string) *PostIpamIPParams
WithContainerID adds the containerID to the post ipam IP params
func (*PostIpamIPParams) WithContext ¶
func (o *PostIpamIPParams) WithContext(ctx context.Context) *PostIpamIPParams
WithContext adds the context to the post ipam IP params
func (*PostIpamIPParams) WithHTTPClient ¶
func (o *PostIpamIPParams) WithHTTPClient(client *http.Client) *PostIpamIPParams
WithHTTPClient adds the HTTPClient to the post ipam IP params
func (*PostIpamIPParams) WithIP ¶
func (o *PostIpamIPParams) WithIP(ip string) *PostIpamIPParams
WithIP adds the ip to the post ipam IP params
func (*PostIpamIPParams) WithIfname ¶
func (o *PostIpamIPParams) WithIfname(ifname *string) *PostIpamIPParams
WithIfname adds the ifname to the post ipam IP params
func (*PostIpamIPParams) WithNetns ¶
func (o *PostIpamIPParams) WithNetns(netns *string) *PostIpamIPParams
WithNetns adds the netns to the post ipam IP params
func (*PostIpamIPParams) WithOwner ¶
func (o *PostIpamIPParams) WithOwner(owner *string) *PostIpamIPParams
WithOwner adds the owner to the post ipam IP params
func (*PostIpamIPParams) WithTimeout ¶
func (o *PostIpamIPParams) WithTimeout(timeout time.Duration) *PostIpamIPParams
WithTimeout adds the timeout to the post ipam IP params
func (*PostIpamIPParams) WriteToRequest ¶
func (o *PostIpamIPParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIpamIPReader ¶
type PostIpamIPReader struct {
// contains filtered or unexported fields
}
PostIpamIPReader is a Reader for the PostIpamIP structure.
func (*PostIpamIPReader) ReadResponse ¶
func (o *PostIpamIPReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostIpamParams ¶
type PostIpamParams struct { /*ContainerID container id provider by cni */ ContainerID *string /*Expiration*/ Expiration *bool /*Family*/ Family *string /*Ifname ifname provider by cni */ Ifname *string /*Netns netns provider by cni */ Netns *string /*Owner*/ Owner *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostIpamParams contains all the parameters to send to the API endpoint for the post ipam operation typically these are written to a http.Request
func NewPostIpamParams ¶
func NewPostIpamParams() *PostIpamParams
NewPostIpamParams creates a new PostIpamParams object with the default values initialized.
func NewPostIpamParamsWithContext ¶
func NewPostIpamParamsWithContext(ctx context.Context) *PostIpamParams
NewPostIpamParamsWithContext creates a new PostIpamParams object with the default values initialized, and the ability to set a context for a request
func NewPostIpamParamsWithHTTPClient ¶
func NewPostIpamParamsWithHTTPClient(client *http.Client) *PostIpamParams
NewPostIpamParamsWithHTTPClient creates a new PostIpamParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostIpamParamsWithTimeout ¶
func NewPostIpamParamsWithTimeout(timeout time.Duration) *PostIpamParams
NewPostIpamParamsWithTimeout creates a new PostIpamParams object with the default values initialized, and the ability to set a timeout on a request
func (*PostIpamParams) SetContainerID ¶
func (o *PostIpamParams) SetContainerID(containerID *string)
SetContainerID adds the containerId to the post ipam params
func (*PostIpamParams) SetContext ¶
func (o *PostIpamParams) SetContext(ctx context.Context)
SetContext adds the context to the post ipam params
func (*PostIpamParams) SetExpiration ¶
func (o *PostIpamParams) SetExpiration(expiration *bool)
SetExpiration adds the expiration to the post ipam params
func (*PostIpamParams) SetFamily ¶
func (o *PostIpamParams) SetFamily(family *string)
SetFamily adds the family to the post ipam params
func (*PostIpamParams) SetHTTPClient ¶
func (o *PostIpamParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post ipam params
func (*PostIpamParams) SetIfname ¶
func (o *PostIpamParams) SetIfname(ifname *string)
SetIfname adds the ifname to the post ipam params
func (*PostIpamParams) SetNetns ¶
func (o *PostIpamParams) SetNetns(netns *string)
SetNetns adds the netns to the post ipam params
func (*PostIpamParams) SetOwner ¶
func (o *PostIpamParams) SetOwner(owner *string)
SetOwner adds the owner to the post ipam params
func (*PostIpamParams) SetTimeout ¶
func (o *PostIpamParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post ipam params
func (*PostIpamParams) WithContainerID ¶
func (o *PostIpamParams) WithContainerID(containerID *string) *PostIpamParams
WithContainerID adds the containerID to the post ipam params
func (*PostIpamParams) WithContext ¶
func (o *PostIpamParams) WithContext(ctx context.Context) *PostIpamParams
WithContext adds the context to the post ipam params
func (*PostIpamParams) WithExpiration ¶
func (o *PostIpamParams) WithExpiration(expiration *bool) *PostIpamParams
WithExpiration adds the expiration to the post ipam params
func (*PostIpamParams) WithFamily ¶
func (o *PostIpamParams) WithFamily(family *string) *PostIpamParams
WithFamily adds the family to the post ipam params
func (*PostIpamParams) WithHTTPClient ¶
func (o *PostIpamParams) WithHTTPClient(client *http.Client) *PostIpamParams
WithHTTPClient adds the HTTPClient to the post ipam params
func (*PostIpamParams) WithIfname ¶
func (o *PostIpamParams) WithIfname(ifname *string) *PostIpamParams
WithIfname adds the ifname to the post ipam params
func (*PostIpamParams) WithNetns ¶
func (o *PostIpamParams) WithNetns(netns *string) *PostIpamParams
WithNetns adds the netns to the post ipam params
func (*PostIpamParams) WithOwner ¶
func (o *PostIpamParams) WithOwner(owner *string) *PostIpamParams
WithOwner adds the owner to the post ipam params
func (*PostIpamParams) WithTimeout ¶
func (o *PostIpamParams) WithTimeout(timeout time.Duration) *PostIpamParams
WithTimeout adds the timeout to the post ipam params
func (*PostIpamParams) WriteToRequest ¶
func (o *PostIpamParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostIpamReader ¶
type PostIpamReader struct {
// contains filtered or unexported fields
}
PostIpamReader is a Reader for the PostIpam structure.
func (*PostIpamReader) ReadResponse ¶
func (o *PostIpamReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.